Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723631

Re: [PATCH 0/2] fix 4GB DRAM window support on mvebu

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] fix 4GB DRAM window support on mvebu
Date 2017-08-30 22:10 +0200
Message-ID <ukhtf-4rH-5@gated-at.bofh.it> (permalink)
References <uju9d-7fp-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 28, 2017 at 05:25:15PM +0200, Jan Luebbe wrote:
> The current MBUS DRAM window calculation fails for 4GB windows because it
> overflows. This is fixed in the first patch by using u64 instead of u32 to
> store the size. The second excplicitly checks that we don't try to configure a
> too large memory window in the pci driver.
> 
> As they don't depend on each other, they could also go in separatly.
> 
> Jan Luebbe (2):
>   bus: mbus: fix window size calculation for 4GB windows
>   PCI: mvebu: Check DRAM window size
> 
>  drivers/bus/mvebu-mbus.c     |  2 +-
>  drivers/pci/host/pci-mvebu.c | 27 ++++++++++++++++++++++-----
>  include/linux/mbus.h         |  4 ++--
>  3 files changed, 25 insertions(+), 8 deletions(-)

Since these can be applied separately, I'll let somebody else take care of
the drivers/bus/mvebu-mbus.c part.

I'll look for an ack from Thomas or Jason before applying the second patch,
which touches drivers/pci/host/pci-mvebu.c.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] fix 4GB DRAM window support on mvebu Jan Luebbe <jlu@pengutronix.de> - 2017-08-28 17:30 +0200
  [RFC] ARM: Orion: Check DRAM window size Jan Luebbe <jlu@pengutronix.de> - 2017-08-28 17:40 +0200
    Re: [RFC] ARM: Orion: Check DRAM window size Andrew Lunn <andrew@lunn.ch> - 2017-08-28 18:00 +0200
  Re: [PATCH 0/2] fix 4GB DRAM window support on mvebu Bjorn Helgaas <helgaas@kernel.org> - 2017-08-30 22:10 +0200
    Re: [PATCH 0/2] fix 4GB DRAM window support on mvebu Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-31 10:20 +0200

csiph-web