[PATCH v2 7/9] ASoC: Intel: boards: align Kconfig configurations for HiFi2

2018-01-03 Thread Pierre-Louis Bossart
Make sure all the configs are aligned Also add the missing dependencies on SOC_ACPI stuff used to fix DAI names based on HID and fix a couple of indentation issues Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/boards/Kconfig | 33 +++-- 1 file changed, 19 in

[PATCH v2 2/9] ASoC: Intel: Fix Kconfig with top-level selector

2018-01-03 Thread Pierre-Louis Bossart
Follow network example suggested by Linus, move Intel definitions in if/endif block and clarify in help text which options distro configurations should enable - everything except legacy Baytrail stuff and NOCODEC (test only) To avoid user confusion, machine drivers are handled with a submenu made

[PATCH v2 8/9] ASoC: Intel: boards: align/fix SKL/BXT/KBL Kconfigs

2018-01-03 Thread Pierre-Louis Bossart
No reason why SND_SOC_INTEL_SST should be set here. Also make sure same dependencies are used everywhere (only last one has SPI in addition). Replace X86_INTEL_LPSS by MFD_INTEL_LPSS since the former makes no sense for Skylake+ devices Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/boar

Re: [PATCH] arch: drop duplicate exports of abort()

2018-01-03 Thread Vineet Gupta
On 01/02/2018 02:33 AM, Arnd Bergmann wrote: We now have exports in both architecture code in in common code, which causes a link failure when symbol versioning is eanbled, on four architectures: kernel/exit.o: In function `__crc_abort': exit.c:(*ABS*+0xc0e2ec8b): multiple definition of `__crc_a

[PATCH v2 9/9] ASoC: Intel: kconfig: add some comments for if symbols

2018-01-03 Thread Pierre-Louis Bossart
From: Vinod Koul Helps in finding if endings Signed-off-by: Vinod Koul Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/Kconfig| 10 sound/soc/intel/boards/Kconfig | 52 +- 2 files changed, 31 insertions(+), 31 deletions(-) diff

[PATCH v2 5/9] ASoC: Intel: Fix nested/unnecessary Kconfig dependencies

2018-01-03 Thread Pierre-Louis Bossart
This patch fixes a number of issues: 1. IOSF_MBI is only needed for byt-cr detection, which is only supported on Baytrail/Cherrytrail, move to HiFi2 config 2. SND_SOC_INTEL_SST should not select SND_SOC_INTEL_SST_ACPI, the latter config is only valid for Haswell/Baytrail legacy but not needed by S

[PATCH v2 3/9] ASoC: Intel: Kconfig: Simplify-clarify ACPI/PCI dependencies

2018-01-03 Thread Pierre-Louis Bossart
PCI/ACPI selections should not happen in Kconfig for machine drivers, move to SOC selections. Add distinction between PCI and ACPI HiFi2 platforms and help text. There should be no functionality change. The PCI-based platforms may be removed at some point since Medfield is not really supported b

[PATCH v2 6/9] ASoC: Intel: boards: align Kconfig dependencies for Haswell/Broadwell

2018-01-03 Thread Pierre-Louis Bossart
Make sure that the same I2C/I2C_DESIGNWARE_PLATFORM are selected. The latter might actually need to be moved to the SOC side of things, it really has no place in a machine driver dependency Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/boards/Kconfig | 2 +- 1 file changed, 1 insertion

[PATCH v2 4/9] ASoC: Intel: document what Kconfig options do

2018-01-03 Thread Pierre-Louis Bossart
Document in comments what the options are supposed to mean, before clean-up in next patch. No functionality change here. Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/Kconfig | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/sound/soc/intel/Kconfig

[PATCH v2 1/9] ASoC: acpi: add missing includes for non-ACPI platforms

2018-01-03 Thread Pierre-Louis Bossart
0-day reports compilation issues with non-ACPI platforms. In file included from sound/soc/soc-acpi.c:17:0: >> include/sound/soc-acpi.h:36:46: error: 'ACPI_ID_LEN' undeclared here (not in >> a function); did you mean 'ACPI_FILE'? snd_soc_acpi_find_name_from_hid(const u8 hid[ACPI_ID_LEN]) sou

Re: [PATCH] ASoC: max98373: Added Amplifier Driver

2018-01-03 Thread Mark Brown
On Mon, Dec 25, 2017 at 11:17:29PM +, Kuninori Morimoto wrote: > Having private regmap seems a little bit duplicate for me, > because we can get it from component or dev. > But sometimes, in some drivers, it seems can be difficult. > Sorry for my noise. It is duplication but if you've only go

Re: [PATCH v5 6/9] ACPI/PPTT: Add topology parsing code

2018-01-03 Thread Jeremy Linton
Hi, On 01/03/2018 02:49 AM, vkil...@codeaurora.org wrote: Hi Jeremy, Sorry, I don't have your previous patch emails to reply on right patch context. So commenting on top of this patch. AFAIU, the PPTT v5 patches still rely on CLIDR_EL1 register to know the type of Caches enabled/available on

Re: perf test BPF failing on 4.15.0-rc6

