[PATCH v6 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-19 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/ar

[PATCH v6 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-19 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman Reviewed-by: Joel Stanley Tested-by: Tomer Maimon Tested-by: Avi Fishman

[PATCH v6 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-19 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/arm/mach-npcm/headsmp.S | 17

[PATCH v5 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Addressed comments from: - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605356.html - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605325.html Changes since previous update: - Addressed some minor issues caught by build bot, no structural changes. - Changes

[PATCH v5 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Addressed comments from: - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605356.html - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605325.html Changes since previous update: - Addressed some minor issues caught by build bot, no structural changes. - Changes

[PATCH v5 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/ar

[PATCH v5 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/arm/mach-npcm/headsmp.S | 17

[PATCH v5 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-08 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> Reviewed-by: Tomer Maimon <tmaimo...@gmail.com> Reviewed-by: Avi Fishman <avifishma...@gmai

[PATCH v5 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-08 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> Reviewed-by: Tomer Maimon <tmaimo...@gmail.com> Reviewed-by: Avi Fishman <avifishma...@gmail.com> --- MAINTAINERS | 13 + 1 file changed, 13 i

[PATCH v5 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-08 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman Reviewed-by: Joel Stanley Tested-by: Tomer Maimon Tested-by: Avi Fishman

[PATCH v5 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-08 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..ec0d35384a16

Re: [PATCH v4 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-06 Thread Brendan Higgins
On Wed, Sep 6, 2017 at 2:04 PM, Avi Fishman <avifishma...@gmail.com> wrote: > Sorry for sending again some mailing list rejected it due to HTML > involved (althoug I tried Plain Text), Trying again. > > 2017-09-06 11:07 GMT+03:00 Brendan Higgins <brendanhigg...@google.com>

Re: [PATCH v4 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-06 Thread Brendan Higgins
On Wed, Sep 6, 2017 at 2:04 PM, Avi Fishman wrote: > Sorry for sending again some mailing list rejected it due to HTML > involved (althoug I tried Plain Text), Trying again. > > 2017-09-06 11:07 GMT+03:00 Brendan Higgins : >> Adds basic support for the Nuvoton NPCM750 BMC

Re: [PATCH v3 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-06 Thread Brendan Higgins
On Tue, Sep 5, 2017 at 10:23 PM, Joel Stanley <j...@jms.id.au> wrote: > On Wed, Sep 6, 2017 at 10:00 AM, Brendan Higgins > <brendanhigg...@google.com> wrote: >> +++ b/Documentation/devicetree/bindings/arm/npcm/npcm.txt >> @@ -0,0 +1,6 @@ >>

Re: [PATCH v3 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-06 Thread Brendan Higgins
On Tue, Sep 5, 2017 at 10:23 PM, Joel Stanley wrote: > On Wed, Sep 6, 2017 at 10:00 AM, Brendan Higgins > wrote: >> +++ b/Documentation/devicetree/bindings/arm/npcm/npcm.txt >> @@ -0,0 +1,6 @@ >> +NPCM Platforms Device Tree Bindings >> +-

[PATCH v4 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-06 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 50 + arch/arm/mach-npcm/Makefile | 3 ++ ar

[PATCH v4 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-06 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 50 + arch/arm/mach-npcm/Makefile | 3 ++ arch/arm/mach-npcm/headsmp.S | 17

[PATCH v4 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-06 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> Reviewed-by: Tomer Maimon <tmaimo...@gmail.com> Reviewed-by: Avi Fishman <avifishma...@gm

[PATCH v4 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-06 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman Tested-by: Tomer Maimon Tested-by: Avi Fishman --- .../arm/cpu-enable-method

[PATCH v4 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-06 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> Reviewed-by: Tomer Maimon <tmaimo...@gmail.com> Reviewed-by: Avi Fishman <avifishma...@gmail.com> --- MAINTAINERS | 13 + 1 file changed, 13 i

[PATCH v4 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-06 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904

[PATCH v4 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-06 Thread Brendan Higgins
Addressed comments from: - Joel: https://www.spinics.net/lists/arm-kernel/msg605137.html Changes since previous update: - Added SMP and SMP_ON_UP - Changed dts to use phandle

[PATCH v4 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-06 Thread Brendan Higgins
Addressed comments from: - Joel: https://www.spinics.net/lists/arm-kernel/msg605137.html Changes since previous update: - Added SMP and SMP_ON_UP - Changed dts to use phandle

Re: [PATCH v2 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-05 Thread Brendan Higgins
With the exception of one comment, which I have responded to below, I have addressed your comments in my new version of this patch: https://patchwork.kernel.org/patch/9914153/ On Mon, Sep 4, 2017 at 7:47 PM, Florian Fainelli wrote: ... >> + >>

Re: [PATCH v2 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-05 Thread Brendan Higgins
With the exception of one comment, which I have responded to below, I have addressed your comments in my new version of this patch: https://patchwork.kernel.org/patch/9914153/ On Mon, Sep 4, 2017 at 7:47 PM, Florian Fainelli wrote: ... >> + >> +ENTRY(v7_invalidate_l1_npcmX50) >> + mov

[PATCH v3 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-05 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/ar

[PATCH v3 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-05 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/arm/mach-npcm/headsmp.S | 17

[PATCH v3 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-05 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> Reviewed-by: Tomer Maimon <tmaimo...@gmail.com> Reviewed-by: Avi Fishman <avifishma...@gm

[PATCH v3 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-05 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman Tested-by: Tomer Maimon Tested-by: Avi Fishman --- .../arm/cpu-enable-method

[PATCH v3 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-05 Thread Brendan Higgins
Addressed comments from: - Florian: https://www.spinics.net/lists/arm-kernel/msg604948.html Changes since previous update: - Substanitally simplified the SMP code for NPCM750. - No changes to device tree or MAINTAINERS since v2 Changes have been tested on the NPCM750 evaluation board.

[PATCH v3 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-05 Thread Brendan Higgins
Addressed comments from: - Florian: https://www.spinics.net/lists/arm-kernel/msg604948.html Changes since previous update: - Substanitally simplified the SMP code for NPCM750. - No changes to device tree or MAINTAINERS since v2 Changes have been tested on the NPCM750 evaluation board.

[PATCH v3 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-05 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> Reviewed-by: Tomer Maimon <tmaimo...@gmail.com> Reviewed-by: Avi Fishman <avifishma...@gmail.com> --- MAINTAINERS | 13 + 1 file changed, 13 i

[PATCH v3 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-05 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904

[PATCH v2 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-08-31 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904 100644 --- a/MAINTAINERS

[PATCH v2 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-08-31 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1598,6

[PATCH v2 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-31 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 58 +++ arch/arm/mach-npcm/Makefile | 3 + arch/arm/mac

[PATCH v2 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-31 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 58 +++ arch/arm/mach-npcm/Makefile | 3 + arch/arm/mach-npcm/headsmp.S | 120

[PATCH v2 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-08-31 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- .../arm/cpu-enable-method/nuvoton,npcm7xx-smp | 42 + .../devicetree/bindings/ar

[PATCH v2 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-08-31 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins --- .../arm/cpu-enable-method/nuvoton,npcm7xx-smp | 42 + .../devicetree/bindings/arm/npcm/npcm.txt | 6 + arch

[PATCH v2 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-31 Thread Brendan Higgins
Addressed comments from: - Rob: http://www.spinics.net/lists/devicetree/msg192130.html - kbuild test robot: http://www.spinics.net/lists/devicetree/msg191902.html - kbuild test robot: http://www.spinics.net/lists/devicetree/msg191902.html Changes since previous update: - Added dependency

[PATCH v2 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-31 Thread Brendan Higgins
Addressed comments from: - Rob: http://www.spinics.net/lists/devicetree/msg192130.html - kbuild test robot: http://www.spinics.net/lists/devicetree/msg191902.html - kbuild test robot: http://www.spinics.net/lists/devicetree/msg191902.html Changes since previous update: - Added dependency

Re: [PATCH] i2c: aspeed: Retain delay/setup/hold values when configuring bus frequency

2017-08-23 Thread Brendan Higgins
_I2C_AC_TIMING_REG1); > writel(ASPEED_NO_TIMEOUT_CTRL, bus->base + ASPEED_I2C_AC_TIMING_REG2); > > -- > 2.11.0 > Sorry for the delay. We tried this out and it fixes a problem similar to the one you described. Thanks again! Reviewed-by: Brendan Higgins <brendanhigg...@google.com> Tested-by: Brendan Higgins <brendanhigg...@google.com>

Re: [PATCH] i2c: aspeed: Retain delay/setup/hold values when configuring bus frequency

2017-08-23 Thread Brendan Higgins
EED_NO_TIMEOUT_CTRL, bus->base + ASPEED_I2C_AC_TIMING_REG2); > > -- > 2.11.0 > Sorry for the delay. We tried this out and it fixes a problem similar to the one you described. Thanks again! Reviewed-by: Brendan Higgins Tested-by: Brendan Higgins

Re: [RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-23 Thread Brendan Higgins
On Mon, Aug 14, 2017 at 3:28 PM, Brendan Higgins <brendanhigg...@google.com> wrote: > On Mon, Aug 14, 2017 at 7:03 PM, Patrick Williams <patr...@stwcx.xyz> wrote: >> On Mon, Aug 07, 2017 at 08:52:57PM -0700, Brendan Higgins wrote: >>> Currently, OpenBMC ha

Re: [RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-23 Thread Brendan Higgins
On Mon, Aug 14, 2017 at 3:28 PM, Brendan Higgins wrote: > On Mon, Aug 14, 2017 at 7:03 PM, Patrick Williams wrote: >> On Mon, Aug 07, 2017 at 08:52:57PM -0700, Brendan Higgins wrote: >>> Currently, OpenBMC handles all IPMI message routing and handling in >>> userlan

[PATCH v1 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-08-21 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- .../devicetree/bindings/arm/npcm/npcm.txt | 6 + arch/arm/boot/dts/nuvoton-npcm750-e

[PATCH v1 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-08-21 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins --- .../devicetree/bindings/arm/npcm/npcm.txt | 6 + arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 63 ++ arch

[PATCH v1 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-08-21 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904 100644 --- a/MAINTAINERS

[PATCH v1 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-08-21 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1598,6

[PATCH v1 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-21 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 60 +++ arch/arm/mach-npcm/Makefile | 3 + arch/arm/mac

[PATCH v1 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-21 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 60 +++ arch/arm/mach-npcm/Makefile | 3 + arch/arm/mach-npcm/headsmp.S | 120

[PATCH v1 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-21 Thread Brendan Higgins
This patch set adds support for the Nuvoton NPCM Baseboard Management Controller (BMC) SoC architecture as well as the NPCM750 variant. NPCM is an ARM based SoC with external DDR RAM and supports a large set of peripherals. The NPCM750 is based on Cortex A9 and comes in single core and dual core

[PATCH v1 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-21 Thread Brendan Higgins
This patch set adds support for the Nuvoton NPCM Baseboard Management Controller (BMC) SoC architecture as well as the NPCM750 variant. NPCM is an ARM based SoC with external DDR RAM and supports a large set of peripherals. The NPCM750 is based on Cortex A9 and comes in single core and dual core

Re: [PATCH] i2c: aspeed: Retain delay/setup/hold values when configuring bus frequency

2017-08-16 Thread Brendan Higgins
On Tue, Aug 15, 2017 at 10:21 AM, Andrew Jeffery wrote: > In addition to the base, low and high clock configuration, the AC timing > register #1 on the AST2400 houses fields controlling: > > 1. tBUF: Minimum delay between Stop and Start conditions > 2. tHDSTA: Hold time for the

Re: [PATCH] i2c: aspeed: Retain delay/setup/hold values when configuring bus frequency

2017-08-16 Thread Brendan Higgins
On Tue, Aug 15, 2017 at 10:21 AM, Andrew Jeffery wrote: > In addition to the base, low and high clock configuration, the AC timing > register #1 on the AST2400 houses fields controlling: > > 1. tBUF: Minimum delay between Stop and Start conditions > 2. tHDSTA: Hold time for the Start condition >

Re: [RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-14 Thread Brendan Higgins
On Mon, Aug 14, 2017 at 7:03 PM, Patrick Williams <patr...@stwcx.xyz> wrote: > On Mon, Aug 07, 2017 at 08:52:57PM -0700, Brendan Higgins wrote: >> Currently, OpenBMC handles all IPMI message routing and handling in userland; >> the existing drivers simply provide a file inter

Re: [RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-14 Thread Brendan Higgins
On Mon, Aug 14, 2017 at 7:03 PM, Patrick Williams wrote: > On Mon, Aug 07, 2017 at 08:52:57PM -0700, Brendan Higgins wrote: >> Currently, OpenBMC handles all IPMI message routing and handling in userland; >> the existing drivers simply provide a file interface for the hardware o

Re: [PATCH v2 1/1] i2c: aspeed: add proper support fo 24xx clock params

2017-08-13 Thread Brendan Higgins
On Sat, Aug 12, 2017 at 4:30 AM, Wolfram Sang wrote: > >> That being said, I could implement this as a custom clock subclass, which >> would probably be cleaner that what I have done. > > Shall I wait for that one or do you want this patch to be included? > I don't mind, your

Re: [PATCH v2 1/1] i2c: aspeed: add proper support fo 24xx clock params

2017-08-13 Thread Brendan Higgins
On Sat, Aug 12, 2017 at 4:30 AM, Wolfram Sang wrote: > >> That being said, I could implement this as a custom clock subclass, which >> would probably be cleaner that what I have done. > > Shall I wait for that one or do you want this patch to be included? > I don't mind, your call here... >

Re: [RFC v1 1/4] ipmi_bmc: framework for BT IPMI on BMCs

2017-08-10 Thread Brendan Higgins
On Thu, Aug 10, 2017 at 6:58 AM, Corey Minyard <miny...@acm.org> wrote: > On 08/07/2017 10:52 PM, Brendan Higgins wrote: >> >> From: Benjamin Fair <benjaminf...@google.com> >> >> This patch introduces a framework for writing IPMI drivers which run on >>

Re: [RFC v1 1/4] ipmi_bmc: framework for BT IPMI on BMCs

2017-08-10 Thread Brendan Higgins
On Thu, Aug 10, 2017 at 6:58 AM, Corey Minyard wrote: > On 08/07/2017 10:52 PM, Brendan Higgins wrote: >> >> From: Benjamin Fair >> >> This patch introduces a framework for writing IPMI drivers which run on >> a Board Management Controller. It is similar in funct

Re: [RFC v1 4/4] ipmi_bmc: bt-aspeed: port driver to IPMI BMC framework

2017-08-09 Thread Brendan Higgins
On Wed, Aug 9, 2017 at 7:31 PM, Jeremy Kerr wrote: > Hi Brendan, > >> The driver was handling interaction with userspace on its own. This >> patch changes it to use the functionality of the ipmi_bmc framework >> instead. >> >> Note that this removes the ability for the BMC to set

Re: [RFC v1 4/4] ipmi_bmc: bt-aspeed: port driver to IPMI BMC framework

2017-08-09 Thread Brendan Higgins
On Wed, Aug 9, 2017 at 7:31 PM, Jeremy Kerr wrote: > Hi Brendan, > >> The driver was handling interaction with userspace on its own. This >> patch changes it to use the functionality of the ipmi_bmc framework >> instead. >> >> Note that this removes the ability for the BMC to set SMS_ATN by

Re: [PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-09 Thread Brendan Higgins
On Wed, Aug 9, 2017 at 7:26 PM, Corey Minyard <tcminy...@gmail.com> wrote: > On 08/09/2017 08:04 PM, Brendan Higgins wrote: >>> >>> Perhaps that is some level of abuse, but it's pretty common. I'm not >>> against it. >>> >>> There is st

Re: [PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-09 Thread Brendan Higgins
On Wed, Aug 9, 2017 at 7:26 PM, Corey Minyard wrote: > On 08/09/2017 08:04 PM, Brendan Higgins wrote: >>> >>> Perhaps that is some level of abuse, but it's pretty common. I'm not >>> against it. >>> >>> There is standard IPMI firmware NetFN (tho

Re: [PATCH v1 0/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-09 Thread Brendan Higgins
On Wed, Aug 9, 2017 at 3:56 AM, Anton D. Kachalov wrote: > Hello, > > I would like to mention one of the our related work for IPMI and I2C. > > We use OpenIPMI stack to connect to the computing nodes through the I2C > using IPMB (BT is not supported by nodes): > >

Re: [PATCH v1 0/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-09 Thread Brendan Higgins
On Wed, Aug 9, 2017 at 3:56 AM, Anton D. Kachalov wrote: > Hello, > > I would like to mention one of the our related work for IPMI and I2C. > > We use OpenIPMI stack to connect to the computing nodes through the I2C > using IPMB (BT is not supported by nodes): > >

Re: [PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-09 Thread Brendan Higgins
> Perhaps that is some level of abuse, but it's pretty common. I'm not > against it. > > There is standard IPMI firmware NetFN (though no commands defined) that if > you use > the driver automatically goes into "Maintenance mode" and modified the > timeouts > and handling to some extent to help

Re: [PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-09 Thread Brendan Higgins
> Perhaps that is some level of abuse, but it's pretty common. I'm not > against it. > > There is standard IPMI firmware NetFN (though no commands defined) that if > you use > the driver automatically goes into "Maintenance mode" and modified the > timeouts > and handling to some extent to help

[RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-07 Thread Brendan Higgins
This introduces a framework for implementing the BMC side of the IPMI protocol, roughly mirroring the host side OpenIPMI framework; it attempts to abstract away hardware interfaces, such as Block Transfer interface hardware implementations from IPMI command handlers. It does this by implementing

[RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-07 Thread Brendan Higgins
This introduces a framework for implementing the BMC side of the IPMI protocol, roughly mirroring the host side OpenIPMI framework; it attempts to abstract away hardware interfaces, such as Block Transfer interface hardware implementations from IPMI command handlers. It does this by implementing

[RFC v1 2/4] ipmi_bmc: device interface to IPMI BMC framework

2017-08-07 Thread Brendan Higgins
; Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- drivers/char/ipmi_bmc/Kconfig| 6 + drivers/char/ipmi_bmc/Makefile | 1 + drivers/char/ipmi_bmc/ipmi_bmc_devintf.c | 241 +++ 3 files changed, 248 insertions(+) create mode 100644 dri

[RFC v1 2/4] ipmi_bmc: device interface to IPMI BMC framework

2017-08-07 Thread Brendan Higgins
From: Benjamin Fair This creates a char device which allows userspace programs to send and receive IPMI messages. Messages are only routed to userspace if no other kernel driver can handle them. Signed-off-by: Benjamin Fair Signed-off-by: Brendan Higgins --- drivers/char/ipmi_bmc/Kconfig

[RFC v1 3/4] ipmi_bmc: bt-i2c: port driver to IPMI BMC framework

2017-08-07 Thread Brendan Higgins
; Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- drivers/char/ipmi_bmc/ipmi_bmc_bt_i2c.c | 202 +--- 1 file changed, 28 insertions(+), 174 deletions(-) diff --git a/drivers/char/ipmi_bmc/ipmi_bmc_bt_i2c.c b/drivers/char/ipmi_bmc/ipmi_bmc_bt_i2c.c

[RFC v1 4/4] ipmi_bmc: bt-aspeed: port driver to IPMI BMC framework

2017-08-07 Thread Brendan Higgins
nality is required, it can be added back in with a later patch. Signed-off-by: Benjamin Fair <benjaminf...@google.com> Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- drivers/char/ipmi_bmc/ipmi_bmc_bt_aspeed.c | 258 + include/u

[RFC v1 4/4] ipmi_bmc: bt-aspeed: port driver to IPMI BMC framework

2017-08-07 Thread Brendan Higgins
be added back in with a later patch. Signed-off-by: Benjamin Fair Signed-off-by: Brendan Higgins --- drivers/char/ipmi_bmc/ipmi_bmc_bt_aspeed.c | 258 + include/uapi/linux/bt-bmc.h| 18 -- 2 files changed, 74 insertions(+), 202 deletions(-) delete mode

[RFC v1 3/4] ipmi_bmc: bt-i2c: port driver to IPMI BMC framework

2017-08-07 Thread Brendan Higgins
From: Benjamin Fair Instead of handling interaction with userspace and providing a file interface, rely on the IPMI BMC framework to do this. This simplifies the logic and eliminates duplicate code. Signed-off-by: Benjamin Fair Signed-off-by: Brendan Higgins --- drivers/char/ipmi_bmc

[RFC v1 1/4] ipmi_bmc: framework for BT IPMI on BMCs

2017-08-07 Thread Brendan Higgins
benjaminf...@google.com> Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- drivers/char/ipmi_bmc/Makefile | 1 + drivers/char/ipmi_bmc/ipmi_bmc.c | 294 +++ include/linux/ipmi_bmc.h | 184 3 files chang

[RFC v1 1/4] ipmi_bmc: framework for BT IPMI on BMCs

2017-08-07 Thread Brendan Higgins
From: Benjamin Fair This patch introduces a framework for writing IPMI drivers which run on a Board Management Controller. It is similar in function to OpenIPMI. The framework handles registering devices and routing messages. Signed-off-by: Benjamin Fair Signed-off-by: Brendan Higgins

Re: [PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-07 Thread Brendan Higgins
On Sat, Aug 5, 2017 at 3:23 PM, Corey Minyard <miny...@acm.org> wrote: > On 08/04/2017 08:18 PM, Brendan Higgins wrote: >> >> This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has >> the >> same semantics as IPMI Block Transfer except it don

Re: [PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-07 Thread Brendan Higgins
On Sat, Aug 5, 2017 at 3:23 PM, Corey Minyard wrote: > On 08/04/2017 08:18 PM, Brendan Higgins wrote: >> >> This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has >> the >> same semantics as IPMI Block Transfer except it done over I2C. &

[PATCH v2 1/4] ipmi: bt-i2c: added documentation for bt-i2c drivers

2017-08-04 Thread Brendan Higgins
Added device tree binding documentation for ipmi-bt-i2c (host) and ipmi-bmc-bt-i2c (BMC) and documentation for the Block Transfer over I2C (bt-i2c) protocol. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- Changes for v2: - Fixed a typo - Reworded a sentence to make it

[PATCH v2 1/4] ipmi: bt-i2c: added documentation for bt-i2c drivers

2017-08-04 Thread Brendan Higgins
Added device tree binding documentation for ipmi-bt-i2c (host) and ipmi-bmc-bt-i2c (BMC) and documentation for the Block Transfer over I2C (bt-i2c) protocol. Signed-off-by: Brendan Higgins --- Changes for v2: - Fixed a typo - Reworded a sentence to make it clear that I was talking about

[PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the same semantics as IPMI Block Transfer except it done over I2C. For the OpenBMC people, this is based on an RFC: https://lists.ozlabs.org/pipermail/openbmc/2016-September/004505.html The documentation discusses the

[PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the same semantics as IPMI Block Transfer except it done over I2C. For the OpenBMC people, this is based on an RFC: https://lists.ozlabs.org/pipermail/openbmc/2016-September/004505.html The documentation discusses the

[PATCH v2 2/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C host side

2017-08-04 Thread Brendan Higgins
{ + {"ipmi-bt-i2c", 0}, + {}, +}; +MODULE_DEVICE_TABLE(i2c, ipmi_bt_i2c_i2c_id); + +static struct i2c_driver ipmi_bt_i2c_driver = { + .driver = { + .name = "ipmi-bt-i2c", + .acpi_match_table = ipmi_bt_i2c_acpi_id, +

[PATCH v2 2/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C host side

2017-08-04 Thread Brendan Higgins
{"ipmi-bt-i2c", 0}, + {}, +}; +MODULE_DEVICE_TABLE(i2c, ipmi_bt_i2c_i2c_id); + +static struct i2c_driver ipmi_bt_i2c_driver = { + .driver = { + .name = "ipmi-bt-i2c", + .acpi_match_table = ipmi_bt_i2c_acpi_id, + }, + .id_table = ipmi_bt_i2c_i2c_id, + .probe = ipmi_bt_i2c_probe, + .remove = ipmi_bt_i2c_remove, +}; +module_i2c_driver(ipmi_bt_i2c_driver); + +MODULE_AUTHOR("Brendan Higgins "); +MODULE_DESCRIPTION("IPMI Block Transfer over I2C."); +MODULE_LICENSE("GPL v2"); -- 2.14.0.rc1.383.gd1ce394fe2-goog

[PATCH v2 3/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C BMC side

2017-08-04 Thread Brendan Higgins
the same BMC side file system interface as "ipmi-bt-host". Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- Changes for v2: - None --- drivers/char/Kconfig| 1 + drivers/char/Makefile | 1 + drivers/char/ipmi_bmc/Kconfig

[PATCH v2 4/4] ipmi: bt-bmc: move Aspeed IPMI BMC driver to ipmi_bmc

2017-08-04 Thread Brendan Higgins
From: Benjamin Fair <benjaminf...@google.com> The ipmi_bmc folder contains drivers for a BMC to communicate using IPMI. The ipmi folder is only for drivers on the host side using the OpenIPMI framework. Signed-off-by: Benjamin Fair <benjaminf...@google.com> Signed-off-by: Bre

[PATCH v2 3/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C BMC side

2017-08-04 Thread Brendan Higgins
the same BMC side file system interface as "ipmi-bt-host". Signed-off-by: Brendan Higgins --- Changes for v2: - None --- drivers/char/Kconfig| 1 + drivers/char/Makefile | 1 + drivers/char/ipmi_bmc/Kconfig | 22 ++ drivers/char/ipmi_bm

[PATCH v2 4/4] ipmi: bt-bmc: move Aspeed IPMI BMC driver to ipmi_bmc

2017-08-04 Thread Brendan Higgins
From: Benjamin Fair The ipmi_bmc folder contains drivers for a BMC to communicate using IPMI. The ipmi folder is only for drivers on the host side using the OpenIPMI framework. Signed-off-by: Benjamin Fair Signed-off-by: Brendan Higgins --- Added in v2: --- drivers/char/ipmi/Kconfig

Re: [PATCH v1 0/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
On Fri, Aug 4, 2017 at 4:18 PM, Brendan Higgins <brendanhigg...@google.com> wrote: > This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the > same semantics as IPMI Block Transfer except it done over I2C. > > The documentation discusses the reason for this

Re: [PATCH v1 0/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
On Fri, Aug 4, 2017 at 4:18 PM, Brendan Higgins wrote: > This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the > same semantics as IPMI Block Transfer except it done over I2C. > > The documentation discusses the reason for this in greater detail, suffice it

[PATCH v1 1/3] ipmi: bt-i2c: added documentation for bt-i2c drivers

2017-08-04 Thread Brendan Higgins
Added device tree binding documentation for ipmi-bt-i2c (host) and ipmi-bmc-bt-i2c (BMC) and documentation for the Block Transfer over I2C (bt-i2c) protocol. Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- Documentation/bt-i2c.txt

[PATCH v1 1/3] ipmi: bt-i2c: added documentation for bt-i2c drivers

2017-08-04 Thread Brendan Higgins
Added device tree binding documentation for ipmi-bt-i2c (host) and ipmi-bmc-bt-i2c (BMC) and documentation for the Block Transfer over I2C (bt-i2c) protocol. Signed-off-by: Brendan Higgins --- Documentation/bt-i2c.txt | 121 + .../devicetree

[PATCH v1 0/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the same semantics as IPMI Block Transfer except it done over I2C. The documentation discusses the reason for this in greater detail, suffice it to say SSIF cannot be correctly implemented on some naive I2C devices. There

[PATCH v1 0/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the same semantics as IPMI Block Transfer except it done over I2C. The documentation discusses the reason for this in greater detail, suffice it to say SSIF cannot be correctly implemented on some naive I2C devices. There

[PATCH v1 2/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C host side

2017-08-04 Thread Brendan Higgins
{ + {"ipmi-bt-i2c", 0}, + {}, +}; +MODULE_DEVICE_TABLE(i2c, ipmi_bt_i2c_i2c_id); + +static struct i2c_driver ipmi_bt_i2c_driver = { + .driver = { + .name = "ipmi-bt-i2c", + .acpi_match_table = ipmi_bt_i2c_acpi_id, + }, + .id_table = ipmi_bt_i2c_i2c

[PATCH v1 3/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C BMC side

2017-08-04 Thread Brendan Higgins
the same BMC side file system interface as "ipmi-bt-host". Signed-off-by: Brendan Higgins <brendanhigg...@google.com> --- drivers/char/Kconfig| 1 + drivers/char/Makefile | 1 + drivers/char/ipmi_bmc/Kconfig | 22 ++ drivers/char/i

[PATCH v1 2/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C host side

2017-08-04 Thread Brendan Higgins
+MODULE_DEVICE_TABLE(i2c, ipmi_bt_i2c_i2c_id); + +static struct i2c_driver ipmi_bt_i2c_driver = { + .driver = { + .name = "ipmi-bt-i2c", + .acpi_match_table = ipmi_bt_i2c_acpi_id, + }, + .id_table = ipmi_bt_i2c_i2c_id, + .probe = ipmi_bt_i2c_probe, + .remove = ipmi_bt_i2c_remove, +}; +module_i2c_driver(ipmi_bt_i2c_driver); + +MODULE_AUTHOR("Brendan Higgins "); +MODULE_DESCRIPTION("IPMI Block Transfer over I2C."); +MODULE_LICENSE("GPL v2"); -- 2.14.0.rc1.383.gd1ce394fe2-goog

<    2   3   4   5   6   7   8   9   >