diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-10-19 18:40:11 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-10-19 18:40:11 +0300 |
commit | 840907f94117f7a77846a8cfe3bca6ecabc0abe5 (patch) | |
tree | 6bc562d4361ce39e9a9e2eb8b96e6fec3ebc9afd /drivers | |
parent | ca7325a2b1fb6bba48e13afe4dce070e29467cc5 (diff) | |
parent | 2bbbd96357ce76cc45ec722c00f654aa7b189112 (diff) | |
download | linux-840907f94117f7a77846a8cfe3bca6ecabc0abe5.tar.xz |
Merge tag 'mvebu-fixes-4.14-2' of git://git.infradead.org/linux-mvebu into fixes
Pull "mvebu fixes for 4.14 (part 2)" from Gregory CLEMENT
Two device tree related fixes:
- One on Armada 38x using a other compatible string for I2C in order
to cover an errata.
- One for Armada 7K/8K fixing a typo on interrupt-map property for
PCIe leading to fail PME and AER root port service initialization
And the last one for the mbus fixing the window size calculation when
it exceed 32bits
* tag 'mvebu-fixes-4.14-2' of git://git.infradead.org/linux-mvebu:
bus: mbus: fix window size calculation for 4GB windows
ARM: dts: Fix I2C repeated start issue on Armada-38x
arm64: dts: marvell: fix interrupt-map property for Armada CP110 PCIe controller
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bus/mvebu-mbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index c7f396903184..70db4d5638a6 100644 --- a/drivers/bus/mvebu-mbus.c +++ b/drivers/bus/mvebu-mbus.c @@ -720,7 +720,7 @@ mvebu_mbus_default_setup_cpu_target(struct mvebu_mbus_state *mbus) if (mbus->hw_io_coherency) w->mbus_attr |= ATTR_HW_COHERENCY; w->base = base & DDR_BASE_CS_LOW_MASK; - w->size = (size | ~DDR_SIZE_MASK) + 1; + w->size = (u64)(size | ~DDR_SIZE_MASK) + 1; } } mvebu_mbus_dram_info.num_cs = cs; |