Re: [RFC PATCH 1/2] RISC-V: Mark existing SBI as legacy SBI.

2019-08-27 Thread Atish Patra
On Tue, 2019-08-27 at 07:03 -0700, Christoph Hellwig wrote: > > +#define SBI_EXT_LEGACY_SET_TIMER 0x0 > > +#define SBI_EXT_LEGACY_CONSOLE_PUTCHAR 0x1 > > +#define SBI_EXT_LEGACY_CONSOLE_GETCHAR 0x2 > > +#define SBI_EXT_LEGACY_CLEAR_IPI 0x3 > > +#define SBI_EXT_LEGACY_SEND_IPI 0x4 > > +#define

Re: [RFC] mm: Proactive compaction

2019-08-27 Thread Nitin Gupta
On Mon, 2019-08-26 at 12:47 +0100, Mel Gorman wrote: > On Thu, Aug 22, 2019 at 09:57:22PM +, Nitin Gupta wrote: > > > Note that proactive compaction may reduce allocation latency but > > > it is not > > > free either. Even though the scanning and migration may happen in > > > a kernel > > >

Re: [PATCH 3/4] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-27 Thread Michal Suchánek
On Tue, 27 Aug 2019 22:21:08 +0200 Michal Suchanek wrote: > There are numerous references to 32bit functions in generic and 64bit > code so ifdef them out. > > Signed-off-by: Michal Suchanek > --- > arch/powerpc/include/asm/syscall.h | 2 ++ > arch/powerpc/kernel/Makefile | 15

Re: [RFC PATCH 1/2] RISC-V: Mark existing SBI as legacy SBI.

2019-08-27 Thread Atish Patra
On Tue, 2019-08-27 at 10:51 +0300, Mike Rapoport wrote: > On Mon, Aug 26, 2019 at 04:32:55PM -0700, Atish Patra wrote: > > As per the new SBI specification, current SBI implementation is > > defined as legacy and will be removed/replaced in future. > > > > Rename existing implementation to

Re: [PATCH v4 3/3] vfio/pci: make use of irq_update_devid and optimize irq ops

2019-08-27 Thread Alex Williamson
On Thu, 22 Aug 2019 23:34:43 +0800 Ben Luo wrote: > When userspace (e.g. qemu) triggers a switch between KVM > irqfd and userspace eventfd, only dev_id of irq action > (i.e. the "trigger" in this patch's context) will be > changed, but a free-then-request-irq action is taken in > current code.

Re: [RFC PATCH 2/2] RISC-V: Add basic support for SBI v0.2

2019-08-27 Thread Atish Patra
On Tue, 2019-08-27 at 11:39 +0300, Mike Rapoport wrote: > On Tue, Aug 27, 2019 at 01:53:23PM +0530, Anup Patel wrote: > > On Tue, Aug 27, 2019 at 1:28 PM Mike Rapoport > > wrote: > > > On Mon, Aug 26, 2019 at 04:32:56PM -0700, Atish Patra wrote: > > > > The SBI v0.2 introduces a base extension

Re: [RESEND PATCH v4 1/4] dt-bindings: soundwire: add slave bindings

2019-08-27 Thread Srinivas Kandagatla
thanks for reviewing the patch! On 27/08/2019 21:20, Rob Herring wrote: On Fri, Aug 23, 2019 at 12:23:40PM +0530, Vinod Koul wrote: On 23-08-19, 00:37, Srinivas Kandagatla wrote: This patch adds bindings for Soundwire Slave devices that includes how SoundWire enumeration address and Link ID

Re: [PATCH] net: intel: Cleanup e1000 - add space between }}

2019-08-27 Thread Jeff Kirsher
On Mon, 2019-08-26 at 20:41 -0700, Joe Perches wrote: > On Mon, 2019-08-26 at 01:03 -0700, Jeff Kirsher wrote: > > On Fri, 2019-08-23 at 19:14 +, Forrest Fleming wrote: > > > suggested by checkpatch > > > > > > Signed-off-by: Forrest Fleming > > > --- > > >

Re: [PATCH] net: intel: Cleanup e1000 - add space between }}

2019-08-27 Thread Jeff Kirsher
On Tue, 2019-08-27 at 12:45 -0700, Forrest Fleming wrote: > On Tue, Aug 27, 2019 at 12:07 PM Joe Perches wrote: > > On Tue, 2019-08-27 at 12:02 -0700, Jeff Kirsher wrote: > > > On Mon, 2019-08-26 at 20:41 -0700, Joe Perches wrote: > > > > On Mon, 2019-08-26 at 01:03 -0700, Jeff Kirsher wrote: > >

Re: [RESEND PATCH v4 3/4] dt-bindings: ASoC: Add WSA881x bindings

2019-08-27 Thread Srinivas Kandagatla
Thanks for taking time to review! On 27/08/2019 13:20, Rob Herring wrote: On Thu, Aug 22, 2019 at 6:38 PM Srinivas Kandagatla wrote: This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker Amplifier. This Amplifier also has a simple thermal sensor for over temperature and speaker

Re: [PATCH] rpmsg: virtio_rpmsg_bus: replace "%p" with "%pK"

