Re: [PATCH v3 0/2] Recommend blocklist/allowlist instead of blacklist/whitelist

2020-06-10 Thread Joe Perches
On Wed, 2020-06-10 at 08:52 +0200, SeongJae Park wrote: > This patchset 1) adds support of deprecated terms in the 'checkpatch.pl' > and 2) set the 'blacklist' and 'whitelist' as deprecated with > replacement suggestion of 'blocklist' and 'allowlist', because the > suggestions are incontrovertible,

Re: [PATCH v3] soc: samsung: Add simple voltage coupler for Exynos5800

2020-06-10 Thread Krzysztof Kozlowski
On Tue, Jun 09, 2020 at 12:42:21PM +0200, Marek Szyprowski wrote: > Add a simple custom voltage regulator coupler for Exynos5800 SoCs, which > require coupling between "vdd_arm" and "vdd_int" regulators. This coupler > ensures that the voltage values don't go below the bootloader-selected > operati

Re: [PATCH v3 02/15] PCI: Add macro for message signalled interrupt types

2020-06-10 Thread Christoph Hellwig
On Tue, Jun 09, 2020 at 06:22:40PM +0200, Piotr Stankiewicz wrote: > There are several places in the kernel which check/ask for MSI or MSI-X > interrupts. It would make sense to have a macro which defines all types > of message signalled interrupts, to use in such situations. Add > PCI_IRQ_MSI_TYPE

Re: [PATCH V3] vdpa: introduce virtio pci driver

2020-06-10 Thread Michael S. Tsirkin
On Wed, Jun 10, 2020 at 02:52:17PM +0800, Jason Wang wrote: > This patch introduce a vDPA driver for virtio-pci device. It bridges > the virtio-pci control command to the vDPA bus. This will be used for > developing new features for both software vDPA framework and hardware > vDPA feature. > > Com

Re: stable-rc 5.4: libhugetlbfs fallocate_stress.sh: Unable to handle kernel paging request at virtual address ffff00006772f000

2020-06-10 Thread Naresh Kamboju
On Thu, 14 May 2020 at 22:01, Mike Kravetz wrote: > > On 5/13/20 11:40 PM, Michal Hocko wrote: > > On Wed 13-05-20 23:11:40, Naresh Kamboju wrote: > >> While running libhugetlbfs fallocate_stress.sh on stable-rc 5.4 branch > >> kernel > >> on arm64 hikey device. The following kernel Internal erro

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-10 Thread Michael Walle
Am 2020-06-09 21:45, schrieb Lee Jones: On Tue, 09 Jun 2020, Michael Walle wrote: Am 2020-06-09 17:19, schrieb Lee Jones: > On Tue, 09 Jun 2020, Michael Walle wrote: > > > Am 2020-06-09 08:47, schrieb Lee Jones: > > > On Mon, 08 Jun 2020, Michael Walle wrote: > > > > > > > Am 2020-06-08 20:56,

Re: [PATCH v3 1/7] Documentation: dynamic-debug: Add description of level bitmask

2020-06-10 Thread Greg Kroah-Hartman
On Tue, Jun 09, 2020 at 11:35:31PM -0700, Joe Perches wrote: > On Wed, 2020-06-10 at 08:31 +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 09, 2020 at 09:58:07AM -0700, Joe Perches wrote: > > > On Tue, 2020-06-09 at 13:16 +0200, Greg Kroah-Hartman wrote: > > > > What is wrong with the existing con

Re: [PATCH 5.4 00/34] 5.4.46-rc1 review

2020-06-10 Thread Naresh Kamboju
On Tue, 9 Jun 2020 at 23:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.46 release. > There are 34 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. > > Respo

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-10 Thread Greg Kroah-Hartman
On Tue, Jun 09, 2020 at 04:04:00PM -0500, Bjorn Helgaas wrote: > On Sun, Jun 07, 2020 at 01:36:32PM +0200, Greg Kroah-Hartman wrote: > > > Your "problem" I think can be summed up a bit more concise: > > - you don't trust kernel drivers to be "secure" for untrusted > > devices > > - y

Re: [PATCH] drm/sun4i: hdmi ddc clk: Fix size of m divider

2020-06-10 Thread Maxime Ripard
On Thu, Jun 04, 2020 at 01:19:32PM +0800, Chen-Yu Tsai wrote: > On Wed, Apr 22, 2020 at 5:23 PM Maxime Ripard wrote: > > > > Hi, > > > > On Wed, Apr 15, 2020 at 07:52:28PM +0200, Jernej Škrabec wrote: > > > Dne sreda, 15. april 2020 ob 12:42:14 CEST je Maxime Ripard napisal(a): > > > > On Mon, Apr

RE: [PATCH 1/1] tty: fix spelling mistake

