Re: [PATCH 1/3] arm/kbuild: replace {C,LD}FLAGS_MODULE with KBUILD_{C,LD}FLAGS_MODULE

2017-10-30 Thread Masahiro Yamada
-fno-optimize-sibling-calls > +KBUILD_CFLAGS_MODULE +=-fno-optimize-sibling-calls > endif > else > CFLAGS_ISA :=$(call cc-option,-marm,) > -- > 2.1.0 > > > -- Best Regards Masahiro Yamada

Re: [PATCH 2/3] c6x/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE

2017-10-30 Thread Masahiro Yamada
+KBUILD_CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none > > CHECKFLAGS += > > -- > 2.1.0 > > > -- Best Regards Masahiro Yamada

Re: [PATCH 3/3] hexagon/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE

2017-10-30 Thread Masahiro Yamada
_MODULE += -shared >> +KBUILD_CFLAGS_MODULE += -mlong-calls >> >> cflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION}) >> aflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION}) >> -- >> 2.1.0 >> >> >> > > For Hexagon: > > Acked-by: Richard Kuo > Applied to linux-kbuild. Thanks! -- Best Regards Masahiro Yamada

Re: [PATCH v2] kbuild: fix linker feature test macros when cross compiling with Clang

2017-10-30 Thread Masahiro Yamada
2017-10-30 15:50 GMT+09:00 Masahiro Yamada : > 2017-10-29 0:00 GMT+09:00 Masahiro Yamada : >> 2017-10-28 5:13 GMT+09:00 Nick Desaulniers : >>> I was not seeing my linker flags getting added when using ld-option when >>> cross compiling with Clang. Upon investigation, th

Re: [PATCH 01/12] nvmem: imx-iim: use stack for nvmem_config instead of malloc'ing it

2017-10-30 Thread Masahiro Yamada
Hi Greg, 2017-10-21 1:26 GMT+09:00 Greg KH : > On Sat, Oct 21, 2017 at 01:18:14AM +0900, Masahiro Yamada wrote: >> 2017-10-20 23:47 GMT+09:00 Greg KH : >> > On Fri, Oct 20, 2017 at 11:26:16PM +0900, Masahiro Yamada wrote: >> >> 2017-10-20 22:54 GMT+09:00 Greg KH : &

[PATCH] genirq: add mutex and rcu locking to irq_desc_tree

2017-10-30 Thread Masahiro Yamada
Add a mutex to prevent concurrency on the updater side of the irq_desc radix tree. Add rcu_read_lock/unlock to the reader side so that lifetimes of leaf pointers of the radix tree are correctly managed. Signed-off-by: Masahiro Yamada --- kernel/irq/irqdesc.c | 14 +- 1 file

Re: [PATCH 1/3] ARM: uniphier: add outer cache support

2015-08-28 Thread Masahiro Yamada
Hi Arnd, Russell, 2015-08-26 21:52 GMT+09:00 Arnd Bergmann : > On Wednesday 26 August 2015 10:38:59 Masahiro Yamada wrote: >> >> 2015-08-25 4:59 GMT+09:00 Arnd Bergmann : >> > On Monday 24 August 2015 11:18:10 Masahiro Yamada wrote: > >> Nothing. >> >&

Re: [PATCH 1/3] ARM: uniphier: add outer cache support

2015-08-28 Thread Masahiro Yamada
Hi Linus, 2015-08-26 22:39 GMT+09:00 Linus Walleij : > On Mon, Aug 24, 2015 at 4:18 AM, Masahiro Yamada > wrote: >> This commit adds support for UniPhier outer cache controller. >> All the UniPhier SoCs are equipped with the L2 cache, while the L3 >> cache is currentl

Re: [PATCH] ARM64: dts: vexpress: Use a symlink to vexpress-v2m-rs1.dtsi from arch=arm

2015-10-13 Thread Masahiro Yamada
gt; Cc: devicet...@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Cc: linux-arm-ker...@lists.infradead.org >> Cc: a...@kernel.org >> Cc: linux-kbu...@vger.kernel.org I have a similar issue to vexpress, so I want to consult experts. I am trying to support a new ARM64 So

Re: [PATCH] of: add vendor prefix for Socionext Inc.

2015-09-08 Thread Masahiro Yamada
Hi Lee, Rob, 2015-08-25 0:11 GMT+09:00 Rob Herring : > On Mon, Aug 24, 2015 at 1:57 AM, Lee Jones wrote: >> On Wed, 29 Jul 2015, Masahiro Yamada wrote: >> >>> Signed-off-by: Masahiro Yamada >>> --- >>> >>> Documentation/devicetree/bindin

[PATCH] ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board

2015-10-15 Thread Masahiro Yamada
The IRQ signal from external devices on this board is connected to the XIRQ1 pin of the SoC. The IRQ number should be 51, not 50. Fixes: a5e921b4771f ("ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support") Signed-off-by: Masahiro Yamada --- Hi Olof and Arnd, Could

