diff for duplicates of <5CD9796E.3040000@huawei.com> diff --git a/a/1.txt b/N1/1.txt index 2b9741b..c5508dc 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -43,8 +43,7 @@ On 2019/5/8 17:42, John Garry wrote: >> } >> >> -static bool pnv_iommu_bypass_disabled __read_mostly; ->> +static bool pnv_iommu_bypass_disabled __read_mostly = ->> + !IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH); +>> +static bool pnv_iommu_bypass_disabled __read_mostly >> + !IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH); >> static bool pci_reset_phbs __read_mostly; >> >> static int __init iommu_setup(char *str) @@ -74,8 +73,7 @@ On 2019/5/8 17:42, John Garry wrote: >> -#else >> -int iommu_pass_through __read_mostly; >> -#endif ->> +int iommu_pass_through __read_mostly = ->> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH); +>> +int iommu_pass_through __read_mostly >> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH); >> >> extern struct iommu_table_entry __iommu_table[], __iommu_table_end[]; >> @@ -203,8 +201,7 @@ OK. I will change it to "slower". >> static unsigned int iommu_def_domain_type = IOMMU_DOMAIN_DMA; >> #endif >> -static bool iommu_dma_strict __read_mostly = true; ->> +static bool iommu_dma_strict __read_mostly = ->> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_STRICT); +>> +static bool iommu_dma_strict __read_mostly >> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_STRICT); >> >> struct iommu_callback_data { >> const struct iommu_ops *ops; diff --git a/a/content_digest b/N1/content_digest index 7f36cc7..187ae74 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0ca30a698-8047-9a86-a2f1-0b3e1c8692bf@huawei.com\0" "From\0Leizhen (ThunderTown) <thunder.leizhen@huawei.com>\0" "Subject\0Re: [PATCH v6 1/1] iommu: enhance IOMMU dma mode build options\0" - "Date\0Mon, 13 May 2019 22:04:30 +0800\0" + "Date\0Mon, 13 May 2019 14:04:30 +0000\0" "To\0John Garry <john.garry@huawei.com>" Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Robin Murphy <robin.murphy@arm.com> @@ -79,8 +79,7 @@ ">> }\n" ">>\n" ">> -static bool pnv_iommu_bypass_disabled __read_mostly;\n" - ">> +static bool pnv_iommu_bypass_disabled __read_mostly =\n" - ">> + !IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH);\n" + ">> +static bool pnv_iommu_bypass_disabled __read_mostly >> + !IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH);\n" ">> static bool pci_reset_phbs __read_mostly;\n" ">>\n" ">> static int __init iommu_setup(char *str)\n" @@ -110,8 +109,7 @@ ">> -#else\n" ">> -int iommu_pass_through __read_mostly;\n" ">> -#endif\n" - ">> +int iommu_pass_through __read_mostly =\n" - ">> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH);\n" + ">> +int iommu_pass_through __read_mostly >> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_PASSTHROUGH);\n" ">>\n" ">> extern struct iommu_table_entry __iommu_table[], __iommu_table_end[];\n" ">>\n" @@ -239,8 +237,7 @@ ">> static unsigned int iommu_def_domain_type = IOMMU_DOMAIN_DMA;\n" ">> #endif\n" ">> -static bool iommu_dma_strict __read_mostly = true;\n" - ">> +static bool iommu_dma_strict __read_mostly =\n" - ">> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_STRICT);\n" + ">> +static bool iommu_dma_strict __read_mostly >> + IS_ENABLED(CONFIG_IOMMU_DEFAULT_STRICT);\n" ">>\n" ">> struct iommu_callback_data {\n" ">> const struct iommu_ops *ops;\n" @@ -261,4 +258,4 @@ "Thanks!\n" BestRegards -13eac6ec0737e83124708c8ed563463b015ce1da276ca48c6767407d1f567cff +f18da5f30b74453a52aa95e5256f954c9765d6d9d95663c63f56084fad4157ae
diff --git a/a/1.txt b/N2/1.txt index 2b9741b..3c618bb 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -224,3 +224,8 @@ OK. I will change it to "slower". -- Thanks! BestRegards + +_______________________________________________ +iommu mailing list +iommu@lists.linux-foundation.org +https://lists.linuxfoundation.org/mailman/listinfo/iommu diff --git a/a/content_digest b/N2/content_digest index 7f36cc7..62f7015 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -259,6 +259,11 @@ "\n" "-- \n" "Thanks!\n" - BestRegards + "BestRegards\n" + "\n" + "_______________________________________________\n" + "iommu mailing list\n" + "iommu@lists.linux-foundation.org\n" + https://lists.linuxfoundation.org/mailman/listinfo/iommu -13eac6ec0737e83124708c8ed563463b015ce1da276ca48c6767407d1f567cff +11fb1ef4bb4d6f1561fda30efa7d8988ed550d8821e29c862a8ecb247c7e19c7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.