[PATCH] iommu/vt-d: Handle domain agaw being less than iommu agaw

2018-11-21 Thread Sohil Mehta
uot;) Cc: Cc: Ashok Raj Cc: Jacob Pan Cc: Lu Baolu Reviewed-by: Lu Baolu Reported-by: Ramos Falcon, Ernesto R Tested-by: Ricardo Neri Signed-off-by: Sohil Mehta --- drivers/iommu/intel-iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/intel-iommu.c

[PATCH v8 5/6] iommu/vt-d: Add debugfs support for Interrupt remapping

2018-09-11 Thread Sohil Mehta
Baolu Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Co-Developed-by: Gayatri Kammela Signed-off-by: Gayatri Kammela Reviewed-by: Andy Shevchenko Signed-off-by: Sohil Mehta --- v8: Improve IR table formatting Use irq lock to proctect IRTE access v7: Print the IR table physical base address

[PATCH v8 6/6] iommu/vt-d: Add debugfs support to show context internals

2018-09-11 Thread Sohil Mehta
248 00:1f.0 202 4564bf001 Cc: Lu Baolu Cc: Fenghua Yu Cc: Ashok Raj Cc: Jacob Pan Co-Developed-by: Gayatri Kammela Signed-off-by: Gayatri Kammela Reviewed-by: Andy Shevchenko Reviewed-by: Lu Baolu Signed-off-by: Sohil Mehta --- v8: Remove extended context support since it is

[PATCH v8 3/6] iommu/vt-d: Enable base Intel IOMMU debugfs support

2018-09-11 Thread Sohil Mehta
: Sohil Mehta --- v8: Move to the common iommu debugfs directory Simplify and split the patches differently Change filename to intel-iommu-debugfs.c drivers/iommu/Kconfig | 13 + drivers/iommu/Makefile | 1 + drivers/iommu/intel-iommu-debugfs.c | 20

[PATCH v8 4/6] iommu/vt-d: Add debugfs support to show register contents

2018-09-11 Thread Sohil Mehta
Shevchenko Reviewed-by: Lu Baolu Co-Developed-by: Sohil Mehta Signed-off-by: Sohil Mehta --- v8: Add MTRR and Virtual command register support Use the iommu register lock to protect register access v7: Use macro for register set definitions Fix compiler warning for readq with 32bit

[PATCH v8 1/6] iommu/vt-d: Relocate struct/function declarations to its header files

2018-09-11 Thread Sohil Mehta
To reuse the static functions and the struct declarations, move them to corresponding header files and export the needed functions. Cc: Lu Baolu Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Reviewed-by: Andy Shevchenko Signed-off-by: Gayatri Kammela Signed-off-by: Sohil Mehta --- v8: Remove

[PATCH v8 2/6] iommu/vt-d: Update register definitions to VT-d 3.0 specification

2018-09-11 Thread Sohil Mehta
Add new register definitions added in the VT-d 3.0 specification. Also include registers that were missing previously. Cc: Lu Baolu Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Cc: Gayatri Kammela Signed-off-by: Sohil Mehta --- v8: Simplify and split the patches differently include/linux

[PATCH v8 0/6] Add Intel IOMMU debugfs support

2018-09-11 Thread Sohil Mehta
ow register contents Sohil Mehta (5): iommu/vt-d: Relocate struct/function declarations to its header files iommu/vt-d: Update register definitions to VT-d 3.0 specification iommu/vt-d: Enable base Intel IOMMU debugfs support iommu/vt-d: Add debugfs support for Interrupt remapping iom

[PATCH v7 3/5] iommu/vt-d: Add debugfs support to show register contents

2018-02-02 Thread Sohil Mehta
CCMD0x280x0800 FSTS0x340x FECTL 0x380x FEDATA 0x3c0xfee010044021 Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Co-Developed-by: Sohil Mehta Signed-off-by: Sohil

[PATCH v7 4/5] iommu/vt-d: Add debugfs support to show Pasid table contents

2018-02-02 Thread Sohil Mehta
Entries for domain 0: [Entry] Contents [0] 12c409801 Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Co-Developed-by: Sohil Mehta Signed-off-by: Sohil Mehta Signed-off-by: Gayatri Kammela --- v7: Improve code indentation and formatting v6: No change v5: No change v4: Remove

[PATCH v7 2/5] iommu/vt-d: Enable debugfs support to show context internals