2019-08-27 Thread Suman Anna
Hi Bjorn, On 8/27/19 12:10 AM, Bjorn Andersson wrote: > On Fri 09 Aug 13:25 PDT 2019, Suman Anna wrote: > >> Hi Bjorn, >> > > Hi Suman > >> On 10/23/18 8:19 PM, Suman Anna wrote: >>> The virtio_rpmsg_bus driver uses the "%p" format-specifier for >>> printing the vring buffer address. This

Re: [RESEND PATCH 08/13] KVM: x86: Move #UD injection for failed emulation into emulation code

2019-08-27 Thread Sean Christopherson
On Fri, Aug 23, 2019 at 04:48:16PM +0300, Liran Alon wrote: > > > > On 23 Aug 2019, at 4:07, Sean Christopherson > > wrote: > > > > Immediately inject a #UD and return EMULATE done if emulation fails when > > handling an intercepted #UD. This helps pave the way for removing > > EMULATE_FAIL

[PATCH 0/4] Disable compat cruft on ppc64le

2019-08-27 Thread Michal Suchanek
With endian switch disabled by default the ppc64le compat supports ppc32le only which is something next to nobody has binaries for. Less code means less bugs so drop the compat stuff. I am not particularly sure about the best way to resolve the llseek situation. I don't see anything in the

[PATCH 1/4] fs: always build llseek.

2019-08-27 Thread Michal Suchanek
64bit !COMPAT does not build because the llseek syscall is in the tables. Signed-off-by: Michal Suchanek --- fs/read_write.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index 5bbf587f5bc1..9db56931eb26 100644 --- a/fs/read_write.c +++ b/fs/read_write.c

[PATCH 3/4] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-27 Thread Michal Suchanek
There are numerous references to 32bit functions in generic and 64bit code so ifdef them out. Signed-off-by: Michal Suchanek --- arch/powerpc/include/asm/syscall.h | 2 ++ arch/powerpc/kernel/Makefile | 15 --- arch/powerpc/kernel/entry_64.S | 2 ++

Re: [PATCH v1] kunit: fix failure to build without printk

2019-08-27 Thread shuah
On 8/27/19 11:49 AM, Brendan Higgins wrote: Previously KUnit assumed that printk would always be present, which is not a valid assumption to make. Fix that by ifdefing out functions which directly depend on printk core functions similar to what dev_printk does. Reported-by: Randy Dunlap Link:

[PATCH 4/4] powerpc/64: Disable COMPAT if littleendian.

2019-08-27 Thread Michal Suchanek
ppc32le was never really a thing. Endian swap is already disabled by default so this 32bit support is kind of useless on ppc64le. Signed-off-by: Michal Suchanek --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig

[PATCH 2/4] powerpc: move common register copy functions from signal_32.c to signal.c

2019-08-27 Thread Michal Suchanek
These functions are required for 64bit as well. Signed-off-by: Michal Suchanek --- arch/powerpc/kernel/signal.c| 141 arch/powerpc/kernel/signal_32.c | 140 --- 2 files changed, 141 insertions(+), 140 deletions(-) diff --git

Re: [RESEND PATCH v4 1/4] dt-bindings: soundwire: add slave bindings

2019-08-27 Thread Rob Herring
On Fri, Aug 23, 2019 at 12:23:40PM +0530, Vinod Koul wrote: > On 23-08-19, 00:37, Srinivas Kandagatla wrote: > > This patch adds bindings for Soundwire Slave devices that includes how > > SoundWire enumeration address and Link ID are used to represented in > > SoundWire slave device tree nodes. >

Re: Adding depends-on DT binding to break cyclic dependencies

2019-08-27 Thread Saravana Kannan
On Wed, Aug 21, 2019 at 11:54 PM Saravana Kannan wrote: > > Hi Rob, > > Frank, Greg and I got together during ELC and had an extensive and > very productive discussion about my "postboot supplier state cleanup" > patch series [1]. The three of us are on the same page now -- the > series as it

Re: [PATCH -next] net: mlx5: Kconfig: Fix MLX5_CORE_EN dependencies