[PATCH 0/3] ARM: dts: uniphier: DTS updates for UniPhier SoCs for Linux 4.14-rc1

2015-10-15 Thread Masahiro Yamada
Hi Olof and Arnd, Please apply this series to ARM-SOC for the next merge window. Thanks Masahiro Yamada Masahiro Yamada (3): ARM: dts: uniphier: change the external bus address mapping ARM: dts: uniphier: add ProXstream2 Vodka board support ARM: dts: uniphier: add ProXstream2 Gentil

[PATCH 2/3] ARM: dts: uniphier: add ProXstream2 Vodka board support

2015-10-15 Thread Masahiro Yamada
Initial version of DTS for ProXstream2 Vodka board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/uniphier-proxstream2-vodka.dts | 79 2 files changed, 81 insertions(+), 1 deletion(-) create mode 100644

[PATCH 1/3] ARM: dts: uniphier: change the external bus address mapping

2015-10-15 Thread Masahiro Yamada
interface. For the consistency, use the latter for all the SoCs. Also, fix the range properties to reflect the real address mapping, where the support card is located at the offset address 0x01f0 of CS1 of the external bus. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4

[PATCH 3/3] ARM: dts: uniphier: add ProXstream2 Gentil board support

2015-10-15 Thread Masahiro Yamada
Initial version of DTS for ProXstream2 Gentil board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/uniphier-proxstream2-gentil.dts | 79 +++ 2 files changed, 80 insertions(+) create mode 100644 arch/arm/boot

Re: [PATCH] ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board

