Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1331673
| From | Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V3 03/12] dtb: amd: Fix DMA ranges of smb0 and pcie0 |
| Date | 2016-02-11 05:00 +0100 |
| Message-ID | <r0QAa-3dd-5@gated-at.bofh.it> (permalink) |
| References | <r0QA9-3dd-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Since GICv2m MSI frame is also considered DMA-able, we should also include this range in the dma-range DT property as well. Therefore, this patch fixes the smb0 and pcie0 dma-range properties. Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index fdd0c96..5c73117 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -55,8 +55,12 @@ #size-cells = <2>; ranges; - /* DDR range is 40-bit addressing */ - dma-ranges = <0x80 0x0 0x80 0x0 0x7f 0xffffffff>; + /* + * dma-ranges is 40-bit address space containing: + * - GICv2m MSI register is at 0xe0080000 + * - DRAM range [0x8000000000 to 0xffffffffff] + */ + dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x0>; /include/ "amd-seattle-clks.dtsi" @@ -159,7 +163,7 @@ <0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>; dma-coherent; - dma-ranges = <0x43000000 0x80 0x0 0x80 0x0 0x7f 0xffffffff>; + dma-ranges = <0x43000000 0x0 0x0 0x0 0x0 0x100 0x0>; ranges = /* I/O Memory (size=64K) */ <0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>, -- 2.5.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V3 00/12] dtb: amd: Miscellaneous Updates for AMD Seattle DTS Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 08/12] dtb: amd: Add PERF CCN-504 device tree node Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 03/12] dtb: amd: Fix DMA ranges of smb0 and pcie0 Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 07/12] dtb: amd: Misc changes for GPIO devices Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 09/12] dtb: amd: Add KCS device tree node Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 06/12] dtb: amd: Misc changes for SATA device tree nodes Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 05/12] dtb: amd: Misc changes for I2C device nodes Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 02/12] dtb: amd: Fix GICv2 hypervisor and virtual interface sizes Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 04/12] dtb: amd: Fix typo in SPI device nodes Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 10/12] dtb: amd: Add AMD XGBE device tree file Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 01/12] MAINTAINERS: Adding Maintainers for AMD Seattle Device Tree Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 12/12] dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition Server board Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100 [PATCH V3 11/12] dtb: amd: Add support for new AMD Overdrive boards Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-02-11 05:00 +0100
csiph-web