2019-08-27 Thread Saeed Mahameed
On Tue, 2019-08-27 at 11:12 +0800, Mao Wenan wrote: > When MLX5_CORE_EN=y and PCI_HYPERV_INTERFACE is not set, below errors > are found: > drivers/net/ethernet/mellanox/mlx5/core/en_main.o: In function > `mlx5e_nic_enable': > en_main.c:(.text+0xb649): undefined reference to >

Re: [PATCH] net/mlx5: fix a -Wstringop-truncation warning

2019-08-27 Thread Qian Cai
_NOWARN)); return NULL; } [   98.339576][  T914] WARNING: CPU: 0 PID: 914 at mm/page_alloc.c:4705 __alloc_pages_nodemask+0x441/0x1bb0 [   98.349174][  T914] Modules linked in: smartpqi(+) scsi_transport_sas tg3 mlx5_core(+) libphy firmware_class dm_mirror dm_region_hash dm_

Re: [PATCH V4 1/4] dt-bindings: watchdog: Add i.MX7ULP bindings

2019-08-27 Thread Rob Herring
On Wed, Aug 21, 2019 at 10:37:40PM -0400, Anson Huang wrote: > Add the watchdog bindings for Freescale i.MX7ULP. > > Signed-off-by: Anson Huang > --- > No changes. > --- > .../bindings/watchdog/fsl-imx7ulp-wdt.txt | 22 > ++ > 1 file changed, 22 insertions(+) >

Re: [PATCH] iio: dac: ad5380: fix incorrect assignment to val

2019-08-27 Thread Jonathan Cameron
On Sun, 18 Aug 2019 18:55:44 +0100 Jonathan Cameron wrote: > On Fri, 16 Aug 2019 06:16:26 + > "Ardelean, Alexandru" wrote: > > > On Thu, 2019-08-15 at 12:58 +0100, Colin King wrote: > > > [External] > > > > > > > Reviewed-by: Alexandru Ardelean > Applied to the fixes-togreg

[PATCH] trivial: Fix typos "emptry" -> "emptry" and "emtry" -> "entry"

2019-08-27 Thread Uwe Kleine-König
I found one when reading through spi.c. Then grepped for other instances and mistyped the pattern at first. So it's one logical change to fix them all in one go :-) Signed-off-by: Uwe Kleine-König --- Hello, If this should go via the respective maintainer trees, I can also split to increase my

Applied "ASoC: SOF: imx8: Fix return value check in imx8_probe()" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: SOF: imx8: Fix return value check in imx8_probe() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: SOF: imx8: Make some functions static" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: SOF: imx8: Make some functions static has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH v5 2/4] iio: imu: st_lsm6sdx: move register definitions to sensor_settings struct

2019-08-27 Thread Jonathan Cameron
On Tue, 27 Aug 2019 08:54:57 +0200 Martin Kepplinger wrote: > On 21.08.19 15:25, Martin Kepplinger wrote: > > Move some register definitions to the per-device array of struct > > st_lsm6dsx_sensor_settings in order to simplify adding new sensor > > devices to the driver. > > > > Also, remove

Applied "ASoC: imx-audmix: register the card on a proper dev" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: imx-audmix: register the card on a proper dev has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: cs42xx8: Force suspend/resume during system suspend/resume" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: cs42xx8: Force suspend/resume during system suspend/resume has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "ASoC: sun4i: Revert A83t description" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: sun4i: Revert A83t description has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: es8316: fix headphone mixer volume table" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: es8316: fix headphone mixer volume table has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: es8316: fix inverted L/R of headphone mixer volume" to the asoc tree

2019-08-27 Thread Mark Brown
The patch ASoC: es8316: fix inverted L/R of headphone mixer volume has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [EXT] Re: [Patch v4 1/3] dt-bindings: spi: spi-fsl-qspi: Add ls2080a compatibility string to bindings

2019-08-27 Thread Mark Brown
On Tue, Aug 27, 2019 at 10:50:05AM -0500, Rob Herring wrote: > On Thu, Aug 22, 2019 at 07:49:27PM +0100, Mark Brown wrote: > > Drop the dt-bindings:. > If you do 'git log --oneline Documentation/devicetree/bindings/' you'll > notice that SPI and ASoC are the oddballs now. I don't really care >

Re: [PATCH v2 2/4] x86/vmware: Add a header file for hypercall definitions

2019-08-27 Thread Borislav Petkov
On Tue, Aug 27, 2019 at 09:19:03PM +0200, Thomas Hellström (VMware) wrote: > It should be correct. The flags VMWARE_HYPERVISOR_HB and > VMWARE_HYPERVISOR_OUT are only valid for the vmcall / vmmcall versions. > > For the legacy version, the direction is toggled by the instruction (in vs > out) and

Re: [PATCH 3/3] KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available

2019-08-27 Thread Sean Christopherson
On Tue, Aug 27, 2019 at 09:54:39AM -0700, Jim Mattson wrote: > On Tue, Aug 27, 2019 at 9:04 AM Vitaly Kuznetsov wrote: > > > > It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide > > common function to enable eVMCS") hyperv_cpuid selftest is failing on AMD. > > The reason

[PATCH -v2 1/5] x86/intel: Aggregate big core client naming

2019-08-27 Thread Peter Zijlstra
Currently the big core client models either have: - no OPTDIFF - _CORE - _DESKTOP Make it uniformly: 'no OPTDIFF'. for i in `git grep -l "\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*_\(CORE\|DESKTOP\)"` do sed -i -e

[PATCH v2] MAINTAINERS: add entry for LICENSES and SPDX stuff

2019-08-27 Thread Greg Kroah-Hartman
Thomas and I seem to have become the "unofficial" maintainers for these files and questions about SPDX things. So let's make it official. Reported-by: "Darrick J. Wong" Cc: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman --- v2: add Documentation/process/license-rules.rst MAINTAINERS

[PATCH -v2 2/5] x86/intel: Aggregate big core mobile naming

2019-08-27 Thread Peter Zijlstra
Currently big core mobile chips have either: - _L - _ULT - _MOBILE Make it uniformly: _L. for i in `git grep -l "\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*_\(MOBILE\|ULT\)"` do sed -i -e 's/\(\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*\)_\(MOBILE\|ULT\)/\1_L/g' ${i} done

[PATCH -v2 3/5] x86/intel: Aggregate big core graphics naming

2019-08-27 Thread Peter Zijlstra
Currently big core clients with extra graphics on have: - _G - _GT3E Make it uniformly: _G for i in `git grep -l "\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*_GT3E"` do sed -i -e 's/\(\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*\)_GT3E/\1_G/g' ${i} done Signed-off-by: Peter

[PATCH -v2 5/5] x86/intel: Add common OPTDIFFs

2019-08-27 Thread Peter Zijlstra
Signed-off-by: Peter Zijlstra (Intel) Cc: x...@kernel.org Cc: Dave Hansen Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Tony Luck --- arch/x86/include/asm/intel-family.h | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) --- a/arch/x86/include/asm/intel-family.h

Re: [PATCH] MAINTAINERS: add entry for LICENSES and SPDX stuff

2019-08-27 Thread Greg Kroah-Hartman
On Tue, Aug 27, 2019 at 09:36:23PM +0200, Thomas Gleixner wrote: > On Tue, 27 Aug 2019, Greg Kroah-Hartman wrote: > > > Thomas and I seem to have become the "unofficial" maintainers for these > > files and questions about SPDX things. So let's make it official. > > > > Reported-by: "Darrick J.

Re: [PATCH v5 2/4] iio: imu: st_lsm6sdx: move register definitions to sensor_settings struct

2019-08-27 Thread Jonathan Cameron
On Wed, 21 Aug 2019 15:25:18 +0200 Martin Kepplinger wrote: > Move some register definitions to the per-device array of struct > st_lsm6dsx_sensor_settings in order to simplify adding new sensor > devices to the driver. > > Also, remove completely unused register definitions. > >

Re: [PATCH v5 3/4] iio: imu: st_lsm6dsx: add support for accel/gyro unit of lsm9sd1

2019-08-27 Thread Jonathan Cameron
On Wed, 21 Aug 2019 15:25:19 +0200 Martin Kepplinger wrote: > The LSM9DS1's accelerometer / gyroscope unit and it's magnetometer (separately > supported in iio/magnetometer/st_magn*) are located on a separate i2c > addresses > on the bus. > > For the datasheet, see

[PATCH -v2 4/5] x86/intel: Aggregate microserver naming

2019-08-27 Thread Peter Zijlstra
Currently big microservers have _XEON_D while small microservers have _X, Make it uniformly: _D. for i in `git grep -l "\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*_\(X\|XEON_D\)"` do sed -i -e 's/\(\(INTEL_FAM6_\|VULNWL_INTEL\|INTEL_CPU_FAM6\).*ATOM.*\)_X/\1_D/g' \ -e

[PATCH -v2 0/5] Further sanitize INTEL_FAM6 naming

2019-08-27 Thread Peter Zijlstra
Lots of variation has crepts in; time to collapse the lot again. I'm reposting because the version Ingo applied and partially fixed up still generates build bot failure.

Re: [PATCH v5 1/4] iio: imu: st_lsm6dsx: introduce update_fifo function pointer

2019-08-27 Thread Jonathan Cameron
On Wed, 21 Aug 2019 15:25:17 +0200 Martin Kepplinger wrote: > From: Lorenzo Bianconi > > Introduce update_fifo routine pointer in st_lsm6dsx_fifo_ops data > structure since we will need a different update FIFO configuration > callback adding support for lsm6ds0/lsm9ds1 imu device > >

Re: [PATCH v5 4/4] dt-bindings: iio: imu: st_lsm6dsx: add lsm9ds1 device bindings

2019-08-27 Thread Jonathan Cameron
On Wed, 21 Aug 2019 15:25:20 +0200 Martin Kepplinger wrote: Tweaked to add the -imu plus some text in the patch description to say why. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to ignore. Thanks, Jonathan > Signed-off-by: Martin Kepplinger > ---

Re: [PATCH] KVM: x86: Don't update RIP or do single-step on faulting emulation

2019-08-27 Thread Sean Christopherson
On Tue, Aug 27, 2019 at 12:12:51PM -0700, Jim Mattson wrote: > On Fri, Aug 23, 2019 at 1:55 PM Sean Christopherson > wrote: > > --- a/arch/x86/kvm/x86.c > > +++ b/arch/x86/kvm/x86.c > > @@ -6611,12 +6611,13 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu, > > unsigned long

Re: [PATCH v2 1/4] x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls

2019-08-27 Thread Borislav Petkov
On Tue, Aug 27, 2019 at 09:19:54PM +0200, Thomas Hellström (VMware) wrote: > We *do* have checkpatch.pl in the workflow. In this case I figured the > warnings actually didn't make sense. There are breaks present and > -Wimplicit-fallthrough doesn't complain... Oh, we have enabled that by default

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-27 Thread Arnd Bergmann
On Tue, Aug 27, 2019 at 9:23 PM Josh Poimboeuf wrote: > On Tue, Aug 27, 2019 at 09:00:52PM +0200, Arnd Bergmann wrote: > > On Tue, Aug 27, 2019 at 5:00 PM Ilie Halip wrote: > > > > > > > > $ clang-9 -c crc32.i -O2 ; objtool check crc32.o > > > > > crc32.o: warning: objtool: fn1 uses BP as a

Re: [RFC PATCH v2 2/3] x86/mm/tlb: Defer PTI flushes

2019-08-27 Thread Nadav Amit
> On Aug 27, 2019, at 11:28 AM, Dave Hansen wrote: > > On 8/23/19 3:52 PM, Nadav Amit wrote: >> INVPCID is considerably slower than INVLPG of a single PTE. Using it to >> flush the user page-tables when PTI is enabled therefore introduces >> significant overhead. > > I'm not sure this is worth

Re: [PATCH] net: intel: Cleanup e1000 - add space between }}

2019-08-27 Thread Forrest Fleming
On Tue, Aug 27, 2019 at 12:07 PM Joe Perches wrote: > > On Tue, 2019-08-27 at 12:02 -0700, Jeff Kirsher wrote: > > On Mon, 2019-08-26 at 20:41 -0700, Joe Perches wrote: > > > On Mon, 2019-08-26 at 01:03 -0700, Jeff Kirsher wrote: > > > > On Fri, 2019-08-23 at 19:14 +, Forrest Fleming wrote: >

Re: [PATCH 2/8] regulator: add support for SY8824C regulator

2019-08-27 Thread Mark Brown
On Tue, Aug 27, 2019 at 08:45:33AM +, Jisheng Zhang wrote: This looks mostly good and I'll apply it, a couple of small things though: > @@ -0,0 +1,192 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * SY8824C regulator driver > + * Please send a patch which updates the entire comment

Re: [PATCH v9 0/7] Solve postboot supplier cleanup and optimize probe ordering

2019-08-27 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2019 at 07:13:26PM -0700, Frank Rowand wrote: > Hi Greg, Saravana, > > On 8/1/19 11:37 PM, Greg Kroah-Hartman wrote: > > On Thu, Aug 01, 2019 at 12:59:25PM -0700, Frank Rowand wrote: > >> On 8/1/19 12:32 PM, Greg Kroah-Hartman wrote: > >>> On Thu, Aug 01, 2019 at 12:28:13PM -0700,

Re: [PATCH 1/2] x86/microcode: Update late microcode in parallel

2019-08-27 Thread Boris Ostrovsky
On Mon, Aug 26, 2019 at 01:32:48PM -0700, Raj, Ashok wrote: > On Mon, Aug 26, 2019 at 08:53:05AM -0400, Boris Ostrovsky wrote: > > On 8/24/19 4:53 AM, Borislav Petkov wrote: > > > > > > +wait_for_siblings: > > > + if (__wait_for_cpus(_cpus_out, NSEC_PER_SEC)) > > > + panic("Timeout

Re: [PATCH] MAINTAINERS: add entry for LICENSES and SPDX stuff

2019-08-27 Thread Thomas Gleixner
On Tue, 27 Aug 2019, Greg Kroah-Hartman wrote: > Thomas and I seem to have become the "unofficial" maintainers for these > files and questions about SPDX things. So let's make it official. > > Reported-by: "Darrick J. Wong" > Cc: Thomas Gleixner > Signed-off-by: Greg Kroah-Hartman > > ---

Re: Aw: Re: Re: BUG: devm_regulator_get returns EPROBE_DEFER (5.3-rc5..next-20190822) for bpi-r2/mt7623/mt7530

2019-08-27 Thread Mark Brown
On Fri, Aug 23, 2019 at 02:00:16PM +0200, Frank Wunderlich wrote: > > Gesendet: Freitag, 23. August 2019 um 12:04 Uhr > > Von: "Mark Brown" > > Can you run a git bisect to try to identify the commit that > > caused things to fail? > > i have not figured out, how to rebase linux-next on my

Re: [PATCH] tpm_tis: Fix interrupt probing

2019-08-27 Thread Stefan Berger
On 8/27/19 11:19 AM, Jarkko Sakkinen wrote: On Tue, Aug 27, 2019 at 04:14:00PM +0300, Jarkko Sakkinen wrote: On Tue, Aug 20, 2019 at 08:25:17AM -0400, Stefan Berger wrote: From: Stefan Berger The interrupt probing of the TPM TIS was broken since we are trying to run it without an active

[patch V3 38/38] posix-cpu-timers: Utilize timerqueue for storage

2019-08-27 Thread Thomas Gleixner
Using a linear O(N) search for timer insertion affects execution time and D-cache footprint badly with a larger number of timers. Switch the storage to a timerqueue which is already used for hrtimers and alarmtimers. It does not affect the size of struct k_itimer as it.alarm is still larger. The

Re: [PATCH v2] kbuild: enable unused-function warnings for W= build with Clang

2019-08-27 Thread Nathan Chancellor
On Tue, Aug 27, 2019 at 07:36:21PM +0900, Masahiro Yamada wrote: > GCC and Clang have different policy for -Wunused-function; GCC never > reports unused-function warnings for 'static inline' functions whereas > Clang reports them if they are defined in source files instead of > included headers

[GIT PULL] Please pull NFS client bugfixes

2019-08-27 Thread Trond Myklebust
Hi Linus, The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1: Linux 5.3-rc5 (2019-08-18 14:31:08 -0700) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-3 for you to fetch changes up to

Re: [PATCHv5] drivers/amba: add reset control to amba bus probe

2019-08-27 Thread Valdis Klētnieks
On Mon, 26 Aug 2019 10:42:52 -0500, Dinh Nguyen said: > The primecell controller on some SoCs, i.e. SoCFPGA, is held in reset by > default. Until recently, the DMA controller was brought out of reset by the > bootloader(i.e. U-Boot). But a recent change in U-Boot, the peripherals > that are not

Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status

2019-08-27 Thread Josh Poimboeuf
On Tue, Aug 27, 2019 at 08:00:18PM +0300, Leon Romanovsky wrote: > On Tue, Aug 27, 2019 at 10:08:30AM -0500, Josh Poimboeuf wrote: > > On Mon, Aug 26, 2019 at 04:38:29PM -0700, Nathan Chancellor wrote: > > > Looks like that comes from tune_qsfp, which gets inlined into > > > tune_serdes but I am

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-27 Thread Josh Poimboeuf
On Tue, Aug 27, 2019 at 09:00:52PM +0200, Arnd Bergmann wrote: > On Tue, Aug 27, 2019 at 5:00 PM Ilie Halip wrote: > > > > > > $ clang-9 -c crc32.i -O2 ; objtool check crc32.o > > > > crc32.o: warning: objtool: fn1 uses BP as a scratch register > > > > Yes, I see it too.

Re: [PATCH v2 1/4] x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls

2019-08-27 Thread VMware
Thanks for reviewing, Borislav. Comments inline. On 8/27/19 2:56 PM, Borislav Petkov wrote: On Fri, Aug 23, 2019 at 10:13:13AM +0200, Thomas Hellström (VMware) wrote: + +#define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ + switch (vmware_hypercall_mode) {

Re: [PATCH 2/6] ASoC: Intel: Fix use of potentially uninitialized variable

2019-08-27 Thread Cezary Rojewski
On 2019-08-27 16:17, Amadeusz Sławiński wrote: From: Amadeusz Sławiński If ipc->ops.reply_msg_match is NULL, we may end up using uninitialized mask value. reported by smatch: sound/soc/intel/common/sst-ipc.c:266 sst_ipc_reply_find_msg() error: uninitialized symbol 'mask'. Signed-off-by:

[PATCH v1 2/5] mdev: Make mdev alias unique among all mdevs

2019-08-27 Thread Parav Pandit
Mdev alias should be unique among all the mdevs, so that when such alias is used by the mdev users to derive other objects, there is no collision in a given system. Signed-off-by: Parav Pandit --- Changelog: v0->v1: - Fixed inclusiong of alias for NULL check - Added ratelimited debug print

[PATCH v1 4/5] mdev: Update sysfs documentation

2019-08-27 Thread Parav Pandit
Updated documentation for optional read only sysfs attribute. Signed-off-by: Parav Pandit --- Documentation/driver-api/vfio-mediated-device.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/driver-api/vfio-mediated-device.rst

[PATCH v1 1/5] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Parav Pandit
Some vendor drivers want an identifier for an mdev device that is shorter than the UUID, due to length restrictions in the consumers of that identifier. Add a callback that allows a vendor driver to request an alias of a specified length to be generated for an mdev device. If generated, that

[PATCH v1 5/5] mtty: Optionally support mtty alias

2019-08-27 Thread Parav Pandit
Provide a module parameter to set alias length to optionally generate mdev alias. Example to request mdev alias. $ modprobe mtty alias_length=12 Signed-off-by: Parav Pandit --- samples/vfio-mdev/mtty.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/samples/vfio-mdev/mtty.c

[PATCH v1 3/5] mdev: Expose mdev alias in sysfs tree

2019-08-27 Thread Parav Pandit
Expose the optional alias for an mdev device as a sysfs attribute. This way, userspace tools such as udev may make use of the alias, for example to create a netdevice name for the mdev. Signed-off-by: Parav Pandit --- Changelog: v0->v1: - Addressed comments from Cornelia Huck - Updated commit

[PATCH v1 0/5] Introduce variable length mdev alias

2019-08-27 Thread Parav Pandit
To have consistent naming for the netdevice of a mdev and to have consistent naming of the devlink port [1] of a mdev, which is formed using phys_port_name of the devlink port, current UUID is not usable because UUID is too long. UUID in string format is 36-characters long and in binary 128-bit.

Re: [PATCH] KVM: x86: Don't update RIP or do single-step on faulting emulation

2019-08-27 Thread Jim Mattson
On Fri, Aug 23, 2019 at 1:55 PM Sean Christopherson wrote: > > Don't advance RIP or inject a single-step #DB if emulation signals a > fault. This logic applies to all state updates that are conditional on > clean retirement of the emulation instruction, e.g. updating RFLAGS was > previously

Re: [PATCH v2 0/5] 0/6] arm64: meson-sm1: add support for DVFS

2019-08-27 Thread Kevin Hilman
Jerome Brunet writes: > On Mon 26 Aug 2019 at 09:25, Neil Armstrong wrote: > >> Following DVFS support for the Amlogic G12A and G12B SoCs, this serie >> enables DVFS on the SM1 SoC for the SEI610 board. >> >> The SM1 Clock structure is slightly different because of the Cortex-A55 >> core used,

Re: [PATCH 4.14 00/62] 4.14.141-stable review

2019-08-27 Thread shuah
On 8/27/19 1:50 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.141 release. There are 62 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 2/2] powerpc: cleanup hw_irq.h

2019-08-27 Thread Segher Boessenkool
On Tue, Aug 27, 2019 at 08:33:45PM +0200, Christophe Leroy wrote: > >So > > asm("add%I2 %0,%1,%2" : "=r"(dst) : "r"(src1), "ri"(src1)); > > "ri", not "n" as for wrtee ? "n" means a number. "i" means any constant integer. The difference is mostly that "n" does not allow relocations. This

Re: [PATCH 4.19 00/98] 4.19.69-stable review

2019-08-27 Thread shuah
On 8/27/19 1:49 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.69 release. There are 98 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-27 Thread shuah
On 8/27/19 1:48 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.2.11 release. There are 162 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH] net: intel: Cleanup e1000 - add space between }}

2019-08-27 Thread Joe Perches
On Tue, 2019-08-27 at 12:02 -0700, Jeff Kirsher wrote: > On Mon, 2019-08-26 at 20:41 -0700, Joe Perches wrote: > > On Mon, 2019-08-26 at 01:03 -0700, Jeff Kirsher wrote: > > > On Fri, 2019-08-23 at 19:14 +, Forrest Fleming wrote: > > > > suggested by checkpatch > > > > > > > > Signed-off-by:

Re: [PATCH 14/22] ARM: omap1: use pci_ioremap_io() for omap_cf

2019-08-27 Thread Aaro Koskinen
Hi, On Tue, Aug 27, 2019 at 06:33:01PM +0200, Arnd Bergmann wrote: > On Fri, Aug 16, 2019 at 10:34 AM Aaro Koskinen wrote: > > On Wed, Aug 14, 2019 at 12:36:40PM +0200, Arnd Bergmann wrote: > > > On Wed, Aug 14, 2019 at 9:49 AM Tony Lindgren wrote: > > > > * Arnd Bergmann [190813 19:34]: > > >

[PATCH 3/5] rcu/tree: Add support for debug_objects debugging for kfree_rcu()

2019-08-27 Thread Joel Fernandes (Google)
Make use of RCU's debug_objects debugging support (CONFIG_DEBUG_OBJECTS_RCU_HEAD) similar to call_rcu() and other flavors. We queue the object during the kfree_rcu() call and dequeue it during reclaim. Tested that enabling CONFIG_DEBUG_OBJECTS_RCU_HEAD successfully detects double kfree_rcu()

[PATCH v3 1/1] netfilter: nf_tables: fib: Drop IPV6 packets if IPv6 is disabled on boot

2019-08-27 Thread Leonardo Bras
If IPv6 is disabled on boot (ipv6.disable=1), but nft_fib_inet ends up dealing with a IPv6 packet, it causes a kernel panic in fib6_node_lookup_1(), crashing in bad_page_fault. The panic is caused by trying to deference a very low address (0x38 in ppc64le), due to ipv6.fib6_main_tbl = NULL. BUG:

Re: [PATCH] net: intel: Cleanup e1000 - add space between }}

2019-08-27 Thread Jeff Kirsher
On Mon, 2019-08-26 at 20:41 -0700, Joe Perches wrote: > On Mon, 2019-08-26 at 01:03 -0700, Jeff Kirsher wrote: > > On Fri, 2019-08-23 at 19:14 +, Forrest Fleming wrote: > > > suggested by checkpatch > > > > > > Signed-off-by: Forrest Fleming > > > --- > > >

Re: [PATCH] net: Adding parameter detection in __ethtool_get_link_ksettings.

2019-08-27 Thread Saeed Mahameed
On Mon, 2019-08-26 at 17:47 +0800, Dongxu Liu wrote: > > On 8/26/19 9:23 AM, Dongxu Liu wrote: > > The __ethtool_get_link_ksettings symbol will be exported, > > and external users may use an illegal address. > > We should check the parameters before using them, > > otherwise the system will crash.

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-27 Thread Arnd Bergmann
On Tue, Aug 27, 2019 at 5:00 PM Ilie Halip wrote: > > > > $ clang-9 -c crc32.i -O2 ; objtool check crc32.o > > > crc32.o: warning: objtool: fn1 uses BP as a scratch register > > Yes, I see it too. https://godbolt.org/z/N56HW1 > > > Do you still see this warning with -fno-omit-frame-pointer

Re: [PATCH v1] kunit: fix failure to build without printk

2019-08-27 Thread Randy Dunlap
On 8/27/19 10:49 AM, Brendan Higgins wrote: > Previously KUnit assumed that printk would always be present, which is > not a valid assumption to make. Fix that by ifdefing out functions which > directly depend on printk core functions similar to what dev_printk > does. > > Reported-by: Randy

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-27 Thread kernelci.org bot
stable-rc/linux-5.2.y boot: 149 boots: 2 failed, 137 passed with 8 offline, 2 untried/unknown (v5.2.10-163-g9f631715ffe6) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.2.y/kernel/v5.2.10-163-g9f631715ffe6/ Full Build Summary:

Re: [PATCH v2 1/1] netfilter: nf_tables: fib: Drop IPV6 packages if IPv6 is disabled on boot

2019-08-27 Thread Leonardo Bras
On Tue, 2019-08-27 at 20:51 +0200, Pablo Neira Ayuso wrote: > > > The drop case at the bottom of the fib eval function never actually > > > never happens. > > > > Which one do you mean? > > Line 31 of net/netfilter/nft_fib_inet.c. Oh, yeah, I was thinking about that when I wrote the patch.

RE: [PATCH 2/4] mdev: Make mdev alias unique among all mdevs

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Alex Williamson > Sent: Tuesday, August 27, 2019 9:55 PM > To: Parav Pandit > Cc: Cornelia Huck ; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; > linux-kernel@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH

Re: [PATCH v4 5/7] dt-bindings: PCI: Add Amazon's Annapurna Labs PCIe host bridge binding

2019-08-27 Thread Rob Herring
On Wed, 21 Aug 2019 18:47:43 +0300, Jonathan Chocron wrote: > Document Amazon's Annapurna Labs PCIe host bridge. > > Signed-off-by: Jonathan Chocron > --- > .../devicetree/bindings/pci/pcie-al.txt | 46 +++ > MAINTAINERS | 3 +- > 2 files

Re: [PATCH 1/3] KVM: x86: hyper-v: don't crash on KVM_GET_SUPPORTED_HV_CPUID when kvm_intel.nested is disabled

2019-08-27 Thread Radim Krčmář
2019-08-27 18:04+0200, Vitaly Kuznetsov: > If kvm_intel is loaded with nested=0 parameter an attempt to perform > KVM_GET_SUPPORTED_HV_CPUID results in OOPS as nested_get_evmcs_version hook > in kvm_x86_ops is NULL (we assign it in nested_vmx_hardware_setup() and > this only happens in case nested

Re: [PATCH v5 3/4] dt-bindings: clock: Document SM8150 rpmh-clock compatible

2019-08-27 Thread Rob Herring
On Mon, 26 Aug 2019 23:01:19 +0530, Vinod Koul wrote: > Document the SM8150 rpmh-clock compatible for rpmh clock controller > found on SM8150 platforms. > > Signed-off-by: Vinod Koul > Reviewed-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/clock/qcom,rpmh-clk.txt | 4 +++- > 1

Re: [PATCH v2 1/1] netfilter: nf_tables: fib: Drop IPV6 packages if IPv6 is disabled on boot

2019-08-27 Thread Pablo Neira Ayuso
On Tue, Aug 27, 2019 at 02:34:14PM -0300, Leonardo Bras wrote: > On Tue, 2019-08-27 at 12:35 +0200, Pablo Neira Ayuso wrote: [...] > > NFT_BREAK instead to stop evaluating this rule, this results in a > > mismatch, so you let the user decide what to do with packets that do > > not match your

Re: [PATCH v5 1/4] dt-bindings: clock: Document the parent clocks

2019-08-27 Thread Rob Herring
On Mon, 26 Aug 2019 23:01:17 +0530, Vinod Koul wrote: > With clock parent data scheme we must specify the parent clocks for the > rpmhcc nodes. So describe the parent clock for rpmhcc in the bindings. > > Signed-off-by: Vinod Koul > Reviewed-by: Bjorn Andersson > --- >

Re: [PATCH 2/2] uacce: add uacce module

2019-08-27 Thread Greg Kroah-Hartman
On Tue, Aug 27, 2019 at 07:42:08PM +0800, Kenneth Lee wrote: > On Mon, Aug 26, 2019 at 06:29:10AM +0200, Greg Kroah-Hartman wrote: > > Date: Mon, 26 Aug 2019 06:29:10 +0200 > > From: Greg Kroah-Hartman > > To: Kenneth Lee > > CC: zhangfei , Arnd Bergmann , > >

WARNING in posix_cpu_timer_del

2019-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:ed858b88 Add linux-next specific files for 20190826 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=130c2eca60 kernel config: https://syzkaller.appspot.com/x/.config?x=ee8373cd9733e305

Re: [PATCH] scripts/dtc: Simplify condition in get_node_by_path

2019-08-27 Thread Frank Rowand
Hi Denis, On 8/27/19 7:57 AM, Denis Efremov wrote: > The strlen && strprefixeq check in get_node_by_path is > excessive, since strlen is checked in strprefixeq macro > internally. Thus, 'strlen(child->name) == p-path' > conjunct duplicates after macro expansion and could > be removed. > >

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 12:00:26, Johannes Weiner wrote: > On Mon, Aug 26, 2019 at 02:06:30PM +0200, Michal Hocko wrote: > > On Tue 13-08-19 12:51:43, Michal Hocko wrote: > > > On Mon 12-08-19 11:07:25, Johannes Weiner wrote: > > > > On Mon, Aug 12, 2019 at 10:09:47AM +0200, Michal Hocko wrote: > > [...]

Re: [PATCH v2 0/4] wm8904: adapt driver for use with audio-graph-card

2019-08-27 Thread Mark Brown
On Sun, Aug 25, 2019 at 02:17:30PM +0200, Michał Mirosław wrote: > This series allows to use WM8904 codec as audio-graph-card component. > It starts with rework of FLL handling in the codec's driver, and as an > example includes (untested) rework for codec with similar FLL: WM8994. Please make

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