2020-06-10 Thread Flavio Suligoi
Hi Joe, > On Tue, 2020-06-09 at 18:02 +0200, Flavio Suligoi wrote: > > Fix typo: "tigger" --> "trigger" > > Thanks. > > fyi: > > $ git grep -w -i tigger Thanks for your suggestion! > drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c: > * software tigger (systrig, hrtimer). > drivers/l

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-10 Thread Greg Kroah-Hartman
On Tue, Jun 09, 2020 at 04:23:54PM -0700, Rajat Jain wrote: > The one thing that still needs more thought is how about the > "pcieport" driver that enumerates the PCI bridges. I'm unsure if it > needs to be whitelisted for further enumeration downstream. What do > you think? Why not just do whatev

Re: [PATCH v3 1/2] checkpatch: support deprecated terms checking

2020-06-10 Thread Joe Perches
On Wed, 2020-06-10 at 08:52 +0200, SeongJae Park wrote: > From: SeongJae Park > > Some terms could be deprecated for various reasons, but it is hard to > update the entire old usages. That said, we could at least encourage > new patches to use the suggested replacements. This commit adds check

Re: next-0519 on thinkpad x60: sound related? window manager crash

2020-06-10 Thread Christoph Hellwig
On Tue, Jun 09, 2020 at 10:26:45PM -0700, David Rientjes wrote: > If this option should not implicitly be set for DMA_COHERENT_POOL, then I > assume we need yet another Kconfig option since DMA_REMAP selected it > before and DMA_COHERENT_POOL selects DMA_REMAP :) Yes, but what do we actually nee

[PATCH] efi/libstub: Fix build error with libstub

2020-06-10 Thread Zhenzhong Duan
Got below error during build: In file included from drivers/firmware/efi/libstub/efi-stub-helper.c:16:0: drivers/firmware/efi/libstub/efi-stub-helper.c: In function ‘efi_char16_puts’: arch/x86/include/asm/efi.h:355:3: sorry, unimplemented: ms_abi attribute requires -maccumulate-outgoing-arg

RE: [PATCH] scsi: ufs-bsg: Fix runtime PM imbalance on error