2018-01-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 03, 2018 at 12:58:26PM +0800, Wangnan (F) escreveu: > And please check if the kprobe created by > > $ perf probe -v SyS_epoll_wait [root@seventh ~]# perf probe -v SyS_epoll_wait probe-definition(0): SyS_epoll_wait symbol:SyS_epoll_wait file:(null) line:0 offset:0 return:0 lazy:(null

Re: [PATCH v4 0/7] ARM: davinci: convert to common clock framework​

2018-01-03 Thread Sekhar Nori
On Tuesday 02 January 2018 08:40 PM, Adam Ford wrote: > On Sun, Dec 31, 2017 at 5:39 PM, David Lechner wrote: >> This series converts macreqh-davinci to use the common clock framework. >> >> Basically, this series does some cleanup and rearranging to get things >> ready for the conversion. Then th

RE: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-03 Thread Stefan Chulski
> > > -Original Message- > > > Hi Russell, > > > > > > Indeed. RGMII MAC behaves same way, although it shouldn't be named > > > as 'in- band' to be on par with the specifications. Anyway - this > > > one is rather a stub for being able to work with ACPI, so once the > > > MDIO bus works the

Re: [PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-03 Thread Stephen Boyd
On 01/03, Chen-Yu Tsai wrote: > On Wed, Jan 3, 2018 at 9:35 AM, Stephen Boyd wrote: > > We'd like to privatize __clk_get(), but the sunxi clk driver is > > calling this function to keep a reference held on the clk and > > call clk_prepare_enable() on it. We support this design in the > > clk core

Re: [GIT PULL 1/3] ARM: dts: exynos: DTS for v4.16

2018-01-03 Thread Krzysztof Kozlowski
On Thu, Dec 21, 2017 at 10:29 PM, Arnd Bergmann wrote: > On Wed, Dec 20, 2017 at 6:36 PM, Krzysztof Kozlowski wrote: > >> Krzysztof Kozlowski (2): >> ARM: dts: exynos: Add missing interrupt-controller properties to >> Exynos5410 PMU > > I just looked through the remaining warnings in 4.15

Re: [PATCH v2 5/9] ASoC: Intel: Fix nested/unnecessary Kconfig dependencies

2018-01-03 Thread Andy Shevchenko
On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: > > tristate "Intel ASoC SST driver for ACPI HiFi2 platforms > (Baytrail, Cherrytrail)" > depends on X86 && ACPI > select SND_SST_IPC_ACPI > + select IOSF_MBI > select SND_SOC_COMPRESS > select SND_SO

Re: [PATCH v2] ARM: dts: imx6: RDU2: disable internal watchdog

2018-01-03 Thread Andrey Smirnov
On Mon, Jan 1, 2018 at 1:50 PM, Fabio Estevam wrote: > Hi Andrey, > > On Mon, Jan 1, 2018 at 7:24 PM, Andrey Smirnov > wrote: > >> diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi >> b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi >> index 6bef9a98678e..818bfc8692a5 100644 >> --- a/arch/arm/boot/

Re: [PATCH v2] ARM: dts: imx6: RDU2: disable internal watchdog

2018-01-03 Thread Fabio Estevam
On Wed, Jan 3, 2018 at 3:04 PM, Andrey Smirnov wrote: > It seems that with exception of "audmux" and "iomuxc" the nodes are in > alphabetical order (and I suspect "audmux" falls under the same > exception "iomuxc" does?). What did you have in mind for that node? > Placing it after "audmux"? Yes,

Re: [PATCH v2 0/9] ASoC: Intel: Kconfig+acpi fixes

2018-01-03 Thread Andy Shevchenko
On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: > The first patch solves issues reported by 0day with non-ACPI platforms > > The second patch implements what Linus, Takashi and Mark > requested: a top-level selector defaulting to 'y' to easily filter all > other options and with no

Re: [PATCH v2 9/9] ASoC: Intel: kconfig: add some comments for if symbols

2018-01-03 Thread Andy Shevchenko
On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: > From: Vinod Koul > > Helps in finding if endings Seems some (all?) comments not been addressed. See below. > config SND_SOC_INTEL_BAYTRAIL > - tristate "Intel ASoC SST driver for Baytrail (legacy)" > + tristate "Baytrail

Re: [PATCH v2 8/9] ASoC: Intel: boards: align/fix SKL/BXT/KBL Kconfigs

2018-01-03 Thread Andy Shevchenko
On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: > Also make sure same dependencies are used everywhere (only last one > has SPI > in addition). A nitpick: > config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH > tristate "ASoC Audio driver for KBL with RT5663 and MAX98927 > in I2S

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Fabio, On Wed, Jan 03, 2018 at 02:41:20PM -0200, Fabio Estevam wrote: > Hi Jacopo, > > On Thu, Dec 28, 2017 at 12:01 PM, Jacopo Mondi > wrote: > > > + if (priv->rstb_gpio) { > > + gpiod_set_value(priv->rstb_gpio, 0); > > + usleep_range(500, 1000); > > +

Re: [PATCH] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 7 initial support

2018-01-03 Thread Fabio Estevam
Hi Jagan, On Wed, Jan 3, 2018 at 6:00 AM, Jagan Teki wrote: > --- /dev/null > +++ b/arch/arm/boot/dts/imx6q-icore-ofcap7.dts > @@ -0,0 +1,100 @@ > +/* > + * Copyright (C) 2016 Amarula Solutions B.V. > + * Copyright (C) 2016 Engicam S.r.l. > + * > + * This file is dual-licensed: you can use it ei

Re: [RESEND PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

2018-01-03 Thread Stephen Boyd
On 12/14/2017 09:34 AM, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > uThis patch adds support to DB820c machine driver. > > Signed-off-by: Srinivas Kandagatla > --- > sound/soc/qcom/Kconfig | 9 +++- > sound/soc/qcom/apq8096.c | 124 > +++

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-03 Thread Kees Cook
On Tue, Jan 2, 2018 at 11:06 PM, Serge E. Hallyn wrote: > On Tue, Jan 02, 2018 at 03:21:33PM -0800, Kees Cook wrote: >> This is a logical revert of: >> >> commit e37fdb785a5f ("exec: Use secureexec for setting dumpability") >> >> This weakens dumpability back to checking only for uid/gid chang

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-03 Thread Kees Cook
On Wed, Jan 3, 2018 at 4:11 AM, Tom Horsley wrote: > On Wed, 3 Jan 2018 01:04:44 -0600 > Serge E. Hallyn wrote: > >> > This weakens dumpability back to checking only for uid/gid changes in >> > current (which is useless), but userspace depends on dumpability not >> > being tied to secureexec. >> >

Re: [patch] sched/fair: Add SIS_MIN_LAT feature to mitigate PELT lag induced stacking

2018-01-03 Thread Mike Galbraith
On Mon, 2018-01-01 at 11:37 +0100, Mike Galbraith wrote: > > > Here 0-day bot, here boy.. Forget it 0-day bot, and assorted crickets :) > + /* > + * When heavily loaded, stacking may be the best/only latency option, > + * and LAST_BUDDY the only hope of preventing throughput colla

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
On Wed, Jan 03, 2018 at 17:36:30 CET Josh Poimboeuf wrote: > On Wed, Jan 03, 2018 at 03:14:55PM +0100, Markus wrote: > > On Wed, Jan 03, 2018 at 14:59:24 CET Josh Poimboeuf wrote: > > > On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > > > > /tools/objtool/objtool orc generate --no-fp "arch

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread Fabio Estevam
Hi Jacopo, On Wed, Jan 3, 2018 at 3:13 PM, jacopo mondi wrote: > That would be true if I would have declared the GPIO to be ACTIVE_LOW. > See patch [5/9] in this series and search for "rstb". The GPIO (which > is shared between two devices) is said to be active high... Just looked at your patch

Re: [PATCH net-next 1/6] phy: add 2.5G SGMII mode to the phy_mode enum

2018-01-03 Thread Russell King - ARM Linux
On Wed, Jan 03, 2018 at 04:08:30PM +0100, Andrew Lunn wrote: > > > >>> diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h > > > >>> index 4f8423a948d5..70459a28f3a1 100644 > > > >>> --- a/include/linux/phy/phy.h > > > >>> +++ b/include/linux/phy/phy.h > > > >>> @@ -28,6 +28,7 @@ enum ph

Re: [PATCH] clk: samsung: s3c: Remove unneeded enumeration

2018-01-03 Thread Sylwester Nawrocki
On 11/27/2017 03:31 AM, Chanwoo Choi wrote: > This patch just removes the unneeded enumeration for PLL index. > > Signed-off-by: Chanwoo Choi Thanks for the patch Chanwoo, I have applied it to my tree but I'm afraid it will now need to wait until v4.17. Stephen, if you decide to apply it dire

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2018-01-03 Thread Jeremy Linton
Hi, On 01/03/2018 08:29 AM, Sudeep Holla wrote: On 02/01/18 02:29, Xiongfeng Wang wrote: Hi, On 2017/12/18 20:42, Morten Rasmussen wrote: On Fri, Dec 15, 2017 at 10:36:35AM -0600, Jeremy Linton wrote: Hi, On 12/13/2017 12:02 PM, Lorenzo Pieralisi wrote: [+Morten, Dietmar] $SUBJECT should

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-03 Thread Laura Abbott
On 01/03/2018 09:21 AM, Kees Cook wrote: On Wed, Jan 3, 2018 at 4:11 AM, Tom Horsley wrote: On Wed, 3 Jan 2018 01:04:44 -0600 Serge E. Hallyn wrote: This weakens dumpability back to checking only for uid/gid changes in current (which is useless), but userspace depends on dumpability not being

Re: [PATCH 1/5] ARM: dts: exynos: Add SPDX license identifier

2018-01-03 Thread Krzysztof Kozlowski
On Mon, Dec 25, 2017 at 11:40:09AM +0100, Krzysztof Kozlowski wrote: > Replace GPL v2.0 license with a SPDX license indentifier. > > Signed-off-by: Krzysztof Kozlowski Applied all. Best regards, Krzysztof

Re: [PATCH] [RFT] crypto: aes-generic - turn off -ftree-pre and -ftree-sra

2018-01-03 Thread Ard Biesheuvel
On 3 January 2018 at 16:37, Arnd Bergmann wrote: > On Fri, Dec 22, 2017 at 4:47 PM, Ard Biesheuvel > wrote: >> On 21 December 2017 at 13:47, PrasannaKumar Muralidharan >> wrote: >>> On 21 December 2017 at 17:52, Ard Biesheuvel >>> wrote: On 21 December 2017 at 10:20, Arnd Bergmann wrote

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Fabio, On Wed, Jan 03, 2018 at 03:27:53PM -0200, Fabio Estevam wrote: > Hi Jacopo, > > On Wed, Jan 3, 2018 at 3:13 PM, jacopo mondi wrote: > > > That would be true if I would have declared the GPIO to be ACTIVE_LOW. > > See patch [5/9] in this series and search for "rstb". The GPIO (which > >

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2018-01-03 Thread Max Staudt
On 12/29/2017 06:13 PM, Jani Nikula wrote: > I think the first issue is the boot manager (e.g. grub) messing up > whatever the BIOS or GOP or whatever drew. If I don't touch any buttons, > I'd prefer the Lenovo or VAIO or NUC or whatever logo stay there. IIRC > some BIOSes let you set up your own s

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-03 Thread Serge E. Hallyn
Quoting Kees Cook (keesc...@chromium.org): > On Tue, Jan 2, 2018 at 11:06 PM, Serge E. Hallyn wrote: > > On Tue, Jan 02, 2018 at 03:21:33PM -0800, Kees Cook wrote: > >> This is a logical revert of: > >> > >> commit e37fdb785a5f ("exec: Use secureexec for setting dumpability") > >> > >> This we

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2018-01-03 Thread Sudeep Holla
On Wed, Jan 03, 2018 at 11:32:00AM -0600, Jeremy Linton wrote: > Hi, > > On 01/03/2018 08:29 AM, Sudeep Holla wrote: > > > >On 02/01/18 02:29, Xiongfeng Wang wrote: > >>Hi, > >> > >>On 2017/12/18 20:42, Morten Rasmussen wrote: > >>>On Fri, Dec 15, 2017 at 10:36:35AM -0600, Jeremy Linton wrote: > >

Re: [PATCH 1/5] ARM: EXYNOS: Add SPDX license identifier

2018-01-03 Thread Krzysztof Kozlowski
On Mon, Dec 25, 2017 at 08:54:31PM +0100, Krzysztof Kozlowski wrote: > Replace GPL license statements with a SPDX license indentifiers (GPL-2.0 > and GPL-2.0+). > > Signed-off-by: Krzysztof Kozlowski Applied all. Best regards, Krzysztof

Re: [PATCH -next] cifs: fix build errors for SMB_DIRECT

2018-01-03 Thread Steve French
merged into cifs-2.6.git for-next On Tue, Jan 2, 2018 at 11:43 AM, Randy Dunlap wrote: > From: Randy Dunlap > > Prevent build errors when CIFS=y and INFINIBAND=m. > > fs/cifs/smbdirect.o: In function `smbd_qp_async_error_upcall': > smbdirect.c:(.text+0x28c): undefined reference to `ib_event_msg'

Re: 4.15-rcX 32-bit SCSI suspend2ram warning

2018-01-03 Thread Bart Van Assche
On Wed, 2018-01-03 at 12:16 -0500, Woody Suwalski wrote: > Starting with a 32-bit 4.15-rcX I have observed a warning in dmesg, > happening when the system goes to suspend2ram. If it is just a warning > - could we have it quiet'et down? (+linux-scsi) Thank you for having reported this. The comment

Re: [Patch v8 02/16] CIFS: SMBD: Implement function to reconnect to a SMB Direct transport

2018-01-03 Thread Steve French
various checkpatch errors (remember to run scripts/chekckpatch.pl before submitting) On Wed, Nov 22, 2017 at 6:38 PM, Long Li wrote: > From: Long Li > > Add function to implement a reconnect to SMB Direct. This involves tearing > down > the current connection and establishing/negotiating a new

Re: Which reminds me...

2018-01-03 Thread Paul E. McKenney
On Wed, Jan 03, 2018 at 05:35:07AM +, Lihao Liang wrote: > Hi Paul, > > Happy New Year! And to you and yours as well! > Do you mind my asking some RCU questions, please? Not only do I not mind, I will also actually attempt to answer them. ;-) > 1. I have noticed that __call_rcu_core() che

Re: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-03 Thread Russell King - ARM Linux
On Wed, Jan 03, 2018 at 05:00:47PM +, Stefan Chulski wrote: > > > > -Original Message- > > > > Hi Russell, > > > > > > > > Indeed. RGMII MAC behaves same way, although it shouldn't be named > > > > as 'in- band' to be on par with the specifications. Anyway - this > > > > one is rather a

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2018-01-03 Thread Max Staudt
On 12/31/2017 01:35 PM, Alan Cox wrote: > For embedded every KB counts. That is likely to remain the same for some > time because at the end of the day small devices are constrained about the > amount of SRAM you can put on die and the amount of power you can afford > for DRAM. Fascinating, thank

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2018-01-03 Thread Max Staudt
On 12/31/2017 01:44 PM, Alan Cox wrote: >> So fundamentally I don't think an in-kernel bootsplash is a bad idea. >> But most likely you want this on a highly embedded system, which > > It wouldn't be in kernel on such a device, it'll be in the bootstrap > before (or on a dual core device quite pos

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Greg KH
On Wed, Jan 03, 2018 at 03:41:21PM +, Mark Brown wrote: > On Wed, Jan 03, 2018 at 04:32:35PM +0100, Arnd Bergmann wrote: > > > It might be a problem with different 'make' versions, or something else > > in the environment that leads to "-Wno-frame-address" not being set > > on the command line

Re: [RFC PATCH v2 03/13] bootsplash: Flush framebuffer after drawing

2018-01-03 Thread Max Staudt
On 12/31/2017 01:53 PM, Alan Cox wrote: > On Tue, 19 Dec 2017 15:07:53 +0100 > Oliver Neukum wrote: > >> Am Dienstag, den 19.12.2017, 14:57 +0100 schrieb Daniel Vetter: Would you like me to extend the FB API or not? >>> >>> Yes. Well for real I'd like you to do kms, so maybe you need to ex

Re: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Russell King - ARM Linux
On Wed, Jan 03, 2018 at 04:20:36PM +0100, Andrew Lunn wrote: > > @@ -4612,6 +4616,9 @@ static int mvpp22_comphy_init(struct mvpp2_port *port) > > case PHY_INTERFACE_MODE_1000BASEX: > > mode = PHY_MODE_SGMII; > > break; > > + case PHY_INTERFACE_MODE_2500BASEX: > > +

Re: [PATCH V6] mmc:host:sdhci-pci:Addition of Arasan PCI Controller with integrated phy.

2018-01-03 Thread Atul Garg
Hi Sekhar, Thanks please see reply below. On Wed, Jan 3, 2018 at 1:30 AM, Sekhar Nori wrote: > On Wednesday 03 January 2018 05:41 AM, Atul Garg wrote: >> The Arasan Controller is based on a FPGA platform and has integrated phy >> with specific registers used during initialization and >> manageme

[PATCH v9 7/8] crypto: caam: cleanup CONFIG_64BIT ifdefs when using io{read|write}64

2018-01-03 Thread Logan Gunthorpe
Clean up the extra ifdefs which defined the wr_reg64 and rd_reg64 functions in non-64bit cases in favour of the new common io-64-nonatomic-lo-hi header. Signed-off-by: Logan Gunthorpe Cc: Andy Shevchenko Cc: Horia Geantă Cc: Dan Douglass Cc: Herbert Xu Cc: "David S. Miller" --- drivers/cryp

[PATCH v9 0/8] Add io{read|write}64 to io-64-atomic headers

2018-01-03 Thread Logan Gunthorpe
This is just a resend. I haven't recieved any additional feedback in a number of version and the patchset has been around for a couple kernel cycles. It would be nice if someone would take a look at getting this merged. This cleanup was originally requested by Greg after he reviewed my Switchtec N

[PATCH v9 1/8] drm/tilcdc: ensure nonatomic iowrite64 is not used

2018-01-03 Thread Logan Gunthorpe
Add a check to ensure iowrite64 is only used if it is atomic. It was decided in [1] that the tilcdc driver should not be using an atomic operation (so it was left out of this patchset). However, it turns out that through the drm code, a nonatomic header is actually included: include/linux/io-64-n

[PATCH v9 6/8] ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks

2018-01-03 Thread Logan Gunthorpe
Now that ioread64 and iowrite64 are available in io-64-nonatomic, we can remove the hack at the top of ntb_hw_intel.c and replace it with an include. Signed-off-by: Logan Gunthorpe Reviewed-by: Andy Shevchenko Acked-by: Dave Jiang Acked-by: Allen Hubbe Acked-by: Jon Mason # Please enter the

[PATCH v9 3/8] powerpc: iomap.c: introduce io{read|write}64_{lo_hi|hi_lo}

2018-01-03 Thread Logan Gunthorpe
These functions will be introduced into the generic iomap.c so they can deal with PIO accesses in hi-lo/lo-hi variants. Thus, the powerpc version of iomap.c will need to provide the same functions even though, in this arch, they are identical to the regular io{read|write}64 functions. Signed-off-b

[PATCH v9 5/8] io-64-nonatomic: add io{read|write}64[be]{_lo_hi|_hi_lo} macros

2018-01-03 Thread Logan Gunthorpe
This patch adds generic io{read|write}64[be]{_lo_hi|_hi_lo} macros if they are not already defined by the architecture. (As they are provided by the generic iomap library). The patch also points io{read|write}64[be] to the variant specified by the header name. This is because new drivers are enco

Re: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Antoine Tenart
Hi Andrew, On Wed, Jan 03, 2018 at 04:53:11PM +0100, Andrew Lunn wrote: > On Wed, Jan 03, 2018 at 04:32:27PM +0100, Antoine Tenart wrote: > > On Wed, Jan 03, 2018 at 04:20:36PM +0100, Andrew Lunn wrote: > > > > @@ -4612,6 +4616,9 @@ static int mvpp22_comphy_init(struct mvpp2_port > > > > *port) >

[PATCH v9 2/8] powerpc: io.h: move iomap.h include so that it can use readq/writeq defs

2018-01-03 Thread Logan Gunthorpe
Subsequent patches in this series makes use of the readq and writeq defines in iomap.h. However, as is, they get missed on the powerpc platform seeing the include comes before the define. This patch moves the include down to fix this. Signed-off-by: Logan Gunthorpe Acked-by: Michael Ellerman Rev

[PATCH v9 4/8] iomap: introduce io{read|write}64_{lo_hi|hi_lo}

2018-01-03 Thread Logan Gunthorpe
In order to provide non-atomic functions for io{read|write}64 that will use readq and writeq when appropriate. We define a number of variants of these functions in the generic iomap that will do non-atomic operations on pio but atomic operations on mmio. These functions are only defined if readq a

[PATCH v9 8/8] ntb: ntb_hw_switchtec: Cleanup 64bit IO defines to use the common header

2018-01-03 Thread Logan Gunthorpe
Clean up the ifdefs which conditionally defined the io{read|write}64 functions in favour of the new common io-64-nonatomic-lo-hi header. Signed-off-by: Logan Gunthorpe Cc: Jon Mason --- drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 30 +- 1 file changed, 1 insertion(+), 2

Re: [GIT PULL rcu/next] RCU commits for 4.15

2018-01-03 Thread Paul E. McKenney
On Wed, Jan 03, 2018 at 02:17:17PM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: [ . . . ] > Assuming that the subject line wanted to say v4.16, not v4.15 (which would be > really scary set of changes so late in the v4.15 cycle), I have pulled these > into > tip:core/rcu, thanks Pa

Re: [PATCH v2 5/9] ASoC: Intel: Fix nested/unnecessary Kconfig dependencies

2018-01-03 Thread Andy Shevchenko
On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: > This patch fixes a number of issues: > 1. IOSF_MBI is only needed for byt-cr detection, which is only > supported > on Baytrail/Cherrytrail, move to HiFi2 config > > tristate "Intel ASoC SST driver for ACPI HiFi2 platforms > (

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Ganapatrao Kulkarni
On Wed, Jan 3, 2018 at 5:06 PM, Marc Zyngier wrote: > On 03/01/18 11:20, Ganapatrao Kulkarni wrote: >> On Wed, Jan 3, 2018 at 3:43 PM, Marc Zyngier wrote: >>> On 03/01/18 09:35, Ganapatrao Kulkarni wrote: Hi Marc, On Wed, Jan 3, 2018 at 2:17 PM, Marc Zyngier wrote: > On 03/01/

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread Fabio Estevam
On Wed, Jan 3, 2018 at 3:37 PM, jacopo mondi wrote: >> Initially the rest GPIO was doing: >> >> - gpio_set_value(GPIO_PTT3, 0); >> - mdelay(10); >> - gpio_set_value(GPIO_PTT3, 1); >> - mdelay(10); /* wait to let chip come out of reset */ > > And that's what my driver code

Re: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-03 Thread Marcin Wojtas
Russell, 2018-01-03 18:54 GMT+01:00 Russell King - ARM Linux : > On Wed, Jan 03, 2018 at 05:00:47PM +, Stefan Chulski wrote: >> > > > -Original Message- >> > > > Hi Russell, >> > > > >> > > > Indeed. RGMII MAC behaves same way, although it shouldn't be named >> > > > as 'in- band' to b

[PATCH] tty: n_gsm: Allow ADM response in addition to UA for control dlci

2018-01-03 Thread Tony Lindgren
Some devices have the control dlci stay in ADM mode instead of the UA mode. This can seen at least on droid 4 when trying to open the ts 27.010 mux port. Enabling n_gsm debug mode shows the control dlci always respond with DM to SABM instead of UA: # modprobe n_gsm debug=0xff # ldattach -d GSM0710

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Marc Zyngier
On 03/01/18 18:13, Ganapatrao Kulkarni wrote: > On Wed, Jan 3, 2018 at 5:06 PM, Marc Zyngier wrote: >> On 03/01/18 11:20, Ganapatrao Kulkarni wrote: >>> On Wed, Jan 3, 2018 at 3:43 PM, Marc Zyngier wrote: On 03/01/18 09:35, Ganapatrao Kulkarni wrote: > Hi Marc, > > On Wed, Jan 3,

Re: [PATCH 04/12] PCI: qcom: account for const type of of_device_id.data

2018-01-03 Thread Lorenzo Pieralisi
On Wed, Jan 03, 2018 at 01:38:27PM +0100, Julia Lawall wrote: > > > On Wed, 3 Jan 2018, Lorenzo Pieralisi wrote: > > > On Tue, Jan 02, 2018 at 02:28:00PM +0100, Julia Lawall wrote: > > > This driver creates various const structures that it stores in the > > > data field of an of_device_id array.

Re: perf test BPF failing on 4.15.0-rc6

2018-01-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 03, 2018 at 01:58:44PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jan 03, 2018 at 12:58:26PM +0800, Wangnan (F) escreveu: > > And please check if the kprobe created by > > > > $ perf probe -v SyS_epoll_wait > > [root@seventh ~]# perf probe -v SyS_epoll_wait > probe-definitio

RE: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-01-03 Thread Stefan Chulski
> Sorry, I find this very confusing. > > It seems we have some people telling me that when there's no PHY described > in DT, we use this link interrupt, and have a functional network interface > (presumably at whatever speed.) I give you couple of examples when we have functional network interfac

Re: perf test BPF failing on 4.15.0-rc6

2018-01-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 03, 2018 at 03:27:01PM -0300, Arnaldo Carvalho de Melo escreveu: > > Continuing investigation... > > After applying the fallback patch to allow new tools to work with older > kernels: > > [root@felicio ~]# perf test bpf > 39: BPF filter: > 3

Re: [RESEND PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

2018-01-03 Thread Srinivas Kandagatla
Thanks for your review comments, On 03/01/18 17:20, Stephen Boyd wrote: On 12/14/2017 09:34 AM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c new file mode 100644 index ..5b2036317f71 --- /dev/nu

RE: [v2] ASoC: max98373: Added Amplifier Driver

2018-01-03 Thread Ryan Lee
>-Original Message- >From: Rob Herring [mailto:r...@kernel.org] >Sent: Tuesday, December 26, 2017 3:33 PM >To: Ryan Lee >Cc: lgirdw...@gmail.com; broo...@kernel.org; mark.rutl...@arm.com; >pe...@perex.cz; ti...@suse.com; a...@arndb.de; a...@ti.com; >robert.jarz...@free.fr; supercraig0...@

[V3 1/2] dt-bindings: Added device tree binding for max98373 amplifier

2018-01-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v2: * Splitted dt bindings to the separated patch * Changed 'interelave-mode' device property from u32 to boolean .../devicetree/bindings/sound/max98373.txt | 40 ++ 1 file changed, 40 insertions(+) create mod

[V3 2/2] ASoC: max98373: Added Amplifier Driver

2018-01-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v2: * Splitted dt bindings to the separated patch * Changed 'interelave-mode' device property from u32 to boolean Changes since v1: * Removed 'codec' from 'max98373_priv' structure : Now 'max98373_set_clock' functio

Re: WARNING in rds_cmsg_rdma_args

2018-01-03 Thread Santosh Shilimkar
On 1/3/2018 12:58 AM, syzbot wrote: Hello, syzkaller hit the following crash on ad036b63ee57df9ab802a4eb20cbbbec66aa4520 git://git.cmpxchg.org/linux-mmots.git/master compiler: gcc (GCC) 7.1.1 20170620 .config is attached Raw console output is attached. C reproducer is attached syzkaller reprod

[PATCH] proc: spread __ro_after_init

2018-01-03 Thread Alexey Dobriyan
/proc/self inode numbers, value of proc_inode_cache and st_nlink of /proc/$TGID are fixed constants. Signed-off-by: Alexey Dobriyan --- fs/proc/base.c|5 +++-- fs/proc/inode.c |3 ++- fs/proc/self.c|3 ++- fs/proc/thread_self.c |3 ++- 4 files changed, 9 in

Re: general protection fault in fib6_add (2)

2018-01-03 Thread Wei Wang
On Wed, Jan 3, 2018 at 8:16 AM, David Ahern wrote: > [ +wei...@google.com ] > > On 1/2/18 3:58 PM, syzbot wrote: >> Hello, >> >> syzkaller hit the following crash on >> 61233580f1f33c50e159c50e24d80ffd2ba2e06b >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master >> compiler:

Re: [PATCH v2 0/9] ASoC: Intel: Kconfig+acpi fixes

2018-01-03 Thread Pierre-Louis Bossart
On 01/03/2018 11:09 AM, Andy Shevchenko wrote: On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: The first patch solves issues reported by 0day with non-ACPI platforms The second patch implements what Linus, Takashi and Mark requested: a top-level selector defaulting to 'y' to ea

Re: KASAN: slab-out-of-bounds Write in tcp_v6_syn_recv_sock

2018-01-03 Thread Cong Wang
On Tue, Jan 2, 2018 at 3:58 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 61233580f1f33c50e159c50e24d80ffd2ba2e06b > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is at

[PATCH -mm] proc: fixup comment

2018-01-03 Thread Alexey Dobriyan
Document what ->pde_unload_lock actually does. Signed-off-by: Alexey Dobriyan --- fs/proc/internal.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -38,7 +38,8 @@ struct proc_dir_entry { atomic_t in_use; atomic_t

[PATCH 2/2] f2fs: add reserved blocks for root user

2018-01-03 Thread Jaegeuk Kim
This patch allows root to reserve some blocks via mount option. "-o reserve_root=N" means N x 4KB-sized blocks for root only. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 26 ++ fs/f2fs/super.c | 29 ++--- fs/f2fs/sysfs.c | 3 ++- 3 files cha

[PATCH 1/2] f2fs: show precise # of blocks that user/root can use

2018-01-03 Thread Jaegeuk Kim
Let's show precise # of blocks that user/root can use through bavail and bfree respectively. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 0a820ba55b10..4c1c99cf54ef 100644 --- a/fs/f

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-03 Thread Jaegeuk Kim
On 01/03, Chao Yu wrote: > On 2018/1/3 11:21, Jaegeuk Kim wrote: > > This patch gives a flag to disable GC on given file, which would be useful, > > when > > user wants to keep its block map. It also conducts in-place-update for > > dontmove > > file. > > > > Signed-off-by: Jaegeuk Kim > > ---

Re: WARNING in rds_cmsg_rdma_args

2018-01-03 Thread Santosh Shilimkar
On 1/3/2018 10:51 AM, Mohamed Ghannam wrote: The fix  : https://patchwork.ozlabs.org/patch/854723/ Cool. Thanks Mohamed for following it up. Regards, Santosh

Re: [f2fs-dev] [PATCH v5] f2fs: add reserved blocks for root user

2018-01-03 Thread Jaegeuk Kim
On 01/03, Chao Yu wrote: > On 2018/1/3 10:21, Jaegeuk Kim wrote: > > This patch allows root to reserve some blocks via mount option. > > > > "-o reserve_root=N" means N x 4KB-sized blocks for root only. > > > > Signed-off-by: Jaegeuk Kim > > --- > > > > Change log from v4: > > - fix f_bfree in

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-03 Thread Tom Horsley
On Wed, 3 Jan 2018 09:21:16 -0800 Kees Cook wrote: > The more interesting thing here is that secureexec is set for a > process that ISN'T actually setuid. (ptrace of a setuid process). I > think tha'ts the real bug, but not something I'm going to be able to > fix quickly. So, for now, I want to re

Re: [PATCH v3] gpio: winbond: add driver

2018-01-03 Thread Andy Shevchenko
On Sat, 2017-12-30 at 22:02 +0100, Maciej S. Szmigiero wrote: > This commit adds GPIO driver for Winbond Super I/Os. > > Currently, only W83627UHG model (also known as Nuvoton NCT6627UD) is > supported but in the future a support for other Winbond models, too, > can > be added to the driver. > >

Re: [PATCH v5 26/39] nds32: Device tree support

2018-01-03 Thread Rob Herring
On Tue, Jan 2, 2018 at 2:24 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for device tree. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu > --- > arch/nds32/boot/dts/Makefile |8 + > arch/nds32/boot/dts/ae3xx.dts | 73 >

Re: [PATCH v2 0/9] ASoC: Intel: Kconfig+acpi fixes

2018-01-03 Thread Andy Shevchenko
On Wed, 2018-01-03 at 12:52 -0600, Pierre-Louis Bossart wrote: > > On 01/03/2018 11:09 AM, Andy Shevchenko wrote: > > On Wed, 2018-01-03 at 10:50 -0600, Pierre-Louis Bossart wrote: > > Couple of nitpicks and seems patch 9 missed some (all?) comments to > > be > > addressed. > > > > So, after fix

page table isolation alternative mechanism

2018-01-03 Thread Albert Cahalan
We got into the current situation for performance reasons, avoiding the costly reload of CR3 that a hardware task switch would cause. It seems we'll be loading CR3 now anyway, so it might be time to reconsider hardware task switches. The recent patches leave kernel entry/exit code mapped. Hardware

Re: [PATCH v2 9/9] ASoC: Intel: kconfig: add some comments for if symbols

2018-01-03 Thread Randy Dunlap
On 01/03/2018 08:50 AM, Pierre-Louis Bossart wrote: > From: Vinod Koul > > Helps in finding if endings That partial sentence is confusing. I couldn't decode it without reading the entire patch. That shouldn't be necessary. How about: Help in finding (matching) if/endif pairs. or Help in findi

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Thomas Gleixner
On Wed, 3 Jan 2018, Thomas Gleixner wrote: > On Wed, 3 Jan 2018, Lars Wendler wrote: > > Am Wed, 3 Jan 2018 13:05:38 +0100 (CET) > > schrieb Thomas Gleixner : > > > Also can you please try Linus v4.15-rc6 with PTI enabled so we can see > > > whether that's a backport issue or a general one? > > >

Re: correct section for cpu_tss_rw?

2018-01-03 Thread Thomas Gleixner
On Tue, 2 Jan 2018, Nick Desaulniers wrote: > (emailing the folks listed from running `./scripts/get_maintainer.pl > -f` on arch/x86/kernel/process.c, arch/x86/include/asm/processor.h, > and include/linux/percpu-defs.h) > > Clang emits the following warning: > > arch/x86/kernel/process.c:50:11: w

Re: bonding: Delete an error message for a failed memory allocation in bond_update_slave_arr()

2018-01-03 Thread महेश बंडेवार
On Wed, Jan 3, 2018 at 12:45 AM, SF Markus Elfring wrote: >>> Omit an extra message for a memory allocation failure in this function. >>> >>> This issue was detected by using the Coccinelle software. >>> >> What is the issue with this message? > > * Is it redundant? > > * Would a Linux allocation

[PATCH v3] ARM: dts: imx6: RDU2: disable internal watchdog

2018-01-03 Thread Andrey Smirnov
From: Lucas Stach The system has an external watchdog in the environment processor so the internal watchdog is of no use. Cc: Sascha Hauer Cc: Fabio Estevam Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.o

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Fabio, On Wed, Jan 03, 2018 at 04:14:35PM -0200, Fabio Estevam wrote: > On Wed, Jan 3, 2018 at 3:37 PM, jacopo mondi wrote: > > >> Initially the rest GPIO was doing: > >> > >> - gpio_set_value(GPIO_PTT3, 0); > >> - mdelay(10); > >> - gpio_set_value(GPIO_PTT3, 1); > >> -

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