Re: arch/mips/include/asm/pgalloc.h:81:22: error: redefinition of 'pud_alloc_one'

2020-08-12 Thread Mike Rapoport
provide generic pud_alloc_one() and pud_free_one() > date: 5 days ago > config: mips-randconfig-p001-20200812 (attached as .config) > compiler: mips64-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget > https://raw.githubusercontent.com/intel/lkp-tests/m

Re: [GIT PULL REQUEST] watchdog - v5.9 Merge window

2020-08-12 Thread Linus Torvalds
On Wed, Aug 12, 2020 at 5:38 AM Wim Van Sebroeck wrote: > > Please pull the watchdog changes for the v5.2 release cycle. Spot the cut-and-paste from an old email.. I went back and see that the same thing happened in 5.7 pull request too.. Pulled, Linus

[PATCH v2] PCI: Identifying detached virtual functions

2020-08-12 Thread Matthew Rosato
Changes for v2: - Added code to vfio_basic_config_read() and vfio_config_init() to extend emulation to userspace - Added detached_vf check to vfio_bar_restore() - @Niklas/@Pierre, I removed your review tags since I made changes, please have another look As discussed previously in a qemu-devel

[PATCH v2] PCI: Introduce flag for detached virtual functions

2020-08-12 Thread Matthew Rosato
s390x has the notion of providing VFs to the kernel in a manner where the associated PF is inaccessible other than via firmware. These are not treated as typical VFs and access to them is emulated by underlying firmware which can still access the PF. After abafbc55 however these detached VFs were

Re: [PATCH] clk: rockchip: Fix initialization of mux_pll_src_4plls_p

2020-08-12 Thread Heiko Stuebner
Am Mittwoch, 12. August 2020, 09:52:32 CEST schrieb Stephen Boyd: > Quoting Nathan Chancellor (2020-08-09 21:40:20) > > A new warning in Clang points out that the initialization of > > mux_pll_src_4plls_p appears incorrect: > > > > ../drivers/clk/rockchip/clk-rk3228.c:140:58: warning: suspicious >

Re: [PATCH v3] dt-bindings: regulator: Convert sy8824x to json-schema

2020-08-12 Thread Rob Herring
On Mon, 03 Aug 2020 14:44:36 +0800, Jisheng Zhang wrote: > Convert the sy8824x binding to DT schema format using json-schema. > > Signed-off-by: Jisheng Zhang > --- > Since v2: > - add $ref to regulator.yaml > - add unevaluatedProperties > > Since v1: > - It seems there's something wrong with

Re: [PATCH v4 5/6] at24: Support probing while off

2020-08-12 Thread Wolfram Sang
> Wolfram says. From my side: I'd prefer to see the > disable_i2c_core_irq_mapping converted to flags first and then the > flags extended with whatever you need. disable_i2c_core_irq_mapping > could also be removed AFAICT - nobody uses it. I haven't read the details here, just saying that 'disabl

Re: [PATCH v20 05/12] LSM: Infrastructure management of the superblock

2020-08-12 Thread Stephen Smalley
On 8/2/20 5:58 PM, Mickaël Salaün wrote: From: Casey Schaufler Move management of the superblock->sb_security blob out of the individual security modules and into the security infrastructure. Instead of allocating the blobs from within the modules the modules tell the infrastructure how much sp

[PATCH v2 0/2] KVM: x86/mmu: Zap orphaned kids for nested TDP MMU

2020-08-12 Thread Sean Christopherson
As promised, albeit a few days late. Ben, I kept your performance numbers even though it this version has non-trivial differences relative to what you tested. I assume we'll need a v3 anyways if this doesn't provide the advertised performance benefits. Ben Gardon (1): KVM: x86/MMU: Recursively

[PATCH v2 2/2] KVM: x86/MMU: Recursively zap nested TDP SPs when zapping last/only parent

2020-08-12 Thread Sean Christopherson
From: Ben Gardon Recursively zap all to-be-orphaned children, unsynced or otherwise, when zapping a shadow page for a nested TDP MMU. KVM currently only zaps the unsynced child pages, but not the synced ones. This can create problems over time when running many nested guests because it leaves u

[PATCH v2 1/2] KVM: x86/mmu: Move flush logic from mmu_page_zap_pte() to FNAME(invlpg)

2020-08-12 Thread Sean Christopherson
Move the logic that controls whether or not FNAME(invlpg) needs to flush fully into FNAME(invlpg) so that mmu_page_zap_pte() doesn't return a value. This allows a future patch to redefine the return semantics for mmu_page_zap_pte() so that it can recursively zap orphaned child shadow pages for nes

Re: [PATCH v5] arm64: dts: qcom: sc7180: Add Display Port dt node