2018-02-02 Thread Sohil Mehta
: Fenghua Yu Cc: Ashok Raj Co-Developed-by: Sohil Mehta Signed-off-by: Jacob Pan Signed-off-by: Sohil Mehta Signed-off-by: Gayatri Kammela --- v7: Split patch 1/5 and 2/5 differently Update commit message and copyright year Fix typo in a comment Simplify code v6: Change the order of

[PATCH v7 5/5] iommu/vt-d: Add debugfs support for Interrupt remapping

2018-02-02 Thread Sohil Mehta
Pan Cc: Fenghua Yu Cc: Ashok Raj Co-Developed-by: Gayatri Kammela Signed-off-by: Gayatri Kammela Signed-off-by: Sohil Mehta --- v7: Print the IR table physical base address Simplify IR table formatting v6: Change a couple of seq_puts to seq_putc v5: Fix seq_puts formatting and remove

[PATCH v7 1/5] iommu/vt-d: Relocate struct/function declarations to its header files

2018-02-02 Thread Sohil Mehta
From: Gayatri Kammela To reuse the static functions and the struct declarations, move them to corresponding header files and export the needed functions. Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v7: Split patch 1/5 and 2/5

[PATCH v7 0/5] Add Intel IOMMU debugfs support

2018-02-02 Thread Sohil Mehta
upport to show Pasid table contents Sohil Mehta (1): iommu/vt-d: Add debugfs support for Interrupt remapping drivers/iommu/Kconfig | 8 + drivers/iommu/Makefile| 1 + drivers/iommu/intel-iommu-debug.c | 338 ++ drivers/iommu/intel

[PATCH v6 4/5] iommu/vt-d: Add debugfs support to show Pasid table contents

2018-01-09 Thread Sohil Mehta
entries for domain 0: [Entry] Contents [0] 12c409801 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v6: No change v5: No change v4: Remove the unused function parameter Fix checkpatch.pl warnings v3: No change v2: Fix

[PATCH v6 5/5] iommu/vt-d: Add debugfs support for Interrupt remapping

2018-01-09 Thread Sohil Mehta
40c7c880 41 00144300 40c7c88000418001 5 4300 0010 40c7c880 51 00144300 40c7c88000518001 Cc: Gayatri Kammela Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Sohil Mehta --- v6: Change a couple of seq_puts to seq_putc v5: Fix seq_puts formatting and remove

[PATCH v6 3/5] iommu/vt-d: Add debugfs support to show register contents

2018-01-09 Thread Sohil Mehta
0x FECTL0x38 0x FEDATA 0x3c 0xfee0100c4141 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v6: No change v5: No change v4: Fix checkpatch.pl warnings Remove error reporting for

[PATCH v6 2/5] iommu/vt-d: Add debugfs support to show context internals

2018-01-09 Thread Sohil Mehta
4467c9001 602 Root tbl entries: Bus 1 L: 3fc8c2001 H: 0 Context table entries for Bus: 1 [entry] DID :B :D .FLow High [0] :01:00.00 3fc8c3001 402 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v6

[PATCH v6 1/5] iommu/vt-d: Add debugfs support for Intel IOMMU internals

2018-01-09 Thread Sohil Mehta
From: Gayatri Kammela Enable Intel IOMMU debug to export Intel IOMMU internals in debugfs Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v6: No change v5: No change v4: No change v3: No change v2: No change drivers/iommu

[PATCH v6 0/5] Add Intel IOMMU debugfs support

2018-01-09 Thread Sohil Mehta
d debugfs support to show register contents iommu/vt-d: Add debugfs support to show Pasid table contents Sohil Mehta (1): iommu/vt-d: Add debugfs support for Interrupt remapping drivers/iommu/Kconfig | 10 ++ drivers/iommu/Makefile| 1 + drivers/iommu/intel

[PATCH v5 4/5] iommu/vt-d: Add debugfs support to show Pasid table contents

2017-12-21 Thread Sohil Mehta
entries for domain 0: [Entry] Contents [0] 12c409801 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v5: No change v4: Remove the unused function parameter Fix checkpatch.pl warnings v3: No change v2: Fix seq_printf

[PATCH v5 5/5] iommu/vt-d: Add debugfs support for Interrupt remapping

2017-12-21 Thread Sohil Mehta
40c7c880 41 00144300 40c7c88000418001 5 4300 0010 40c7c880 51 00144300 40c7c88000518001 Cc: Gayatri Kammela Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Sohil Mehta --- v5: Fix seq_puts formatting and remove leading '\n's v4: Remove the unuse

[PATCH v5 1/5] iommu/vt-d: Add debugfs support for Intel IOMMU internals

