Re: [PATCH v6 2/6] tracing: Rework synthetic event command parsing

2021-01-25 Thread Tom Zanussi
On Fri, 2021-01-22 at 22:16 +0900, Masami Hiramatsu wrote: > On Thu, 21 Jan 2021 11:01:05 -0600 > Tom Zanussi wrote: > > > Now that command parsing has been delegated to the create functions > > and we're no longer constrained by argv_split(), we can modify the > > synthetic event command parser

[PATCH v4 0/2] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber

2021-01-25 Thread Pali Rohár
This is fourth version of patches which add workarounds for RTL8672/RTL9601C EEPROMs and Ubiquiti U-Fiber Instant SFP. The only change since third version is modification of commit messages. Pali Rohár (2): net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips net: sfp: add mode

[PATCH v4 1/2] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips

2021-01-25 Thread Pali Rohár
The workaround for VSOL V2801F brand based GPON SFP modules added in commit 0d035bed2a4a ("net: sfp: VSOL V2801F / CarlitoxxPro CPGOS03-0490 v2.0 workaround") works only for IDs added explicitly to the list. Since there are rebranded modules where OEM vendors put different strings into the vendor

[PATCH] watch_queue: rectify kernel-doc for init_watch()

2021-01-25 Thread Lukas Bulwahn
The command './scripts/kernel-doc -none kernel/watch_queue.c' reported a mismatch in the kernel-doc of init_watch(). Rectify the kernel-doc, such that no issues remain for watch_queue.c. Signed-off-by: Lukas Bulwahn --- applies cleanly on v5.11-rc5 and next-20210122 David, please pick this

[PATCH] regulator: pf8x00: set ramp_delay for bucks

2021-01-25 Thread Christoph Fritz
This patch sets ramp_delay for bucks to the max value given by the datasheet. Signed-off-by: Christoph Fritz Reviewed-by: Adrien Grassein --- drivers/regulator/pf8x00-regulator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/pf8x00-regulator.c

Re: [PATCH 1/3] kvfree_rcu: Allocate a page for a single argument

2021-01-25 Thread Michal Hocko
On Mon 25-01-21 15:31:50, Uladzislau Rezki wrote: > > On Wed 20-01-21 17:21:46, Uladzislau Rezki (Sony) wrote: > > > For a single argument we can directly request a page from a caller > > > context when a "carry page block" is run out of free spots. Instead > > > of hitting a slow path we can

Re: linux-next: manual merge of the bpf-next tree with the net-next tree