2015-10-15 Thread Masahiro Yamada
2015-10-15 17:58 GMT+09:00 Masahiro Yamada : > The IRQ signal from external devices on this board is connected to > the XIRQ1 pin of the SoC. The IRQ number should be 51, not 50. > > Fixes: a5e921b4771f ("ARM: dts: uniphier: add ProXstream2 and PH1-LD6b > SoC/board suppo

[PATCH v2] ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board

2015-10-15 Thread Masahiro Yamada
The IRQ signal from external devices on this board is connected to the XIRQ4 pin of the SoC. The IRQ number should be 52, not 50. Fixes: a5e921b4771f ("ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support") Signed-off-by: Masahiro Yamada --- Changes in v2: - change

Re: [PATCH 2/3] ARM: dts: uniphier: add ProXstream2 Vodka board support

2015-10-15 Thread Masahiro Yamada
Hi Arnd, 2015-10-16 0:17 GMT+09:00 Arnd Bergmann : > On Thursday 15 October 2015 18:05:33 Masahiro Yamada wrote: >> + aliases { >> + serial0 = &serial0; >> + serial1 = &serial1; >> + serial2 = &s

Re: [PATCH 2/3] ARM: dts: uniphier: add ProXstream2 Vodka board support

2015-10-16 Thread Masahiro Yamada
Hi Arnd, 2015-10-16 18:18 GMT+09:00 Arnd Bergmann : > On Friday 16 October 2015 14:24:30 Masahiro Yamada wrote: >> >> No, it is not a typo, but intentional. >> >> >> i2c0 - i2c3 are connected to the pads of the SoC package. >> On the other hand, i2c-4 - i2c

Re: [PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-20 Thread Masahiro Yamada
Hi Peter, (+ Rob Herring, Stefan Agner) 2015-10-20 23:00 GMT+09:00 Peter Hurley : > On 10/19/2015 11:36 PM, Masahiro Yamada wrote: >> The input clock frequency varies from device to device, but the >> earlycon uses the fixed frequency (BASE_BAUD * 16). It makes >> impossib

console vs earlycon ?

2015-10-21 Thread Masahiro Yamada
my own UART driver. Is it meaningless to implement console_initcall() as well as earlycon? -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH 2/3] ARM: dts: uniphier: add ProXstream2 Vodka board support

2015-10-21 Thread Masahiro Yamada
Hi Arnd, 2015-10-16 18:50 GMT+09:00 Masahiro Yamada : > Hi Arnd, > > 2015-10-16 18:18 GMT+09:00 Arnd Bergmann : >> On Friday 16 October 2015 14:24:30 Masahiro Yamada wrote: >>> >>> No, it is not a typo, but intentional. >>> >>> >>> i2c0

Re: console vs earlycon ?

2015-10-21 Thread Masahiro Yamada
Hi Arnd, 2015-10-21 17:57 GMT+09:00 Arnd Bergmann : > On Wednesday 21 October 2015 17:21:07 Masahiro Yamada wrote: >> Hi. >> >> >> >> >> I think there are three places where console could be enabled. >> >> [1] earlycon >> >&g

Re: console vs earlycon ?

2015-10-21 Thread Masahiro Yamada
Hi Arnd, 2015-10-21 18:19 GMT+09:00 Arnd Bergmann : > On Wednesday 21 October 2015 18:09:33 Masahiro Yamada wrote: >> Hi Arnd, >> >> >> 2015-10-21 17:57 GMT+09:00 Arnd Bergmann : >> > On Wednesday 21 October 2015 17:21:07 Masahiro Yamada wrote: >> &g

[PATCH 4/4] ARM: dts: uniphier: add ProXstream2 Vodka board support

2015-10-21 Thread Masahiro Yamada
Initial version of DTS for ProXstream2 Vodka board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/uniphier-proxstream2-vodka.dts | 74 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644

[PATCH 3/4] ARM: dts: uniphier: add ProXstream2 Gentil board support

2015-10-21 Thread Masahiro Yamada
Initial version of DTS for ProXstream2 Gentil board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/Makefile| 3 +- arch/arm/boot/dts/uniphier-proxstream2-gentil.dts | 74 +++ 2 files changed, 76 insertions(+), 1 deletion(-) create mode

[PATCH 0/4] ARM: dts: uniphier: DTS updates for UniPhier SoCs for Linux 4.14-rc1 (2nd try)

2015-10-21 Thread Masahiro Yamada
Hi Arnd, I dropped I2C aliases. (I want this policy to be consistent for all the uniphier DTS files. 2/4 deletes them from existing DTS files too.) Please pull this series for the next merge window. Thanks, Masahiro Masahiro Yamada (4): ARM: dts: uniphier: use stdout-path instead of

[PATCH 2/4] ARM: dts: uniphier: delete i2c aliases

2015-10-21 Thread Masahiro Yamada
The user space should not expect that a particular I2C channel is always visible through the same character device. No reason to fix the I2C indexes with aliases. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts | 4 arch/arm/boot/dts/uniphier-ph1-ld6b

[PATCH 1/4] ARM: dts: uniphier: use stdout-path instead of console

2015-10-21 Thread Masahiro Yamada
Specifying both console and stdout-path is redundant. Add options ":115200n8" to stdout-path and drop "console=ttyS0,115200". Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts | 3 +-- arch/arm/boot/dts/uniphier-ph1-ld6b-ref.dts | 3 +-- arch/a

Re: [PATCH 0/4] ARM: dts: uniphier: DTS updates for UniPhier SoCs for Linux 4.14-rc1 (2nd try)

2015-10-21 Thread Masahiro Yamada
The subject should be "ARM: dts: uniphier: DTS updates for UniPhier SoCs for Linux 4.4-rc1" I cannot wait until Linux 4.14-rc1 :) -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-21 Thread Masahiro Yamada
Hi Peter. 2015-10-21 21:27 GMT+09:00 Peter Hurley : > On 10/20/2015 09:20 PM, Masahiro Yamada wrote: >> Hi Peter, >> (+ Rob Herring, Stefan Agner) >> >> 2015-10-20 23:00 GMT+09:00 Peter Hurley : >>> On 10/19/2015 11:36 PM, Masahiro Yamada wrote: >>>&

Re: [PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-21 Thread Masahiro Yamada
Hi Peter, 2015-10-22 0:35 GMT+09:00 Peter Hurley : > Hi Masahiro, > > On 10/21/2015 11:31 AM, Masahiro Yamada wrote: >> If it is always correct to preserve the initialization done by boot-loader, >> the following code in 8250_early.c does not make sense. > > It'

Re: console vs earlycon ?

2015-10-21 Thread Masahiro Yamada
Hi Peter 2015-10-21 22:20 GMT+09:00 Peter Hurley : > On 10/21/2015 04:21 AM, Masahiro Yamada wrote: >> Hi. >> >> >> >> >> I think there are three places where console could be enabled. >> >> [1] earlycon >> >> Each driver entry

[PATCH] serial: 8250_early: do not save and restore IER in write callback

2015-10-22 Thread Masahiro Yamada
The IER has already been masked in early_serial8250_setup(), there is no reason to save and restore it every time early_serial8250_write() is called. Let wait_for_xmitr() melt into serial_putc(). Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 20

[PATCH] serial: 8250_uniphier: add earlycon support

2015-10-22 Thread Masahiro Yamada
e divisor register because port->uartclk does not match the frequency expected by this hardware. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_uniphier.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/tty/serial/8250/8250_uniphier.c b

[PATCH] serial: 8250_uniphier: fix dl_read and dl_write functions

2015-10-18 Thread Masahiro Yamada
The register offset must be shifted by regshift, otherwise the baudrate is not set. I missed the issue probably because the divisor register was already set by the boot loader. Fixes: 1a8d2903cb6a ("serial: 8250_uniphier: add UniPhier serial driver") Signed-off-by: Masahiro Yamada --

[PATCH 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-18 Thread Masahiro Yamada
,mmio32,0x43fb,115200,12288000 The input clock frequency (12288000, in this case) should be specified after the baudrate. If not specified, the default (BASE_BAUD * 16) is used. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/earlycon.c | 8 +++- 1 file changed, 7 insertions

[PATCH 0/2] serial: console: add two features

2015-10-18 Thread Masahiro Yamada
1/2: add MMIO16 register interface support 2/2: allow to input clock frequency from kernel parameter Masahiro Yamada (2): serial: support register interface with 16-bit stride for console serial: earlycon: allow to specify uartclk in earlycon kernel-parameter Documentation/kernel

[PATCH 1/2] serial: support register interface with 16-bit stride for console

2015-10-18 Thread Masahiro Yamada
d.dtsi: serialsc: uart@000b { compatible = "ns16550a"; reg = <0x000b 0x20>; clock-frequency = <12288000>; reg-shift = <1>; }; Signed-off-by: Masahiro Yamada --- Documentation/kernel-param

[PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-19 Thread Masahiro Yamada
,mmio32,0x43fb,115200,12288000 The input clock frequency (12288000, in this case) should be specified after the baudrate. If not specified, the default (BASE_BAUD * 16) is used. Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/tty/serial/earlycon.c | 8 +++- 1 file

[PATCH v2 0/2] serial: console: add two features

2015-10-19 Thread Masahiro Yamada
1/2: add MMIO16 register interface support 2/2: allow to input clock frequency from kernel parameter Changes in v2: - Do not change userspace-exported macros Masahiro Yamada (2): serial: support register interface with 16-bit stride for console serial: earlycon: allow to specify uartclk

[PATCH v2 1/2] serial: support register interface with 16-bit stride for console

2015-10-19 Thread Masahiro Yamada
upport-card.dtsi: serialsc: uart@000b { compatible = "ns16550a"; reg = <0x000b 0x20>; clock-frequency = <12288000>; reg-shift = <1>; }; Signed-off-by: Masahiro Yamada --- Changes

Re: [PATCH 1/2] serial: support register interface with 16-bit stride for console

2015-10-19 Thread Masahiro Yamada
Hi Peter, 2015-10-20 4:50 GMT+09:00 Peter Hurley : > On 10/19/2015 01:40 AM, Masahiro Yamada wrote: >> Currently, 8-bit (MMIO) and 32-bit (MMIO32) strides are supported for >> the 8250 console, but 16-bit (MMIO16) stride is not. The 8250 UART >> device on my board has 16-

[PATCH] pinctrl: uniphier: set input-enable before pin-muxing

2015-10-20 Thread Masahiro Yamada
blocks for such SoCs as PH1-LD4, PH1-sLD8, where UART devices start to run at the power on reset. To avoid such problems, pins should be input-enabled before muxing. Fixes: 6e9088920258 ("pinctrl: UniPhier: add UniPhier pinctrl core support") Signed-off-by: Masahiro Yamada Reported-by: D

Re: [PATCH 1/3] i2c: uniphier: add UniPhier FIFO-less I2C driver

2015-10-23 Thread Masahiro Yamada
Hi Wolfram, Thanks for your review! 2015-10-23 5:59 GMT+09:00 Wolfram Sang : > On Thu, Jul 30, 2015 at 05:12:20PM +0900, Masahiro Yamada wrote: >> Add support for on-chip I2C controller used on old UniPhier SoCs >> such as PH1-LD4, PH1-sLD8, etc.. This adapter is so simple th

[PATCH v2 2/2] i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver

2015-10-23 Thread Masahiro Yamada
Add support for on-chip I2C controller used on newer UniPhier SoCs such as PH1-Pro4, PH1-Pro5, etc. This adapter is equipped with 8-depth TX/RX FIFOs. Signed-off-by: Masahiro Yamada --- Changes in v2: - Delete if-block after platform_get_resource() - Add I2C_FUNC_SMBUS_EMUL to

[PATCH v2 0/2] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-10-23 Thread Masahiro Yamada
block Masahiro Yamada (2): i2c: uniphier: add UniPhier FIFO-less I2C driver i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver .../devicetree/bindings/i2c/i2c-uniphier-f.txt | 25 + .../devicetree/bindings/i2c/i2c-uniphier.txt | 25 + MAINTAINERS

Re: [PATCH 3/3] i2c: uniphier: add bindings for UniPhier I2C controllers

2015-10-23 Thread Masahiro Yamada
2015-10-23 6:00 GMT+09:00 Wolfram Sang : > On Thu, Jul 30, 2015 at 05:12:22PM +0900, Masahiro Yamada wrote: >> Device Tree bindings for two I2C controllers embedded in >> UniPhier SoCs. >> >> Signed-off-by: Masahiro Yamada > > Please split this into two files wit

[PATCH v2 1/2] i2c: uniphier: add UniPhier FIFO-less I2C driver

2015-10-23 Thread Masahiro Yamada
Add support for on-chip I2C controller used on old UniPhier SoCs such as PH1-LD4, PH1-sLD8, etc. This adapter is so simple that it has no FIFO in it. Signed-off-by: Masahiro Yamada --- Changes in v2: - Delete if-block after platform_get_resource() - Add I2C_FUNC_SMBUS_EMUL to functionality

Re: [PATCH 2/3] i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver

2015-10-23 Thread Masahiro Yamada
2015-10-23 6:06 GMT+09:00 Wolfram Sang : > On Thu, Jul 30, 2015 at 05:12:21PM +0900, Masahiro Yamada wrote: >> Add support for on-chip I2C controller used on newer UniPhier SoCs >> such as PH1-Pro4, PH1-Pro5, etc. This adapter is equipped with >> 8-depth TX/RX FIFOs. >>

Re: [PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-23 Thread Masahiro Yamada
2015-10-23 0:34 GMT+09:00 Rob Herring : > On Tue, Oct 20, 2015 at 8:20 PM, Masahiro Yamada > wrote: >> Hi Peter, >> (+ Rob Herring, Stefan Agner) >> >> 2015-10-20 23:00 GMT+09:00 Peter Hurley : >>> On 10/19/2015 11:36 PM, Masahiro Yamada wrote: >>>&

[PATCH] of/fdt: fix error checking for earlycon address

2015-10-23 Thread Masahiro Yamada
fdt_translate_address() returns OF_BAD_ADDR on error. It is defined as a u64 value, so the variable "addr" should be defined as u64 as well. Fixes: fb11ffe74c79 ("of/fdt: add FDT serial scanning for earlycon") Signed-off-by: Masahiro Yamada --- drivers/of/fdt.c | 5 +++-

[PATCH 1/2] serial: 8250_ingenic: delete redundant "select SERIAL_EARLYCON"

2015-10-23 Thread Masahiro Yamada
SERIAL_8250_INGENIC depends on SERIAL_8250_CONSOLE, which already selects SERIAL_EARLYCON. This line is redundant. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250

[PATCH 2/2] serial: 8250_ingenic: allow to be independent of SERIAL_8250_CONSOLE

2015-10-23 Thread Masahiro Yamada
This UART driver should not depend on the console. They should be orthogonal. Surround the earlycon code with CONFIG_SERIAL_EARLYCON conditional and rip off "depends on SERIAL_8250_CONSOLE". Signed-off-by: Masahiro Yamada --- Currently, SERIAL_8250_FSL also depends on SERIAL_8250_CO

Re: [PATCH 2/4] ARM: dts: uniphier: delete i2c aliases

2015-10-23 Thread Masahiro Yamada
2015-10-24 5:16 GMT+09:00 Arnd Bergmann : > On Wednesday 21 October 2015 20:36:28 Masahiro Yamada wrote: >> The user space should not expect that a particular I2C channel is >> always visible through the same character device. >> No reason to fix the I2C indexes with aliases

[PATCH] ARM: dts: uniphier: add I2C aliases for ProXstream2 boards

2015-10-23 Thread Masahiro Yamada
Add aliases to fix the I2C indexes like the other UniPhier boards. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-proxstream2-gentil.dts | 4 arch/arm/boot/dts/uniphier-proxstream2-vodka.dts | 4 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH] serial: 8250_early: do not save and restore IER in write callback

2015-10-23 Thread Masahiro Yamada
Hi Peter, 2015-10-23 21:45 GMT+09:00 Peter Hurley : > On 10/22/2015 04:21 AM, Masahiro Yamada wrote: >> The IER has already been masked in early_serial8250_setup(), there is >> no reason to save and restore it every time early_serial8250_write() >> is called. >> >&g

[PATCH v2 1/2] serial: 8250_early: do not save and restore IER in write callback

2015-10-23 Thread Masahiro Yamada
The IER has already been masked in early_serial8250_setup(), there is no reason to save and restore it every time early_serial8250_write() is called. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers

[PATCH v2 2/2] serial: 8250_early: squash wait_for_xmitr() into serial_putc()

2015-10-23 Thread Masahiro Yamada
Now, wait_for_xmitr() is only called from serial_putc(), and both are short enough. They can be merged into a single function. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial

[PATCH v2 0/2] serial: 8250_early: simplify serial_putc()

2015-10-23 Thread Masahiro Yamada
Changes in v2: - split into two patches Masahiro Yamada (2): serial: 8250_early: do not save and restore IER in write callback serial: 8250_early: squash wait_for_xmitr() into serial_putc() drivers/tty/serial/8250/8250_early.c | 20 ++-- 1 file changed, 2 insertions

[PATCH v3] serial: support 16-bit register interface for console

2015-10-25 Thread Masahiro Yamada
-card.dtsi) Signed-off-by: Masahiro Yamada --- Changes in v3: - Adjust of_platform_serial_setup(), univ8250_console_match() for UPIO_MEM16 Changes in v2: - Do not change userspace-exported macros Documentation/kernel-parameters.txt | 9 + drivers/tty/serial/8250/8250_core.c | 7

Re: [PATCH v3 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-10-25 Thread Masahiro Yamada
Hi Arnd, 2015-10-10 15:59 GMT+09:00 Masahiro Yamada : > Hi Arnd, > > > 2015-10-06 15:22 GMT+01:00 Arnd Bergmann : >> On Tuesday 06 October 2015 16:20:23 Arnd Bergmann wrote: >>> On Friday 18 September 2015 13:37:31 Masahiro Yamada wrote: >>> > Hi Olof, >

Re: [PATCH v2 0/2] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-10-26 Thread Masahiro Yamada
. Using get_maintainer.pl is a normal process when sending patches, I think. -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 2/2] pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER

2015-10-26 Thread Masahiro Yamada
: Masahiro Yamada --- drivers/pinctrl/Makefile | 2 +- drivers/pinctrl/uniphier/Kconfig | 14 +++--- drivers/pinctrl/uniphier/Makefile | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index cad077c..367af9b

[PATCH 1/2] pinctrl: uniphier: enable UniPhier SoCs pinctrl drivers by default

2015-10-26 Thread Masahiro Yamada
Add "default y" to the Kconfig rather than adding entries into arch/arm/configs/multi_v7_defconfig. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pinctrl/uniphier/Kconfig b/drivers/pinctrl/uniphi

[PATCH] ARM: multi_v7_defconfig: enable UniPhier I2C drivers

2015-10-26 Thread Masahiro Yamada
These two drivers were merged into the I2C sub-system by commit dd6fd4a32793 ("i2c: uniphier: add UniPhier FIFO-less I2C driver") and commit 6a62974b667f ("i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver"). Enable them from arch/arm/configs/multi_v7_defconfig. Sig

[PATCH] ARM: dts: uniphier: add system-bus-controller nodes

2015-10-26 Thread Masahiro Yamada
The System Bus Controller block has two register regions, but having only the second one in a separate node was not nice. Replace it with a new node with two register regions in it. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 7 +++ arch/arm/boot/dts

Re: [PATCH v4 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-10-01 Thread Masahiro Yamada
2015-09-30 20:01 GMT+09:00 Masahiro Yamada : > Hi Olof, > > Now Linux 4.3-rc1 is out, so I am back to this. > > 1/3: add outer cache support > 2/3: rework SMP operations > 3/3: add device tree nodes > > Because 2/3 highly depends on 1/3, I hope whole of this series &

[PATCH v5 2/3] ARM: uniphier: rework SMP operations to use trampoline code

2015-10-01 Thread Masahiro Yamada
take care of SMP. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Makefile | 2 +- arch/arm/mach-uniphier/headsmp.S | 43 + arch/arm/mach-uniphier/platsmp.c | 185 --- 3 files changed, 199 insertions(+), 31 deletions(-) create mode

[PATCH v5 3/3] ARM: dts: uniphier: add outer cache controller nodes

2015-10-01 Thread Masahiro Yamada
Add L2 cache controller nodes for all the UniPhier SoC DTSI. Also, add an L3 cache controller node for PH1-Pro5 DTSI. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 13 + arch/arm/boot/dts/uniphier-ph1-pro4.dtsi| 14 ++ arch/arm

[PATCH v5 1/3] ARM: uniphier: add outer cache support

2015-10-01 Thread Masahiro Yamada
This commit adds support for UniPhier outer cache controller. All the UniPhier SoCs are equipped with the L2 cache, while the L3 cache is currently only integrated on PH1-Pro5 SoC. Signed-off-by: Masahiro Yamada Acked-by: Rob Herring --- .../bindings/arm/uniphier/cache-uniphier.txt

[PATCH v5 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-10-01 Thread Masahiro Yamada
cache earlier in init_IRQ() - Require DT properties such as "cacne-unified", "cache-size", "cache-sets", "cache-size", "cache-line-size". - Follow "next-level-cache" property to search further outer caches Masahiro Yamada (3): AR

Re: Can we fix samples/ dependency on headers please?

2018-08-02 Thread Masahiro Yamada
MPLES vmlinux-dirs += samples +samples: headers_install endif # The actual objects are generated when descending, Please note Arnd's patch only works for single targets. 'samples/' and 'samples' are different targets. -- Best Regards Masahiro Yamada

Re: [TRIVIAL RFC PATCH] Kconfigs - reduce use of "depends on EXPERT"

2018-08-02 Thread Masahiro Yamada
attempting to suspend/resume a device. > diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig > index 41722046b937..50bcd75cc881 100644 > --- a/net/wireless/Kconfig > +++ b/net/wireless/Kconfig > @@ -67,8 +67,7 @@ config CFG80211_DEVELOPER_WARNINGS > > > config CFG80211_CERTIFICATION_ONUS > - bool "cfg80211 certification onus" > - depends on EXPERT > + bool "cfg80211 certification onus" if EXPERT > default n > ---help--- > You should disable this option unless you are both capable > diff --git a/security/Kconfig b/security/Kconfig > index afa91c6f06bb..b017771a3012 100644 > --- a/security/Kconfig > +++ b/security/Kconfig > @@ -179,9 +179,8 @@ config HARDENED_USERCOPY_FALLBACK > this setting. > > config HARDENED_USERCOPY_PAGESPAN > - bool "Refuse to copy allocations that span multiple pages" > + bool "Refuse to copy allocations that span multiple pages" if EXPERT > depends on HARDENED_USERCOPY > - depends on EXPERT > help > When a multi-page allocation is done without __GFP_COMP, > hardened usercopy will reject attempts to copy it. There are, > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada

Re: [PATCH] Kbuild: Makefile.modbuiltin: include auto.conf and tristate.conf mandatory

2018-08-02 Thread Masahiro Yamada
> -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada

Re: kbuild: ARCH=um archheaders failed

2018-08-03 Thread Masahiro Yamada
m/Kbuild \ obj=$(HOST_DIR)/include/generated/uapi/asm - $(Q)$(MAKE) KBUILD_SRC= ARCH=$(HEADER_ARCH) archheaders + $(Q)$(MAKE) -f $(srctree)/Makefile ARCH=$(HEADER_ARCH) archheaders archprepare: include/generated/user_constants.h -- Best Regards Masahiro Yamada

[PATCH 2/3] kbuild: add %asm-generic to no-dot-config-targets

2018-08-03 Thread Masahiro Yamada
asm-generic and uapi-asm-generic do not depend on the kernel configuration. In fact, uapi-asm-generic is the prerequisite of headers_{install,check}, hence it should not require the .config file. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 0/3] Kbuild: fix and clean-up arch/um/Makefile

2018-08-03 Thread Masahiro Yamada
1/3 fixes the build failure reported by Randy. (I may have seen a similar report before, but I cannot recall it.) 2/3 and 3/3 clean-up the Makefile a bit more. I'd like to apply this series to kbuild tree. Ack from UML folks are appreciated. Masahiro Yamada (3): um: fix parallel bui

[PATCH 3/3] um: clean up archheaders recipe

2018-08-03 Thread Masahiro Yamada
Now that '%asm-generic' is added to no-dot-config-targets, 'make asm-generic' does not include the kernel configuration. You can simply do 'make asm-generic' in the recursed top Makefile without bothering syncconfig. Signed-off-by: Masahiro Yamada --- arch/um

[PATCH 1/3] um: fix parallel building with O= option

2018-08-03 Thread Masahiro Yamada
un $(objtree)/Makefile that is being updated. The correct way for the recursion is $(Q)$(MAKE) -f $(srctree)/Makefile ARCH=$(HEADER_ARCH) archheaders ..., which does not rely on the generated Makefile. Signed-off-by: Masahiro Yamada --- arch/um/Makefile | 3 +-- 1 file changed, 1 inse

Re: [PATCH 1/3] um: fix parallel building with O= option

2018-08-03 Thread Masahiro Yamada
2018-08-04 13:47 GMT+09:00 Masahiro Yamada : > Randy Dunlap reports UML occasionally fails to build with -j and > O= options. > > make[1]: Entering directory '/home/rdunlap/mmotm-2018-0802-1529/UM64' > UPD include/generated/uapi/linux/version.h > WRAP

Re: linux-next: build failure after merge of the vfs tree

2018-08-06 Thread Masahiro Yamada
;> >> ba5214f7f40c ("vfs: Implement parameter value retrieval with fsinfo()") >> >> removed the "depends on BROKEN" from CONFIG_SAMPLE_STATX and that >> breaks other builds (at least allyesconfig on s390). > > I have added the following sug

[PATCH] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4

2018-08-06 Thread Masahiro Yamada
port. Then, they needed to shrink the silicon die size, and gave up the UHS, but forgot to remove the pin assignment. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl

Re: [PATCH 0/3] Kbuild: fix and clean-up arch/um/Makefile

2018-08-07 Thread Masahiro Yamada
2018-08-07 5:54 GMT+09:00 Richard Weinberger : > Am Samstag, 4. August 2018, 06:47:00 CEST schrieb Masahiro Yamada: >> >> 1/3 fixes the build failure reported by Randy. >> (I may have seen a similar report before, but I cannot recall it.) >> >> 2/3 and 3/3

[PATCH] kbuild: make samples depend on headers_install really

2018-08-07 Thread Masahiro Yamada
rectly installs kernel headers, but it does not work for general building because a phony target "sample" (no tailing backslash) is used. Reported-by: David Howells Signed-off-by: Masahiro Yamada --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile

[PATCH v2] kbuild: make samples really depend on headers_install

2018-08-07 Thread Masahiro Yamada
operly installs kernel headers, but it does not work for general building because a phony target "sample" (no trailing slash) is used. Reported-by: David Howells Signed-off-by: Masahiro Yamada --- Changes in v2: - Correct commit log (backslash -> slash) - Fix a typo Makefile

Re: [PATCH v2] kbuild: make samples really depend on headers_install

2018-08-07 Thread Masahiro Yamada
2018-08-08 11:14 GMT+09:00 Masahiro Yamada : > Kernel headers must be installed into $(objtree)/usr/include to avoid > the build failure of samples. > > Commit ddea05fa148b ("kbuild: make samples depend on headers_install") > addressed this, but "samples/" is on

[RESEND PATCH] init/Kconfig: Use short unix-style option instead of --longname

2018-08-07 Thread Masahiro Yamada
From: Rob Landley Avoids warning messages with the latest release of toybox, which never bothered to implement the --longopts nothing was using. Signed-off-by: Rob Landley Signed-off-by: Masahiro Yamada --- This was sent to the trivial ML some time ago, but not applied yet. I will apply

Re: [PATCH 4/7] MIPS: boot: correct prerequisite image of vmlinux.*.its

2018-06-20 Thread Masahiro Yamada
Hi Paul, 2018-06-20 9:22 GMT+09:00 Paul Burton : > Hi Masahiro, > > Thanks for these - I've applied patches 1-3, 5 & 6 to mips-next for > 4.19. > > On Mon, Apr 16, 2018 at 07:47:44AM -0700, Masahiro Yamada wrote: >> vmlinux.*.its does not directly depend

Re: [PATCH v3 1/3] mtd: rawnand: denali_dt: add more clocks based on IP datasheet

2018-06-22 Thread Masahiro Yamada
2018-06-22 20:42 GMT+09:00 Boris Brezillon : > Hi Masahiro, > > On Tue, 19 Jun 2018 13:28:11 +0200 > Boris Brezillon wrote: > >> Hi Masahiro, >> >> On Fri, 15 Jun 2018 10:18:50 +0900 >> Masahiro Yamada wrote: >> >> > According

Re: [PATCH] arm: dts: socfpga: denali needs nand_x_clk too

2018-06-22 Thread Masahiro Yamada
uot;ecc" are tied up because they are both 200MHz. SOCFPGA supports HW ECC correction, thus it surely needs ecc clock. > status = "disabled"; > }; > > -- > 2.17.1 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada

[PATCH v4 4/5] mtd: rawnand: denali_dt: add more clocks based on IP datasheet

2018-06-22 Thread Masahiro Yamada
real hardware. For the backward compatibility, the driver still accepts a single clock just as before. The clk_x_rate is taken from the clock driver again if the named clock "clk_x" is available. This will happen only for future DT, hence the existing DT files are not affected. Signed-o

[PATCH v4 0/5] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-22 Thread Masahiro Yamada
his series adds more clocks based on the IP datasheet, and document it in the DT binding. In the new binding, three clocks are required: core clock, bus interface clock, ECC engine clock. 1/5 is a backport candidate to fix SOCFPGA. Masahiro Yamada (5): mtd: rawnand: denali_dt: set clk_x_rate

linux-kernel@vger.kernel.org

2018-06-22 Thread Masahiro Yamada
The probe function references &pdev->dev many times, and I will add more soon. Add 'dev' as a shorthand. Signed-off-by: Masahiro Yamada Acked-by: Miquel Raynal Reviewed-by: Richard Weinberger Tested-by: Richard Weinberger Reviewed-by: Boris Brezillon --- Changes in v4: N

[PATCH v4 3/5] dt-binding: mtd: denali_dt: document clock property

2018-06-22 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v4: - split into a separate patch Documentation/devicetree/bindings/mtd/denali-nand.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/denali-nand.txt b/Documentation/devicetree/bindings/mtd/denali

[PATCH v4 5/5] mtd: rawnand: denali: optimize timing parameters for data interface

2018-06-22 Thread Masahiro Yamada
ed. It is true for all upstreamed platforms. Signed-off-by: Masahiro Yamada Reviewed-by: Richard Weinberger Tested-by: Richard Weinberger --- Changes in v4: None Changes in v3: None Changes in v2: - Split patches into sensible chunks drivers/mtd/nan

[PATCH v4 1/5] mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally

2018-06-22 Thread Masahiro Yamada
or the bus interface clock. Fixes: 1bb88666775e ("mtd: nand: denali: handle timing parameters by setup_data_interface()") Cc: linux-stable #4.14+ Reported-by: Philipp Rosenberger Suggested-by: Boris Brezillon Signed-off-by: Masahiro Yamada Tested-by: Richard Weinberger --- Changes in

Re: [PATCH] trace: fix SKIP_STACK_VALIDATION=1 build

2018-06-22 Thread Masahiro Yamada
- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada

Re: [PATCH] arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards

2018-06-22 Thread Masahiro Yamada
-54,7 +54,7 @@ > sound { > compatible = "audio-graph-card"; > label = "UniPhier LD20"; > - widgets = "Headphone", "Headphone Jack"; > + widgets = "Headphone", "Headphones"; > dais = <&i2s_port2 > &i2s_port3 > &i2s_port4 > -- > 2.17.1 > -- Best Regards Masahiro Yamada

Re: [PATCH 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-22 Thread Masahiro Yamada
d the line "unsubscribe devicetree" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada

<    1   2   3   4   5   6   7   8   9   10   >