Re: [PATCH v2 4/5] mtd: spi-nor: Move Software Write Protection logic out of the core

2021-03-17 Thread Vignesh Raghavendra
On 3/17/21 2:35 PM, Pratyush Yadav wrote: > On 17/03/21 06:09AM, tudor.amba...@microchip.com wrote: >> On 3/15/21 8:23 AM, Vignesh Raghavendra wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >>> content is safe >>> >>> On 3/9/21 12:58 PM,

Re: [PATCH][RESEND] Revert "PM: ACPI: reboot: Use S5 for reboot"

2021-03-17 Thread Kai-Heng Feng
On Wed, Mar 17, 2021 at 11:19 PM Josef Bacik wrote: > > On 3/16/21 10:50 PM, Kai-Heng Feng wrote: > > Hi, > > > > On Wed, Mar 17, 2021 at 10:17 AM Josef Bacik wrote: > >> > >> This reverts commit d60cd06331a3566d3305b3c7b566e79edf4e2095. > >> > >> This patch causes a panic when rebooting my Dell

Re: [PATCH -tip 0/3] x86/kprobes: Remoev single-step trap from x86 kprobes

2021-03-17 Thread Masami Hiramatsu
Hi Andy, Would you think you still need this series to remove iret to kernel? Thank you, On Wed, 3 Mar 2021 00:25:12 +0900 Masami Hiramatsu wrote: > Hi, > > Here is a series of patches to remove the single-step debug trap from the > x86 kprobe. > > The first 2 patches ([1/3][2/3]) are

[PATCH 1/2] dt-bindings: phy: add vbus-supply optional property to phy-stm32-usbphyc

2021-03-17 Thread Amelie Delaunay
This patch adds vbus-supply optional property to phy sub-nodes. A regulator for USB VBUS may be needed for host mode. Signed-off-by: Amelie Delaunay --- Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 0/2] STM32 USBPHYC vbus-supply property support

2021-03-17 Thread Amelie Delaunay
STM32 USBPHYC provides two USB High-Speed ports which are used by controllers with Host capabilities. That's why vbus-supply has to be supported on each phy node. Amelie Delaunay (2): dt-bindings: phy: add vbus-supply optional property to phy-stm32-usbphyc phy: stm32: manage optional vbus

[PATCH 2/2] phy: stm32: manage optional vbus regulator on phy_power_on/off

2021-03-17 Thread Amelie Delaunay
This patch adds support for optional vbus regulator. It is managed on phy_power_on/off calls and may be needed for host mode. Signed-off-by: Amelie Delaunay --- drivers/phy/st/phy-stm32-usbphyc.c | 31 ++ 1 file changed, 31 insertions(+) diff --git

Re: [PATCH 0/6] usbip fixes to crashes found by syzbot

2021-03-17 Thread Shuah Khan
On 3/17/21 12:21 AM, Tetsuo Handa wrote: Shuah, this driver is getting more and more cryptic and buggy. Please explain the strategy for serialization before you write patches. - Fix attach_store() to check usbip_event_happened() before waking up threads. No, this helps nothing. diff

Re: [PATCH V2] iio:imu:mpu6050: Modify matricies to matrices

2021-03-17 Thread Randy Dunlap
On 3/16/21 11:19 PM, Guoqing chi wrote: > From: Guoqing Chi > > The plural of "matrix" is "matrices". > > Signed-off-by: Guoqing Chi Acked-by: Randy Dunlap Thanks. > --- > V2:fix "complex number of" to "plural of". > > include/linux/platform_data/invensense_mpu6050.h | 2 +- > 1 file

Re: [patch 1/1] genirq: Disable interrupts for force threaded handlers

2021-03-17 Thread Thomas Gleixner
On Wed, Mar 17 2021 at 15:48, Sebastian Andrzej Siewior wrote: > On 2021-03-17 15:38:52 [+0100], Thomas Gleixner wrote: >> thread(irq_A) >> irq_handler(A) >> spin_lock(>lock); >> >> interrupt(irq_B) >> irq_handler(B) >> spin_lock(>lock); > > It will not because both threads will

[PATCH] drm/amdgpu/ttm: Fix memory leak userptr pages

2021-03-17 Thread Daniel Gomez
If userptr pages have been pinned but not bounded, they remain uncleared. Signed-off-by: Daniel Gomez --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c

RE: [PATCH v2] MIPS: Check __clang__ to avoid performance influence with GCC in csum_tcpudp_nofold()

2021-03-17 Thread David Laight
From: Maciej W. Rozycki > Sent: 17 March 2021 15:36 .. > > > Not that I grok the mips opcodes. > > > But that code has horridness on its side. > > It's a 32-bit one's-complement addition. The use of 64-bit operations > reduces the number of calculations as any 32-bit carries accumulate in the >

[PATCH v2] btrfs: Use immediate assignment when referencing cc-option