2021-01-25 Thread Stanislav Fomichev
Thanks, the merge resolution looks good to me! On Sun, Jan 24, 2021 at 4:12 PM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the bpf-next tree got a conflict in: > > net/ipv4/tcp.c > > between commit: > > 7eeba1706eba ("tcp: Add receive timestamp support for receive

Re: [PATCH] ACPI / device_sysfs: Prefer "compatible" modalias

2021-01-25 Thread Rafael J. Wysocki
On Fri, Jan 22, 2021 at 2:06 PM Greg Kroah-Hartman wrote: > > On Fri, Jan 22, 2021 at 08:53:02PM +0800, Kai-Heng Feng wrote: > > Commit 8765c5ba1949 ("ACPI / scan: Rework modalias creation when > > "compatible" is present") may create two "MODALIAS=" in uevent file if > > conditions are met. > >

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-25 Thread Michal Hocko
On Mon 25-01-21 10:57:54, Waiman Long wrote: > On 1/25/21 4:28 AM, Michal Hocko wrote: > > On Sun 24-01-21 23:24:41, Waiman Long wrote: > > > The commit 3fea5a499d57 ("mm: memcontrol: convert page > > > cache to a new mem_cgroup_charge() API") introduced a bug in > > > __add_to_page_cache_locked()

Re: [PATCH v3 1/6] drivers: crypto: qce: sha: Restore/save ahash state with custom struct in export/import

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: Please drop "drivers: " from $subject. > Export and import interfaces save and restore partial transformation > states. The partial states were being stored and restored in struct > sha1_state for sha1/hmac(sha1) transformations and

Re: [PATCH net-next v2 1/2] dt-bindings: net: dsa: add MT7530 GPIO controller binding

2021-01-25 Thread DENG Qingfang
On Mon, Jan 25, 2021 at 11:52 PM Rob Herring wrote: > > Please add Acked-by/Reviewed-by tags when posting new versions. However, > there's no need to repost patches *only* to add the tags. The upstream > maintainer will do that for acks received on the version they apply. Sorry. Will do that

Re: [PATCH v4 1/3] arm64: Improve kernel address detection of __is_lm_address()

2021-01-25 Thread Vincenzo Frascino
On 1/25/21 2:59 PM, Catalin Marinas wrote: > On Mon, Jan 25, 2021 at 02:36:34PM +, Vincenzo Frascino wrote: >> On 1/25/21 1:02 PM, Mark Rutland wrote: >>> On Fri, Jan 22, 2021 at 03:56:40PM +, Vincenzo Frascino wrote: Currently, the __is_lm_address() check just masks out the top 12

Re: [PATCH] sgi-xp: remove h from printk format specifier

2021-01-25 Thread Steve Wahl
Reviewed-By: Steve Wahl On Sat, Jan 23, 2021 at 08:00:03AM -0800, t...@redhat.com wrote: > From: Tom Rix > > This change fixes the checkpatch warning described in this commit > commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of > unnecessary %h[xudi] and %hh[xudi]") > >

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-25 Thread Waiman Long
On 1/25/21 4:28 AM, Michal Hocko wrote: On Sun 24-01-21 23:24:41, Waiman Long wrote: The commit 3fea5a499d57 ("mm: memcontrol: convert page cache to a new mem_cgroup_charge() API") introduced a bug in __add_to_page_cache_locked() causing the following splat: [ 1570.068330] page dumped

Re: [External] : Re: [PATCH v2 0/5] Introduce PRU remoteproc consumer API

2021-01-25 Thread Santosh Shilimkar
On Jan 25, 2021, at 7:43 AM, Suman Anna wrote: > > Hi Santosh, > > On 1/24/21 10:34 PM, santosh.shilim...@oracle.com wrote: >> Hi Suman, Mathieu, >> >> On 1/7/21 2:49 PM, Suman Anna wrote: >>> On 1/7/21 4:44 PM, Mathieu Poirier wrote: On Wed, Jan 06, 2021 at 06:03:25PM -0600, Suman Anna

Re: [PATCH 2/5] ARM: dts: stm32: Add Engicam MicroGEA STM32MP1 SoM

2021-01-25 Thread Alexandre TORGUE
Hi, On 12/23/20 8:13 PM, Jagan Teki wrote: MicroGEA STM32MP1 is an EDIMM SoM based on STM32MP157A from Engicam. General features: - STM32MP157AAC - Up to 1GB DDR3L-800 - 512MB Nand flash - I2S MicroGEA STM32MP1 needs to mount on top of Engicam MicroDev carrier boards for creating complete

[PATCH] fs: export kern_path_locked

2021-01-25 Thread Denis Kirjanov
the function is used outside and we have a prototype defined in namei.h Signed-off-by: Denis Kirjanov --- fs/namei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/namei.c b/fs/namei.c index 78443a85480a..3de3b3642302 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2450,6 +2450,7 @@ struct

Re: [PATCH] ath9k: fix build error with LEDS_CLASS=m

2021-01-25 Thread Arnd Bergmann
On Mon, Jan 25, 2021 at 4:04 PM Krzysztof Kozlowski wrote: > On Mon, 25 Jan 2021 at 15:38, Arnd Bergmann wrote: > > On Mon, Jan 25, 2021 at 2:27 PM Krzysztof Kozlowski wrote: > > I meant that having MAC80211_LEDS selected causes the ath9k driver to > toggle on/off the WiFi LED. Every second,

[PATCH v4 06/21] mfd: axp20x: Allow AXP chips without interrupt lines

2021-01-25 Thread Andre Przywara
Currently the AXP chip requires to have its IRQ line connected to some interrupt controller, and will fail probing when this is not the case. On a new Allwinner SoC (H616) there is no NMI pin anymore, and at least one board does not connect the AXP's IRQ pin to anything else, so the interrupt

Re: [PATCH 4/4] vfio-pci/zdev: Introduce the zPCI I/O vfio region

2021-01-25 Thread Matthew Rosato
On 1/25/21 10:42 AM, Cornelia Huck wrote: On Mon, 25 Jan 2021 09:40:38 -0500 Matthew Rosato wrote: On 1/22/21 6:48 PM, Alex Williamson wrote: On Tue, 19 Jan 2021 15:02:30 -0500 Matthew Rosato wrote: Some s390 PCI devices (e.g. ISM) perform I/O operations that have very specific

Re: [PATCH net-next v2 1/2] dt-bindings: net: dsa: add MT7530 GPIO controller binding

2021-01-25 Thread Rob Herring
On Mon, 25 Jan 2021 12:43:21 +0800, DENG Qingfang wrote: > Add device tree binding to support MT7530 GPIO controller. > > Signed-off-by: DENG Qingfang > --- > Changes v1 -> v2: > No changes. > > Documentation/devicetree/bindings/net/dsa/mt7530.txt | 6 ++ > 1 file changed, 6

Re: [PATCH] amdgpu: fix clang build warning

2021-01-25 Thread Alex Deucher
On Mon, Jan 25, 2021 at 7:24 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > clang warns about the -mhard-float command line arguments > on architectures that do not support this: > > clang: error: argument unused during compilation: '-mhard-float' > [-Werror,-Wunused-command-line-argument]

Re: [PATCH v10 05/12] mm: HUGE_VMAP arch support cleanup

2021-01-25 Thread Christophe Leroy
Le 24/01/2021 à 12:40, Christoph Hellwig a écrit : diff --git a/arch/arm64/include/asm/vmalloc.h b/arch/arm64/include/asm/vmalloc.h index 2ca708ab9b20..597b40405319 100644 --- a/arch/arm64/include/asm/vmalloc.h +++ b/arch/arm64/include/asm/vmalloc.h @@ -1,4 +1,12 @@ #ifndef

Re: [PATCH] Bluetooth: drop HCI device reference before return

2021-01-25 Thread Marcel Holtmann
Hi Pan, > Call hci_dev_put() to decrement reference count of HCI device hdev if > fails to duplicate memory. > > Fixes: 0b26ab9dce74 ("Bluetooth: AMP: Handle Accept phylink command status > evt") > Signed-off-by: Pan Bian > --- > net/bluetooth/a2mp.c | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 1/3] Bluetooth: btusb: Refactor gpio reset

