mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
Compare commits
6 Commits
b6151c4e60
...
97313d6113
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97313d6113 | ||
|
|
7893cc1225 | ||
|
|
6a3d5fda2c | ||
|
|
7adfd68274 | ||
|
|
faa37ff3bf | ||
|
|
cefd81e76a |
@ -1,4 +1,5 @@
|
|||||||
CONFIG_KUNIT=y
|
CONFIG_KUNIT=y
|
||||||
|
CONFIG_COMPILE_TEST=y
|
||||||
CONFIG_GENERIC_PT=y
|
CONFIG_GENERIC_PT=y
|
||||||
CONFIG_DEBUG_GENERIC_PT=y
|
CONFIG_DEBUG_GENERIC_PT=y
|
||||||
CONFIG_IOMMU_PT=y
|
CONFIG_IOMMU_PT=y
|
||||||
@ -11,4 +12,3 @@ CONFIG_IOMMUFD=y
|
|||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
CONFIG_FAULT_INJECTION=y
|
CONFIG_FAULT_INJECTION=y
|
||||||
CONFIG_RUNTIME_TESTING_MENU=y
|
CONFIG_RUNTIME_TESTING_MENU=y
|
||||||
CONFIG_IOMMUFD_TEST=y
|
|
||||||
|
|||||||
@ -202,7 +202,7 @@ static inline bool pt_table_install32(struct pt_state *pts, u32 table_entry)
|
|||||||
|
|
||||||
#define PT_SUPPORTED_FEATURE(feature_nr) (PT_SUPPORTED_FEATURES & BIT(feature_nr))
|
#define PT_SUPPORTED_FEATURE(feature_nr) (PT_SUPPORTED_FEATURES & BIT(feature_nr))
|
||||||
|
|
||||||
static inline bool pt_feature(const struct pt_common *common,
|
static __always_inline bool pt_feature(const struct pt_common *common,
|
||||||
unsigned int feature_nr)
|
unsigned int feature_nr)
|
||||||
{
|
{
|
||||||
if (PT_FORCE_ENABLED_FEATURES & BIT(feature_nr))
|
if (PT_FORCE_ENABLED_FEATURES & BIT(feature_nr))
|
||||||
@ -212,7 +212,7 @@ static inline bool pt_feature(const struct pt_common *common,
|
|||||||
return common->features & BIT(feature_nr);
|
return common->features & BIT(feature_nr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool pts_feature(const struct pt_state *pts,
|
static __always_inline bool pts_feature(const struct pt_state *pts,
|
||||||
unsigned int feature_nr)
|
unsigned int feature_nr)
|
||||||
{
|
{
|
||||||
return pt_feature(pts->range->common, feature_nr);
|
return pt_feature(pts->range->common, feature_nr);
|
||||||
|
|||||||
@ -41,7 +41,8 @@ config IOMMUFD_TEST
|
|||||||
depends on DEBUG_KERNEL
|
depends on DEBUG_KERNEL
|
||||||
depends on FAULT_INJECTION
|
depends on FAULT_INJECTION
|
||||||
depends on RUNTIME_TESTING_MENU
|
depends on RUNTIME_TESTING_MENU
|
||||||
depends on IOMMU_PT_AMDV1
|
depends on IOMMU_PT_AMDV1=y || IOMMUFD=IOMMU_PT_AMDV1
|
||||||
|
select DMA_SHARED_BUFFER
|
||||||
select IOMMUFD_DRIVER
|
select IOMMUFD_DRIVER
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
|
|||||||
@ -655,7 +655,8 @@ static int erofs_fc_fill_super(struct super_block *sb, struct fs_context *fc)
|
|||||||
*/
|
*/
|
||||||
if (erofs_is_fileio_mode(sbi)) {
|
if (erofs_is_fileio_mode(sbi)) {
|
||||||
inode = file_inode(sbi->dif0.file);
|
inode = file_inode(sbi->dif0.file);
|
||||||
if ((inode->i_sb->s_op == &erofs_sops && !sb->s_bdev) ||
|
if ((inode->i_sb->s_op == &erofs_sops &&
|
||||||
|
!inode->i_sb->s_bdev) ||
|
||||||
inode->i_sb->s_stack_depth) {
|
inode->i_sb->s_stack_depth) {
|
||||||
erofs_err(sb, "file-backed mounts cannot be applied to stacked fses");
|
erofs_err(sb, "file-backed mounts cannot be applied to stacked fses");
|
||||||
return -ENOTBLK;
|
return -ENOTBLK;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user