2021-03-17 Thread Victor Erminpour
Calling cc-option will use KBUILD_CFLAGS, which when lazy setting subdir-ccflags-y produces the following build error: scripts/Makefile.lib:10: *** Recursive variable `KBUILD_CFLAGS' \ references itself (eventually). Stop. Use single := assignment for subdir-ccflags-y. The cc-option

Re: [PATCH v4 07/10] coresight: etm4x: Add complex configuration handlers to etmv4

2021-03-17 Thread Mike Leach
Hi Suzuki, Realised I hadn't answered the question below... On Fri, 5 Mar 2021 at 10:18, Suzuki K Poulose wrote: > > On 1/28/21 5:09 PM, Mike Leach wrote: > > Adds in handlers to allow the ETMv4 to use the complex configuration > > support. Features and configurations can be loaded and selected

Re: [PATCH v3 0/2] AM64: Add USB support

2021-03-17 Thread Kishon Vijay Abraham I
Hi, On 17/03/21 8:22 pm, Kishon Vijay Abraham I wrote: > Aswath and Nishanth, > > On 17/03/21 10:00 am, Aswath Govindraju wrote: >> The following series of patches, add USB support for AM642 evm. >> >> USB test logs, >> https://pastebin.ubuntu.com/p/YSQRBWGmzd/ > > Vinod has provided stable tag

Re: [PATCH v2] gpio: regmap: set gpio_chip of_node

2021-03-17 Thread kernel test robot
Hi "Álvaro, Thank you for the patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v5.12-rc3 next-20210317] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as docum

RE: [PATCH] exfat: speed up iterate/lookup by fixing start point of traversing fat chain

2021-03-17 Thread Sungjong Seo
> When directory iterate and lookup is called, there is a buggy rewinding of > start point for traversing fat chain to the directory entry's first > cluster. This caused repeated fat chain traversing from the first entry of > the directory that would show worse performance if huge amounts of files

Re: [PATCH v3 05/15] media: mtk-vcodec: vdec: support stateless API

2021-03-17 Thread Nicolas Dufresne
Le mercredi 17 mars 2021 à 12:13 +0900, Alexandre Courbot a écrit : > On Tue, Mar 16, 2021 at 6:45 AM Ezequiel Garcia > wrote: > > > > Hi Alexandre, > > > > On Mon, 15 Mar 2021 at 08:28, Alexandre Courbot > > wrote: > > > > > > Hi Ezequiel, thanks for the feedback! > > > > > > On Thu, Mar 4,

Re: [PATCH 5.10 081/290] gpiolib: Read "gpio-line-names" from a firmware node

2021-03-17 Thread Greg KH
On Mon, Mar 15, 2021 at 05:32:09PM +0100, Bartosz Golaszewski wrote: > On Mon, Mar 15, 2021 at 4:01 PM Marek Vasut wrote: > > > > On 3/15/21 2:52 PM, gre...@linuxfoundation.org wrote: > > > From: Greg Kroah-Hartman > > > > > > From: Andy Shevchenko > > > > > > commit

Re: [PATCH 06/17] kthread: cfi: disable callback pointer check with modules

2021-03-17 Thread Sami Tolvanen
On Thu, Mar 11, 2021 at 10:13 PM Christoph Hellwig wrote: > > On Thu, Mar 11, 2021 at 04:49:08PM -0800, Sami Tolvanen wrote: > > With CONFIG_CFI_CLANG, a callback function passed to > > __kthread_queue_delayed_work from a module points to a jump table > > entry defined in the module instead of

[PATCH v3 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-03-17 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 113 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 +

[PATCH v3 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-17 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 24 +++ 1 file changed, 14 insertions(+), 10 deletions(-) diff --git

[PATCH v3 0/2] enable HDCP in Cadence MHDP bridge driver

2021-03-17 Thread Parshuram Thombare
This patch series enables HDCP in Cadence MHDP DPI/DP bridge driver. Changes since v1: - Move sapb reg block right after apb reg block - Corresponding changes in binding and example Changes since v2: - Revert reg resource sequence in binding and use resource mapping by name - Remove

Re: [PATCH 4.9 00/78] 4.9.262-rc1 review

2021-03-17 Thread Greg KH
On Mon, Mar 15, 2021 at 01:42:20PM -0700, Florian Fainelli wrote: > > > On 3/15/2021 6:51 AM, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > This is the start of the stable review cycle for the 4.9.262 release. > > There are 78 patches in this series, all will be posted

Re: [PATCH v3] hwmon: corsair-psu: add support for critical values

2021-03-17 Thread Guenter Roeck
On 3/17/21 8:13 AM, Wilken Gottwalt wrote: > Adds support for reading the critical values of the temperature sensors > and the rail sensors (voltage and current) once and caches them. Updates > the naming of the constants following a more clear scheme. Also updates > the documentation and fixes

Re: [PATCH v5 5/5] mm,page_alloc: Drop unnecessary checks from pfn_range_valid_contig

2021-03-17 Thread Michal Hocko
On Wed 17-03-21 15:36:35, David Hildenbrand wrote: > On 17.03.21 15:31, Michal Hocko wrote: > > On Wed 17-03-21 12:12:51, Oscar Salvador wrote: > > > pfn_range_valid_contig() bails out when it finds an in-use page or a > > > hugetlb page, among other things. > > > We can drop the in-use page check

Re: set mtu size broken for dwmac-sun8i

2021-03-17 Thread Corentin Labbe
Le Wed, Mar 17, 2021 at 12:37:48PM +0100, Belisko Marek a écrit : > On Wed, Mar 17, 2021 at 12:33 PM Corentin Labbe > wrote: > > > > Le Wed, Mar 17, 2021 at 10:19:26AM +0100, Belisko Marek a écrit : > > > Hi, > > > > > > I'm hunting an issue when setting mtu failed for dwmac-sun8i driver. > > >

[PATCH] rapidio/mport_cdev: Fix race in mport_cdev_release()

2021-03-17 Thread Alexander A Sverdlin
From: Alexander Sverdlin While get_dma_channel() is protected against concurrent calls, there is a race against kref_put() in mport_cdev_release(): CPU0CPU1 get_dma_channel() kref_init(>md->dma_ref); ... mport_cdev_release_dma() kref_put(>dma_ref,

RE: [PATCH v4 RESEND net-next] net: socket: use BIT() for MSG_*

2021-03-17 Thread David Laight
From: Guenter Roeck > Sent: 17 March 2021 01:38 ... > MSG_CMSG_COMPAT (0x8000) is set in flags, meaning its value is negative. > This is then evaluated in > >if (flags & > ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT|MSG_ERRQUEUE)) > goto out; > > If any of

Re: [PATCH 1/2] audit: document /proc/PID/loginuid

2021-03-17 Thread Richard Guy Briggs
On 2021-03-12 14:15, Paul Moore wrote: > On Thu, Mar 11, 2021 at 11:41 AM Richard Guy Briggs wrote: > > Describe the /proc/PID/loginuid interface in Documentation/ABI/stable that > > was added 2005-02-01 by commit 1e2d1492e178 ("[PATCH] audit: handle > > loginuid through proc") > > > >

Re: [PATCH v5 33/36] KVM: arm64: Wrap the host with a stage 2

2021-03-17 Thread Mate Toth-Pal
On 2021-03-17 10:02, Quentin Perret wrote: On Wednesday 17 Mar 2021 at 09:41:09 (+0100), Mate Toth-Pal wrote: On 2021-03-16 18:46, Quentin Perret wrote: On Tuesday 16 Mar 2021 at 16:16:18 (+0100), Mate Toth-Pal wrote: On 2021-03-16 15:29, Quentin Perret wrote: On Tuesday 16 Mar 2021 at

Re: [PATCH v23 15/28] x86/mm: Update maybe_mkwrite() for shadow stack

2021-03-17 Thread Borislav Petkov
On Tue, Mar 16, 2021 at 08:10:41AM -0700, Yu-cheng Yu wrote: > When serving a page fault, maybe_mkwrite() makes a PTE writable if its vma > has VM_WRITE. > > A shadow stack vma has VM_SHSTK. Its PTEs have _PAGE_DIRTY, but not > _PAGE_WRITE. In fork(), _PAGE_DIRTY is cleared to effect

[PATCH v5 1/2] gpio: sch: Add edge event support

2021-03-17 Thread Andy Shevchenko
From: Jan Kiszka Add the required infrastructure to enable and report edge events of the pins to the GPIO core. The actual hook-up of the event interrupt will happen separately. Signed-off-by: Jan Kiszka Co-developed-by: Andy Shevchenko Signed-off-by: Andy Shevchenko ---

[PATCH v5 2/2] gpio: sch: Hook into ACPI GPE handler to catch GPIO edge events

2021-03-17 Thread Andy Shevchenko
Neither the ACPI description on Intel Minnowboard (v1) platform provides the required information to establish a generic handling nor the hardware capable of doing it. According to the data sheet the hardware can generate SCI events. Therefore, we need to hook from the driver into GPE handler of

[PATCH v5 0/2] gpio: sch: Interrupt support

2021-03-17 Thread Andy Shevchenko
The series adds event support to the Intel GPIO SCH driver. The hardware routes all events through GPE0 GPIO event. I validated this on Intel Minnowboard (v1). If somebody has different hardware with the same GPIO controller, I would appreciate additional testing. Changes in v5: - added missed

Re: [PATCH v2] MIPS: Check __clang__ to avoid performance influence with GCC in csum_tcpudp_nofold()

2021-03-17 Thread Maciej W. Rozycki
On Wed, 17 Mar 2021, Tiezhu Yang wrote: > > > The code produced by GCC remains the same between (1), (3) and (4), > > > the last changes looks like better (with less changes based on commit > > > 198688edbf77), so I will send v3 later. > > Aren't those all the same - apart from register

Re: [PATCH v2 2/2] arm64: dts: mt8183: Add kukui-jacuzzi-damu board

2021-03-17 Thread Enric Balletbo i Serra
Hi Hsin-Yi, Thank you for the patch. On 15/3/21 12:41, Hsin-Yi Wang wrote: > Damu is known as ASUS Chromebook Flip CM3. > > Signed-off-by: Hsin-Yi Wang > --- > v1->v2: fix pp3300_panel regulator property > --- > arch/arm64/boot/dts/mediatek/Makefile | 1 + >

Re: [PATCH v2] seq_file: Unconditionally use vmalloc for buffer

2021-03-17 Thread Greg Kroah-Hartman
On Wed, Mar 17, 2021 at 03:44:16PM +0100, Michal Hocko wrote: > On Wed 17-03-21 14:34:27, Greg KH wrote: > > On Wed, Mar 17, 2021 at 01:08:21PM +0100, Michal Hocko wrote: > > > Btw. I still have problems with the approach. seq_file is intended to > > > provide safe way to dump values to the

[PATCH v2] ARM: dts: imx6ull: fix ubi mount failed on MYS-6ULX-IOT board

2021-03-17 Thread dillon . minfei
From: dillon min This patch intend to fix ubi filesystem mount failed on MYS-6ULX-IOT board. Hi Shawn, Sorry for the incorrect commit message, could you help to update the part regard to it with git commit --amend? thanks. Changes in v2: just correct commit message, no code changes. dillon

Re: [PATCH 1/2] KVM: arm64: Introduce KVM_PGTABLE_S2_NOFWB Stage-2 flag

2021-03-17 Thread Quentin Perret
On Wednesday 17 Mar 2021 at 14:42:46 (+), Will Deacon wrote: > On Wed, Mar 17, 2021 at 02:17:13PM +, Quentin Perret wrote: > > In order to further configure stage-2 page-tables, pass flags to the > > init function using a new enum. > > > > The first of these flags allows to disable FWB

[PATCH] libbpf: Fix error path in bpf_object__elf_init()

2021-03-17 Thread Namhyung Kim
When it failed to get section names, it should call bpf_object__elf_finish() like others. Signed-off-by: Namhyung Kim --- tools/lib/bpf/libbpf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 2f351d3ad3e7..8d610259f4be

Re: [PATCH v3 2/8] x86/sev: Do not require Hypervisor CPUID bit for SEV guests

2021-03-17 Thread Tom Lendacky
On 3/12/21 6:38 AM, Joerg Roedel wrote: > From: Joerg Roedel > > A malicious hypervisor could disable the CPUID intercept for an SEV or > SEV-ES guest and trick it into the no-SEV boot path, where it could > potentially reveal secrets. This is not an issue for SEV-SNP guests, > as the CPUID

[PATCH v2] ARM: dts: imx6ull: fix ubi filesystem mount failed

2021-03-17 Thread dillon . minfei
From: dillon min For NAND Ecc layout, there is a dependency from old kernel's nand driver setting and current. if old kernel use 4 bit ecc , we should use 4 bit in new kernel either. else will run into following error at filesystem mounting. So, enable fsl,use-minimum-ecc from device tree, to

Re: [tip: locking/urgent] locking/ww_mutex: Treat ww_mutex_lock() like a trylock

2021-03-17 Thread Waiman Long
On 3/17/21 10:03 AM, Waiman Long wrote: On 3/17/21 9:31 AM, Peter Zijlstra wrote: On Wed, Mar 17, 2021 at 02:12:41PM +0100, Peter Zijlstra wrote: On Wed, Mar 17, 2021 at 12:38:21PM -, tip-bot2 for Waiman Long wrote: +    /* + * Treat as trylock for ww_mutex. + */ +   

[PATCH] selinux: vsock: Set SID for socket returned by accept()

2021-03-17 Thread David Brazdil
For AF_VSOCK, accept() currently returns sockets that are unlabelled. Other socket families derive the child's SID from the SID of the parent and the SID of the incoming packet. This is typically done as the connected socket is placed in the queue that accept() removes from. Implement an LSM hook

Re: [PATCH] net: ipv4: Fixed some styling issues.

2021-03-17 Thread David Ahern
On 3/17/21 9:07 AM, Anish Udupa wrote: > Ran checkpatch and found these warnings. Fixed some of them in this patch. > a) Added a space before '='. > b) Removed the space before the tab. > > Signed-off-by: Anish Udupa H > --- > net/ipv4/route.c | 8 > 1 file changed, 4 insertions(+), 4

[tip: irq/core] tasklets: Replace barrier() with cpu_relax() in tasklet_unlock_wait()

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: d2da74d1278a1b51ef18beafa9da770f0db1c617 Gitweb: https://git.kernel.org/tip/d2da74d1278a1b51ef18beafa9da770f0db1c617 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:42:04 +01:00

Re: [PATCH v4 2/2] mm: huge_memory: debugfs for file-backed THP split.

2021-03-17 Thread Zi Yan
On 16 Mar 2021, at 19:18, Yang Shi wrote: > On Mon, Mar 15, 2021 at 1:34 PM Zi Yan wrote: >> >> From: Zi Yan >> >> Further extend /split_huge_pages to accept >> ",," for file-backed THP split tests since >> tmpfs may have file backed by THP that mapped nowhere. >> >> Update selftest program to

[tip: irq/core] tasklets: Use spin wait in tasklet_disable() temporarily

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: b0cd02c2a9494dbf0a1cc7dc7a3b8b400c158d37 Gitweb: https://git.kernel.org/tip/b0cd02c2a9494dbf0a1cc7dc7a3b8b400c158d37 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:42:07 +01:00

[tip: irq/core] tasklets: Provide tasklet_disable_in_atomic()

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: ca5f625118955fc544c3cb3dee7055d33ecadafb Gitweb: https://git.kernel.org/tip/ca5f625118955fc544c3cb3dee7055d33ecadafb Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:42:06 +01:00

[tip: irq/core] tasklets: Replace spin wait in tasklet_unlock_wait()

2021-03-17 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the irq/core branch of tip: Commit-ID: da044747401fc16202e223c9da970ed4e84fd84d Gitweb: https://git.kernel.org/tip/da044747401fc16202e223c9da970ed4e84fd84d Author:Peter Zijlstra AuthorDate:Tue, 09 Mar 2021 09:42:08 +01:00

[tip: irq/core] tasklets: Use static inlines for stub implementations

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 6951547a1399c8f56468ed93bea8f769b891aec3 Gitweb: https://git.kernel.org/tip/6951547a1399c8f56468ed93bea8f769b891aec3 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:42:05 +01:00

[tip: irq/core] tasklets: Replace spin wait in tasklet_kill()

2021-03-17 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the irq/core branch of tip: Commit-ID: 697d8c63c4a2991a22a896a5e6adcdbb28fefe56 Gitweb: https://git.kernel.org/tip/697d8c63c4a2991a22a896a5e6adcdbb28fefe56 Author:Peter Zijlstra AuthorDate:Tue, 09 Mar 2021 09:42:09 +01:00

[tip: irq/core] ath9k: Use tasklet_disable_in_atomic()

2021-03-17 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: 3250aa8a293b1859d76577714a3e1fe95732c721 Gitweb: https://git.kernel.org/tip/3250aa8a293b1859d76577714a3e1fe95732c721 Author:Sebastian Andrzej Siewior AuthorDate:Tue, 09 Mar 2021 09:42:13

[tip: irq/core] atm: eni: Use tasklet_disable_in_atomic() in the send() callback

2021-03-17 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: 405698ca359a23b1ef1a502ef2bdc4597dc6da36 Gitweb: https://git.kernel.org/tip/405698ca359a23b1ef1a502ef2bdc4597dc6da36 Author:Sebastian Andrzej Siewior AuthorDate:Tue, 09 Mar 2021 09:42:14

[tip: irq/core] net: jme: Replace link-change tasklet with work

2021-03-17 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: c62c38e349c73cad90f59f00fe8070b3648b6d08 Gitweb: https://git.kernel.org/tip/c62c38e349c73cad90f59f00fe8070b3648b6d08 Author:Sebastian Andrzej Siewior AuthorDate:Tue, 09 Mar 2021 09:42:11

[tip: irq/core] net: sundance: Use tasklet_disable_in_atomic().

2021-03-17 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: 25cf87df1a3a85959bf1bf27df0eb2e6e04b2161 Gitweb: https://git.kernel.org/tip/25cf87df1a3a85959bf1bf27df0eb2e6e04b2161 Author:Sebastian Andrzej Siewior AuthorDate:Tue, 09 Mar 2021 09:42:12

[tip: irq/core] tasklets: Prevent tasklet_unlock_spin_wait() deadlock on RT

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: eb2dafbba8b824ee77f166629babd470dd0b1c0a Gitweb: https://git.kernel.org/tip/eb2dafbba8b824ee77f166629babd470dd0b1c0a Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:42:10 +01:00

[tip: irq/core] PCI: hv: Use tasklet_disable_in_atomic()

2021-03-17 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: be4017cea0aec6369275df7eafbb09682f810e7e Gitweb: https://git.kernel.org/tip/be4017cea0aec6369275df7eafbb09682f810e7e Author:Sebastian Andrzej Siewior AuthorDate:Tue, 09 Mar 2021 09:42:15

[tip: irq/core] irqtime: Make accounting correct on RT

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 6516b386d8a07102aac353daf9c0fe0045faeb74 Gitweb: https://git.kernel.org/tip/6516b386d8a07102aac353daf9c0fe0045faeb74 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:55:54 +01:00

[tip: irq/core] softirq: Add RT specific softirq accounting

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 728b478d2d358480b333b42d0e10e0fecb20114c Gitweb: https://git.kernel.org/tip/728b478d2d358480b333b42d0e10e0fecb20114c Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:55:53 +01:00

[tip: irq/core] tasklets: Switch tasklet_disable() to the sleep wait variant

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 6fd4e861250b5c89ad460a9f265caeb1bbbfc323 Gitweb: https://git.kernel.org/tip/6fd4e861250b5c89ad460a9f265caeb1bbbfc323 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:42:17 +01:00

[tip: irq/core] firewire: ohci: Use tasklet_disable_in_atomic() where required

2021-03-17 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: f339fc16fba0167d67c4026678ef4c405bca3085 Gitweb: https://git.kernel.org/tip/f339fc16fba0167d67c4026678ef4c405bca3085 Author:Sebastian Andrzej Siewior AuthorDate:Tue, 09 Mar 2021 09:42:16

[tip: irq/core] softirq: Make softirq control and processing RT aware

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 8b1c04acad082dec76f3f8f7e1fa13493d6cbb79 Gitweb: https://git.kernel.org/tip/8b1c04acad082dec76f3f8f7e1fa13493d6cbb79 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:55:56 +01:00

[tip: irq/core] softirq: Move various protections into inline helpers

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: f02fc963e91160e7343933823e8b73a0b2ab0a16 Gitweb: https://git.kernel.org/tip/f02fc963e91160e7343933823e8b73a0b2ab0a16 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:55:55 +01:00

Re: [PATCH v2 3/4] kbuild: re-implement CONFIG_TRIM_UNUSED_KSYMS to make it work in one-pass

2021-03-17 Thread kernel test robot
Hi Masahiro, I love your patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on linus/master v5.12-rc3] [cannot apply to kbuild/for-next asm-generic/master next-20210317] [If your patch is applied to the wrong git tree, kindly drop us a note

[tip: irq/core] tick/sched: Prevent false positive softirq pending warnings on RT

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: 47c218dcae6587fb5bce30f1656b13e22391c8e3 Gitweb: https://git.kernel.org/tip/47c218dcae6587fb5bce30f1656b13e22391c8e3 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:55:57 +01:00

[tip: irq/core] rcu: Prevent false positive softirq warning on RT

2021-03-17 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: ba9e6cab49c1465c2c322dcb03d771d5cbecb692 Gitweb: https://git.kernel.org/tip/ba9e6cab49c1465c2c322dcb03d771d5cbecb692 Author:Thomas Gleixner AuthorDate:Tue, 09 Mar 2021 09:55:58 +01:00

Re: [RESEND,v4,1/2] drm/mediatek: mtk_dpi: Add check for max clock rate in mode_valid

2021-03-17 Thread Chun-Kuang Hu
Hi, Rex: Rex-BC Chen 於 2021年3月16日 週二 上午11:26寫道: > > Add per-platform max clock rate check in mtk_dpi_bridge_mode_valid. > > Reviewed-by: Chun-Kuang Hu > Signed-off-by: Pi-Hsun Shih > Signed-off-by: Rex-BC Chen > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 17

Re: [PATCH v2] seq_file: Unconditionally use vmalloc for buffer

2021-03-17 Thread Greg Kroah-Hartman
On Wed, Mar 17, 2021 at 04:20:52PM +0100, Michal Hocko wrote: > On Wed 17-03-21 15:56:44, Greg KH wrote: > > On Wed, Mar 17, 2021 at 03:44:16PM +0100, Michal Hocko wrote: > > > On Wed 17-03-21 14:34:27, Greg KH wrote: > > > > On Wed, Mar 17, 2021 at 01:08:21PM +0100, Michal Hocko wrote: > > > > >

Re: [PATCH 4.14 00/95] 4.14.226-rc1 review

2021-03-17 Thread Greg KH
On Tue, Mar 16, 2021 at 02:35:36PM +0800, Samuel Zou wrote: > > > On 2021/3/15 21:56, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > This is the start of the stable review cycle for the 4.14.226 release. > > There are 95 patches in this series, all will be posted as a

Re: [PATCH v2] seq_file: Unconditionally use vmalloc for buffer

2021-03-17 Thread Michal Hocko
On Wed 17-03-21 16:38:57, Greg KH wrote: > On Wed, Mar 17, 2021 at 04:20:52PM +0100, Michal Hocko wrote: > > On Wed 17-03-21 15:56:44, Greg KH wrote: > > > On Wed, Mar 17, 2021 at 03:44:16PM +0100, Michal Hocko wrote: > > > > On Wed 17-03-21 14:34:27, Greg KH wrote: > > > > > On Wed, Mar 17, 2021

Re: [PATCH v7 5/5] certs: Allow root user to append signed hashes to the blacklist keyring

2021-03-17 Thread Mickaël Salaün
On 17/03/2021 15:48, Eric Snowberg wrote: > >> On Mar 15, 2021, at 12:01 PM, Mickaël Salaün wrote: >> >> >> On 15/03/2021 17:59, Eric Snowberg wrote: >>> On Mar 12, 2021, at 10:12 AM, Mickaël Salaün wrote: From: Mickaël Salaün Add a kernel option

RE: [PATCH v5 06/10] scsi: ufshpb: Add hpb dev reset response

2021-03-17 Thread Avri Altman
> >> >> >> > >> >> >> Just curious, directly doing below things inside ufshpb_rsp_upiu() > >> >> >> does > >> >> >> not > >> >> >> seem a problem to me, does this really deserve a separate work? > >> >> > I don't know, I never even consider of doing this. > >> >> > The active region list may

Re: [PATCH v4 1/2] mm: huge_memory: a new debugfs interface for splitting THP tests.

2021-03-17 Thread Zi Yan
On 16 Mar 2021, at 18:23, Yang Shi wrote: > On Mon, Mar 15, 2021 at 1:34 PM Zi Yan wrote: >> >> From: Zi Yan >> >> We did not have a direct user interface of splitting the compound page >> backing a THP and there is no need unless we want to expose the THP >> implementation details to users.

Re: linux-next: Tree for Mar 17

2021-03-17 Thread Jan Kara
On Wed 17-03-21 13:00:45, Heiko Carstens wrote: > On Wed, Mar 17, 2021 at 07:42:41PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > News: there will be no linux-next release on Friday this week. > > > > Warning: Some of the branches in linux-next are still based on v5.12-rc1, > > so please

Re: [PATCH 0/6] usbip fixes to crashes found by syzbot

2021-03-17 Thread Tetsuo Handa
On 2021/03/18 0:06, Shuah Khan wrote: > Yes. I haven't sent the patch for that reason. I am trying to test a > solution. I haven't come up with a solution yet. > > Holding event_lock isn't the right solution. I am not going to accept > that. This is a window that gets triggered by syzbot

Re: [PATCH v2] seq_file: Unconditionally use vmalloc for buffer

2021-03-17 Thread Michal Hocko
On Wed 17-03-21 15:56:44, Greg KH wrote: > On Wed, Mar 17, 2021 at 03:44:16PM +0100, Michal Hocko wrote: > > On Wed 17-03-21 14:34:27, Greg KH wrote: > > > On Wed, Mar 17, 2021 at 01:08:21PM +0100, Michal Hocko wrote: > > > > Btw. I still have problems with the approach. seq_file is intended to >

Re: A problem of Intel IOMMU hardware ?

2021-03-17 Thread Alex Williamson
On Wed, 17 Mar 2021 13:16:58 +0800 Lu Baolu wrote: > Hi Longpeng, > > On 3/17/21 11:16 AM, Longpeng (Mike, Cloud Infrastructure Service > Product Dept.) wrote: > > Hi guys, > > > > We find the Intel iommu cache (i.e. iotlb) maybe works wrong in a special > > situation, it would cause DMA

Re: [PATCH v7 2/3] block: add bdev_interposer

2021-03-17 Thread Mike Snitzer
On Wed, Mar 17 2021 at 8:22am -0400, Sergei Shtepa wrote: > The 03/17/2021 06:03, Ming Lei wrote: > > On Tue, Mar 16, 2021 at 07:35:44PM +0300, Sergei Shtepa wrote: > > > The 03/16/2021 11:09, Ming Lei wrote: > > > > On Fri, Mar 12, 2021 at 06:44:54PM +0300, Sergei Shtepa wrote: > > > > >

Re: [PATCH v5 2/5] mm,compaction: Let isolate_migratepages_{range,block} return error codes

2021-03-17 Thread Michal Hocko
On Wed 17-03-21 15:38:35, Oscar Salvador wrote: > On Wed, Mar 17, 2021 at 03:12:29PM +0100, Michal Hocko wrote: > > > Since isolate_migratepages_block will stop returning the next pfn to be > > > scanned, we reuse the cc->migrate_pfn field to keep track of that. > > > > This looks hakish and I

RE: [PATCH v3] ASoC: Intel: sof_rt5682: Add ALC1015Q-VB speaker amp support

2021-03-17 Thread Lu, Brent
> > The code is looks fine, but Jack Yu added a separate patch that makes > RTL1019 equivalent to RTL1015, so should this patch also handle the > RTL1019 case? The topology used by this machine driver is using 48k, 64fs I2S format. RT1019 needs to support this configuration. Not sure if RT1019

Re: [PATCH 2/3] drivers/perf: convert sysfs scnprintf family to sysfs_emit_at

2021-03-17 Thread kernel test robot
Hi Qi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.12-rc3 next-20210317] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH] usb: dwc3: remove 'pm_runtime_set_active' in resume callback

2021-03-17 Thread Alan Stern
On Wed, Mar 17, 2021 at 05:25:20PM +0900, taehyun cho wrote: > On Mon, Mar 15, 2021 at 10:13:35AM -0400, Alan Stern wrote: > > On Mon, Mar 15, 2021 at 04:43:17PM +0900, taehyun cho wrote: > > > 'pm_runtime_set_active' sets a flag to describe rumtime status. > > > This flag is automatically set in

Re: [PATCH v5 1/5] mm,page_alloc: Bail out earlier on -ENOMEM in alloc_contig_migrate_range

2021-03-17 Thread Michal Hocko
On Wed 17-03-21 15:42:43, David Hildenbrand wrote: > On 17.03.21 15:05, Michal Hocko wrote: > > On Wed 17-03-21 12:12:47, Oscar Salvador wrote: > > > Currently, __alloc_contig_migrate_range can generate -EINTR, -ENOMEM or > > > -EBUSY, > > > and report them down the chain. > > > The problem is

Re: [PATCH v7 5/5] certs: Allow root user to append signed hashes to the blacklist keyring

2021-03-17 Thread Eric Snowberg
> On Mar 15, 2021, at 12:01 PM, Mickaël Salaün wrote: > > > On 15/03/2021 17:59, Eric Snowberg wrote: >> >>> On Mar 12, 2021, at 10:12 AM, Mickaël Salaün wrote: >>> >>> From: Mickaël Salaün >>> >>> Add a kernel option SYSTEM_BLACKLIST_AUTH_UPDATE to enable the root user >>> to

Re: [patch 1/1] genirq: Disable interrupts for force threaded handlers

2021-03-17 Thread Sebastian Andrzej Siewior
On 2021-03-17 15:38:52 [+0100], Thomas Gleixner wrote: > With interrupt force threading all device interrupt handlers are invoked > from kernel threads. Contrary to hard interrupt context the invocation only > disables bottom halfs, but not interrupts. This was an oversight back then > because any

Re: [PATCH 1/2] KVM: arm64: Introduce KVM_PGTABLE_S2_NOFWB Stage-2 flag

2021-03-17 Thread Quentin Perret
On Wednesday 17 Mar 2021 at 14:41:31 (+), Marc Zyngier wrote: > Hi Quentin, > > On Wed, 17 Mar 2021 14:17:13 +, > Quentin Perret wrote: > > > > In order to further configure stage-2 page-tables, pass flags to the > > init function using a new enum. > > > > The first of these flags

Re: [PATCH v2] seq_file: Unconditionally use vmalloc for buffer

2021-03-17 Thread Michal Hocko
On Wed 17-03-21 14:34:27, Greg KH wrote: > On Wed, Mar 17, 2021 at 01:08:21PM +0100, Michal Hocko wrote: > > Btw. I still have problems with the approach. seq_file is intended to > > provide safe way to dump values to the userspace. Sacrificing > > performance just because of some abuser seems

Re: [PATCH 1/2] KVM: arm64: Introduce KVM_PGTABLE_S2_NOFWB Stage-2 flag

2021-03-17 Thread Will Deacon
On Wed, Mar 17, 2021 at 02:17:13PM +, Quentin Perret wrote: > In order to further configure stage-2 page-tables, pass flags to the > init function using a new enum. > > The first of these flags allows to disable FWB even if the hardware > supports it as we will need to do so for the host

Re: [PATCH v5 1/5] mm,page_alloc: Bail out earlier on -ENOMEM in alloc_contig_migrate_range

2021-03-17 Thread David Hildenbrand
On 17.03.21 15:05, Michal Hocko wrote: On Wed 17-03-21 12:12:47, Oscar Salvador wrote: Currently, __alloc_contig_migrate_range can generate -EINTR, -ENOMEM or -EBUSY, and report them down the chain. The problem is that when migrate_pages() reports -ENOMEM, we keep going till we exhaust all the

Re: [PATCH 1/2] KVM: arm64: Introduce KVM_PGTABLE_S2_NOFWB Stage-2 flag

2021-03-17 Thread Marc Zyngier
Hi Quentin, On Wed, 17 Mar 2021 14:17:13 +, Quentin Perret wrote: > > In order to further configure stage-2 page-tables, pass flags to the > init function using a new enum. > > The first of these flags allows to disable FWB even if the hardware > supports it as we will need to do so for

[patch 1/1] genirq: Disable interrupts for force threaded handlers

2021-03-17 Thread Thomas Gleixner
With interrupt force threading all device interrupt handlers are invoked from kernel threads. Contrary to hard interrupt context the invocation only disables bottom halfs, but not interrupts. This was an oversight back then because any code like this will have an issue: thread(irq_A)

Re: [PATCH 6/9] objtool: Add elf_create_undef_symbol()

2021-03-17 Thread Miroslav Benes
On Wed, 17 Mar 2021, Peter Zijlstra wrote: > On Wed, Mar 17, 2021 at 02:52:23PM +0100, Miroslav Benes wrote: > > > > + if (!elf_symbol_add(elf, sym, SHN_XINDEX)) { > > > + WARN("elf_symbol_add"); > > > + return NULL; > > > + } > > > > SHN_XINDEX means that the extended section

Re: [PATCH v3 1/1] irqchip/gic-v4.1: Disable vSGI upon (GIC CPUIF < v4.1) detection

2021-03-17 Thread Lorenzo Pieralisi
On Wed, Mar 17, 2021 at 02:04:36PM +, Marc Zyngier wrote: > Hi Lorenzo, > > Wed, 17 Mar 2021 10:07:19 +, > Lorenzo Pieralisi wrote: > > > > GIC CPU interfaces versions predating GIC v4.1 were not built to > > accommodate vINTID within the vSGI range; as reported in the GIC > >

Re: [PATCH v5 2/5] mm,compaction: Let isolate_migratepages_{range,block} return error codes

2021-03-17 Thread Oscar Salvador
On Wed, Mar 17, 2021 at 03:12:29PM +0100, Michal Hocko wrote: > > Since isolate_migratepages_block will stop returning the next pfn to be > > scanned, we reuse the cc->migrate_pfn field to keep track of that. > > This looks hakish and I cannot really tell that users of cc->migrate_pfn > work as

[PATCH v8 22/22] pinctrl: add a pincontrol driver for BCM6318

2021-03-17 Thread Álvaro Fernández Rojas
Add a pincontrol driver for BCM6318. BCM6318 allows muxing most GPIOs to different functions. BCM6318 is similar to BCM6328 with the addition of a pad register, and the GPIO meaning of the mux register changes based on the GPIO number. Co-developed-by: Jonas Gorski Signed-off-by: Jonas Gorski

[PATCH v8 20/22] dt-bindings: add BCM6318 pincontroller binding documentation

2021-03-17 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in BCM6318 SoCs. Co-developed-by: Jonas Gorski Signed-off-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v8: add changes suggested by Rob Herring v7: add changes suggested by Rob Herring v6: add changes suggested by Rob

[PATCH v8 19/22] pinctrl: add a pincontrol driver for BCM63268

2021-03-17 Thread Álvaro Fernández Rojas
Add a pincontrol driver for BCM63268. BCM63268 allows muxing GPIOs to different functions. Depending on the mux, these are either single pin configurations or whole pin groups. Co-developed-by: Jonas Gorski Signed-off-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v8: no changes

[PATCH v8 21/22] dt-bindings: add BCM6318 GPIO sysctl binding documentation

2021-03-17 Thread Álvaro Fernández Rojas
Add binding documentation for the GPIO sysctl found in BCM6318 SoCs. Signed-off-by: Álvaro Fernández Rojas --- v8: add changes suggested by Rob Herring v7: add changes suggested by Rob Herring .../mfd/brcm,bcm6318-gpio-sysctl.yaml | 177 ++ 1 file changed, 177

[PATCH v8 18/22] dt-bindings: add BCM63268 GPIO sysctl binding documentation

2021-03-17 Thread Álvaro Fernández Rojas
Add binding documentation for the GPIO sysctl found in BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas --- v8: add changes suggested by Rob Herring v7: add changes suggested by Rob Herring .../mfd/brcm,bcm63268-gpio-sysctl.yaml| 194 ++ 1 file changed, 194

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