2020-06-10 Thread Avri Altman
Hi, > Avri: Please review! > > > When ufs_bsg_alloc_desc_buffer() returns an error code, > > a pairing runtime PM usage counter decrement is needed > > to keep the counter balanced. > > > > Signed-off-by: Dinghao Liu Please add: Fixes: 74e5e468b664 (scsi: ufs-bsg: Wake the device before sending

Lockdep warning after `mdadm -S`

2020-06-10 Thread Michał Mirosław
Dear Developers, I found a lockdep warning in dmesg some after doing 'mdadm -S' while also having btrfs mounted (light to none I/O load). Disks under MD and btrfs are unrelated. Best Regards, Michał Mirosław == WARNING: possible circular locki

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-10 Thread Lee Jones
On Wed, 10 Jun 2020, Michael Walle wrote: > Am 2020-06-09 21:45, schrieb Lee Jones: > > On Tue, 09 Jun 2020, Michael Walle wrote: > > > > We do not need a 'simple-regmap' solution for your use-case. > > > > > > > > Since your device's registers are segregated, just split up the > > > > register map

Re: [PATCH 4.19 00/25] 4.19.128-rc2 review

2020-06-10 Thread Naresh Kamboju
On Wed, 10 Jun 2020 at 00:48, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.128 release. > There are 25 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. > > Re

Re: [PATCH v2] x86/mm: use max memory block size on bare metal

2020-06-10 Thread David Hildenbrand
On 10.06.20 00:54, Daniel Jordan wrote: > Some of our servers spend significant time at kernel boot initializing > memory block sysfs directories and then creating symlinks between them > and the corresponding nodes. The slowness happens because the machines > get stuck with the smallest supported

Re: [PATCH 03/10] media: mtk-vcodec: venc: support SCP firmware

2020-06-10 Thread Tiffany Lin
On Wed, 2020-05-20 at 17:27 +0900, Alexandre Courbot wrote: > From: Yunfei Dong > > Support the new extended firmware used by MT8183's encoder. > Acked-by: Tiffany Lin > Signed-off-by: Yunfei Dong > [acourbot: refactor, cleanup and split] > Co-developed-by: Alexandre Courbot > Signed-off-by

Re: [PATCH v3 1/7] Documentation: dynamic-debug: Add description of level bitmask

2020-06-10 Thread Joe Perches
On Wed, 2020-06-10 at 09:09 +0200, Greg Kroah-Hartman wrote: > On Tue, Jun 09, 2020 at 11:35:31PM -0700, Joe Perches wrote: > > On Wed, 2020-06-10 at 08:31 +0200, Greg Kroah-Hartman wrote: > > > On Tue, Jun 09, 2020 at 09:58:07AM -0700, Joe Perches wrote: > > > > On Tue, 2020-06-09 at 13:16 +0200,

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-10 Thread Christoph Hellwig
Ok, I finally found the original patch from Vladimir. Comments below: > +++ b/kernel/dma/direct.c > @@ -456,14 +456,14 @@ int dma_direct_mmap(struct device *dev, struct > vm_area_struct *vma, > #else /* CONFIG_MMU */ > bool dma_direct_can_mmap(struct device *dev) > { > - return false; > +

Re: [RFC 1/2] Eliminate over- and under-counting of io_ticks

2020-06-10 Thread Josh Snyder
Hello! On 6/9/20 6:41 PM, Hou Tao wrote: > Hi, > > For the following case, the under-counting is still possible if io2 wins > cmpxchg(): > > t 0123456 > io1|-| > io2 |--| > stamp 0 6 > io_ticks 0 3 I hadn't noticed that bug. It looks like

Re: [PATCH v9 1/4] dt-bindings: power: avs: add mtk svs dt-bindings

2020-06-10 Thread Roger Lu
Dear Rob, Thanks for the feedback. On Tue, 2020-06-09 at 11:36 -0600, Rob Herring wrote: > On Tue, 09 Jun 2020 18:45:31 +0800, Roger Lu wrote: > > Document the binding for enabling mtk svs on MediaTek SoC. > > > > Signed-off-by: Roger Lu > > --- > > .../bindings/power/avs/mtk_svs.yaml

Re: [PATCH 3/7] reset: add BCM6345 reset controller driver

2020-06-10 Thread Philipp Zabel
Hi Álvaro, On Wed, 2020-06-10 at 08:08 +0200, Álvaro Fernández Rojas wrote: > Hi Florian, > > > El 9 jun 2020, a las 22:17, Florian Fainelli > > escribió: > > > > > > > > On 6/9/2020 9:41 AM, Álvaro Fernández Rojas wrote: > > > > > > If you can do without this, with I think this driver could

Re: [PATCH 4.14 00/46] 4.14.184-rc2 review

2020-06-10 Thread Naresh Kamboju
On Wed, 10 Jun 2020 at 00:48, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.184 release. > There are 46 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. > > Re

Re: [PATCH v2] x86/mm: use max memory block size on bare metal

2020-06-10 Thread David Hildenbrand
On 10.06.20 09:20, David Hildenbrand wrote: > On 10.06.20 00:54, Daniel Jordan wrote: >> Some of our servers spend significant time at kernel boot initializing >> memory block sysfs directories and then creating symlinks between them >> and the corresponding nodes. The slowness happens because the

Re: [PATCH 5/5] gcc-plugins/stackleak: Don't instrument vgettimeofday.c in arm64 VDSO

2020-06-10 Thread Will Deacon
On Tue, Jun 09, 2020 at 12:09:27PM -0700, Kees Cook wrote: > On Thu, Jun 04, 2020 at 02:58:06PM +0100, Will Deacon wrote: > > On Thu, Jun 04, 2020 at 04:49:57PM +0300, Alexander Popov wrote: > > > Don't try instrumenting functions in > > > arch/arm64/kernel/vdso/vgettimeofday.c. > > > Otherwise th

Re: [PATCH] mm/vmscan.c: Fixed typo.

2020-06-10 Thread David Hildenbrand
On 09.06.20 20:51, dylan-meiners wrote: > Changed "optizimation" to "optimization". > > Signed-off-by: dylan-meiners > --- > mm/vmscan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/vmscan.c b/mm/vmscan.c > index b6d84326bdf2..8ac7bf9c3c43 100644 > --- a/mm/vmscan

Re: [PATCH] ARM: defconfig: enable storage for qemu

2020-06-10 Thread LABBE Corentin
On Thu, Mar 05, 2020 at 03:48:23PM +, Corentin Labbe wrote: > The qemu versatilepb machine has some SCSI storage which cannot be used > with this defconfig. > The SCSI rely on PCI which is not enabled. > So let's enable both PCI and SCSI. > > This will permit to use LAVA tests for versatilepb

Re: [PATCH v2 0/3] hwmon: Adding support for Microchip Sparx5 SoC

2020-06-10 Thread Lars Povlsen
Guenter Roeck writes: > On 6/9/20 12:28 AM, Lars Povlsen wrote: >> This is an add-on series to the main SoC Sparx5 series >> (Message-ID: <20200608123024.5330-1-lars.povl...@microchip.com>) >> >> Changes in v2: >> - Changes in driver as per review comments >> > > And you expect the reviewers/mai

RE: [PATCH] scsi: ufs: Bump supported UFS HCI version to 3.0

2020-06-10 Thread Avri Altman
> > Avri: Please review! > > > UFS HCI 3.0 versions are being used in Qcom SM8250 based boards. Hence, > > adding it to the list of supported versions. > > > > I don't have the exact information of the additional registers supported > > in version 3.0. Hence the change just adds 0x300 to the list

Re: [PATCH v4 01/17] media: dt-binding: mtk-vcodec: Separating mtk-vcodec encode node.

2020-06-10 Thread Tiffany Lin
On Wed, 2020-06-10 at 15:46 +0900, Alexandre Courbot wrote: > On Wed, Jun 10, 2020 at 6:21 AM Rob Herring wrote: > > > > On Sat, May 30, 2020 at 04:10:02PM +0800, Yong Wu wrote: > > > From: Maoguang Meng > > > > > > Update binding document since the avc and vp8 hardware encoder in > > > mt8173 ar

Re: [PATCH v3 1/3] crypto: virtio: Fix src/dst scatterlist calculation in __virtio_crypto_skcipher_do_req()

2020-06-10 Thread Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
On 2020/6/5 22:10, Sasha Levin wrote: > <20200123101000.GB24255@Red> > References: <20200602070501.2023-2-longpe...@huawei.com> > <20200123101000.GB24255@Red> > > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: dbaf062

Re: [RFC PATCH 1/3] dt-bindings: Add ARM PSA FF binding for non-secure VM partitions

2020-06-10 Thread Will Deacon
On Tue, Jun 09, 2020 at 04:35:51PM -0600, Rob Herring wrote: > On Mon, Jun 01, 2020 at 10:45:10AM +0100, Sudeep Holla wrote: > > Add devicetree bindings for a Arm PSA FF-A compliant non-secure partition > > at virtual interface(VMs). > > > > Signed-off-by: Sudeep Holla > > --- > > .../devicetree

[PATCH 5/6] can: mcp25xxfd: Optimize TEF read by avoiding unnecessary SPI transfers

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl We have already enough information to know how many tx-messages have been terminated so that we do not have to query TEF every time if there is anything pending but we can read the tefs blindly. This avoids 1 SPI transfer per TEF read. Signed-off-by: Martin Sperl Signed-off-

[PATCH 1/6] dt-bindings: can: Document devicetree bindings for MCP25XXFD

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl Add devicetree YAML bindings for Microchip MCP25XXFD CAN controller. Signed-off-by: Martin Sperl [mani: converted to YAML binding] Signed-off-by: Manivannan Sadhasivam --- .../bindings/net/can/microchip,mcp25xxfd.yaml | 82 +++ 1 file changed, 82 insertions(

[PATCH 6/6] MAINTAINERS: Add entry for Microchip MCP25XXFD CAN network driver

2020-06-10 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for Microchip MCP25XXFD CAN network driver. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b816a453b10e..591b6fc2d83a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10360,6 +10

[PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-10 Thread Manivannan Sadhasivam
Hello, This series adds CAN network driver support for Microchip MCP25XXFD CAN Controller with MCP2517FD as the target controller version. This series is mostly inspired (or taken) from the previous iterations posted by Martin Sperl. I've trimmed down the parts which are not necessary for the init

[PATCH 3/6] can: mcp25xxfd: Add support for CAN reception

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl Add un-optimized CAN2.0 and CAN-FD reception support. On a Rasperry pi 3 it is already able to process CAN2.0 Frames with DLC=0 on a CAN bus with 1MHz without losing any packets on the SPI side. Packets still get lost inside the network stack. Signed-off-by: Martin Sperl [ma

[PATCH 2/6] can: mcp25xxfd: Add Microchip MCP25XXFD CAN-FD driver infrastructure

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl This commit adds basic driver support for the Microchip MCP25XXFD CAN-FD controller series. This driver currently supports MCP2517FD as the target controller. The MCP2517FD is capable of transmitting and receiving standard data frames, extended data frames, remote frames and C

[PATCH 4/6] can: mcp25xxfd: Add CAN transmission support

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl Add un-optimized CAN2.0 and CAN-FD transmission support. On a Rpi3 we can saturate the CAN bus at 1MHz transmitting CAN2.0 frames with DLC=0 for the number of configured tx-fifos. Afterwards we need some time to recover the state before we can fill in the fifos again. With 7

Re: [RFC PATCH] PCI: Remove End-End TLP as PASID dependency

2020-06-10 Thread Jean-Philippe Brucker
On Wed, Jun 10, 2020 at 12:18:14PM +0800, Zhangfei Gao wrote: > Some platform devices appear as PCI and have PCI cfg space, > but are actually on the AMBA bus. > They can support PASID via smmu stall feature, but does not > support tlp since they are not real pci devices. > So remove tlp as a PASID

[RESEND PATCH 2/6] can: mcp25xxfd: Add Microchip MCP25XXFD CAN-FD driver infrastructure

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl This commit adds basic driver support for the Microchip MCP25XXFD CAN-FD controller series. This driver currently supports MCP2517FD as the target controller. The MCP2517FD is capable of transmitting and receiving standard data frames, extended data frames, remote frames and C

[RESEND PATCH 1/6] dt-bindings: can: Document devicetree bindings for MCP25XXFD

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl Add devicetree YAML bindings for Microchip MCP25XXFD CAN controller. Signed-off-by: Martin Sperl [mani: converted to YAML binding] Signed-off-by: Manivannan Sadhasivam --- .../bindings/net/can/microchip,mcp25xxfd.yaml | 82 +++ 1 file changed, 82 insertions(

[RESEND PATCH 4/6] can: mcp25xxfd: Add CAN transmission support

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl Add un-optimized CAN2.0 and CAN-FD transmission support. On a Rpi3 we can saturate the CAN bus at 1MHz transmitting CAN2.0 frames with DLC=0 for the number of configured tx-fifos. Afterwards we need some time to recover the state before we can fill in the fifos again. With 7

[RESEND PATCH 3/6] can: mcp25xxfd: Add support for CAN reception

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl Add un-optimized CAN2.0 and CAN-FD reception support. On a Rasperry pi 3 it is already able to process CAN2.0 Frames with DLC=0 on a CAN bus with 1MHz without losing any packets on the SPI side. Packets still get lost inside the network stack. Signed-off-by: Martin Sperl [ma

[RESEND PATCH 5/6] can: mcp25xxfd: Optimize TEF read by avoiding unnecessary SPI transfers

2020-06-10 Thread Manivannan Sadhasivam
From: Martin Sperl We have already enough information to know how many tx-messages have been terminated so that we do not have to query TEF every time if there is anything pending but we can read the tefs blindly. This avoids 1 SPI transfer per TEF read. Signed-off-by: Martin Sperl Signed-off-

[RESEND PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-10 Thread Manivannan Sadhasivam
Hello, This series adds CAN network driver support for Microchip MCP25XXFD CAN Controller with MCP2517FD as the target controller version. This series is mostly inspired (or taken) from the previous iterations posted by Martin Sperl. I've trimmed down the parts which are not necessary for the init

[RESEND PATCH 6/6] MAINTAINERS: Add entry for Microchip MCP25XXFD CAN network driver

2020-06-10 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for Microchip MCP25XXFD CAN network driver. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b816a453b10e..591b6fc2d83a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10360,6 +10

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-10 Thread Michael Walle
Am 2020-06-10 09:19, schrieb Lee Jones: On Wed, 10 Jun 2020, Michael Walle wrote: Am 2020-06-09 21:45, schrieb Lee Jones: > On Tue, 09 Jun 2020, Michael Walle wrote: > > > We do not need a 'simple-regmap' solution for your use-case. > > > > > > Since your device's registers are segregated, just

Re: [PATCH v2] Bluetooth: hci_qca: Bug fix during SSR timeout

2020-06-10 Thread Marcel Holtmann
Hi Venkata, > Due to race conditions between qca_hw_error and qca_controller_memdump > during SSR timeout,the same pointer is freed twice. This results in a > double free. Now a lock is acquired before checking the stauts of SSR > state. > > Fixes: d841502c79e3 ("Bluetooth: hci_qca: Collect contr

[kmemleak] b751c52bb5: BUG:kernel_hang_in_boot_stage

2020-06-10 Thread kernel test robot
Greeting, FYI, we noticed the following commit (built with gcc-7): commit: b751c52bb587ae66f773b15204ef7a147467f4c7 ("kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu

[FIXED PATCH v4 5/7] iio: adc: exynos: Use input_device_enabled()

2020-06-10 Thread Andrzej Pietrasiewicz
A new helper is available, so use it. Inspecting 'users' member of input_dev requires taking device's mutex. Signed-off-by: Andrzej Pietrasiewicz --- drivers/iio/adc/exynos_adc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/

RE: [PATCH V2] soc: imx8m: Correct i.MX8MP UID fuse offset

2020-06-10 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, June 10, 2020 6:42 AM > > Correct i.MX8MP UID fuse offset according to fuse map: > > UID_LOW: 0x420 > UID_HIGH: 0x430 > > Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver") AFAIK "Fixes:" should point to the original patch whic

Re: data_ring head_lpos and tail_lpos synchronization: was [PATCH v2 2/3] printk: add lockless buffer

2020-06-10 Thread John Ogness
On 2020-06-09, Petr Mladek wrote: >> --- /dev/null >> +++ b/kernel/printk/printk_ringbuffer.c >> +/* >> + * Advance the data ring tail to at least @lpos. This function puts >> + * descriptors into the reusable state if the tail is pushed beyond >> + * their associated data block. >> + */ >> +stati

Re: [PATCH 1/2] dt-bindings: watchdog: intel: Add YAML Schemas for Watchdog timer

2020-06-10 Thread Dilip Kota
On 6/9/2020 9:46 PM, Guenter Roeck wrote: On 6/9/20 1:57 AM, Dilip Kota wrote: On 6/8/2020 9:37 PM, Guenter Roeck wrote: On 6/7/20 10:49 PM, Dilip Kota wrote: Add YAML schemas for the watchdog timer on Intel Lightning Mountain SoC. Signed-off-by: Dilip Kota ---   .../bindings/watchdog/int

[PATCH] sparc: piggyback: handle invalid image

2020-06-10 Thread Corentin Labbe
With an old elftoaout, the generation of tftpboot.img fail with "lseek: invalid argument". This is due to offset being negative. Instead of printing this error message, let's print a better one. Signed-off-by: Corentin Labbe --- arch/sparc/boot/piggyback.c | 4 1 file changed, 4 insertions

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-10 Thread Lee Jones
On Wed, 10 Jun 2020, Michael Walle wrote: > Am 2020-06-10 09:19, schrieb Lee Jones: > > On Wed, 10 Jun 2020, Michael Walle wrote: > > > Am 2020-06-09 21:45, schrieb Lee Jones: > > > > On Tue, 09 Jun 2020, Michael Walle wrote: > > > > > > We do not need a 'simple-regmap' solution for your use-case.

[PATCH v6] drm/i915: Init lspcon after HPD in intel_dp_detect()

2020-06-10 Thread Kai-Heng Feng
On HP 800 G4 DM, if HDMI cable isn't plugged before boot, the HDMI port becomes useless and never responds to cable hotplugging: [3.031904] [drm:lspcon_init [i915]] *ERROR* Failed to probe lspcon [3.031945] [drm:intel_ddi_init [i915]] *ERROR* LSPCON init failed on port D Seems like the lsp

Re: [RFC PATCH 0/3] firmware: Add support for PSA FF-A interface

2020-06-10 Thread Will Deacon
Hi Sudeep, On Tue, Jun 09, 2020 at 06:41:23PM +0100, Sudeep Holla wrote: > On Thu, Jun 04, 2020 at 02:37:46PM +0100, Will Deacon wrote: > > On Mon, Jun 01, 2020 at 10:45:09AM +0100, Sudeep Holla wrote: > > > Sorry for posting in the middle of merge window and I must have done > > > this last week

[PATCH v2 2/2] regulator: Add driver for cros-ec-regulator

2020-06-10 Thread Pi-Hsun Shih
Add driver for cros-ec-regulator, representing a voltage regulator that is connected and controlled by ChromeOS EC, and is controlled by kernel with EC host commands. Changes from v1: * Change compatible string to google,regulator-cros-ec. * Use reg property in device tree. * Address comments on c

[PATCH v2 0/2] Add support for voltage regulator on ChromeOS EC.

2020-06-10 Thread Pi-Hsun Shih
Add support for controlling voltage regulator that is connected and controlled by ChromeOS EC. Kernel controls these regulators through newly added EC host commands. Changes from v1: * Change compatible string to google,regulator-cros-ec. * Use reg property in device tree. * Change license for dt

RE: [PATCH V2] soc: imx8m: Correct i.MX8MP UID fuse offset

2020-06-10 Thread Anson Huang
> Subject: RE: [PATCH V2] soc: imx8m: Correct i.MX8MP UID fuse offset > > > From: Anson Huang > > Sent: Wednesday, June 10, 2020 6:42 AM > > > > Correct i.MX8MP UID fuse offset according to fuse map: > > > > UID_LOW: 0x420 > > UID_HIGH: 0x430 > > > > Fixes: fc40200ebf82 ("soc: imx: increase buil

[PATCH v2 1/2] dt-bindings: regulator: Add DT binding for cros-ec-regulator

2020-06-10 Thread Pi-Hsun Shih
Add DT binding documentation for cros-ec-regulator, a voltage regulator controlled by ChromeOS EC. Changes from v1: * Change compatible string to google,regulator-cros-ec. * Use reg property in device tree. * Change license for dt binding according to checkpatch.pl. Signed-off-by: Pi-Hsun Shih -

Re: [PATCH v2 1/2] efi/libstub/arm64: link stub lib.a conditionally

2020-06-10 Thread Will Deacon
On Thu, Jun 04, 2020 at 11:20:30AM +0900, Masahiro Yamada wrote: > Since commit 799c43415442 ("kbuild: thin archives make default for > all archs"), core-y is passed to the linker with --whole-archive. > Hence, the whole of stub library is linked to vmlinux. > > Use libs-y so that lib.a is passed

Re: [PATCH v2 1/3] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-06-10 Thread Andrei Vagin
On Tue, Jun 09, 2020 at 06:14:27PM +0200, Christian Brauner wrote: > On Tue, Jun 09, 2020 at 09:06:27AM -0700, Andrei Vagin wrote: > > On Tue, Jun 09, 2020 at 09:44:22AM +0200, Christian Brauner wrote: > > > On Mon, Jun 08, 2020 at 08:42:21PM -0700, Andrei Vagin wrote: ... > > > > PTRACE_O_SUSPEND_

Re: [PATCH] mm/vmalloc: track which page-table levels were modified

2020-06-10 Thread Mike Rapoport
On Tue, Jun 09, 2020 at 07:15:42AM -0700, Guenter Roeck wrote: > On 6/9/20 5:10 AM, Joerg Roedel wrote: > > > I have stopped building unicore32 images since v4.19 since there is > no available compiler that is still supported by the kernel. I am > surprised that support for it has not been removed

Re: [PATCH v2 1/2] efi/libstub/arm64: link stub lib.a conditionally

2020-06-10 Thread Ard Biesheuvel
On Wed, 10 Jun 2020 at 09:58, Will Deacon wrote: > > On Thu, Jun 04, 2020 at 11:20:30AM +0900, Masahiro Yamada wrote: > > Since commit 799c43415442 ("kbuild: thin archives make default for > > all archs"), core-y is passed to the linker with --whole-archive. > > Hence, the whole of stub library is

Re: [RFC PATCH] PCI: Remove End-End TLP as PASID dependency

2020-06-10 Thread Zhangfei Gao
On 2020/6/10 下午3:46, Jean-Philippe Brucker wrote: On Wed, Jun 10, 2020 at 12:18:14PM +0800, Zhangfei Gao wrote: Some platform devices appear as PCI and have PCI cfg space, but are actually on the AMBA bus. They can support PASID via smmu stall feature, but does not support tlp since they are

Re: Re: [PATCH v3 1/2] checkpatch: support deprecated terms checking

2020-06-10 Thread SeongJae Park
On Wed, 10 Jun 2020 00:13:42 -0700 Joe Perches wrote: > On Wed, 2020-06-10 at 08:52 +0200, SeongJae Park wrote: > > From: SeongJae Park > > > > Some terms could be deprecated for various reasons, but it is hard to > > update the entire old usages. That said, we could at least encourage > > new

RE: [PATCH V3 0/9] Support i.MX8 SoCs pinctrl drivers built as module

2020-06-10 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, June 9, 2020 10:21 PM > > There are more and mroe requirements that SoC specific modules should be > built as module in order to support generic kernel image, such as Android GKI > concept. > > This patch series supports i.MX8 SoCs pinctrl drivers to be built

[PATCH V4 0/9] Support i.MX8 SoCs pinctrl drivers built as module

2020-06-10 Thread Anson Huang
There are more and mroe requirements that SoC specific modules should be built as module in order to support generic kernel image, such as Android GKI concept. This patch series supports i.MX8 SoCs pinctrl drivers to be built as module, including i.MX8MQ/MM/MN/MP/QXP/QM/DXL SoCs, and it also suppo

[PATCH V4 9/9] pinctrl: imx8dxl: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8DXL pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8dxl.c | 9 +++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/freescal

[PATCH V4 3/9] pinctrl: imx8mm: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8MM pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8mm.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/freescal

[PATCH V4 1/9] pinctrl: imx: Support building SCU pinctrl driver as module

2020-06-10 Thread Anson Huang
To support building i.MX SCU pinctrl driver as module, below things need to be changed: - Export SCU related functions and use "IS_ENABLED" instead of "ifdef" to support SCU pinctrl driver user and itself to be built as module; - Use function callbacks for SCU related functions

[PATCH V4 7/9] pinctrl: imx8qxp: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8QXP pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8qxp.c | 9 +++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/freescal

[PATCH V4 6/9] pinctrl: imx8mp: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8MP pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8mp.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/freescal

[PATCH V4 8/9] pinctrl: imx8qm: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8QM pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8qm.c | 9 +++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/freescale/K

[PATCH V4 4/9] pinctrl: imx8mn: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8MN pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8mn.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/freescal

[PATCH V4 5/9] pinctrl: imx8mq: Support building as module

2020-06-10 Thread Anson Huang
Support building i.MX8MQ pinctrl driver as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinctrl/freescale/pinctrl-imx8mq.c | 9 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/freescale/K

[PATCH V4 2/9] pinctrl: imx: Support building i.MX pinctrl driver as module

2020-06-10 Thread Anson Huang
Export necessary functions to support building i.MX common pinctrl driver and its user to be built as module. Signed-off-by: Anson Huang --- No change. --- drivers/pinctrl/freescale/Kconfig | 3 ++- drivers/pinctrl/freescale/pinctrl-imx.c | 4 2 files changed, 6 insertions(+), 1 delet

Re: [RFC PATCH 0/3] firmware: Add support for PSA FF-A interface

2020-06-10 Thread Sudeep Holla
Hi Will, On Wed, Jun 10, 2020 at 08:57:12AM +0100, Will Deacon wrote: > Hi Sudeep, > > On Tue, Jun 09, 2020 at 06:41:23PM +0100, Sudeep Holla wrote: [...] > > > > Agreed, I added for RxTx buffers and initially to build the parent/child > > hierarchy for all users of the driver. Initially I was a

Re: [staging-testing] drivers/staging/wfx/hif_tx.c

2020-06-10 Thread Jérôme Pouiller
On Wednesday 10 June 2020 08:53:13 CEST Mohamed Dawod wrote: > Hello, > > I read this point in staging/wfx/TODO file > > - In wfx_cmd_send(), "async" allow to send command without waiting the reply. > It may help in some situation, but it is not yet used. In add, it may > cause > some t

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-10 Thread Sargun Dhillon
On Tue, Jun 09, 2020 at 10:27:54PM -0700, Kees Cook wrote: > On Tue, Jun 09, 2020 at 11:27:30PM +0200, Christian Brauner wrote: > > On June 9, 2020 10:55:42 PM GMT+02:00, Kees Cook > > wrote: > > >LOL. And while we were debating this, hch just went and cleaned stuff up: > > > > > >2618d530dd8b ("

RE: [PATCH V3 0/9] Support i.MX8 SoCs pinctrl drivers built as module

2020-06-10 Thread Anson Huang
> Subject: RE: [PATCH V3 0/9] Support i.MX8 SoCs pinctrl drivers built as module > > > From: Anson Huang > > Sent: Tuesday, June 9, 2020 10:21 PM > > > > There are more and mroe requirements that SoC specific modules should > > be built as module in order to support generic kernel image, such

Re: [PATCH v7] ARM: DTS: Aspeed: Add YADRO Nicole BMC

2020-06-10 Thread Alexander A. Filippov
On Wed, Apr 29, 2020 at 02:37:11PM +0300, Alexander Filippov wrote: > Nicole is an OpenPower machine with an Aspeed 2500 BMC SoC manufactured > by YADRO. > > Signed-off-by: Alexander Filippov > ping

Re: [PATCH] x86/microcode: Do not select FW_LOADER

2020-06-10 Thread Borislav Petkov
On Wed, Jun 10, 2020 at 02:29:11PM +1000, Herbert Xu wrote: > The x86 microcode support works just fine without FW_LOADER. In > fact these days most people load them early in boot so FW_LOADER > never gets into the picture anyway. What's the use case here? $ git grep -E "select.*FW_LOADER" | wc

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-10 Thread Vladimir Murzin
On 6/10/20 8:24 AM, Christoph Hellwig wrote: > Ok, I finally found the original patch from Vladimir. Comments below: > >> +++ b/kernel/dma/direct.c >> @@ -456,14 +456,14 @@ int dma_direct_mmap(struct device *dev, struct >> vm_area_struct *vma, >> #else /* CONFIG_MMU */ >> bool dma_direct_can_m

Re: [PATCH] EDAC, {skx,i10nm}: Advice mcelog that the error were handled

2020-06-10 Thread Borislav Petkov
On Wed, Jun 10, 2020 at 02:58:01PM +0800, Zhenzhong Duan wrote: > If one MCE error has been processed in kernel, it's not necessory > to pass it to user level mcelog. > > Signed-off-by: Zhenzhong Duan > --- > drivers/edac/skx_common.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2020-06-10 Thread Stephen Berman
(GMX put your email into my spam folder, so I didn't see it before I sent my followup about removing the wifi firmware.) On Tue, 9 Jun 2020 22:23:39 +0200 Sebastian Andrzej Siewior wrote: > On 2020-06-09 12:06:23 [+0200], Stephen Berman wrote: >> I recompiled kernel 5.6.4 with the printk() call

Re: [PATCH v2] kexec: Do not verify the signature without the lockdown or mandatory signature

2020-06-10 Thread lijiang
I just noticed that I forgot to add Eric Biederman in cc list, so sorry for this. Thanks. Lianbo 在 2020年06月02日 12:59, Lianbo Jiang 写道: > Signature verification is an important security feature, to protect > system from being attacked with a kernel of unknown origin. Kexec > rebooting is a way

Re: [PATCH] firmware: arm_scmi: fix timeout value for send_message

2020-06-10 Thread Sudeep Holla
On Sun, Jun 07, 2020 at 02:30:23PM -0500, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > Currently scmi_do_xfer() submits a message to mailbox api and waits > for an apparently very short time. This works if there are not many > messages in the queue already. However, if many clients share

Re: [PATCH V3] vdpa: introduce virtio pci driver

2020-06-10 Thread Jason Wang
On 2020/6/10 下午3:08, Michael S. Tsirkin wrote: On Wed, Jun 10, 2020 at 02:52:17PM +0800, Jason Wang wrote: This patch introduce a vDPA driver for virtio-pci device. It bridges the virtio-pci control command to the vDPA bus. This will be used for developing new features for both software vDPA f

[PATCH v4] hwmon:(adm1275) Enable adm1278 ADM1278_TEMP1_EN

2020-06-10 Thread Manikandan Elumalai
The adm1278 temp attribute need it for openbmc platform . This feature not enabled by default, so PMON_CONFIG needs to enable it. v4: --- changes in conditional check to enable vout & temp1 by default. v3: fix invalid signed-off. removed checkpath warnings. write ADM1278_TEMP1_EN and ADM1278_

[PATCH 0/2] clk: meson: g12a: Add the NNA source clocks

2020-06-10 Thread Neil Armstrong
This patchset adds the Neural Network Accelerator source clocks present on the Amlogic SM1 SoCs family. Dmitry Shmidt (2): dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs clk: meson: g12a: Add support for NNA CLK source clocks drivers/clk/meson/g12a.c | 119 +++

[PATCH 2/2] clk: meson: g12a: Add support for NNA CLK source clocks

2020-06-10 Thread Neil Armstrong
From: Dmitry Shmidt This adds the Neural Network Accelerator source clocks hierarchy, it's 2 simple composite clocks to feed the AXI interface and the Core of the Neural Network Accelerator IP. This IP is only present on the Amlogic SM1 SoCs family. Signed-off-by: Dmitry Shmidt Signed-off-by:

[PATCH 1/2] dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs

2020-06-10 Thread Neil Armstrong
From: Dmitry Shmidt This adds the Neural Network Accelerator IP source clocks. Signed-off-by: Dmitry Shmidt Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/g12a-clkc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-binding

Re: [PATCH 2/2] clk: bcm63xx-gate: add BCM6318 support

2020-06-10 Thread Philippe Mathieu-Daudé
Hi, On Wed, Jun 10, 2020 at 8:13 AM Álvaro Fernández Rojas wrote: > > Hi Florian, > > > El 10 jun 2020, a las 4:27, Florian Fainelli > > escribió: > > > > > > > > On 6/9/2020 4:30 AM, Álvaro Fernández Rojas wrote: > >> +static const struct clk_bcm63xx_table_entry bcm6318_clocks[] = { > >> +

  1   2   3   4   5   6   7   8   9   10   >