2020-08-12 Thread Tanmay Shah
On 2020-08-11 12:30, Stephen Boyd wrote: Quoting Tanmay Shah (2020-08-10 19:15:53) @@ -2440,6 +2447,71 @@ dsi_phy: dsi-phy@ae94400 { status = "disabled"; }; + + msm_dp: displayport-controller@ae9 { +

[PATCH 3/3] IMA: define IMA hook to measure critical data from kernel components

2020-08-12 Thread Tushar Sugandhi
Currently, IMA does not provide a generic function to kernel components to measure their data. A generic function provided by IMA would enable various parts of the kernel with easier and faster on-boarding to use IMA infrastructure, would avoid code duplication, and consistent usage of IMA policy C

[PATCH 0/3] IMA: Infrastructure for measurement of critical kernel data

2020-08-12 Thread Tushar Sugandhi
There are several kernel components that contain critical data which if accidentally or maliciously altered, can compromise the security of the kernel. Example of such components would include LSMs like SELinux, or AppArmor; or device-mapper targets like dm-crypt, dm-verity etc. Many of these comp

Re: [PATCH v2] powerpc/uaccess: Use flexible addressing with __put_user()/__get_user()

2020-08-12 Thread Segher Boessenkool
On Wed, Aug 12, 2020 at 02:32:51PM +0200, Christophe Leroy wrote: > Anyway, it seems that GCC doesn't make much use of the "m<>" and the > pre-update form. GCC does not use update form outside of inner loops much. Did you expect anything else? > Most of the benefit of flexible addressing seems

[PATCH 2/3] IMA: add policy to support measuring critical data from kernel components

2020-08-12 Thread Tushar Sugandhi
There would be several candidate kernel components suitable for IMA measurement. Not all of them would be enlightened for IMA measurement. Also, system administrators may not want to measure data for all of them, even when they are enlightened for IMA measurements. An IMA policy specific to various

[PATCH 1/3] IMA: generalize keyring specific measurement constructs

2020-08-12 Thread Tushar Sugandhi
IMA functions such as ima_match_keyring(), process_buffer_measurement(), ima_match_policy() etc. handle data specific to keyrings. Currently, these constructs are not generic to handle any func specific data. This makes it harder to extend without code duplication. Refactor the keyring specific m

[PATCH] dt: bindings: lp55xx: Updte yaml examples with new color ID

2020-08-12 Thread Dan Murphy
Update the binding examples for the color ID to LED_COLOR_ID_RGB Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devi

[PATCH v2] kunit: added lockdep support

2020-08-12 Thread Uriel Guajardo
KUnit will fail tests upon observing a lockdep failure. Because lockdep turns itself off after its first failure, only fail the first test and warn users to not expect any future failures from lockdep. Similar to lib/locking-selftest [1], we check if the status of debug_locks has changed after the

Re: [PATCH v4 5/6] at24: Support probing while off

2020-08-12 Thread Bartosz Golaszewski
On Wed, Aug 12, 2020 at 9:25 PM Wolfram Sang wrote: > > > > Wolfram says. From my side: I'd prefer to see the > > disable_i2c_core_irq_mapping converted to flags first and then the > > flags extended with whatever you need. disable_i2c_core_irq_mapping > > could also be removed AFAICT - nobody use

Re: file metadata via fs API

2020-08-12 Thread Steven Whitehouse
Hi, On 12/08/2020 19:18, Linus Torvalds wrote: On Tue, Aug 11, 2020 at 5:05 PM David Howells wrote: Well, the start of it was my proposal of an fsinfo() system call. Ugh. Ok, it's that thing. This all seems *WAY* over-designed - both your fsinfo and Miklos' version. What's wrong with fstatf

[PATCH net 0/2] net: stmmac: Fix multicast filter on IPQ806x

2020-08-12 Thread Jonathan McDowell
This pair of patches are the result of discovering a failure to correctly receive IPv6 multicast packets on such a device (in particular DHCPv6 requests and RA solicitations). Putting the device into promiscuous mode, or allmulti, both resulted in such packets correctly being received. Examination

[PATCH net 1/2] net: stmmac: dwmac1000: provide multicast filter fallback

2020-08-12 Thread Jonathan McDowell
If we don't have a hardware multicast filter available then instead of silently failing to listen for the requested ethernet broadcast addresses fall back to receiving all multicast packets, in a similar fashion to other drivers with no multicast filter. Cc: sta...@vger.kernel.org Signed-off-by: J

Re: [PATCH v3 2/2] powerpc/uaccess: Add pre-update addressing to __get_user_asm() and __put_user_asm()

2020-08-12 Thread Segher Boessenkool
On Wed, Aug 12, 2020 at 12:25:17PM +, Christophe Leroy wrote: > Enable pre-update addressing mode in __get_user_asm() and __put_user_asm() > > Signed-off-by: Christophe Leroy > --- > v3: new, splited out from patch 1. It still looks fine to me, you can keep my Reviewed-by: :-) Segher

[PATCH net 2/2] net: ethernet: stmmac: Disable hardware multicast filter

2020-08-12 Thread Jonathan McDowell
The IPQ806x does not appear to have a functional multicast ethernet address filter. This was observed as a failure to correctly receive IPv6 packets on a LAN to the all stations address. Checking the vendor driver shows that it does not attempt to enable the multicast filter and instead falls back

