[RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
: Thanks, Jon Jon Mason (1): ARM: print MHz in /proc/cpuinfo arch/arm/kernel/setup.c | 29 + 1 file changed, 29 insertions(+) -- 1.9.1

[RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
are encountered in querying the clock (or the speed is erroneously zero), nothing will be printed out. Thus any existing devices that do not have CPU clocks defined in the device tree will work as before. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/kernel/setup.

[RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
are encountered in querying the clock (or the speed is erroneously zero), nothing will be printed out. Thus any existing devices that do not have CPU clocks defined in the device tree will work as before. Signed-off-by: Jon Mason --- arch/arm/kernel/setup.c | 29 + 1

[RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
: Thanks, Jon Jon Mason (1): ARM: print MHz in /proc/cpuinfo arch/arm/kernel/setup.c | 29 + 1 file changed, 29 insertions(+) -- 1.9.1

Re: [PATCH] MAINTAINERS: Remove Muli Ben-Yahuda from Calgary x86-64 IOMMU entry

2016-06-04 Thread Jon Mason
On Thu, Jun 02, 2016 at 01:45:43PM -0700, Andrew Morton wrote: > > Maybe Muli Ben-Yehuda ? > > On Thu, 02 Jun 2016 17:58:47 +0200 Krzysztof Kozlowski > wrote: > > > Muli Ben-Yahuda's email bounces so remove him from Calgary IOMMU. He is > > already

Re: [PATCH] MAINTAINERS: Remove Muli Ben-Yahuda from Calgary x86-64 IOMMU entry

2016-06-04 Thread Jon Mason
On Thu, Jun 02, 2016 at 01:45:43PM -0700, Andrew Morton wrote: > > Maybe Muli Ben-Yehuda ? > > On Thu, 02 Jun 2016 17:58:47 +0200 Krzysztof Kozlowski > wrote: > > > Muli Ben-Yahuda's email bounces so remove him from Calgary IOMMU. He is > > already present in CREDITS for that. I setout a

Re: [PATCH 2/3] ntb_transport: Check the number of spads the hardware supports

2016-06-04 Thread Jon Mason
On Fri, Jun 03, 2016 at 02:50:32PM -0600, Logan Gunthorpe wrote: > I'm working on hardware that currently has a limited number of > scratchpad registers and ntb_ndev fails with no clue as to why. I > feel it is better to fail early and provide a reasonable error message > then to fail later on.. >

Re: [PATCH 2/3] ntb_transport: Check the number of spads the hardware supports

2016-06-04 Thread Jon Mason
On Fri, Jun 03, 2016 at 02:50:32PM -0600, Logan Gunthorpe wrote: > I'm working on hardware that currently has a limited number of > scratchpad registers and ntb_ndev fails with no clue as to why. I > feel it is better to fail early and provide a reasonable error message > then to fail later on.. >

Re: [PATCH 3/3] ntb_tool: Add memory window debug support

2016-06-04 Thread Jon Mason
On Fri, Jun 3, 2016 at 5:20 PM, Allen Hubbe wrote: > From: Logan Gunthorpe >> We allocate some memory window buffers when the link comes up, then we >> provide debugfs files to read/write each side of the link. >> >> This is useful for debugging the mapping when writing new

Re: [PATCH 3/3] ntb_tool: Add memory window debug support

2016-06-04 Thread Jon Mason
On Fri, Jun 3, 2016 at 5:20 PM, Allen Hubbe wrote: > From: Logan Gunthorpe >> We allocate some memory window buffers when the link comes up, then we >> provide debugfs files to read/write each side of the link. >> >> This is useful for debugging the mapping when writing new drivers. >> >>

Re: [PATCH 1/3] ntb_perf: Allow limiting the size of the memory windows

2016-06-04 Thread Jon Mason
On Fri, Jun 3, 2016 at 5:03 PM, Jiang, Dave wrote: > On Fri, 2016-06-03 at 14:50 -0600, Logan Gunthorpe wrote: >> On my system, dma_alloc_coherent won't produce memory anywhere >> near the size of the BAR. So I needed a way to limit this. >> >> It's pretty much copied

Re: [PATCH 1/3] ntb_perf: Allow limiting the size of the memory windows

2016-06-04 Thread Jon Mason
On Fri, Jun 3, 2016 at 5:03 PM, Jiang, Dave wrote: > On Fri, 2016-06-03 at 14:50 -0600, Logan Gunthorpe wrote: >> On my system, dma_alloc_coherent won't produce memory anywhere >> near the size of the BAR. So I needed a way to limit this. >> >> It's pretty much copied straight from ntb_transport.

Re: [PATCH] ntb_tool: Fix infinite loop bug when writing spad/peer_spad file

2016-06-04 Thread Jon Mason
On Sat, May 28, 2016 at 9:09 AM, Allen Hubbe wrote: > On Fri, May 27, 2016 at 4:38 PM, Logan Gunthorpe wrote: >> If you tried to write two spads in one line, as per the example: >> >> root@peer# echo '0 0x01010101 1 0x7f7f7f7f' > $DBG_DIR/peer_spad >> >>

Re: [PATCH] ntb_tool: Fix infinite loop bug when writing spad/peer_spad file

2016-06-04 Thread Jon Mason
On Sat, May 28, 2016 at 9:09 AM, Allen Hubbe wrote: > On Fri, May 27, 2016 at 4:38 PM, Logan Gunthorpe wrote: >> If you tried to write two spads in one line, as per the example: >> >> root@peer# echo '0 0x01010101 1 0x7f7f7f7f' > $DBG_DIR/peer_spad >> >> then the CPU would freeze in an infinite

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART

2016-05-19 Thread Jon Mason
On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote: > +Cc Jon and arm-kernel mailist > > Any comments, thanks. It works for me. Please feel free to add Tested-by: Jon Mason <jon.ma...@broadcom.com> Thanks, Jon > > Kefeng > > On 2016/5/11 14:06, Kefeng

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART

2016-05-19 Thread Jon Mason
On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote: > +Cc Jon and arm-kernel mailist > > Any comments, thanks. It works for me. Please feel free to add Tested-by: Jon Mason Thanks, Jon > > Kefeng > > On 2016/5/11 14:06, Kefeng Wang wrote: > > Some bo

[PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

2016-05-11 Thread Jon Mason
Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm5301x.dtsi | 9 + 1 file chan

[PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

2016-05-11 Thread Jon Mason
Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v2 0/3] ARM: dts: bcm5301x: Add TWD, I2C, and syscon

2016-05-11 Thread Jon Mason
was trying to say) Jon Mason (3): ARM: dts: bcm5301x: Add TWD WD Support to DT ARM: dts: bcm5301x: Add I2C support to the DT arm: dts: bcm5301x: Add syscon based reboot in DT arch/arm/boot/dts/bcm5301x.dtsi | 36 +--- 1 file changed, 33 insertions(+), 3 deletions

[PATCH v2 0/3] ARM: dts: bcm5301x: Add TWD, I2C, and syscon

2016-05-11 Thread Jon Mason
was trying to say) Jon Mason (3): ARM: dts: bcm5301x: Add TWD WD Support to DT ARM: dts: bcm5301x: Add I2C support to the DT arm: dts: bcm5301x: Add syscon based reboot in DT arch/arm/boot/dts/bcm5301x.dtsi | 36 +--- 1 file changed, 33 insertions(+), 3 deletions

[PATCH v2 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-05-11 Thread Jon Mason
Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the individual boards. Signed-off-by: Jon Mason <jo

[PATCH v2 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT

2016-05-11 Thread Jon Mason
Add support for the ARM TWD Watchdog to the bcm5301x device tree. The ARM TWD timer allocated the register space for the WDT, so this patch necessitated shrinking that. Also, the GIC masks were added for these. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/bo

[PATCH v2 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-05-11 Thread Jon Mason
Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the individual boards. Signed-off-by: Jon Mason

[PATCH v2 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT

2016-05-11 Thread Jon Mason
Add support for the ARM TWD Watchdog to the bcm5301x device tree. The ARM TWD timer allocated the register space for the WDT, so this patch necessitated shrinking that. Also, the GIC masks were added for these. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 15

[PATCH 1/2] arm64: dts: NS2: Add all of the UARTs

2016-05-11 Thread Jon Mason
Add all of the UARTs present on NS2 and enable them in the SVK device tree file. Also, do some magic to make sure that uart3 is discovered as ttyS0 (as that is the console UART). Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dt

[PATCH 2/2] arm64: dts: NS2: Add CCI-400 PMU support

2016-05-11 Thread Jon Mason
Add support to the Northstar 2 Device tree file for the ARM CCI-400 PMU. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm6

[PATCH 2/2] arm64: dts: NS2: Add CCI-400 PMU support

2016-05-11 Thread Jon Mason
Add support to the Northstar 2 Device tree file for the ARM CCI-400 PMU. Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64/boot/dts/broadcom/ns2.dtsi

[PATCH 1/2] arm64: dts: NS2: Add all of the UARTs

2016-05-11 Thread Jon Mason
Add all of the UARTs present on NS2 and enable them in the SVK device tree file. Also, do some magic to make sure that uart3 is discovered as ttyS0 (as that is the console UART). Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 16 arch/arm64/boot/dts

[PATCH 3/3] ARM: dts: NSP: Add new DT file for bcm958625hr

2016-05-05 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus HR SVK. This SVK is a smaller form factor, and thus only has 2 PCI slots and 1 UART. Also, it has the ability to reboot via GPIO (instead of the processor reset). Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/bo

[PATCH 3/3] ARM: dts: NSP: Add new DT file for bcm958625hr

2016-05-05 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus HR SVK. This SVK is a smaller form factor, and thus only has 2 PCI slots and 1 UART. Also, it has the ability to reboot via GPIO (instead of the processor reset). Signed-off-by: Jon Mason --- arch/arm/boot/dts/Makefile| 1

[PATCH 2/3] ARM: dts: NSP: modify second CPU address

2016-05-05 Thread Jon Mason
NSP B0 has a different address for the second core. Since there should not be any Ax versions in the field, it should be safe to universally change this. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 1/3] ARM: dts: NSP: Add MSI support on PCI

2016-05-05 Thread Jon Mason
Add MSI support to the PCI driver of the Northstar Plus SoC. This uses the existing pcie-iproc driver. So, all that is needed is device tree entries in the DTS. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 36

[PATCH 2/3] ARM: dts: NSP: modify second CPU address

2016-05-05 Thread Jon Mason
NSP B0 has a different address for the second core. Since there should not be any Ax versions in the field, it should be safe to universally change this. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 1/3] ARM: dts: NSP: Add MSI support on PCI

2016-05-05 Thread Jon Mason
Add MSI support to the PCI driver of the Northstar Plus SoC. This uses the existing pcie-iproc driver. So, all that is needed is device tree entries in the DTS. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 36 1 file changed, 36 insertions

Re: [PATCH] ntb: test: fix pointer size warning

2016-03-27 Thread Jon Mason
On Mon, Mar 21, 2016 at 8:31 PM, Brian Norris <computersforpe...@gmail.com> wrote: > On Mon, Mar 21, 2016 at 07:52:38PM -0400, Jon Mason wrote: >> On Fri, Mar 18, 2016 at 10:11:20AM -0700, Brian Norris wrote: >> > drivers/ntb/test/ntb_perf.c: In function ‘perf_copy

Re: [PATCH] ntb: test: fix pointer size warning

2016-03-27 Thread Jon Mason
On Mon, Mar 21, 2016 at 8:31 PM, Brian Norris wrote: > On Mon, Mar 21, 2016 at 07:52:38PM -0400, Jon Mason wrote: >> On Fri, Mar 18, 2016 at 10:11:20AM -0700, Brian Norris wrote: >> > drivers/ntb/test/ntb_perf.c: In function ‘perf_copy’: >> > drivers/ntb/test/ntb_perf.c

[GIT PULL] NTB bug fixes for v4.6

2016-03-26 Thread Jon Mason
Hello Linus, Here are a few NTB bug fixes for 4.6. Please consider pulling them. Thanks, Jon The following changes since commit b562e44f507e863c6792946e4e1b1449fbbac85d: Linux 4.5 (2016-03-13 21:28:54 -0700) are available in the git repository at: git://github.com/jonmason/ntb

[GIT PULL] NTB bug fixes for v4.6

2016-03-26 Thread Jon Mason
Hello Linus, Here are a few NTB bug fixes for 4.6. Please consider pulling them. Thanks, Jon The following changes since commit b562e44f507e863c6792946e4e1b1449fbbac85d: Linux 4.5 (2016-03-13 21:28:54 -0700) are available in the git repository at: git://github.com/jonmason/ntb

Re: [PATCH] ntb: test: fix pointer size warning

2016-03-21 Thread Jon Mason
This was already addressed by a patch from Arnd Bergmann, which is queued in the ntb git tree. Thanks, Jon > > Signed-off-by: Brian Norris <computersforpe...@gmail.com> > Cc: Dave Jiang <dave.ji...@intel.com> > Cc: Jon Mason <jdma...@kudzu.us> > Cc: Allen Hubbe &l

Re: [PATCH] ntb: test: fix pointer size warning

2016-03-21 Thread Jon Mason
This was already addressed by a patch from Arnd Bergmann, which is queued in the ntb git tree. Thanks, Jon > > Signed-off-by: Brian Norris > Cc: Dave Jiang > Cc: Jon Mason > Cc: Allen Hubbe > --- > drivers/ntb/test/ntb_perf.c | 6 +++--- > 1 file changed, 3 insertions(+)

Re: [PATCH] ntb: perf test: fix address space confusion

2016-03-07 Thread Jon Mason
On Tue, Jan 26, 2016 at 1:20 PM, Jiang, Dave wrote: > On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: >> The ntb driver assigns between pointers an __iomem tokens, and >> also casts them to 64-bit integers, which results in compiler >> warnings on 32-bit systems: >>

Re: [PATCH] ntb: perf test: fix address space confusion

2016-03-07 Thread Jon Mason
On Tue, Jan 26, 2016 at 1:20 PM, Jiang, Dave wrote: > On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: >> The ntb driver assigns between pointers an __iomem tokens, and >> also casts them to 64-bit integers, which results in compiler >> warnings on 32-bit systems: >> >>

[PATCH v2 4/5] ARM: dts: NSP: Add SP804 Support to DT

2016-02-06 Thread Jon Mason
Add support for the ARM SP804 timer to the Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index ee03bee..63a0a53

[PATCH v2 4/5] ARM: dts: NSP: Add SP804 Support to DT

2016-02-06 Thread Jon Mason
Add support for the ARM SP804 timer to the Northstar Plus device tree. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi

[PATCH 0/5] ARM: dts: NSP: DT Updates

2016-02-05 Thread Jon Mason
Northstar Plus device tree changes. The first 2 are bug fixes that probably should go in ASAP. The other 3 enable new hardware and can be pushed into the next merge window. Thanks, Jon Jon Mason (5): ARM: dts: NSP: Fix PCIE DT issue ARM: dts: NSP: Fix CPU DT issue ARM: dts: NSP: Add PMU

[PATCH 3/5] ARM: dts: NSP: Add PMU Support to DT

2016-02-05 Thread Jon Mason
Add support for the ARM Performance Monitor Unit to the Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index

[PATCH 5/5] ARM: dts: NSP: Add SP804 Support to DT

2016-02-05 Thread Jon Mason
Add support for the ARM SP804 timer to the Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 0e8cb6e..06a242e

[PATCH 4/5] ARM: dts: NSP: Add SP805 Support to DT

2016-02-05 Thread Jon Mason
Add support for the ARM SP805 Watchdog timer to the Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 415a0a6..0e8cb6e 100644

[PATCH 2/5] ARM: dts: NSP: Fix CPU DT issue

2016-02-05 Thread Jon Mason
There is a double definition of the CPUs present in the device tree. Remove unnecessary cpu device tree definition. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 12 1 file changed, 12 deletions(-) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm

[PATCH 1/5] ARM: dts: NSP: Fix PCIE DT issue

2016-02-05 Thread Jon Mason
Adding the ranges value is preventing the PCI nodes from working. Pulling them out outside makes them work again (and makes it similar to the NS2 device tree). Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 144 - 1 file changed, 72

[PATCH 0/5] ARM: dts: NSP: DT Updates

2016-02-05 Thread Jon Mason
Northstar Plus device tree changes. The first 2 are bug fixes that probably should go in ASAP. The other 3 enable new hardware and can be pushed into the next merge window. Thanks, Jon Jon Mason (5): ARM: dts: NSP: Fix PCIE DT issue ARM: dts: NSP: Fix CPU DT issue ARM: dts: NSP: Add PMU

[PATCH 3/5] ARM: dts: NSP: Add PMU Support to DT

2016-02-05 Thread Jon Mason
Add support for the ARM Performance Monitor Unit to the Northstar Plus device tree. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/ar

[PATCH 5/5] ARM: dts: NSP: Add SP804 Support to DT

2016-02-05 Thread Jon Mason
Add support for the ARM SP804 timer to the Northstar Plus device tree. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi

[PATCH 2/5] ARM: dts: NSP: Fix CPU DT issue

2016-02-05 Thread Jon Mason
There is a double definition of the CPUs present in the device tree. Remove unnecessary cpu device tree definition. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 12 1 file changed, 12 deletions(-) diff --git a/arch/arm/boot/dts/bcm-ns

[PATCH 1/5] ARM: dts: NSP: Fix PCIE DT issue

2016-02-05 Thread Jon Mason
Adding the ranges value is preventing the PCI nodes from working. Pulling them out outside makes them work again (and makes it similar to the NS2 device tree). Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 144 --

[PATCH 4/5] ARM: dts: NSP: Add SP805 Support to DT

2016-02-05 Thread Jon Mason
Add support for the ARM SP805 Watchdog timer to the Northstar Plus device tree. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi

Re: [Resend PATCH V5 0/1] AMD NTB V5 changes

2016-01-21 Thread Jon Mason
On Thu, Jan 21, 2016 at 07:53:10PM +0800, Xiangliang Yu wrote: > Resend V5 for more convenient pick up. > Main changes in V5 > Only change Signed-off-by to Reviewed-by. Included in the NTB git tree. Thanks, Jon > > Xiangliang Yu (1): > [Resend patch V5] NTB: Add support for AMD PCI-Express

Re: [Resend PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge

2016-01-21 Thread Jon Mason
On Thu, Jan 21, 2016 at 2:24 AM, Yu, Xiangliang wrote: >> From: Xiangliang Yu >> >> > Signed-off-by: Xiangliang Yu >> >> Yes. >> >> > Reviewed-by: Jon Mason >> >> Maybe, but that's for Jon to decide. If he accepts it, he will a

Re: [Resend PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge

2016-01-21 Thread Jon Mason
On Thu, Jan 21, 2016 at 2:24 AM, Yu, Xiangliang <xiangliang...@amd.com> wrote: >> From: Xiangliang Yu <xiangliang...@amd.com> >> >> > Signed-off-by: Xiangliang Yu <xiangliang...@amd.com> >> >> Yes. >> >> > Reviewed-by: Jon Mason &l

Re: [Resend PATCH V5 0/1] AMD NTB V5 changes

2016-01-21 Thread Jon Mason
On Thu, Jan 21, 2016 at 07:53:10PM +0800, Xiangliang Yu wrote: > Resend V5 for more convenient pick up. > Main changes in V5 > Only change Signed-off-by to Reviewed-by. Included in the NTB git tree. Thanks, Jon > > Xiangliang Yu (1): > [Resend patch V5] NTB: Add support for AMD PCI-Express

Re: [PATCH V2 1/3] NTB: Add AMD PCI-Express NTB driver

2016-01-06 Thread Jon Mason
On Wed, Jan 6, 2016 at 11:52 AM, Hubbe, Allen wrote: > From: Jon Mason : >> On Wed, Dec 23, 2015 at 8:42 AM, Xiangliang Yu >> wrote: > >> > +#define ndev_pdev(ndev) ((ndev)->ntb.pdev) >> > +#define ndev_name(ndev) pci_name(ndev_pdev(ndev)) >>

Re: [PATCH V2 1/3] NTB: Add AMD PCI-Express NTB driver

2016-01-06 Thread Jon Mason
On Wed, Dec 23, 2015 at 8:42 AM, Xiangliang Yu wrote: > AMD NTB support following main features: > (1) Three memory windows; > (2) Sixteen 32-bit scratch pad; > (3) Two 16-bit doorbell interrupt; > (4) Five event interrupts; > (5) One system can wake up opposite system of NTB; > (6) Flush

Re: [PATCH V2 2/3] NTB: Add AMD NTB support in Kconfig and Makefile

2016-01-06 Thread Jon Mason
On Wed, Dec 23, 2015 at 8:43 AM, Xiangliang Yu wrote: > This patch is to enable AMD NTB support in Kconfig and Makefile. > > Signed-off-by: Xiangliang Yu > --- > drivers/ntb/hw/Kconfig | 1 + > drivers/ntb/hw/Makefile | 1 + > 2 files changed, 2 insertions(+) > > diff --git

Re: [PATCH V2 1/3] NTB: Add AMD PCI-Express NTB driver

2016-01-06 Thread Jon Mason
On Wed, Dec 23, 2015 at 8:42 AM, Xiangliang Yu wrote: > AMD NTB support following main features: > (1) Three memory windows; > (2) Sixteen 32-bit scratch pad; > (3) Two 16-bit doorbell interrupt; > (4) Five event interrupts; > (5) One system can wake up opposite system of

Re: [PATCH V2 2/3] NTB: Add AMD NTB support in Kconfig and Makefile

2016-01-06 Thread Jon Mason
On Wed, Dec 23, 2015 at 8:43 AM, Xiangliang Yu wrote: > This patch is to enable AMD NTB support in Kconfig and Makefile. > > Signed-off-by: Xiangliang Yu > --- > drivers/ntb/hw/Kconfig | 1 + > drivers/ntb/hw/Makefile | 1 + > 2 files changed, 2

Re: [PATCH V2 1/3] NTB: Add AMD PCI-Express NTB driver

2016-01-06 Thread Jon Mason
On Wed, Jan 6, 2016 at 11:52 AM, Hubbe, Allen <allen.hu...@emc.com> wrote: > From: Jon Mason <jdma...@kudzu.us>: >> On Wed, Dec 23, 2015 at 8:42 AM, Xiangliang Yu <xiangliang...@amd.com> >> wrote: > >> > +#define ndev_pdev(ndev) ((ndev)->ntb.pdev)

Re: [PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-01-05 Thread Jon Mason
On Fri, Dec 18, 2015 at 10:44:28PM +0100, Arnd Bergmann wrote: > On Friday 18 December 2015 16:37:56 Jon Mason wrote: > > + cru: cru@1800c184 { > > + compatible = "syscon"; > > + reg = <0x1800c184 0xc>; > > +

Re: [PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-01-05 Thread Jon Mason
On Fri, Dec 18, 2015 at 10:44:28PM +0100, Arnd Bergmann wrote: > On Friday 18 December 2015 16:37:56 Jon Mason wrote: > > + cru: cru@1800c184 { > > + compatible = "syscon"; > > + reg = <0x1800c184 0xc>; > > +

[PATCH 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

2015-12-18 Thread Jon Mason
Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2015-12-18 Thread Jon Mason
Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the individual boards. Signed-off-by: Jon Mason

[PATCH 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT

2015-12-18 Thread Jon Mason
Add support for the ARM TWD Watchdog to the bcm5301x device tree. The ARM TWD timer allocated the register space for the WDT, so this patch necessitated shrinking that. Also, the GIC masks were added for these. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 15

[PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2015-12-18 Thread Jon Mason
Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the individual boards. Signed-off-by: Jon Mason <jo

[PATCH 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT

2015-12-18 Thread Jon Mason
Add support for the ARM TWD Watchdog to the bcm5301x device tree. The ARM TWD timer allocated the register space for the WDT, so this patch necessitated shrinking that. Also, the GIC masks were added for these. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/bo

[PATCH 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

2015-12-18 Thread Jon Mason
Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm5301x.dtsi | 9 + 1 file chan

Re: [PATCH v4 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-03 Thread Jon Mason
On Thu, Dec 03, 2015 at 04:08:36PM -0500, Jon Mason wrote: > On Wed, Dec 02, 2015 at 04:03:03PM +0100, Hauke Mehrtens wrote: > > On 12/01/2015 05:24 PM, Kapil Hali wrote: > > > From: Jon Mason > > > > > > Add SMP support for Broadcom's 4708 SoCs. &

Re: [PATCH v4 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-03 Thread Jon Mason
On Wed, Dec 02, 2015 at 04:03:03PM +0100, Hauke Mehrtens wrote: > On 12/01/2015 05:24 PM, Kapil Hali wrote: > > From: Jon Mason > > > > Add SMP support for Broadcom's 4708 SoCs. > > > > Signed-off-by: Jon Mason > > Acked-by: Hauke Mehrtens > &

Re: [PATCH v4 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-03 Thread Jon Mason
On Wed, Dec 02, 2015 at 04:03:03PM +0100, Hauke Mehrtens wrote: > On 12/01/2015 05:24 PM, Kapil Hali wrote: > > From: Jon Mason <jonma...@broadcom.com> > > > > Add SMP support for Broadcom's 4708 SoCs. > > > > Signed-off-by: Jon Mason <jonma...@broa

Re: [PATCH v4 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-03 Thread Jon Mason
On Thu, Dec 03, 2015 at 04:08:36PM -0500, Jon Mason wrote: > On Wed, Dec 02, 2015 at 04:03:03PM +0100, Hauke Mehrtens wrote: > > On 12/01/2015 05:24 PM, Kapil Hali wrote: > > > From: Jon Mason <jonma...@broadcom.com> > > > > > > Add SMP support for Bro

[PATCH v3 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-20 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v3 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-20 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 81 ++ 1 file changed, 66 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/bcm

[PATCH v3 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-20 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v3 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-20 Thread Jon Mason
://lkml.org/lkml/2015/10/13/882) due to the inability to merge because of the driver dependencies. Those necessary driver changes were merged into 4.4. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts

Re: [PATCH v2 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-20 Thread Jon Mason
On Thu, Nov 19, 2015 at 03:40:04PM -0800, Ray Jui wrote: > > > On 11/19/2015 3:05 PM, Jon Mason wrote: > >Replace current device tree dummy clocks with real clock support for > >Broadcom Northstar Plus SoC > > > >Signed-off-by: Jon Mason > >--- &

[PATCH v3 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-20 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/br

[PATCH v3 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-20 Thread Jon Mason
://lkml.org/lkml/2015/10/13/882) due to the inability to merge because of the driver dependencies. Those necessary driver changes were merged into 4.4. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts

Re: [PATCH v2 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-20 Thread Jon Mason
On Thu, Nov 19, 2015 at 03:40:04PM -0800, Ray Jui wrote: > > > On 11/19/2015 3:05 PM, Jon Mason wrote: > >Replace current device tree dummy clocks with real clock support for > >Broadcom Northstar Plus SoC > > > >Signed-off-by: Jon Mason <jonma...@broadcom.co

[PATCH v3 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-20 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 81 ++ 1 file changed, 66 insertions(+), 15 deletions(-) diff

[PATCH v3 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-20 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git

[PATCH v2 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-19 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 77 +++--- 1 file changed, 64 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/bcm

[PATCH v2 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-19 Thread Jon Mason
to merge because of the driver dependencies. Those necessary driver changes were merged into 4.4. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts: enable clock support for Broadcom NSP ARM64: dts: enable

[PATCH v2 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-19 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v2 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-19 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts

Re: [PATCH 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-19 Thread Jon Mason
DT changes per platform and send them out in the same series. > > I also have some inline comments below. > > On 11/18/2015 3:13 PM, Jon Mason wrote: > >Replace current device tree dummy clocks with real clock support for > >Broadcom Northstar Plus SoC > > > >Sign

[PATCH v2 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-19 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git

[PATCH v2 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-19 Thread Jon Mason
to merge because of the driver dependencies. Those necessary driver changes were merged into 4.4. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts: enable clock support for Broadcom NSP ARM64: dts: enable

[PATCH v2 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-19 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/br

[PATCH v2 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-19 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 77 +++--- 1 file changed, 64 insertions(+), 13 deletions(-) diff

Re: [PATCH 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-19 Thread Jon Mason
DT changes per platform and send them out in the same series. > > I also have some inline comments below. > > On 11/18/2015 3:13 PM, Jon Mason wrote: > >Replace current device tree dummy clocks with real clock support for > >Broadcom Northstar Plus SoC > > >

[PATCH 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-18 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-18 Thread Jon Mason
. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts: enable clock support for Broadcom NSP ARM64: dts: enable clock support for Broadcom NS2 arch/arm/boot/dts/bcm-nsp.dtsi| 99

<    4   5   6   7   8   9   10   11   12   13   >