2021-01-25 Thread Marcel Holtmann
Hi Abhishek, > Refactor gpio reset to use a common gpio reset function. > > Signed-off-by: Abhishek Pandit-Subedi > Reviewed-by: Miao-chen Chou > --- > > drivers/bluetooth/btusb.c | 59 +-- > 1 file changed, 19 insertions(+), 40 deletions(-) > > diff --git

Re: [PATCH] Bluetooth: Put HCI device if inquiry procedure interrupts

2021-01-25 Thread Marcel Holtmann
Hi Pan, > Jump to the label done to decrement the reference count of HCI device > hdev on path that the Inquiry procedure is interrupted. > > Fixes: 3e13fa1e1fab ("Bluetooth: Fix hci_inquiry ioctl usage") > Signed-off-by: Pan Bian > --- > net/bluetooth/hci_core.c | 6 -- > 1 file changed, 4

Re: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Jason Gunthorpe
On Mon, Jan 25, 2021 at 04:34:56PM +0800, Zhou Wang wrote: > +static int uacce_pin_page(struct uacce_pin_container *priv, > + struct uacce_pin_address *addr) > +{ > + unsigned int flags = FOLL_FORCE | FOLL_WRITE; > + unsigned long first, last, nr_pages; > +

Re: [PATCH v6 0/7] MSFT offloading support for advertisement monitor

2021-01-25 Thread Marcel Holtmann
Hi Archie, > This series of patches manages the hardware offloading part of MSFT > extension API. The full documentation can be accessed by this link: > https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/microsoft-defined-bluetooth-hci-commands-and-events > > Only four of the

Re: LTP: madvise08.c:203: TFAIL: No sequence in dump after MADV_DODUMP.

2021-01-25 Thread Arnd Bergmann
On Mon, Jan 25, 2021 at 3:48 PM Naresh Kamboju wrote: > > LTP syscalls madvise08 test case failed on all devices from > Linux next 20210118 to till day. > strace log attached to this email and link provided below. > > BAD: next-20210118 > GOOD: next-20210115 > > This failure is easily

Re: [PATCH 1/2] x86/setup: consolidate early memory reservations

2021-01-25 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 03:59:11PM +0100, Borislav Petkov wrote: > On Fri, Jan 15, 2021 at 10:32:54AM +0200, Mike Rapoport wrote: > > + trim_low_memory_range(); > > Btw, you can get rid of that one too: > > /* > * Here we put platform-specific memory range workarounds, i.e. > * memory known

[PATCH v2 4/4] dmaengine: rcar-dmac: Add support for R-Car V3U

2021-01-25 Thread Geert Uytterhoeven
The DMACs (both SYS-DMAC and RT-DMAC) on R-Car V3U differ slightly from the DMACs on R-Car Gen2 and other R-Car Gen3 SoCs: 1. The per-channel registers are located in a second register block. Add support for mapping the second block, using the appropriate offsets and stride. 2. The

Re: [PATCH v6 08/14] mm/gup: do not migrate zero page

2021-01-25 Thread Pavel Tatashin
On Mon, Jan 25, 2021 at 9:28 AM Jason Gunthorpe wrote: > > On Wed, Jan 20, 2021 at 09:26:41AM -0500, Pavel Tatashin wrote: > > > I thought about this, and it would code a little cleaner. But, the > > reason I did not is because zero_page is perfectly pinnable, it is not > > pinnable only when it

[PATCH RESEND V12 0/8] fuse: Add support for passthrough read/write

2021-01-25 Thread Alessio Balsini
This is the 12th version of the series, rebased on top of v5.11-rc5. Please find the changelog at the bottom of this cover letter. Add support for file system passthrough read/write of files when enabled in userspace through the option FUSE_PASSTHROUGH. There are file systems based on FUSE that

[PATCH RESEND V12 5/8] fuse: Introduce synchronous read and write for passthrough

2021-01-25 Thread Alessio Balsini
All the read and write operations performed on fuse_files which have the passthrough feature enabled are forwarded to the associated lower file system file via VFS. Sending the request directly to the lower file system avoids the userspace round-trip that, because of possible context switches and

[PATCH v2 4/7] rbtree, perf: Use new rbtree helpers

2021-01-25 Thread Peter Zijlstra
Reduce rbtree boiler plate by using the new helpers. One noteworthy change is unification of the various (partial) compare functions. We construct a subtree match by forcing the sub-order to always match, see __group_cmp(). Due to 'const' we had to touch cgroup_id(). Cc: Tejun Heo

[PATCH RESEND V12 2/8] fuse: 32-bit user space ioctl compat for fuse device

2021-01-25 Thread Alessio Balsini
With a 64-bit kernel build the FUSE device cannot handle ioctl requests coming from 32-bit user space. This is due to the ioctl command translation that generates different command identifiers that thus cannot be used for direct comparisons without proper manipulation. Explicitly extract type and

Re: [PATCH v2 2/2] thermal: Move therm_throt there from x86/mce

2021-01-25 Thread Zhang Rui
Hi, Borislav, Thanks for the patch. CC Srinivas. On Mon, 2021-01-25 at 14:05 +0100, Borislav Petkov wrote: > From: Borislav Petkov > > This functionality has nothing to do with MCE, move it to the thermal > framework and untangle it from MCE. > Agreed. just one question, there are many

[PATCH RESEND V12 6/8] fuse: Handle asynchronous read and write in passthrough

2021-01-25 Thread Alessio Balsini
Extend the passthrough feature by handling asynchronous IO both for read and write operations. When an AIO request is received, if the request targets a FUSE file with the passthrough functionality enabled, a new identical AIO request is created. The new request targets the lower file system file

[PATCH v4 17/21] dt-bindings: usb: sunxi-musb: Add H616 compatible string

2021-01-25 Thread Andre Przywara
The H616 MUSB peripheral is presumably compatible to the H3 one. Signed-off-by: Andre Przywara Acked-by: Maxime Ripard --- .../devicetree/bindings/usb/allwinner,sun4i-a10-musb.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-25 Thread Waiman Long
On 1/25/21 3:07 AM, Muchun Song wrote: On Mon, Jan 25, 2021 at 12:29 PM Waiman Long wrote: The commit 3fea5a499d57 ("mm: memcontrol: convert page cache to a new mem_cgroup_charge() API") introduced a bug in __add_to_page_cache_locked() causing the following splat: [ 1570.068330] page dumped

[PATCH v4 02/21] clk: sunxi-ng: Add support for the Allwinner H616 R-CCU

2021-01-25 Thread Andre Przywara
The clocks itself are identical to the H6 R-CCU, it's just that the H616 has not all of them implemented (or connected). Signed-off-by: Andre Przywara Acked-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 2 +- drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c | 48

Re: [PATCH 1/2] x86/setup: consolidate early memory reservations

2021-01-25 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 03:50:41PM +0100, Borislav Petkov wrote: > On Fri, Jan 15, 2021 at 10:32:54AM +0200, Mike Rapoport wrote: > > From: Mike Rapoport > > > > The early reservations of memory areas used by the firmware, bootloader, > > kernel text and data are spread over setup_arch().

[PATCH v4 03/21] clk: sunxi-ng: Add support for the Allwinner H616 CCU

2021-01-25 Thread Andre Przywara
While the clocks are fairly similar to the H6, many differ in tiny details, so a separate clock driver seems indicated. Derived from the H6 clock driver, and adjusted according to the manual. Signed-off-by: Andre Przywara Acked-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig

[PATCH v4 07/21] dt-bindings: sram: sunxi-sram: Add H616 compatible string

2021-01-25 Thread Andre Przywara
The H616 adds a second EMAC clock register. We don't know about the exact SRAM properties yet, so this gets omitted for now. Signed-off-by: Andre Przywara Acked-by: Rob Herring --- .../bindings/sram/allwinner,sun4i-a10-system-control.yaml| 1 + 1 file changed, 1 insertion(+) diff

[PATCH v4 05/21] Input: axp20x-pek: Bail out if AXP has no interrupt line connected

2021-01-25 Thread Andre Przywara
On at least one board (Orangepi Zero2) the AXP305 PMIC does not have its interrupt line connected to the CPU (mostly because the H616 SoC does not feature an NMI pin anymore). After allowing the AXP driver to proceed without an "interrupts" property [1], the axp20x-pek driver crashes with a NULL

Re: [PATCH 1/2] x86/setup: consolidate early memory reservations

2021-01-25 Thread Borislav Petkov
On Fri, Jan 15, 2021 at 10:32:54AM +0200, Mike Rapoport wrote: > + trim_low_memory_range(); Btw, you can get rid of that one too: /* * Here we put platform-specific memory range workarounds, i.e. * memory known to be corrupt or otherwise in need to be reserved on * specific platforms. *

Re: [PATCH v4 1/3] arm64: Improve kernel address detection of __is_lm_address()

2021-01-25 Thread Catalin Marinas
On Mon, Jan 25, 2021 at 02:36:34PM +, Vincenzo Frascino wrote: > On 1/25/21 1:02 PM, Mark Rutland wrote: > > On Fri, Jan 22, 2021 at 03:56:40PM +, Vincenzo Frascino wrote: > >> Currently, the __is_lm_address() check just masks out the top 12 bits > >> of the address, but if they are 0, it

[PATCH v4 22/23] powerpc/syscall: Optimise checks in beginning of system_call_exception()

2021-01-25 Thread Christophe Leroy
Combine all tests of regs->msr into a single logical one. Before the patch: 0: 81 6a 00 84 lwz r11,132(r10) 4: 90 6a 00 88 stw r3,136(r10) 8: 69 60 00 02 xorir0,r11,2 c: 54 00 ff fe rlwinm r0,r0,31,31,31 10: 0f 00 00 00 twnei r0,0 14:

Re: [PATCH v5 18/21] arm64: Move "nokaslr" over to the early cpufeature infrastructure

2021-01-25 Thread Ard Biesheuvel
On Mon, 25 Jan 2021 at 15:28, Marc Zyngier wrote: > > On 2021-01-25 14:19, Ard Biesheuvel wrote: > > On Mon, 25 Jan 2021 at 14:54, Marc Zyngier wrote: > >> > >> On 2021-01-25 12:54, Ard Biesheuvel wrote: > > [...] > > >> > This struct now takes up > >> > - ~100 bytes for the characters

[PATCH v4 21/23] powerpc/syscall: Remove FULL_REGS verification in system_call_exception

2021-01-25 Thread Christophe Leroy
For book3s/64, FULL_REGS() is 'true' at all time, so the test voids. For others, non volatile registers are saved inconditionally. So the verification is pointless. Should one fail to do it, it would anyway be caught by the CHECK_FULL_REGS() in copy_thread() as we have removed the special

Re: [PATCH net-next] net: core: devlink: add new trap action HARD_DROP

2021-01-25 Thread Jiri Pirko
Mon, Jan 25, 2021 at 01:24:27PM CET, oleksandr.ma...@plvision.eu wrote: >Thu, Jan 21, 2021 at 06:36:05PM CET, k...@kernel.org wrote: >>On Thu, 21 Jan 2021 14:21:52 +0200 Ido Schimmel wrote: >>> On Thu, Jan 21, 2021 at 01:29:37PM +0200, Oleksandr Mazur wrote: >>> > Add new trap action HARD_DROP,

Re: [PATCH 2/2] x86/setup: merge several reservations of start of the memory

2021-01-25 Thread Borislav Petkov
On Fri, Jan 15, 2021 at 10:32:55AM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > Currently the first several pages are reserved both to avoid leaking their > contents on systems with L1TF and to avoid corrupting BIOS memory. > > Merge the two memory reservations. > > Signed-off-by:

Re: [PATCH 1/2] x86/setup: consolidate early memory reservations

2021-01-25 Thread Borislav Petkov
On Fri, Jan 15, 2021 at 10:32:54AM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > The early reservations of memory areas used by the firmware, bootloader, > kernel text and data are spread over setup_arch(). Moreover, some of them > happen *after* memblock allocations, e.g

[PATCH v4 18/23] powerpc/32: Remove verification of MSR_PR on syscall in the ASM entry

2021-01-25 Thread Christophe Leroy
system_call_exception() checks MSR_PR and BUGs if a syscall is issued from kernel mode. No need to handle it anymore from the ASM entry code. null_syscall reduction 2 cycles (348 => 346 cycles) Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 30

[PATCH v4 17/23] powerpc/syscall: implement system call entry/exit logic in C for PPC32

2021-01-25 Thread Christophe Leroy
That's port of PPC64 syscall entry/exit logic in C to PPC32. Performancewise on 8xx: Before : 304 cycles on null_syscall After : 348 cycles on null_syscall Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 227 --- arch/powerpc/kernel/head_32.h

Re: [RFC PATCH v1] sched/fair: limit load balance redo times at the same sched_domain level

2021-01-25 Thread Vincent Guittot
On Mon, 25 Jan 2021 at 15:00, Li, Aubrey wrote: > > On 2021/1/25 18:56, Vincent Guittot wrote: > > On Mon, 25 Jan 2021 at 06:50, Aubrey Li wrote: > >> > >> A long-tail load balance cost is observed on the newly idle path, > >> this is caused by a race window between the first nr_running check >

Re: [PATCH 1/2] media: venus: core: Add sdm660 DT compatible and resource struct

2021-01-25 Thread AngeloGioacchino Del Regno
Il 25/01/21 11:40, Hans Verkuil ha scritto: On 18/01/2021 18:45, AngeloGioacchino Del Regno wrote: Il 18/01/21 18:21, Stanimir Varbanov ha scritto: Hi Angelo, Thanks for the patch! On 1/15/21 8:52 PM, AngeloGioacchino Del Regno wrote: Add the SDM660 DT compatible and its resource structure,

Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg

2021-01-25 Thread Rob Herring
On Mon, 25 Jan 2021 19:12:21 +0800, Xin Ji wrote: > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > flag and DP tx lane0 and lane1 swing register array define. > > Signed-off-by: Xin Ji > --- > .../bindings/display/bridge/analogix,anx7625.yaml | 57 >

Re: [PATCH 2/2] dt-bindings: clock: ad9545: Add documentation

2021-01-25 Thread Rob Herring
On Mon, 25 Jan 2021 00:13:04 +0200, alexandru.tach...@analog.com wrote: > From: Alexandru Tachici > > Add dt bindings for ad9545. > > Signed-off-by: Alexandru Tachici > --- > .../devicetree/bindings/clock/clk-ad9545.yaml | 352 ++ > 1 file changed, 352 insertions(+) > create

[PATCH v4 19/23] powerpc/syscall: Avoid stack frame in likely part of system_call_exception()

2021-01-25 Thread Christophe Leroy
When r3 is not modified, reload it from regs->orig_r3 to free volatile registers. This avoids a stack frame for the likely part of system_call_exception() Before the patch: c000b4d4 : c000b4d4: 7c 08 02 a6 mflrr0 c000b4d8: 94 21 ff e0 stwur1,-32(r1) c000b4dc: 93

[PATCH v4 20/23] powerpc/syscall: Do not check unsupported scv vector on PPC32

2021-01-25 Thread Christophe Leroy
Only PPC64 has scv. No need to check the 0x7ff0 trap on PPC32. And ignore the scv parameter in syscall_exit_prepare (Save 14 cycles 346 => 332 cycles) Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 1 - arch/powerpc/kernel/syscall.c | 7 +-- 2 files changed, 5

[PATCH v4 23/23] powerpc/syscall: Avoid storing 'current' in another pointer

2021-01-25 Thread Christophe Leroy
By saving the pointer pointing to thread_info.flags, gcc copies r2 in a non-volatile register. We know 'current' doesn't change, so avoid that intermediaite pointer. Reduces null_syscall benchmark by 2 cycles (322 => 320 cycles) On PPC64, gcc seems to know that 'current' is not changing, and it

[PATCH v4 07/23] powerpc/8xx: Create C version of kuap_user/kernel_restore() and friends

2021-01-25 Thread Christophe Leroy
In preparation of porting PPC32 to C syscall entry/exit, create C version of kuap_user_restore() and kuap_kernel_restore() and kuap_check() and kuap_get_and_check() on 8xx Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/32/kup-8xx.h | 27 1 file changed,

[PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-01-25 Thread Christophe Leroy
syscall_64.c will be reused almost as is for PPC32. Rename it syscall.c Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/Makefile| 2 +- arch/powerpc/kernel/{syscall_64.c => syscall.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename

[PATCH v4 06/23] powerpc/32s: Create C version of kuap_user/kernel_restore() and friends

2021-01-25 Thread Christophe Leroy
In preparation of porting PPC32 to C syscall entry/exit, create C version of kuap_user_restore() and kuap_kernel_restore() and kuap_check() and kuap_get_and_check() on book3s/32. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/kup.h | 33 1 file

[PATCH v4 05/23] powerpc/64s: Make kuap_check_amr() and kuap_get_and_check_amr() generic

2021-01-25 Thread Christophe Leroy
In preparation of porting powerpc32 to C syscall entry/exit, rename kuap_check_amr() and kuap_get_and_check_amr() as kuap_check() and kuap_get_and_check(), and move in the generic asm/kup.h the stub for when CONFIG_PPC_KUAP is not selected. Signed-off-by: Christophe Leroy ---

Re: [PATCH v3 00/17] KVM: x86/pmu: Add support to enable Guest PEBS via DS

2021-01-25 Thread Liuxiangdong (Aven, Cloud Infrastructure Service Product Dept.)
Thanks for replying, On 2021/1/25 10:41, Like Xu wrote: + k...@vger.kernel.org Hi Liuxiangdong, On 2021/1/22 18:02, Liuxiangdong (Aven, Cloud Infrastructure Service Product Dept.) wrote: Hi Like, Some questions about

Re: [PATCH] sched/fair: Rate limit calls to update_blocked_averages() for NOHZ

2021-01-25 Thread Vincent Guittot
On Fri, 22 Jan 2021 at 20:10, Joel Fernandes wrote: > > Hi Vincent, > > Thanks for reply. Please see the replies below: > > On Fri, Jan 22, 2021 at 05:56:22PM +0100, Vincent Guittot wrote: > > On Fri, 22 Jan 2021 at 16:46, Joel Fernandes (Google) > > wrote: > > > > > > On an octacore ARM64

Re: [PATCH v3 0/2] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber

2021-01-25 Thread Russell King - ARM Linux admin
On Mon, Jan 25, 2021 at 03:23:01PM +0100, Pali Rohár wrote: > On Monday 25 January 2021 14:16:44 Russell King - ARM Linux admin wrote: > > On Mon, Jan 25, 2021 at 03:09:57PM +0100, Pali Rohár wrote: > > > On Monday 18 January 2021 10:34:35 Pali Rohár wrote: > > > > On Monday 11 January 2021

[PATCH] ntp: Use freezable workqueue for RTC synchronization

2021-01-25 Thread Geert Uytterhoeven
The bug fixed by commit e3fab2f3de081e98 ("ntp: Fix RTC synchronization on 32-bit platforms") revealed an underlying issue: RTC synchronization may happen anytime, even while the system is partially suspended. On systems where the RTC is connected to an I2C bus, the I2C bus controller may already

Re: [PATCH] ARM: multi_v7_defconfig: add STM32 CEC support

2021-01-25 Thread Alexandre TORGUE
Hi Yannick On 1/15/21 3:32 PM, Yannick Fertre wrote: Enable CEC support for STMicroelectronics as loadable module. Signed-off-by: Yannick Fertre --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH v4 1/3] arm64: Improve kernel address detection of __is_lm_address()

2021-01-25 Thread Vincenzo Frascino
Hi Mark, On 1/25/21 1:02 PM, Mark Rutland wrote: > Hi Vincenzo, > > On Fri, Jan 22, 2021 at 03:56:40PM +, Vincenzo Frascino wrote: >> Currently, the __is_lm_address() check just masks out the top 12 bits >> of the address, but if they are 0, it still yields a true result. >> This has as a

Re: [PATCH 1/3] kvfree_rcu: Allocate a page for a single argument

2021-01-25 Thread Uladzislau Rezki
> On Wed 20-01-21 17:21:46, Uladzislau Rezki (Sony) wrote: > > For a single argument we can directly request a page from a caller > > context when a "carry page block" is run out of free spots. Instead > > of hitting a slow path we can request an extra page by demand and > > proceed with a fast

Re: [PATCH] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-25 Thread Kalle Valo
YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: > WARNING: Comparison of 0/1 to bool variable > > Reported-by: Abaci Robot > Signed-off-by: YANG LI Patchwork gives me this From field: From: Jiapeng Zhong I guess

Re: [BACKPORT 5.4 PATCH] pinctrl: ingenic: Fix JZ4760 support

2021-01-25 Thread gregkh
On Sun, Jan 24, 2021 at 01:49:32PM +, Paul Cercueil wrote: > > > Le dim. 24 janv. 2021 à 13:47, Paul Cercueil a écrit > : > > - JZ4760 and JZ4760B have a similar register layout as the JZ4740, and > > don't use the new register layout, which was introduced with the > > JZ4770 SoC and

Re: [PATCH v3] x86: Treat R_386_PLT32 as R_386_PC32

2021-01-25 Thread Borislav Petkov
It's a good thing I have a toolchain guy who can explain to me what you guys are doing because you need to start writing those commit messages for !toolchain developers. On Thu, Jan 14, 2021 at 02:48:19PM -0800, Fangrui Song wrote: > This is similar to commit b21ebf2fb4cd ("x86: Treat

Re: [PATCH v3 0/2] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber

2021-01-25 Thread Pali Rohár
On Monday 25 January 2021 14:16:44 Russell King - ARM Linux admin wrote: > On Mon, Jan 25, 2021 at 03:09:57PM +0100, Pali Rohár wrote: > > On Monday 18 January 2021 10:34:35 Pali Rohár wrote: > > > On Monday 11 January 2021 12:39:07 Pali Rohár wrote: > > > > This is a third version of patches

Re: [PATCH v2] media: doc: pixfmt-yuv: Fix 4:4:4 subsampling info

2021-01-25 Thread Laurent Pinchart
Hi Helen, Thank you for the patch. On Mon, Jan 25, 2021 at 11:10:29AM -0300, Helen Koike wrote: > YUV 4:4:4 is not subsampled, fix this in the docs. > > Fixes: da785536e007 ("media: doc: pixfmt-yuv: Move all semi-planar YUV > formats to common file") > Signed-off-by: Helen Koike Reviewed-by:

Re: [PATCH 0/2] mmc: J7200: Add support for higher speed modes in MMCSD subsystems

2021-01-25 Thread Aswath Govindraju
Hi Nishanth, On 25/01/21 7:21 pm, Nishanth Menon wrote: > On 19:12-20210125, Aswath Govindraju wrote: >> Hi Nishanth, >> >> On 22/01/21 11:36 pm, Nishanth Menon wrote: >>> On 21:54-20210122, Aswath Govindraju wrote: >>>> The following series of patch

[PATCH] Documentation: arm: marvell: Fix dead link to Armada 37xx Product Brief

2021-01-25 Thread Pali Rohár
Signed-off-by: Pali Rohár --- Documentation/arm/marvell.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/arm/marvell.rst b/Documentation/arm/marvell.rst index b16e6f7e8dbe..fa22a72d4391 100644 --- a/Documentation/arm/marvell.rst +++

[PATCH 1/2] KVM: arm64: Distinguish cases of allocating memcache more precisely

2021-01-25 Thread Yanan Wang
With a guest translation fault, we don't really need the memcache pages when only installing a new entry to the existing page table or replacing the table entry with a block entry. And with a guest permission fault, we also don't need the memcache pages for a write_fault in dirty-logging time if

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-25 Thread Waiman Long
On 1/24/21 11:36 PM, Matthew Wilcox wrote: On Sun, Jan 24, 2021 at 11:24:41PM -0500, Waiman Long wrote: diff --git a/mm/filemap.c b/mm/filemap.c index 5c9d564317a5..aa0e0fb04670 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -835,6 +835,7 @@ noinline int __add_to_page_cache_locked(struct page

Re: [GIT PULL] Staging/IIO driver fixes for 5.11-rc5

2021-01-25 Thread Greg KH
On Sun, Jan 24, 2021 at 11:31:59AM -0800, Linus Torvalds wrote: > On Sun, Jan 24, 2021 at 4:58 AM Greg KH wrote: > > > > David Lechner (1): > > counter:ti-eqep: remove floor > > I'm not sure why that ti-eqep counter driver seems to be in your > "iio/staging" pile rather than "char/misc",

Re: [RFC PATCH 0/4] make jbd2 debug switch per device

2021-01-25 Thread 许春光
Thanks for your reply. Jan Kara wrote on 2021/1/25 20:41: > On Fri 22-01-21 14:43:18, Chunguang Xu wrote: >> On a multi-disk machine, because jbd2 debugging switch is global, this >> confuses the logs of multiple disks. It is not easy to distinguish the >> logs of each disk and the amount of

[PATCH] x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT enabled

2021-01-25 Thread Juergen Gross
When booting a kernel which has been built with CONFIG_AMD_MEM_ENCRYPT enabled as a Xen pv guest a warning is issued for each processor: [5.964347] [ cut here ] [5.968314] WARNING: CPU: 0 PID: 1 at /home/gross/linux/head/arch/x86/xen/enlighten_pv.c:660

[tip:master] BUILD SUCCESS 22840ddac02152c3853c9a59dada585fc85be3c9

2021-01-25 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210125 i386 randconfig-a002-20210125 i386 randconfig-a004-20210125 i386 randconfig-a006-20210125 i386

Re: [PATCH] USB: serial: cp210x: Add pid/vid for WSDA-200-USB

2021-01-25 Thread Johan Hovold
On Mon, Jan 25, 2021 at 09:26:54AM +, Pho Tran wrote: > Information pid/vid of WSDA-200-USB, Lord corporation company: > vid: 199b > pid: ba30 > > Signed-off-by: Pho Tran Applied, thanks. Johan

Re: [RFC PATCH v1] sched/fair: limit load balance redo times at the same sched_domain level

2021-01-25 Thread Li, Aubrey
On 2021/1/25 17:06, Mel Gorman wrote: > On Mon, Jan 25, 2021 at 02:02:58PM +0800, Aubrey Li wrote: >> A long-tail load balance cost is observed on the newly idle path, >> this is caused by a race window between the first nr_running check >> of the busiest runqueue and its nr_running recheck in

Re: [PATCH 0/2] mmc: J7200: Add support for higher speed modes in MMCSD subsystems

2021-01-25 Thread Nishanth Menon
On 19:12-20210125, Aswath Govindraju wrote: > Hi Nishanth, > > On 22/01/21 11:36 pm, Nishanth Menon wrote: > > On 21:54-20210122, Aswath Govindraju wrote: > >> The following series of patches > >> - adds support for HS200 and HS400 speed modes in MMCSD0 subsys

[PATCH 0/7] USB: serial: cp210x: modem-control fixes

2021-01-25 Thread Johan Hovold
This series fixes the modem-control handling and its interaction with hardware flow control in the cp210x driver. Johan Johan Hovold (7): USB: serial: cp210x: suppress modem-control errors USB: serial: cp210x: fix modem-control handling USB: serial: cp210x: drop shift macros USB: serial:

[PATCH iproute-next v2] devlink: add support for port params get/set

2021-01-25 Thread Oleksandr Mazur
Add implementation for the port parameters getting/setting. Add bash completion for port param. Add man description for port param. Signed-off-by: Oleksandr Mazur --- V2: 1) Add bash completion for port param; 2) Add man decsription / examples for port param; bash-completion/devlink |

Re: [PATCH v6 5/6] drm/imx: Introduce i.MX8qm/qxp DPU DRM

2021-01-25 Thread Laurentiu Palcu
Hi Liu Ying, Just some minor comments below. On Thu, Jan 21, 2021 at 03:14:22PM +0800, Liu Ying wrote: > This patch introduces i.MX8qm/qxp Display Processing Unit(DPU) DRM support. > > DPU is comprised of two main components that include a blit engine for > 2D graphics accelerations(with

Re: [PATCH v4] USB: serial: cp210x: Fix error 32 when hardware flow control is enabled.

2021-01-25 Thread Johan Hovold
On Thu, Jan 21, 2021 at 09:52:23AM +, Pho Tran wrote: > Fix error 32 returned by CP210X_SET_MHS when hardware flow control is enabled. > > The root cause of error 32 is that user application (CoolTerm, > linux-serial-test) > opened cp210x device with hardware flow control then attempt to

Re: [RFC PATCH v0] mm/slub: Let number of online CPUs determine the slub page order

2021-01-25 Thread Vlastimil Babka
On 1/23/21 1:32 PM, Vincent Guittot wrote: >> PowerPC PowerNV Host: (160 cpus) >> num_online_cpus 1 num_present_cpus 160 num_possible_cpus 160 nr_cpu_ids 160 >> >> PowerPC pseries KVM guest: (-smp 16,maxcpus=160) >> num_online_cpus 1 num_present_cpus 16 num_possible_cpus 160 nr_cpu_ids 160 >> >>

Re: [PATCH 2/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-01-25 Thread Oscar Salvador
On Mon, Jan 25, 2021 at 11:57:20AM +0100, David Hildenbrand wrote: > I'm confused. > > 1. Assume we hotplug memory, online it to ZONE_MOVABLE. The vmemmap gets > allocated from altmap space. The vmemmap could have never been allocated from altmap in case hpage vmemmap feature is enabled. Have a

[RFC PATCH v3 11/13] virtio/vsock: setup SEQPACKET ops for transport

2021-01-25 Thread Arseny Krasnov
This adds SEQPACKET ops for virtio transport Signed-off-by: Arseny Krasnov --- net/vmw_vsock/virtio_transport.c | 4 1 file changed, 4 insertions(+) diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c index 2700a63ab095..5a7ab1befee8 100644 ---

[RFC PATCH v3 12/13] vhost/vsock: setup SEQPACKET ops for transport

2021-01-25 Thread Arseny Krasnov
This also removes ignore of non-stream type of packets. Signed-off-by: Arseny Krasnov --- drivers/vhost/vsock.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 5e78fb719602..4d60a99aed14 100644 ---

[PATCH v3] mm, oom: Fix a comment in dump_task

2021-01-25 Thread Tang Yizhou
If p is a kthread, it will be checked in oom_unkillable_task() so we can delete the corresponding comment. Signed-off-by: Tang Yizhou Acked-by: David Rientjes Acked-by: Michal Hocko --- v2: Update CC list v3: Add Acked-by tags mm/oom_kill.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[RFC PATCH v3 01/13] af_vsock: prepare for SOCK_SEQPACKET support

2021-01-25 Thread Arseny Krasnov
This prepares af_vsock.c for SEQPACKET support: 1) As both stream and seqpacket sockets are connection oriented, add check for SOCK_SEQPACKET to conditions where SOCK_STREAM is checked. 2) Some functions such as setsockopt(), getsockopt(), connect(), recvmsg(), sendmsg() are shared between

Re: [PATCH 2/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-01-25 Thread Oscar Salvador
On Mon, Jan 25, 2021 at 12:02:53PM +0100, David Hildenbrand wrote: > Assume you have two consecutive memory blocks with 56 sizeof(struct page). > The first one allocates a PMD (2097152) but only consumes 1835008, the second > one reuses the remaining part and allocates another PMD (1835008), >

<    5   6   7   8   9   10   11   12   >