Re: [PATCH v3 1/2] dt-bindings: sound: add DT bindings for Microchip S/PDIF TX Controller

2020-08-12 Thread Rob Herring
On Mon, 03 Aug 2020 11:18:50 +0300, Codrin Ciubotariu wrote: > This patch adds DT bindings for the new Microchip S/PDIF TX Controller > embedded inside sama7g5 SoCs. > > Signed-off-by: Codrin Ciubotariu > --- > > Changes in v3: > - removed 'oneOf' from 'compatible' property; > - added 'maxItem

Re: [PATCH 1/2 v3] rseq/membarrier: add MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ

2020-08-12 Thread Mathieu Desnoyers
- On Aug 12, 2020, at 2:48 PM, Peter Oskolkov p...@posk.io wrote: > On Wed, Aug 12, 2020 at 11:30 AM Mathieu Desnoyers > wrote: > > [...] > >> "flags" is there to allow extensibility without requiring to add new >> membarrier commands for every change. Even though it is not used now, >> I d

Re: [PATCH v3 1/3] dt-bindings: pinctrl: mt8192: add pinctrl file

2020-08-12 Thread Rob Herring
On Fri, 07 Aug 2020 15:49:03 +0800, Zhiyong Tao wrote: > This patch adds pinctrl file for mt8192. > > Signed-off-by: Zhiyong Tao > --- > include/dt-bindings/pinctrl/mt8192-pinfunc.h | 1344 ++ > 1 file changed, 1344 insertions(+) > create mode 100644 include/dt-bindings/pinctrl/

Re: [PATCH v3 2/3] dt-bindings: pinctrl: mt8192: add binding document

2020-08-12 Thread Rob Herring
On Fri, Aug 07, 2020 at 03:49:04PM +0800, Zhiyong Tao wrote: > The commit adds mt8192 compatible node in binding document. > > Signed-off-by: Zhiyong Tao > --- > .../bindings/pinctrl/pinctrl-mt8192.yaml | 149 ++ > 1 file changed, 149 insertions(+) > create mode 100755 > D

[PATCH v33 0/6] LP50xx addition and remainder Multicolor patches

2020-08-12 Thread Dan Murphy
Hello These are the final patches from the original multicolor framework patchset. Changes made were to the LP50xx to rework regmap_defaults to eliminate used only once #defines. Also fixed putting the child node in the dt parsing and changed regmap regcache type to flat. Dan Dan Murphy (6):

[PATCH v33 4/6] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-08-12 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked-by: T

[PATCH v33 3/6] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-08-12 Thread Dan Murphy
The dependencies for the LP55XX LED drivers have been updated so that the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config flag as opposed to the device selecting the LP55XX_COMMON flag. The LP55XX_COMMON needs to be set in the defconfig. Acked-by: Linus Walleij Signed-off-by:

[PATCH v33 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-08-12 Thread Dan Murphy
Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 can control RGB LEDs individually or as part of a control bank group. These devices have the ability to adjust the mixing control for the RGB LEDs to o

[PATCH v33 2/6] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-08-12 Thread Dan Murphy
Introduce the LP5036/30/24/18/12/9 RGB LED driver. The difference in these parts are the number of LED outputs where the: LP5036 can control 36 LEDs LP5030 can control 30 LEDs LP5024 can control 24 LEDs LP5018 can control 18 LEDs LP5012 can control 12 LEDs LP5009 can control 9 LEDs The device has

[PATCH v33 6/6] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-08-12 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus W

[PATCH v33 5/6] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-08-12 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Acked-by: Pavel Machek Signed-off-by:

Re: [PATCH v7] Add a "nosymfollow" mount option.

2020-08-12 Thread Ross Zwisler
On Wed, Aug 12, 2020 at 12:36 PM Matthew Wilcox wrote: > On Tue, Aug 11, 2020 at 04:28:03PM -0600, Ross Zwisler wrote: > > diff --git a/include/uapi/linux/mount.h b/include/uapi/linux/mount.h > > index 96a0240f23fed..dd8306ea336c1 100644 > > --- a/include/uapi/linux/mount.h > > +++ b/include/uapi/

Re: [PATCH 0/3] kbuild: clang-tidy

2020-08-12 Thread Nathan Huckleberry
On Wed, Aug 12, 2020 at 12:40 PM Masahiro Yamada wrote: > > > I improved gen_compile_commands.py in the first two patches, > then rebased Nathan's v7 [1] on top of them. > To save time, I modified the Makefile part. > No change for run-clang-tools.py > > I am not sure if the new directory, scripts

Re: [PATCH v2 1/3] dt-bindings: pinctrl: Add bindings for Actions S500 SoC

2020-08-12 Thread Rob Herring
On Mon, Aug 03, 2020 at 05:20:54PM +0300, Cristian Ciocaltea wrote: > Add pinctrl and gpio bindings for Actions Semi S500 SoC. > > Signed-off-by: Cristian Ciocaltea > --- > Changes in v2: > - Added myself to the list of maintainers, per Mani's suggestion > - Added a description item for each of

Re: file metadata via fs API

2020-08-12 Thread Linus Torvalds
On Wed, Aug 12, 2020 at 12:34 PM Steven Whitehouse wrote: > > The point of this is to give us the ability to monitor mounts from > userspace. We haven't had that before, I don't see why it's suddenly such a big deal. The notification side I understand. Polling /proc files is not the answer. But

Re: [PATCH v2 1/2] dt-bindings: leds: pca955x: Add IBM implementation compatible string

2020-08-12 Thread Rob Herring
On Mon, 03 Aug 2020 09:50:54 -0500, Eddie James wrote: > IBM created an implementation of the PCA9552 on a PIC16F > microcontroller. Document the new compatible string for this device. > > Signed-off-by: Eddie James > --- > Documentation/devicetree/bindings/leds/leds-pca955x.txt | 1 + > 1 file

Re: [GIT PULL] Ceph updates for 5.9-rc1

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Aug 2020 19:19:49 +0200: > https://github.com/ceph/ceph-client.git tags/ceph-for-5.9-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7c2a69f610e64c8dec6a06a66e721f4ce1dd783a Thank you! -- Deet-doot-dot, I am a bot. https://kor

Re: [git pull] drm fixes for 5.9-rc1

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Aug 2020 14:53:17 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-08-12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ea6ec774372740b024a6c27caac0d0af8960ea15 Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [GIT PULL] parisc architecture updates for kernel v5.9

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Aug 2020 15:57:50 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-5.9-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7a02c8d45bbf65cf432292c2032147fa7529de58 Thank you! -- Deet-doot-dot,

Re: [GIT PULL REQUEST] watchdog - v5.9 Merge window

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Aug 2020 13:39:03 +0200: > git://www.linux-watchdog.org/linux-watchdog.git tags/linux-watchdog-5.9-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4586039427fab2b8c4edd49c73002e13e04315cf Thank you! -- Deet-doot-dot, I am a bo

Re: [GIT PULL] More clk changes for the merge window

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Aug 2020 10:39:42 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/05a5b5d8a2cd82e2bf5a01ad064efa396ec7fbef Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] VFIO updates for v5.9-rc1

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Tue, 11 Aug 2020 20:31:47 -0600: > git://github.com/awilliam/linux-vfio.git tags/vfio-v5.9-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/407bc8d81837197ef02c7296f8068d3bf2c96f53 Thank you! -- Deet-doot-dot, I am a bot. https://korg.

Re: [GIT PULL] Second batch of KVM changes for Linux 5.9

2020-08-12 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Aug 2020 04:29:38 -0400: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8cd84b709647a015790a94bc809068b7a55cc05a Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Frank Wunderlich
Tested with these 2 changes below too. Am 12. August 2020 14:08:19 MESZ schrieb Philipp Zabel : >> +if (!IS_ERR(host->reset)) { >> +reset_control_assert(host->reset); >> +usleep_range(10, 50); >> +reset_control_deassert(host->reset); >> +} >> + > >This

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-12 Thread Peter Zijlstra
On Wed, Aug 12, 2020 at 06:37:57PM +0200, Ard Biesheuvel wrote: > I know there is little we can do at this point, apart from ignoring > the permissions - perhaps we should just defer the w^x check until > after calling module_frob_arch_sections()? My earlier suggestion was to ignore it for 0-sized

Re: [PATCH v2] dt-bindings: at25: convert the binding document to yaml

2020-08-12 Thread Rob Herring
On Tue, Aug 04, 2020 at 08:33:07AM +0200, Christian Eggers wrote: > Convert the binding document for at25 EEPROMs from txt to yaml. > > Signed-off-by: Christian Eggers > --- > On Tuesday, 4 August 2020, 00:12:06 CEST, Rob Herring wrote: > > On Sun, Aug 02, 2020 at 07:46:26PM +0200, Christian Egge

Re: [PATCH] task_work: only grab task signal lock when needed

2020-08-12 Thread Peter Zijlstra
On Wed, Aug 12, 2020 at 04:54:23PM +0200, Oleg Nesterov wrote: > I see nothing better than the additional change below. Peter, do you see > another solution? Nope -- although I don't claim to understand the signal code much. > This needs a comment to explain that this mb() pairs with another bar

Re: [PATCH v3] i2c: iproc: fix race between client unreg and isr

2020-08-12 Thread Wolfram Sang
On Mon, Aug 10, 2020 at 05:42:40PM -0700, Dhananjay Phadke wrote: > When i2c client unregisters, synchronize irq before setting > iproc_i2c->slave to NULL. > > (1) disable_irq() > (2) Mask event enable bits in control reg > (3) Erase slave address (avoid further writes to rx fifo) > (4) Flush tx a

Re: [PATCH v2 1/3] dt-bindings: qcom: Add ipq8074 bindings