2017-12-21 Thread Sohil Mehta
From: Gayatri Kammela Enable Intel IOMMU debug to export Intel IOMMU internals in debugfs Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v5: No change v4: No change v3: No change v2: No change drivers/iommu/Kconfig | 10

[PATCH v5 3/5] iommu/vt-d: Add debugfs support to show register contents

2017-12-21 Thread Sohil Mehta
0x FECTL0x38 0x FEDATA 0x3c 0xfee0100c4141 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v5: No change v4: Fix checkpatch.pl warnings Remove error reporting for

[PATCH v5 2/5] iommu/vt-d: Add debugfs support to show context internals

2017-12-21 Thread Sohil Mehta
4467c9001 602 Root tbl entries: Bus 1 L: 3fc8c2001 H: 0 Context table entries for Bus: 1 [entry] DID :B :D .FLow High [0] :01:00.00 3fc8c3001 402 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v5

[PATCH v5 0/5] Add Intel IOMMU debugfs support

2017-12-21 Thread Sohil Mehta
pping is not enabled Gayatri Kammela (4): iommu/vt-d: Add debugfs support for Intel IOMMU internals iommu/vt-d: Add debugfs support to show context internals iommu/vt-d: Add debugfs support to show register contents iommu/vt-d: Add debugfs support to show Pasid table contents Sohil Mehta (1

[PATCH 4/4] iommu/vt-d: Enable 5-level paging mode in the PASID entry

2017-12-20 Thread Sohil Mehta
If the CPU has support for 5-level paging enabled and the IOMMU also supports 5-level paging then enable the 5-level paging mode for first- level translations - used when SVM is enabled. Signed-off-by: Sohil Mehta --- drivers/iommu/intel-svm.c | 15 +-- 1 file changed, 13 insertions

[PATCH 3/4] iommu/vt-d: Add a check for 5-level paging support

2017-12-20 Thread Sohil Mehta
Add a check to verify IOMMU 5-level paging support. If the CPU supports supports 5-level paging but the IOMMU does not support it then disable SVM by not allocating PASID tables. Signed-off-by: Sohil Mehta --- drivers/iommu/intel-svm.c | 4 include/linux/intel-iommu.h | 1 + 2 files

[PATCH 1/4] iommu/vt-d: Enable upto 57 bits of domain address width

2017-12-20 Thread Sohil Mehta
the actual supported address width to the maximum support available in IOMMU hardware. Signed-off-by: Sohil Mehta --- drivers/iommu/intel-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 4a2de34..457795b

[PATCH 0/4] Add support for Intel IOMMU 5-level paging

2017-12-20 Thread Sohil Mehta
-directed-io-spec.pdf Sohil Mehta (4): iommu/vt-d: Enable upto 57 bits of domain address width iommu/vt-d: Add a check for 1GB page support iommu/vt-d: Add a check for 5-level paging support iommu/vt-d: Enable 5-level paging mode in the PASID entry drivers/iommu/intel-iommu.c | 2 +- drivers

[PATCH 2/4] iommu/vt-d: Add a check for 1GB page support

2017-12-20 Thread Sohil Mehta
Add a check to verify IOMMU 1GB page support. If the CPU supports 1GB pages but the IOMMU does not support it then disable SVM by not allocating PASID tables. Signed-off-by: Sohil Mehta --- drivers/iommu/intel-svm.c | 4 include/linux/intel-iommu.h | 1 + 2 files changed, 5 insertions

[PATCH v4 1/5] iommu/vt-d: Add debugfs support for Intel IOMMU internals

2017-12-19 Thread Sohil Mehta
From: Gayatri Kammela Enable Intel IOMMU debug to export Intel IOMMU internals in debugfs Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v4: No change v3: No change v2: No change drivers/iommu/Kconfig | 10

[PATCH v4 3/5] iommu/vt-d: Add debugfs support to show register contents

2017-12-19 Thread Sohil Mehta
0x FECTL0x38 0x FEDATA 0x3c 0xfee0100c4141 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v4: Fix checkpatch.pl warnings Remove error reporting for debugfs_create_file function

[PATCH v4 2/5] iommu/vt-d: Add debugfs support to show context internals

2017-12-19 Thread Sohil Mehta
4467c9001 602 Root tbl entries: Bus 1 L: 3fc8c2001 H: 0 Context table entries for Bus: 1 [entry] DID :B :D .FLow High [0] :01:00.00 3fc8c3001 402 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v4

[PATCH v4 5/5] iommu/vt-d: Add debugfs support for Interrupt remapping

2017-12-19 Thread Sohil Mehta
40c7c880 41 00144300 40c7c88000418001 5 4300 0010 40c7c880 51 00144300 40c7c88000518001 Cc: Gayatri Kammela Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Sohil Mehta --- v4: Remove the unused function parameter Fix checkpatch.pl warnings Remove

[PATCH v4 4/5] iommu/vt-d: Add debugfs support to show Pasid table contents

2017-12-19 Thread Sohil Mehta
entries for domain 0: [Entry] Contents [0] 12c409801 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v4: Remove the unused function parameter Fix checkpatch.pl warnings v3: No change v2: Fix seq_printf formatting

[PATCH v4 0/5] Add Intel IOMMU debugfs support

2017-12-19 Thread Sohil Mehta
dd debugfs support to show context internals iommu/vt-d: Add debugfs support to show register contents iommu/vt-d: Add debugfs support to show Pasid table contents Sohil Mehta (1): iommu/vt-d: Add debugfs support for Interrupt remapping drivers/iommu/Kconfig | 10 ++ dri

[PATCH v3 6/6] iommu/vt-d: Add debugfs support for Intel IOMMU Interrupt remapping

2017-12-05 Thread Sohil Mehta
40c7c880 41 00144300 40c7c88000418001 5 4300 0010 40c7c880 51 00144300 40c7c88000518001 Cc: Gayatri Kammela Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Sohil Mehta --- v3: Use a macro for seq file operations Change the intel_iommu_interrupt_remap

[PATCH v3 4/6] iommu/vt-d: Add debugfs extension to show register contents

2017-12-05 Thread Sohil Mehta
0x FECTL0x38 0x FEDATA 0x3c 0xfee0100c4141 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v3: Use a macro for seq file operations Change the intel_iommu_regset file name to

[PATCH v3 2/6] iommu/vt-d: Add Intel IOMMU debugfs to show context internals

2017-12-05 Thread Sohil Mehta
602 Root tbl entries: Bus 1 L: 3fc8c2001 H: 0 Context table entries for Bus: 1 [entry] DID :B :D .FLow High [0] :01:00.00 3fc8c3001 402 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v3: Add a macro

[PATCH v3 5/6] iommu/vt-d: Add debugfs extension to show Pasid table contents

2017-12-05 Thread Sohil Mehta
Pasid table entries for domain: [Entry] Contents [0] 26a609801 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v3: No change v2: Fix seq_printf formatting drivers/iommu/intel-iommu-debug.c | 32

[PATCH v3 0/6] Intel IOMMU debugfs support

2017-12-05 Thread Sohil Mehta
w extended context internals iommu/vt-d: Add debugfs extension to show register contents iommu/vt-d: Add debugfs extension to show Pasid table contents Sohil Mehta (1): iommu/vt-d: Add debugfs support for Intel IOMMU Interrupt remapping drivers/iommu/Kconfig | 10 + drivers/iomm

[PATCH v3 3/6] iommu/vt-d: Add Intel IOMMU debugfs to show extended context internals

2017-12-05 Thread Sohil Mehta
entries: Bus 0 L: 4016f4001 H: 0 Lower Context table entries for Bus: 0 [entry] DID :B :D .FLow High [80]:00:0a.00 4016f3a05 102 Higher Context tbl entries for Bus: 0 [80]:00:0a.00 4015c 671b8000 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc

[PATCH v3 1/6] iommu/vt-d: Add debugfs support for Intel IOMMU internals

2017-12-05 Thread Sohil Mehta
From: Gayatri Kammela Enable Intel IOMMU debug to export Intel IOMMU internals in debugfs Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v3: No change v2: No change drivers/iommu/Kconfig | 10 ++ drivers/iommu

[PATCH v2 4/6] iommu/vt-d: Add debugfs extension to show register contents

2017-11-22 Thread Sohil Mehta
0x34 0x FECTL0x38 0x FEDATA 0x3c 0xfee0100c4141 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v2: Fix seq_printf formatting drivers/iommu/intel-iommu-debug.c | 96

[PATCH v2 3/6] iommu/vt-d: Add Intel IOMMU debugfs to show extended context internals

2017-11-22 Thread Sohil Mehta
0 L: 4016f4001 H: 0 Lower Context table entries for Bus: 0 [entry] DID :B :D .FLow High [80]:00:0a.00 4016f3a05 102 Higher Context tbl entries for Bus: 0 [80]:00:0a.00 4015c 671b8000 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok

[PATCH v2 6/6] iommu/vt-d: Add debugfs support for Intel IOMMU Interrupt remapping

2017-11-22 Thread Sohil Mehta
0010 40c7c880 41 00144300 40c7c88000418001 5 4300 0010 40c7c880 51 00144300 40c7c88000518001 Cc: Gayatri Kammela Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Sohil Mehta --- v2: Handle the case when IR is not enabled. Fix seq_printf formatting

[PATCH v2 1/6] iommu/vt-d: Add debugfs support for Intel IOMMU internals

2017-11-22 Thread Sohil Mehta
From: Gayatri Kammela Enable Intel IOMMU debug to export Intel IOMMU internals in debugfs Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v2: No change drivers/iommu/Kconfig | 10 ++ drivers/iommu/intel-iommu.c | 31

[PATCH v2 5/6] iommu/vt-d: Add debugfs extension to show Pasid table contents

2017-11-22 Thread Sohil Mehta
entries for domain: [Entry] Contents [0] 26a609801 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- v2: Fix seq_printf formatting drivers/iommu/intel-iommu-debug.c | 32 drivers/iommu

[PATCH v2 2/6] iommu/vt-d: Add Intel IOMMU debugfs to show context internals

2017-11-22 Thread Sohil Mehta
Root tbl entries: Bus 1 L: 3fc8c2001 H: 0 Context table entries for Bus: 1 [entry] DID :B :D .FLow High [0] :01:00.00 3fc8c3001 402 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- v2: No change drivers

[PATCH v2 0/6] Intel IOMMU debugfs support

2017-11-22 Thread Sohil Mehta
MU debugfs to show extended context internals iommu/vt-d: Add debugfs extension to show register contents iommu/vt-d: Add debugfs extension to show Pasid table contents Sohil Mehta (1): iommu/vt-d: Add debugfs support for Intel IOMMU Interrupt remapping drivers/iommu/Kconfig

[PATCH 2/6] iommu/vt-d: Add Intel IOMMU debugfs to show context internals

2017-10-12 Thread Sohil Mehta
Root tbl entries: Bus 1 L: 3fc8c2001 H: 0 Context table entries for Bus: 1 [entry] DID :B :D .FLow High [0] :01:00.00 3fc8c3001 402 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- drivers/iommu/Makefile

[PATCH 6/6] iommu/vt-d: Debugfs support for Intel IOMMU Interrupt remapping

2017-10-12 Thread Sohil Mehta
0010 40c7c880 41 00144300 40c7c88000418001 5 4300 0010 40c7c880 51 00144300 40c7c88000518001 Cc: Gayatri Kammela Cc: Jacob Pan Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Sohil Mehta --- drivers/iommu/intel-iommu-debug.c | 115

[PATCH 4/6] iommu/vt-d: Add debugfs extension to show register contents

2017-10-12 Thread Sohil Mehta
0x34 0x FECTL0x38 0x FEDATA 0x3c 0xfee0100c4141 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- drivers/iommu/intel-iommu-debug.c | 97 +++ 1

[PATCH 3/6] iommu/vt-d: Add Intel IOMMU debugfs to show extended context internals

2017-10-12 Thread Sohil Mehta
0 L: 4016f4001 H: 0 Lower Context table entries for Bus: 0 [entry] DID :B :D .FLow High [80]:00:0a.00 4016f3a05 102 Higher Context tbl entries for Bus: 0 [80]:00:0a.00 4015c 671b8000 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok

[PATCH 5/6] iommu/vt-d: Add debugfs extension to show Pasid table contents

2017-10-12 Thread Sohil Mehta
entries for domain: [Entry] Contents [0] 26a609801 Cc: Sohil Mehta Cc: Fenghua Yu Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Gayatri Kammela --- drivers/iommu/intel-iommu-debug.c | 33 + drivers/iommu/intel-svm.c | 8

[PATCH 1/6] iommu/vt-d: Add debugfs support for Intel IOMMU internals

2017-10-12 Thread Sohil Mehta
From: Gayatri Kammela Enable Intel IOMMU debug to export Intel IOMMU internals in debugfs Cc: Sohil Mehta Cc: Fenghua Yu Cc: Ashok Raj Signed-off-by: Jacob Pan Signed-off-by: Gayatri Kammela --- drivers/iommu/Kconfig | 10 ++ drivers/iommu/intel-iommu.c | 31

[PATCH 0/6] Intel IOMMU debugfs support

2017-10-12 Thread Sohil Mehta
iommu/vt-d: Add debugfs extension to show Pasid table contents Sohil Mehta (1): iommu/vt-d: Debugfs support for Intel IOMMU Interrupt remapping drivers/iommu/Kconfig | 10 + drivers/iommu/Makefile| 1 + drivers/iommu/intel-iommu-deb