2020-08-12 Thread Rob Herring
On Thu, 06 Aug 2020 15:02:10 +0530, Gokul Sriram Palanisamy wrote: > Document the new device-tree bindings for boards > HK10-C1 and HK10-C2 based on ipq8074 SoC. > > Signed-off-by: Gokul Sriram Palanisamy > --- > Documentation/devicetree/bindings/arm/qcom.yaml | 4 > 1 file changed, 4 inser

Re: [PATCH net v2] vsock: fix potential null pointer dereference in vsock_poll()

2020-08-12 Thread David Miller
From: Stefano Garzarella Date: Wed, 12 Aug 2020 14:56:02 +0200 > syzbot reported this issue where in the vsock_poll() we find the > socket state at TCP_ESTABLISHED, but 'transport' is null: > general protection fault, probably for non-canonical address > 0xdc12: [#1] PREEMPT S

Re: [PATCH 2/2 v3] rseq/selftests: test MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ

2020-08-12 Thread Mathieu Desnoyers
- On Aug 10, 2020, at 8:09 PM, Peter Oskolkov p...@google.com wrote: > Based on Google-internal RSEQ work done by > Paul Turner and Andrew Hunter. > > This patch adds a selftest for MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ. > The test quite often fails without the previous patch in this patchset

Re: [PATCH net 0/2] net: stmmac: Fix multicast filter on IPQ806x

2020-08-12 Thread David Miller
From: Jonathan McDowell Date: Wed, 12 Aug 2020 20:36:54 +0100 > This pair of patches are the result of discovering a failure to > correctly receive IPv6 multicast packets on such a device (in particular > DHCPv6 requests and RA solicitations). Putting the device into > promiscuous mode, or allmul

Re: [PATCH] i2c: mv64xxx: Add bus error recovery

2020-08-12 Thread Wolfram Sang
On Wed, Jul 08, 2020 at 09:10:36AM +1200, Mark Tomlinson wrote: > This adds i2c bus recovery to the mv64xxx driver. > > Implement bus recovery to recover from SCL/SDA stuck low. > > This uses the generic recovery function, setting the clock/data lines as > GPIO pins, and sending 9 clocks to try a

Re: [Cocci] [PATCH] scripts: coccicheck: Change default value for parallelism

2020-08-12 Thread Julia Lawall
On Wed, 12 Aug 2020, Sumera Priyadarsini wrote: > By default, coccicheck utilizes all available threads to implement > parallelisation. However, when hyperthreading is enabled, this leads > to all threads per core being occupied resulting in longer wall-clock > times and higher power consumptio

[PATCH 0/3] usb: Add driver for USB signal re-mapper

2020-08-12 Thread Al Cooper
The Broadcom 7211 has new functionality that allows some USB low speed side band signals, that go from the XHCI host controller to pins on the chip, to be remapped to use any GPIO pin instead of the limited set selectable by hardware. This can be done without changing the standard driver for the ho

[PATCH 1/3] dt-bindings: Add support for Broadcom USB pin map driver

2020-08-12 Thread Al Cooper
Add DT bindings for the Broadcom USB pin map driver. This driver allows some USB input and output signals to be mapped to any GPIO instead of the normal dedicated pins to/from the XHCI controller. Signed-off-by: Al Cooper --- .../bindings/usb/brcm,usb-pinmap.yaml | 63 +++

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2020-08-12 Thread Zwane Mwaikambo
On Wed, 12 Aug 2020, Lyude Paul wrote: > On Wed, 2020-08-12 at 16:10 +0200, Daniel Vetter wrote: > > On Wed, Aug 12, 2020 at 12:16 AM Zwane Mwaikambo wrote: > > > On Tue, 11 Aug 2020, Daniel Vetter wrote: > > > > > > > On Mon, Aug 10, 2020 at 10:11:50AM -0700, Zwane Mwaikambo wrote: > > > > > Hi

[PATCH 3/3] usb: Add Kconfig and Makefile changes to build brcmstb-usb-pinmap

2020-08-12 Thread Al Cooper
From: Al Cooper Add Kconfig and Makefile changes to build brcmstb-usb-pinmap and update MAINTAINERS for the new driver. refs #SWLINUX-5537 Signed-off-by: Al Cooper --- MAINTAINERS | 8 drivers/usb/host/Kconfig | 4 drivers/usb/host/Makefile | 1 + 3 files changed,

[PATCH 2/3] usb: Add driver to allow any GPIO to be used for 7211 USB signals

2020-08-12 Thread Al Cooper
From: Al Cooper The Broadcom 7211 has new functionality that allows some USB low speed side band signals, that go from the XHCI host controller to pins on the chip, to be remapped to use any GPIO pin instead of the limited set selectable by hardware. This can be done without changing the standard

Re: [Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer dereference in hfs_find_init()

2020-08-12 Thread Ernesto A . Fernández
Hi, On Wed, Aug 12, 2020 at 11:59:04AM +0300, Dan Carpenter wrote: > Yeah, the patch doesn't work at all. I looked at one call tree and it > is: > > hfs_mdb_get() tries to allocate HFS_SB(sb)->ext_tree. > > HFS_SB(sb)->ext_tree = hfs_btree_open(sb, HFS_EXT_CNID, hfs_ext_keycmp); >

Re: [PATCH v2] PCI: Introduce flag for detached virtual functions

2020-08-12 Thread Alex Williamson
On Wed, 12 Aug 2020 15:21:11 -0400 Matthew Rosato wrote: > s390x has the notion of providing VFs to the kernel in a manner > where the associated PF is inaccessible other than via firmware. > These are not treated as typical VFs and access to them is emulated > by underlying firmware which can st

Re: [Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer dereference in hfs_find_init()

2020-08-12 Thread Ernesto A . Fernández
On Wed, Aug 12, 2020 at 05:24:20PM -0300, Ernesto A. Fernández wrote: > If that's what the reproducer is about, I think just returning an error is > reasonable. I guess it would be better to put a check inside hfsplus_inode_read_fork(), to verify that the first extent is always in the right place

Re: [PATCH 1/2] nfsd: Remove unnecessary assignment in nfs4xdr.c

2020-08-12 Thread Frank van der Linden
On Wed, Aug 12, 2020 at 03:12:51PM +0100, Alex Dewar wrote: > > In nfsd4_encode_listxattrs(), the variable p is assigned to at one point > but this value is never used before p is reassigned. Fix this. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Alex Dewar > --- > fs/nfsd/nfs4xdr.

Re: [PATCH v6 0/4] LSM: Measure security module data

2020-08-12 Thread Lakshmi Ramasubramanian
On 8/5/20 11:25 AM, Casey Schaufler wrote: I think moving away from the idea that measuring "critical" data should be limited to LSMs, will clarify this. Are you suggesting that instead of calling the hooks LSM_STATE and LSM_POLICY, we should keep it more generic so that it can be utilized

Re: [PATCH 2/2] nfsd: Fix typo in comment

2020-08-12 Thread Frank van der Linden
On Wed, Aug 12, 2020 at 03:12:52PM +0100, Alex Dewar wrote: > > Fix typos in nfs4xdr.c. > > Signed-off-by: Alex Dewar > --- > fs/nfsd/nfs4xdr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c > index 1a0341fd80f9a..3db789139a71f 10

Re: [PATCH bpf-next] bpf: fix load XDP program error in test_xdp_vlan

2020-08-12 Thread sdf
On 08/12, Jianlin Lv wrote: test_xdp_vlan.sh reports the error as below: $ sudo ./test_xdp_vlan_mode_native.sh + '[' -z xdp_vlan_mode_native ']' + XDP_MODE=xdpgeneric …… + export XDP_PROG=xdp_vlan_remove_outer2 + XDP_PROG=xdp_vlan_remove_outer2 + ip netns exec ns1 ip link set veth1 xdpdrv off

Re: [rcu:dev.2020.08.10a 105/111] main.c:undefined reference to `rcu_read_unlock_strict'

2020-08-12 Thread Paul E. McKenney
On Wed, Aug 12, 2020 at 07:39:54AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2020.08.10a > head: 9dd4d242c535c30266a08806314ea6b016f94617 > commit: 9e20110f8ef2745df8f4fe2d679114dccfaaa1af [105/111] rcu: Report QS for >

Re: [RFC PROPOSAL] memcg: per-memcg user space reclaim interface

2020-08-12 Thread Shakeel Butt
Hi Michal, On Tue, Aug 11, 2020 at 10:36 AM Michal Koutný wrote: > > Hi Shakeel. > > On Tue, Jul 07, 2020 at 10:02:50AM -0700, Shakeel Butt > wrote: > > > Well, I was talkingg about memory.low. It is not meant only to protect > > > from the global reclaim. It can be used for balancing memory re

[PATCH] drm/nouveau: Add fine-grain temperature reporting

2020-08-12 Thread Jeremy Cline
Commit d32656373857 ("drm/nouveau/therm/gp100: initial implementation of new gp1xx temperature sensor") added support for reading finer-grain temperatures, but continued to report temperatures in 1 degree Celsius increments via nvkm_therm_temp_get(). Rather than altering nvkm_therm_temp_get() to r

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:1240 i40e_set_vsi_promisc() error: uninitialized symbol 'aq_ret'.

2020-08-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb893de323e2d39f7a1f6df425703a2edbdf56ea commit: 37d318d7805f25b672bfd74fc694f19a2ee9665d i40e: Remove scheduling while atomic possibility date: 7 weeks ago config: parisc-randconfig-m031-20200811 (attache

[RESEND PATCH] nvme: Use spin_lock_irqsave() when taking the ctrl->lock

2020-08-12 Thread Logan Gunthorpe
When locking the ctrl->lock spinlock IRQs need to be disabled to avoid a dead lock. The new spin_lock() calls recently added produce the following lockdep warning when running the blktest nvme/003: WARNING: inconsistent lock state --

Re: [PATCH v2] RAS/CEC: Fix cec_init prototype

2020-08-12 Thread Sami Tolvanen
Hi Luca, On Wed, Aug 05, 2020 at 11:57:08AM +0200, Luca Stefani wrote: > * late_initcall expects a function that returns an integer > -> Update the function signature to match. > > Fixes: 9554bfe403nd ("x86/mce: Convert the CEC to use the MCE notifier") > Signed-off-by: Luca Stefani Thank you

[tip:irq/urgent] BUILD SUCCESS e27b1636e9337d1a1d174b191e53d0f86421a822

2020-08-12 Thread kernel test robot
randconfig-a005-20200812 i386 randconfig-a001-20200812 i386 randconfig-a002-20200812 i386 randconfig-a003-20200812 i386 randconfig-a006-20200812 i386 randconfig-a004-20200812 i386 randconfig-a016

Re: [PATCH v2 15/20] fuse, dax: Take ->i_mmap_sem lock during dax page fault

2020-08-12 Thread Vivek Goyal
On Wed, Aug 12, 2020 at 11:23:45AM +1000, Dave Chinner wrote: > On Tue, Aug 11, 2020 at 01:55:30PM -0400, Vivek Goyal wrote: > > On Tue, Aug 11, 2020 at 08:22:38AM +1000, Dave Chinner wrote: > > > On Fri, Aug 07, 2020 at 03:55:21PM -0400, Vivek Goyal wrote: > > > > We need some kind of locking mech

Re: [PATCH v2 0/2] KVM: x86/mmu: Zap orphaned kids for nested TDP MMU

2020-08-12 Thread Ben Gardon
On Wed, Aug 12, 2020 at 12:28 PM Sean Christopherson wrote: > > As promised, albeit a few days late. > > Ben, I kept your performance numbers even though it this version has > non-trivial differences relative to what you tested. I assume we'll need > a v3 anyways if this doesn't provide the adver

Re: [RESEND PATCH] nvme: Use spin_lock_irqsave() when taking the ctrl->lock

2020-08-12 Thread Keith Busch
On Wed, Aug 12, 2020 at 03:01:19PM -0600, Logan Gunthorpe wrote: > @@ -2971,15 +2971,16 @@ int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 > log_page, u8 lsp, u8 csi, > static struct nvme_cel *nvme_find_cel(struct nvme_ctrl *ctrl, u8 csi) > { > struct nvme_cel *cel, *ret = NULL; > +

Re: [RFC 2/7] KVM: VMX: Expose IA32_PKRS MSR

2020-08-12 Thread Jim Mattson
On Fri, Aug 7, 2020 at 1:46 AM Chenyi Qiang wrote: > > Protection Keys for Supervisor Pages (PKS) uses IA32_PKRS MSR (PKRS) at > index 0x6E1 to allow software to manage supervisor protection key > rights. For performance consideration, PKRS intercept will be disabled > so that the guest can access

Re: KASAN: use-after-free Read in path_init (2)

2020-08-12 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:fb893de3 Merge tag 'tag-chrome-platform-for-v5.9' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16139be290 kernel config: https://syzkaller.appspot.com/x/.config?x=f1fedc6

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Al Viro
On Wed, Aug 12, 2020 at 07:33:26PM +0100, Al Viro wrote: > BTW, what would such opened files look like from /proc/*/fd/* POV? And > what would happen if you walk _through_ that symlink, with e.g. ".." > following it? Or with names of those attributes, for that matter... > What about a normal ope

Re: [RESEND PATCH] nvme: Use spin_lock_irqsave() when taking the ctrl->lock

2020-08-12 Thread Logan Gunthorpe
On 2020-08-12 3:19 p.m., Keith Busch wrote: > On Wed, Aug 12, 2020 at 03:01:19PM -0600, Logan Gunthorpe wrote: >> @@ -2971,15 +2971,16 @@ int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, >> u8 log_page, u8 lsp, u8 csi, >> static struct nvme_cel *nvme_find_cel(struct nvme_ctrl *ctrl, u8 csi)

Re: [PATCH] dt-bindings: Whitespace clean-ups in schema files

2020-08-12 Thread Sam Ravnborg
Hi Rob. On Wed, Aug 12, 2020 at 02:36:18PM -0600, Rob Herring wrote: > Clean-up incorrect indentation, extra spaces, long lines, and missing > EOF newline in schema files. Most of the clean-ups are for list > indentation which should always be 2 spaces more than the preceding > keyword. > > Found

[GIT PULL] RTC for 5.9

2020-08-12 Thread Alexandre Belloni
Hello Linus, I'm sorry for the very late pull request. There is not much this cycle anyway, mostly non urgent fixes. The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kern

Re: [PATCH][next] printk: reduce LOG_BUF_SHIFT range for H8300

2020-08-12 Thread Steven Rostedt
On Wed, 12 Aug 2020 09:37:22 +0206 John Ogness wrote: > The .bss section for the h8300 is relatively small. A value of > CONFIG_LOG_BUF_SHIFT that is larger than 19 will create a static > printk ringbuffer that is too large. Limit the range appropriately > for the H8300. > > Reported-by: kernel

Re: [PATCH 2/3] ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table

2020-08-12 Thread David Miller
From: Mathieu Desnoyers Date: Tue, 11 Aug 2020 15:50:02 -0400 > @@ -465,6 +465,7 @@ static struct rtable *icmp_route_lookup(struct net *net, > int type, int code, > struct icmp_bxm *param) > { > + struct net_device *

[PATCH] overflow: Add __must_check attribute to check_*() helpers

2020-08-12 Thread Kees Cook
Since the destination variable of the check_*_overflow() helpers will contain a wrapped value on failure, it would be best to make sure callers really did check the return result of the helper. Adjust the macros to use a bool-wrapping static inline that is marked with __must_check. This means the m

Re: [PATCH 1/3] gen_compile_commands: parse only the first line of .*.cmd files

2020-08-12 Thread Nick Desaulniers
On Wed, Aug 12, 2020 at 10:40 AM Masahiro Yamada wrote: > > After the allmodconfig build, this script takes about 5 sec on my > machine. Most of the run-time is consumed for needless regex matching. > > We know the format of .*.cmd file; the first line is the build command. > There is no need to p

Re: [PATCH 3/3] usb: Add Kconfig and Makefile changes to build brcmstb-usb-pinmap

2020-08-12 Thread kernel test robot
Hi Al, I love your patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on linux/master linus/master v5.8 next-20200812] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH] docs: cdrom: Fix a typo and rst markup

2020-08-12 Thread Remi Andruccioli
On Tue, 11 Aug 2020 18:44:32 +0200, Jonathan Corbet wrote: > On Sat, 8 Aug 2020 18:31:23 +0200 > Remi Andruccioli wrote: > >> "The capability fags" should be "The capability flags". >> >> In rst markup, a incorrect markup expression is causing bad rendering in >> Sphinx output. Replace the e

Re: [PATCH v17 1/3] dt-bindings: Add bindings for Mediatek matrix keypad

2020-08-12 Thread Dmitry Torokhov
Hi, On Tue, Aug 11, 2020 at 09:47:23AM +0800, Yingjoe Chen wrote: > Hi, > > > On Mon, 2020-08-10 at 14:40 +0800, Fengping Yu wrote: > > From: "fengping.yu" > > > > This patch add devicetree bindings for Mediatek matrix keypad driver. > > > > Signed-off-by: fengping.yu > > --- > > .../device

[PATCH] tools build feature: Quote CC and CXX for their arguments

2020-08-12 Thread Daniel Díaz
When using a cross-compilation environment, such as OpenEmbedded, the CC an CXX variables are set to something more than just a command: there are arguments (such as --sysroot) that need to be passed on to the compiler so that the right set of headers and libraries are used. For the particular cas

Re: [PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-12 Thread Nick Desaulniers
On Wed, Aug 12, 2020 at 10:40 AM Masahiro Yamada wrote: > > Currently, you need to explicitly run scripts/gen_compile_commands.py > to create compile_commands.json. It traverses the object tree > (you need to pass the -d option to deal with a separate output tree), > and parses all the .*.cmd file

Re: [PATCH] dt-bindings: Whitespace clean-ups in schema files

2020-08-12 Thread Joe Perches
On Wed, 2020-08-12 at 14:36 -0600, Rob Herring wrote: > Clean-up incorrect indentation, extra spaces, long lines, and missing > EOF newline in schema files. Most of the clean-ups are for list > indentation which should always be 2 spaces more than the preceding

Re: [PATCH v17 1/3] dt-bindings: Add bindings for Mediatek matrix keypad

2020-08-12 Thread Dmitry Torokhov
Hi, On Mon, Aug 10, 2020 at 02:40:57PM +0800, Fengping Yu wrote: > From: "fengping.yu" > > This patch add devicetree bindings for Mediatek matrix keypad driver. > > Signed-off-by: fengping.yu > --- > .../devicetree/bindings/input/mtk-kpd.yaml| 87 +++ > 1 file changed, 87

Re: [PATCH] dt-bindings: Whitespace clean-ups in schema files

2020-08-12 Thread Rob Herring
On Wed, Aug 12, 2020 at 3:34 PM Sam Ravnborg wrote: > > Hi Rob. > > On Wed, Aug 12, 2020 at 02:36:18PM -0600, Rob Herring wrote: > > Clean-up incorrect indentation, extra spaces, long lines, and missing > > EOF newline in schema files. Most of the clean-ups are for list > > indentation which shoul

drivers/md/raid5.c:7902 raid5_start_reshape() warn: statement has no effect 31

2020-08-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c2a69f610e64c8dec6a06a66e721f4ce1dd783a commit: 55f3560df975f557c48aa6afc636808f31ecb87a seqlock: Extend seqcount API with associated locks date: 2 weeks ago config: i386-randconfig-m031-20200811 (attache

<    2   3   4   5   6   7   8   9   10   >