[tip:irq/core] BUILD SUCCESS a359f757965aafd0f58570de95dc6bc06cf12a9c

2021-03-22 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a004-20210322 i386 randconfig-a003-20210322 i386 randconfig-a001-20210322 i386 randconfig-a002-20210322 i386 randconfig-a006

[tip:master] BUILD SUCCESS 84ff07b87611fd30a764323e282ef70f8b132ee4

2021-03-22 Thread kernel test robot
ig powerpc allnoconfig i386 randconfig-a004-20210322 i386 randconfig-a003-20210322 i386 randconfig-a001-20210322 i386 randconfig-a002-20210322 i386 randconfig-a006-20210322 i386 randc

Re: [PATCH 1/2] vfio/pci: remove vfio_pci_nvlink2

2021-03-22 Thread Alex Williamson
On Mon, 22 Mar 2021 16:01:54 +0100 Christoph Hellwig wrote: > diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h > index 8ce36c1d53ca11..db7e782419d5d9 100644 > --- a/include/uapi/linux/vfio.h > +++ b/include/uapi/linux/vfio.h > @@ -332,19 +332,6 @@ struct vfio_region_info_cap_type

Re: [RFC PATCH 7/8] hugetlb: add update_and_free_page_no_sleep for irq context

2021-03-22 Thread Mike Kravetz
Cc: Roman, Christoph On 3/22/21 1:41 AM, Peter Zijlstra wrote: > On Fri, Mar 19, 2021 at 03:42:08PM -0700, Mike Kravetz wrote: >> The locks acquired in free_huge_page are irq safe. However, in certain >> circumstances the routine update_and_free_page could sleep. Since >> free_huge_page can be c

Re: linux-next: Tree for Mar 22 (net/ipa)

2021-03-22 Thread Alex Elder
On 3/22/21 12:16 PM, Randy Dunlap wrote: On 3/22/21 12:52 AM, Stephen Rothwell wrote: Hi all, Warning: Some of the branches in linux-next may still based on v5.12-rc1, so please be careful if you are trying to bisect a bug. News: if your -next included tree is based on Linus' tree tag v5.12-rc

Re: [PATCH 2/3] KVM: arm64: Generate final CTR_EL0 value when running in Protected mode

2021-03-22 Thread Quentin Perret
Hey Marc, On Monday 22 Mar 2021 at 16:48:27 (+), Marc Zyngier wrote: > In protected mode, late CPUs are not allowed to boot (enforced by > the PSCI relay). We can thus specialise the read_ctr macro to > always return a pre-computed, sanitised value. > > Signed-off-by: Marc Zyngier > --- > a

Re: [PATCH 6/6] clk: ingenic: Add support for the JZ4760

2021-03-22 Thread Paul Cercueil
Hi Zhou, Le mer. 17 mars 2021 à 20:41, Zhou Yanjie a écrit : Hi Paul, On 2021/3/7 下午10:17, Paul Cercueil wrote: Add the CGU code and the compatible string to the TCU driver to support the JZ4760 SoC. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/Kconfig| 10 + drive

Re: [PATCH] md: Fix missing unused status line of /proc/mdstat

2021-03-22 Thread Song Liu
On Wed, Mar 17, 2021 at 7:05 AM Jan Glauber wrote: > > Reading /proc/mdstat with a read buffer size that would not > fit the unused status line in the first read will skip this > line from the output. > > So 'dd if=/proc/mdstat bs=64 2>/dev/null' will not print something > like: unused devices: >

Re: [PATCH 02/17] dt-bindings: auxdisplay: ht16k33: Document Adafruit segment displays

2021-03-22 Thread Rob Herring
On Mon, 22 Mar 2021 15:48:33 +0100, Geert Uytterhoeven wrote: > The Holtek HT16K33 LED controller is not only used for driving > dot-matrix displays, but also for driving segment displays. > > Document compatible values for the Adafruit 7-segment[1] and > 14-segment[2] FeatherWing expansion boards

Re: [PATCH v2] dt-binding: leds: Document leds-multi-gpio bindings

2021-03-22 Thread Rob Herring
On Mon, 22 Mar 2021 17:18:19 +0800, Hermes Zhang wrote: > From: Hermes Zhang > > Document the device tree bindings of the multiple GPIOs LED driver > Documentation/devicetree/bindings/leds/leds-multi-gpio.yaml. > > Signed-off-by: Hermes Zhang > --- > > Notes: > Fix typo and missing item >

[syzbot] WARNING in io_wq_destroy

2021-03-22 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0d02ec6b Linux 5.12-rc4 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1739e4aad0 kernel config: https://syzkaller.appspot.com/x/.config?x=5adab0bdee099d7a dashboard link: https://syzkaller.appspo

Re: [PATCH v7 2/3] devicetree: nvmem: nvmem: drop $nodename restriction

2021-03-22 Thread Rob Herring
On Fri, 12 Mar 2021 07:28:20 +0100, Ansuel Smith wrote: > Drop $nodename restriction as now mtd partition can also be used as > nvmem provider. > > Signed-off-by: Ansuel Smith > --- > Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 --- > 1 file changed, 3 deletions(-) > Reviewed-by: Ro

Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check

2021-03-22 Thread Jessica Yu
+++ Peter Zijlstra [22/03/21 17:54 +0100]: On Mon, Mar 22, 2021 at 03:50:14PM +0100, Jessica Yu wrote: It should be doable. If you want the exit sections to be treated the same as module init, the following patch should stuff any exit sections into the module init "region" (completely untested)

Re: [PATCH v1 2/3] dt-bindings: riscv: convert plic bindings to json-schema

2021-03-22 Thread Rob Herring
On Mon, Mar 22, 2021 at 9:38 AM Geert Uytterhoeven wrote: > > Hi Sagar, Rob, > > (replying to an old email, as this one seems to be the most appropriate) > > On Tue, Sep 22, 2020 at 10:34 PM Rob Herring wrote: > > On Thu, Sep 10, 2020 at 04:14:03PM +0530, Sagar Kadam wrote: > > > Convert device t

Re: [PATCH] arm64: dts: qcom: sc7280: Add PMIC peripherals for SC7280

2021-03-22 Thread Matthias Kaehlcke
Hi Satya, On Mon, Mar 22, 2021 at 06:50:47PM +0530, ska...@codeaurora.org wrote: > Hi Matthias, > > On 2021-03-13 02:10, Matthias Kaehlcke wrote: > > Hi Satya, > > > > On Thu, Mar 11, 2021 at 04:10:29PM +0530, satya priya wrote: > > > Add PM7325/PM8350C/PMK8350/PMR735A peripherals such as PON, >

Re: [PATCH V5 1/2] backlight: qcom-wled: Fix FSC update issue for WLED5

2021-03-22 Thread Lee Jones
On Thu, 18 Mar 2021, Kiran Gunda wrote: > Currently, for WLED5, the FSC (Full scale current) setting is not > updated properly due to driver toggling the wrong register after > an FSC update. > > On WLED5 we should only toggle the MOD_SYNC bit after a brightness > update. For an FSC update we nee

[PATCH v6] add support for pci in the pvpanic driver

2021-03-22 Thread Mihai Carabas
This patchset adds support for PCI in the pvpanic driver. The device already got in qemu [1]. v2: - mmio -> MMIO, pci -> PCI suggested by Randy Dunlap. - group pvpanic-common.c and mmio.c in the same module. The intention was to have only one module and the common code splitted up to be re-used

[PATCH v6 1/3] misc/pvpanic: split-up generic and platform dependent code

2021-03-22 Thread Mihai Carabas
Split-up generic and platform dependent code in order to be able to re-use generic event handling code in pvpanic PCI device driver in the next patches. The code from pvpanic.c was split in two new files: - pvpanic.c: generic code that handles pvpanic events - pvpanic-mmio.c: platform/bus dependen

[PATCH v6 2/3] misc/pvpanic: probe multiple instances

2021-03-22 Thread Mihai Carabas
Create the mecahism that allows multiple pvpanic instances to call pvpanic_probe and receive panic events. A global list will retain all the mapped addresses where to write panic events. Signed-off-by: Mihai Carabas --- drivers/misc/pvpanic/pvpanic-mmio.c | 41 - drivers/misc

[PATCH v6 3/3] misc/pvpanic: add PCI driver

2021-03-22 Thread Mihai Carabas
Add support for pvpanic PCI device added in qemu [1]. At probe time, obtain the address where to read/write pvpanic events and pass it to the generic handling code. Will follow the same logic as pvpanic MMIO device driver. At remove time, unmap base address and disable PCI device. [1] https://gith

[PATCH v5 4/4] arm64: dts: qcom: sc7180: Add wakeup-source property for USB node in IDP and trogdor

2021-03-22 Thread Sandeep Maheswaram
Adding wakeup-source property for USB controller in SC7180 IDP and trogdor boards. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 + 2 files chan

[PATCH v5 0/4] USB DWC3 host wake up support from system suspend

2021-03-22 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode when wakeup capable devices are connected, so that it can be wake up by devices. Set GENPD_FLAG_ACTIVE_WAKEUP flag to keep usb30_prim gdsc active when wakeup capable devices are connected to the host. Changes in v5: Added phy_power_off flag to check presence of

[PATCH v5 1/4] usb: dwc3: core: Host wake up support from system suspend

2021-03-22 Thread Sandeep Maheswaram
Avoiding phy powerdown when wakeup capable devices are connected. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 94fdbe5..9ecd7ac 100644 --- a/driver

[PATCH v5 2/4] usb: dwc3: host: Add suspend_quirk for dwc3 host

2021-03-22 Thread Sandeep Maheswaram
Adding suspend quirk function for dwc3 host which will be called during xhci suspend. Setting hs_phy_mode, ss_phy_mode , phy_power_off flags and phy mode during host suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.h | 3 +++ drivers/usb/dwc3/host.c | 58

[PATCH v5 3/4] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2021-03-22 Thread Sandeep Maheswaram
Configure interrupts based on hs_phy_mode to avoid triggering of interrupts during system suspend and suspends successfully. Set genpd active wakeup flag for usb gdsc if wakeup capable devices are connected so that wake up happens without reenumeration. Add helper functions to enable,disable wake i

Re: [PATCH v4 15/19] dts: bindings: Document device tree bindings for ETE

2021-03-22 Thread Rob Herring
On Mon, Mar 22, 2021 at 10:53 AM Suzuki K Poulose wrote: > > Hi Rob > > On 06/03/2021 21:06, Rob Herring wrote: > > On Thu, Feb 25, 2021 at 07:35:39PM +, Suzuki K Poulose wrote: > >> Document the device tree bindings for Embedded Trace Extensions. > >> ETE can be connected to legacy coresight

Re: [PATCH v23 14/28] x86/mm: Shadow Stack page fault error checking

2021-03-22 Thread Yu, Yu-cheng
On 3/22/2021 3:38 AM, Kirill A. Shutemov wrote: On Tue, Mar 16, 2021 at 08:10:40AM -0700, Yu-cheng Yu wrote: [...] diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index a73347e2cdfc..4316732a18c6 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -1100,6 +1100,17 @@ access_

Re: [PATCH v2 2/2] arm64: dts: qcom: sm8350: Add thermal zones and throttling support

2021-03-22 Thread Konrad Dybcio
Hi! > + tsens0: thermal-sensor@c222000 { > + compatible = "qcom,sm8350-tsens", "qcom,tsens-v2"; > + reg = <0 0x0C263000 0 0x1ff>, /* TM */ > + <0 0x0C222000 0 0x8>; /* SROT */ Please use lowercase hex > +

Re: [syzbot] upstream boot error: WARNING in __context_tracking_enter

2021-03-22 Thread Mark Rutland
Hi Russell, On Fri, Mar 19, 2021 at 10:10:43AM +, Russell King - ARM Linux admin wrote: > On Fri, Mar 19, 2021 at 10:54:48AM +0100, Dmitry Vyukov wrote: > > .On Fri, Mar 19, 2021 at 10:44 AM syzbot > > wrote: > > > syzbot found the following issue on: > > > > > > HEAD commit:8b12a62a Merg

[PATCH v2] arm64: dts: renesas: falcon-cpu: Add GP LEDs

2021-03-22 Thread Kieran Bingham
Three general purpose LEDs are provided on the Falcon CPU board. Connect GP_LED1, GP_LED2, and GP_LED3 to the gpio-leds frameworks as indicator LEDs. These LEDs are arranged in a block of four LEDs on the board itself, but the fourth LED is as yet unidentified. Signed-off-by: Kieran Bingham --

Re: [RFC PATCH v2 net-next 16/16] net: bridge: switchdev: let drivers inform which bridge ports are offloaded

2021-03-22 Thread Vladimir Oltean
On Mon, Mar 22, 2021 at 05:30:52PM +0100, Tobias Waldekranz wrote: > > --- > > .../ethernet/freescale/dpaa2/dpaa2-switch.c | 4 +- > > .../marvell/prestera/prestera_switchdev.c | 7 ++ > > .../mellanox/mlxsw/spectrum_switchdev.c | 4 +- > > drivers/net/ethernet/mscc/ocelot_net.c

Re: [PATCH] lockdep: add a hint for "INFO: trying to register non-static key." message

2021-03-22 Thread Waiman Long
On 3/21/21 2:49 AM, Tetsuo Handa wrote: Since this message is printed when dynamically allocated spinlocks (e.g. kzalloc()) are used without initialization (e.g. spin_lock_init()), suggest developers to check whether initialization functions for objects are called, before making developers wonder

Re: linux-next: Tree for Mar 22 (net/ipa)

2021-03-22 Thread Randy Dunlap
On 3/22/21 12:52 AM, Stephen Rothwell wrote: > Hi all, > > Warning: Some of the branches in linux-next may still based on v5.12-rc1, > so please be careful if you are trying to bisect a bug. > > News: if your -next included tree is based on Linus' tree tag > v5.12-rc1{,-dontuse} (or somewhere bet

Re: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support

2021-03-22 Thread Andy Shevchenko
On Mon, Mar 22, 2021 at 5:25 PM Sai Krishna Potthuri wrote: > > From: Andy Shevchenko > > Sent: Friday, March 19, 2021 3:53 PM > > On Thu, Mar 18, 2021 at 4:42 PM Sai Krishna Potthuri > > wrote: > > > > From: Andy Shevchenko > > > > Sent: Wednesday, March 17, 2021 6:26 PM On Wed, Mar 17, 2021 a

Re: RFC: create mailing list "linux-issues" focussed on issues/bugs and regressions

2021-03-22 Thread Konstantin Ryabitsev
On Mon, Mar 22, 2021 at 04:18:14PM +0100, Thorsten Leemhuis wrote: > Note, there is a second reason why ksummit-discuss is CCed: another > reason why I want to create this new list is making it easier to find > and track regressions reported to our various mailing lists (often > without LKML in CC,

Re: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-22 Thread Randy Dunlap
On 3/22/21 2:38 AM, Perry Yuan wrote: > From: Perry Yuan > > diff --git a/drivers/platform/x86/dell/Kconfig > b/drivers/platform/x86/dell/Kconfig > index e0a55337f51a..0e0f1eb35bd6 100644 > --- a/drivers/platform/x86/dell/Kconfig > +++ b/drivers/platform/x86/dell/Kconfig > @@ -204,4 +204,20 @@

Re: [PATCH] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-22 Thread Manish Varma
Hi Thomas, On Thu, Mar 18, 2021 at 6:04 AM Thomas Gleixner wrote: > > Manish, > > On Mon, Mar 01 2021 at 19:49, Manish Varma wrote: > > > All together, that will give us names like the following: > > > > 1) timerfd file descriptor: [timerfd14:system_server] > > 2) eventpoll top-level per-process

Re: [PATCH v5 08/24] wfx: add bus_sdio.c

2021-03-22 Thread Jérôme Pouiller
Hello Ulf, On Monday 22 March 2021 13:20:35 CET Ulf Hansson wrote: > On Mon, 15 Mar 2021 at 14:25, Jerome Pouiller > wrote: > > > > From: Jérôme Pouiller > > > > Signed-off-by: Jérôme Pouiller > > --- > > drivers/net/wireless/silabs/wfx/bus_sdio.c | 259 + > > 1 file change

Re: [PATCH v4 08/28] netfs: Provide readahead and readpage netfs helpers

2021-03-22 Thread David Howells
Matthew Wilcox wrote: > > + while ((page = readahead_page(ractl))) > > + put_page(page); > > You don't need this pair of lines (unless I'm missing something). > read_pages() in mm/readahead.c puts the reference and unlocks any > pages which are not read by the readahead op. Indeed,

Re: [RFC PATCH v2 net-next 09/16] net: dsa: replay port and local fdb entries when joining the bridge

2021-03-22 Thread Vladimir Oltean
On Mon, Mar 22, 2021 at 06:07:51PM +0100, Tobias Waldekranz wrote: > On Mon, Mar 22, 2021 at 18:19, Vladimir Oltean wrote: > > On Mon, Mar 22, 2021 at 04:44:41PM +0100, Tobias Waldekranz wrote: > >> I do not know if it is a problem or not, more of an observation: This is > >> not guaranteed to be

Re: [PATCH] bluetooth: fix set_ecdh_privkey() prototype

2021-03-22 Thread Marcel Holtmann
Hi Arnd, > gcc-11 points out that the declaration does not match the definition: > > net/bluetooth/ecdh_helper.c:122:55: error: argument 2 of type ‘const u8[32]’ > {aka ‘const unsigned char[32]’} with mismatched bound > [-Werror=array-parameter=] > 122 | int set_ecdh_privkey(struct crypto_kpp

[PATCH v2] ntfs: fix incorrect kernel-doc comment syntax in files

2021-03-22 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in fs/ntfs which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed due to the pre

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-22 Thread Alex Williamson
On Sun, 21 Mar 2021 10:40:55 +0200 Leon Romanovsky wrote: > On Sat, Mar 20, 2021 at 08:59:42AM -0600, Alex Williamson wrote: > > On Sat, 20 Mar 2021 11:10:08 +0200 > > Leon Romanovsky wrote: > > > On Fri, Mar 19, 2021 at 10:23:13AM -0600, Alex Williamson wrote: > > > > > > > > What if we t

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Cye Borg
PWS 500au: snow / # lspci -vvx -s 7.1 00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering]) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx- Status: Cap- 6

Re: [PATCH 3/5] cifsd: add file operations

2021-03-22 Thread Matthew Wilcox
On Mon, Mar 22, 2021 at 06:03:21PM +0900, Sergey Senozhatsky wrote: > On (21/03/22 08:15), Matthew Wilcox wrote: > > > > What's the scenario for which your allocator performs better than slub > > > > IIRC request and reply buffers can be up to 4M in size. So this stuff > just allocates a number

Re: [PATCH V3] exit: trigger panic when global init has exited

2021-03-22 Thread Oleg Nesterov
On 03/22, Oleg Nesterov wrote: > > On 03/22, qianli zhao wrote: > > > > Moving the decrement position should only affect between new and old > > code position of movement of the decrement of > > signal->live. > > Why do you think so? It can affect _any_ code which runs under > "if (group_dead)". Ag

Re: [RFC PATCH v2 net-next 09/16] net: dsa: replay port and local fdb entries when joining the bridge

2021-03-22 Thread Tobias Waldekranz
On Mon, Mar 22, 2021 at 18:19, Vladimir Oltean wrote: > On Mon, Mar 22, 2021 at 04:44:41PM +0100, Tobias Waldekranz wrote: >> I do not know if it is a problem or not, more of an observation: This is >> not guaranteed to be an exact replay of the events that the bridge port >> (i.e. bond0 or whatev

Re: [PATCH V3] exit: trigger panic when global init has exited

2021-03-22 Thread Oleg Nesterov
On 03/22, qianli zhao wrote: > > Moving the decrement position should only affect between new and old > code position of movement of the decrement of > signal->live. Why do you think so? It can affect _any_ code which runs under "if (group_dead)". Again, I don't see anything wrong, but I didn't ev

[PATCH] static_call: fix function type mismatch

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann The __static_call_return0() function is declared to return a 'long', while it aliases a couple of functions that all return 'int'. When building with 'make W=1', gcc warns about this: kernel/sched/core.c:5420:37: error: cast between incompatible function types from 'long int

Re: [PATCH v8 1/3] dmaengine: ptdma: Initial driver for the AMD PTDMA

2021-03-22 Thread Randy Dunlap
On 3/21/21 9:59 PM, Sanjay R Mehta wrote: > From: Sanjay R Mehta > > Add support for AMD PTDMA controller. It performs high-bandwidth > memory to memory and IO copy operation. Device commands are managed > via a circular queue of 'descriptors', each of which specifies source > and destination add

[PATCH] x86: math-emu: Fix function cast warning

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann Building with 'make W=1', gcc points out that casting between incompatible function types can be dangerous: arch/x86/math-emu/fpu_trig.c:1638:60: error: cast between incompatible function types from ‘int (*)(FPU_REG *, u_char)’ {aka ‘int (*)(struct fpu__reg *, unsigned char

[PATCH] crypto: poly1305: fix poly1305_core_setkey() declaration

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann gcc-11 points out a mismatch between the declaration and the definition of poly1305_core_setkey(): lib/crypto/poly1305-donna32.c:13:67: error: argument 2 of type ‘const u8[16]’ {aka ‘const unsigned char[16]’} with mismatched bound [-Werror=array-parameter=] 13 | void poly

Re: [PATCH 01/17] uapi: Add

2021-03-22 Thread Miguel Ojeda
On Mon, Mar 22, 2021 at 3:48 PM Geert Uytterhoeven wrote: > > You can find an image of the full character set at > https://drive.google.com/file/d/1h3EYFBWHIjh8B_cwPA5ocAD-lFYipRie/view Should we put it in e.g. the Docs or just alongside this file? Cheers, Miguel

Re: [PATCH] kgdb: fix gcc-11 warning on indentation

2021-03-22 Thread Doug Anderson
Hi, On Mon, Mar 22, 2021 at 9:43 AM Arnd Bergmann wrote: > > -#define v1printk(a...) do { \ > - if (verbose) \ > - printk(KERN_INFO a); \ > - } while (0) > -#define v2printk(a...) do { \ > - if (verbose > 1) \ > - printk(KERN_INFO a); \ > -

[PATCH net-next 6/6] mvneta: recycle buffers

2021-03-22 Thread Matteo Croce
From: Matteo Croce Use the new recycling API for page_pool. In a drop rate test, the packet rate increased di 10%, from 269 Kpps to 296 Kpps. perf top on a stock system shows: Overhead Shared Object Symbol 21.78% [kernel] [k] __pi___inval_dcache_area 21.66% [mvneta]

[PATCH net-next 5/6] mvpp2: recycle buffers

2021-03-22 Thread Matteo Croce
From: Matteo Croce Use the new recycling API for page_pool. In a drop rate test, the packet rate is more than doubled, from 962 Kpps to 2047 Kpps. perf top on a stock system shows: Overhead Shared Object Symbol 30.67% [kernel] [k] page_pool_release_page 8.37% [kernel]

[PATCH net-next 4/6] net: change users of __skb_frag_unref() and add an extra argument

2021-03-22 Thread Matteo Croce
From: Ilias Apalodimas On a previous patch we added an extra argument on __skb_frag_unref() to handle recycling. Update the current users of the function with that. Signed-off-by: Ilias Apalodimas Signed-off-by: Matteo Croce --- drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c |

[PATCH net-next 3/6] page_pool: DMA handling and allow to recycles frames via SKB

2021-03-22 Thread Matteo Croce
From: Ilias Apalodimas During skb_release_data() intercept the packet and if it's a buffer coming from our page_pool API recycle it back to the pool for further usage. To achieve that we introduce a bit in struct sk_buff (pp_recycle:1) and store the xdp_mem_info in page->private. The SKB bit is n

Re: [PATCH 00/17] auxdisplay: ht16k33: Add character display support

2021-03-22 Thread Miguel Ojeda
On Mon, Mar 22, 2021 at 3:48 PM Geert Uytterhoeven wrote: > > Thanks for your comments! We could use this as a showcase on how to structure and present a patch series! ;-) Cheers, Miguel

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 05:09:13PM +0100, John Paul Adrian Glaubitz wrote: > On 3/22/21 4:15 PM, Russell King - ARM Linux admin wrote: > > I'm quite surprised that the CY82C693 even works on Alpha - I've > > asked for a lspci for that last week but nothing has yet been > > forthcoming from whoever

[PATCH net-next 2/6] mm: add a signature in struct page

2021-03-22 Thread Matteo Croce
From: Matteo Croce This is needed by the page_pool to avoid recycling a page not allocated via page_pool. Signed-off-by: Matteo Croce --- include/linux/mm_types.h | 1 + include/net/page_pool.h | 2 ++ net/core/page_pool.c | 4 3 files changed, 7 insertions(+) diff --git a/include/l

[PATCH net-next 1/6] xdp: reduce size of struct xdp_mem_info

2021-03-22 Thread Matteo Croce
From: Jesper Dangaard Brouer It is possible to compress/reduce the size of struct xdp_mem_info. This change reduce struct xdp_mem_info from 8 bytes to 4 bytes. The member xdp_mem_info.id can be reduced to u16, as the mem_id_ht rhashtable in net/core/xdp.c is already limited by MEM_ID_MAX=0xFFFE

Re: [PATCH] kgdb: fix gcc-11 warning on indentation

2021-03-22 Thread Daniel Thompson
On Mon, Mar 22, 2021 at 05:43:03PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc-11 starts warning about misleading indentation inside of macros: > > drivers/misc/kgdbts.c: In function ‘kgdbts_break_test’: > drivers/misc/kgdbts.c:103:9: error: this ‘if’ clause does not guard... > [-

[PATCH net-next 0/6] page_pool: recycle buffers

2021-03-22 Thread Matteo Croce
From: Matteo Croce This series enables recycling of the buffers allocated with the page_pool API. The first two patches are just prerequisite to save space in a struct and avoid recycling pages allocated with other API. Patch 2 was based on a previous idea from Jonathan Lemon. The third one is t

Re: [PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support

2021-03-22 Thread Alexander Sverdlin
Hi Qais, On 22/03/2021 17:32, Qais Yousef wrote: > Yes you're right. I was a bit optimistic on CONFIG_DYNAMIC_FTRACE will imply > CONFIG_ARM_MODULE_PLTS is enabled too. > > It only has an impact on reducing ifdefery when calling > > ftrace_call_replace_mod(rec->arch.mod, ...) > > Should b

Re: [RFC PATCH 3/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-22 Thread Mike Kravetz
On 3/22/21 7:15 AM, Michal Hocko wrote: > On Fri 19-03-21 15:42:04, Mike Kravetz wrote: >> The new remove_hugetlb_page() routine is designed to remove a hugetlb >> page from hugetlbfs processing. It will remove the page from the active >> or free list, update global counters and set the compound p

Re: [PATCH 1/3] posic_acl: Add a helper determine if SGID should be cleared

2021-03-22 Thread Vivek Goyal
On Sat, Mar 20, 2021 at 11:03:22AM +0100, Christian Brauner wrote: > On Fri, Mar 19, 2021 at 11:42:48PM +0100, Andreas Grünbacher wrote: > > Hi, > > > > Am Fr., 19. März 2021 um 20:58 Uhr schrieb Vivek Goyal : > > > posix_acl_update_mode() determines what's the equivalent mode and if SGID > > > ne

Re: [PATCH 2/3] static_call: Align static_call_is_init() patching condition

2021-03-22 Thread Peter Zijlstra
On Fri, Mar 19, 2021 at 03:40:46PM +0100, Rasmus Villemoes wrote: > On 19/03/2021 15.13, Peter Zijlstra wrote: > > >> Dunno, probably overkill, but perhaps we could have an atomic_t (or > >> refcount, whatever) init_ref inited to 1, with init_ref_get() doing an > >> inc_unless_zero, and iff you ge

Re: [PATCH v3 net-next 08/12] net: dsa: replay port and host-joined mdb entries when joining the bridge

2021-03-22 Thread Nikolay Aleksandrov
On 22/03/2021 18:56, Vladimir Oltean wrote: > On Mon, Mar 22, 2021 at 06:35:10PM +0200, Nikolay Aleksandrov wrote: >>> + hlist_for_each_entry(mp, &br->mdb_list, mdb_node) { >> >> You cannot walk over these lists without the multicast lock or RCU. RTNL is >> not >> enough because of various timer

[PATCH v2] i2c: designware: Add driver support for AMD NAVI GPU

2021-03-22 Thread Sanket Goswami
The Latest AMD NAVI GPU card has an integrated Type-C controller and Designware I2C with PCI Interface. The Type-C controller can be accessed over I2C. The client driver is part of the USB Type-C UCSI driver. Also, there exists a couple of notable IP limitations that are dealt as workarounds: - I2

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote: > On Mon, Mar 22, 2021 at 03:15:03PM +, Russell King - ARM Linux admin > wrote: > > It gets worse than that though - due to a change to remove > > pcibios_min_io from the generic code, moving it into the ARM > > architecture co

Re: [PATCH 04/17] auxdisplay: img-ascii-lcd: Add helper variable dev

2021-03-22 Thread Miguel Ojeda
On Mon, Mar 22, 2021 at 3:48 PM Geert Uytterhoeven wrote: > > + struct device *dev = &pdev->dev; Do we want helpers like this to be `*const` (assuming they can)? (same for patch 12). Cheers, Miguel

Re: [PATCH] USB: ehci: drop workaround for forced irq threading

2021-03-22 Thread Sebastian Andrzej Siewior
On 2021-03-22 12:42:00 [-0400], Alan Stern wrote: > What happens on RT systems? Are they smart enough to avoid the whole > problem by enabling interrupts during _all_ callbacks? tl;dr: Yes. The referenced commit (id 81e2073c175b) disables interrupts only on !RT configs so for RT everything rem

Re: [PATCH v3] ARM: Parse kdump DT properties

2021-03-22 Thread Rob Herring
On Wed, Mar 17, 2021 at 5:31 AM Geert Uytterhoeven wrote: > > Parse the following DT properties in the crash dump kernel, to provide a > modern interface between kexec and the crash dump kernel: > - linux,elfcorehdr: ELF core header segment, similar to the > "elfcorehdr=" kernel parameter. >

Re: [RFC PATCH 1/8] hugetlb: add per-hstate mutex to synchronize user adjustments

2021-03-22 Thread Mike Kravetz
On 3/22/21 6:59 AM, Michal Hocko wrote: > On Fri 19-03-21 15:42:02, Mike Kravetz wrote: >> The number of hugetlb pages can be adjusted by writing to the >> sysps/proc files nr_hugepages, nr_hugepages_mempolicy or >> nr_overcommit_hugepages. There is nothing to prevent two >> concurrent modificatio

Re: [PATCH v4 17/19] coresight: core: Add support for dedicated percpu sinks

2021-03-22 Thread Suzuki K Poulose
Hi Mike On 08/03/2021 17:26, Mike Leach wrote: Hi, On Thu, 25 Feb 2021 at 19:36, Suzuki K Poulose wrote: From: Anshuman Khandual Add support for dedicated sinks that are bound to individual CPUs. (e.g, TRBE). To allow quicker access to the sink for a given CPU bound source, keep a percpu

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-22 Thread Rafael J. Wysocki
On Sat, Mar 20, 2021 at 9:25 AM Mike Rapoport wrote: > > On Thu, Mar 18, 2021 at 04:22:37PM +0100, Rafael J. Wysocki wrote: > > On Thu, Mar 18, 2021 at 11:50 AM Rafael J. Wysocki > > wrote: > > > > > > On Thu, Mar 18, 2021 at 8:25 AM Mike Rapoport wrote: > > > > > > > > On Wed, Mar 17, 2021 at

Re: [PATCH] i2c: add i2c bus driver for amd navi gpu

2021-03-22 Thread Goswami, Sanket
Hi Andy, On 09-Mar-21 19:56, Andy Shevchenko wrote: > [CAUTION: External Email] > > On Tue, Mar 09, 2021 at 07:01:47PM +0530, Sanket Goswami wrote: > > i2c: -> i2c: designware: > add i2c bus driver -> add a driver > amd -> AMD > gpu -> GPU > > in the subject > >> Latest AMDGPU NAVI cards have

Re: [PATCH] coresight: core: Fix typo in coresight-core.c

2021-03-22 Thread Randy Dunlap
On 3/22/21 7:38 AM, Suzuki K Poulose wrote: > On 22/03/2021 13:11, Qi Liu wrote: >> Fix up one typo: compoment->component. >> >> Fixes: 8e264c52e1da  ("coresight: core: Allow the coresight core driver to >> be built as a module") >> Signed-off-by: Qi Liu > > Thanks for the patch. I will queue th

Re: [PATCH v3 net-next 08/12] net: dsa: replay port and host-joined mdb entries when joining the bridge

2021-03-22 Thread Vladimir Oltean
On Mon, Mar 22, 2021 at 06:35:10PM +0200, Nikolay Aleksandrov wrote: > > + hlist_for_each_entry(mp, &br->mdb_list, mdb_node) { > > You cannot walk over these lists without the multicast lock or RCU. RTNL is > not > enough because of various timers and leave messages that can alter both the > m

Re: [Ksummit-discuss] RFC: create mailing list "linux-issues" focussed on issues/bugs and regressions

2021-03-22 Thread Lukas Bulwahn
On Mon, Mar 22, 2021 at 4:38 PM Thorsten Leemhuis wrote: > > > Lo! I want to provide users with an easier way to search our multitude > of mailing lists for reports about issues (aka bugs), as reporting the > same kernel problem multiple times has known downsides for everyone > involved. That's wh

Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check

2021-03-22 Thread Peter Zijlstra
On Mon, Mar 22, 2021 at 03:50:14PM +0100, Jessica Yu wrote: > It should be doable. If you want the exit sections to be treated the same as > module init, the following patch should stuff any exit sections into the > module > init "region" (completely untested). Hence it should be freed together w

[PATCH v1 1/1] i2c: drivers: Use generic definitions for bus frequencies (part 2)

2021-03-22 Thread Andy Shevchenko
Since we have generic definitions for bus frequencies, let's use them. Cc: Wolfram Sang Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mlxbf.c| 14 -- drivers/i2c/busses/i2c-qcom-cci.c | 4 ++-- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/

Re: [PATCH v4 15/19] dts: bindings: Document device tree bindings for ETE

2021-03-22 Thread Suzuki K Poulose
Hi Rob On 06/03/2021 21:06, Rob Herring wrote: On Thu, Feb 25, 2021 at 07:35:39PM +, Suzuki K Poulose wrote: Document the device tree bindings for Embedded Trace Extensions. ETE can be connected to legacy coresight components and thus could optionally contain a connection graph as described

Re: [PATCH 2/2] integrity: double check iint_cache was initialized

2021-03-22 Thread Eric Biggers
On Mon, Mar 22, 2021 at 11:42:07AM -0400, Mimi Zohar wrote: > > Reported-by: Dmitry Vyukov > Fixes: 79f7865d844c ("LSM: Introduce "lsm=" for boottime LSM selection") > Signed-off-by: Mimi Zohar Missing Cc stable? - Eric

[GIT PULL] SELinux fixes for v5.12 (#1)

2021-03-22 Thread Paul Moore
365982aba1f264dba26f0908700d62bfa046918c: fs: anon_inodes: rephrase to appropriate kernel-doc (2021-01-15 12:17:25 -0500) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20210322 for you to fetch changes up to

Re: [PATCH 1/2] ima: don't access a file's integrity status before an IMA policy is loaded

2021-03-22 Thread Eric Biggers
On Mon, Mar 22, 2021 at 11:42:06AM -0400, Mimi Zohar wrote: > Only after an IMA policy is loaded, check, save, or update the cached > file's integrity status. > > Signed-off-by: Mimi Zohar This commit message doesn't describe what the actual effect of this change is. Is it fixing something? - E

Re: arm64 syzbot instances

2021-03-22 Thread Peter Maydell
On Mon, 22 Mar 2021 at 16:36, John Garry wrote: > > >> > >> There's apparently a bit in the PCI spec that reads: > >> The host bus bridge, in PC compatible systems, must return all > >> 1's on a read transaction and discard data on a write transaction > >> when terminate

[PATCH 2/3] KVM: arm64: Generate final CTR_EL0 value when running in Protected mode

2021-03-22 Thread Marc Zyngier
In protected mode, late CPUs are not allowed to boot (enforced by the PSCI relay). We can thus specialise the read_ctr macro to always return a pre-computed, sanitised value. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/assembler.h | 9 + arch/arm64/kernel/image-vars.h | 1

Re: [PATCH v3 net-next 10/12] net: dsa: replay VLANs installed on port when joining the bridge

2021-03-22 Thread Nikolay Aleksandrov
On 21/03/2021 00:34, Vladimir Oltean wrote: > From: Vladimir Oltean > > Currently this simple setup: > > ip link add br0 type bridge vlan_filtering 1 > ip link add bond0 type bond > ip link set bond0 master br0 > ip link set swp0 master bond0 > > will not work because the bridge has created the

[PATCH 3/3] KVM: arm64: Drop the CPU_FTR_REG_HYP_COPY infrastructure

2021-03-22 Thread Marc Zyngier
Now that the read_ctr macro has been specialised for nVHE, the whole CPU_FTR_REG_HYP_COPY infrastrcture looks completely overengineered. Simplify it by populating the two u64 quantities (MMFR0 and 1) that the hypervisor need. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/cpufeature.h

[PATCH 1/3] KVM: arm64: Constraint KVM's own __flush_dcache_area to protectected mode

2021-03-22 Thread Marc Zyngier
As we are about to specialise KVM's version of __flush_dcache_area via a hack opn the read_ctr macro, make sure that we won't ever use KVM's copy of __flush_dcache_area(), as things would otherwise break for late arriving CPUs. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/hyp/nvhe/cache.S | 4

[PATCH 0/3] KVM:arm64: Proposed host stage-2 improvements

2021-03-22 Thread Marc Zyngier
Hi all, Since Quentin's series is pretty close to final, I though that instead of asking for additional rework, I'd have a go at it myself. These patches try to bring some simplifications to the cpufeature duplication that has been introduced between EL1 and EL2. This whole infrastructure exists

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Cye Borg
I use pata_cypress on Alpha, and for the above mentioned problems, it always restricted me to use only one IDE channel out of the two available. Also, not forcing it to use PIO mode, it always failed to operate. I would love to test on Alpha, and give you feedback about a fix/finished implementatio

Re: [PATCH v4 1/1] ACPI: scan: Use unique number for instance_no

2021-03-22 Thread Rafael J. Wysocki
On Mon, Mar 22, 2021 at 5:31 PM Andy Shevchenko wrote: > > The decrementation of acpi_device_bus_id->instance_no > in acpi_device_del() is incorrect, because it may cause > a duplicate instance number to be allocated next time > a device with the same acpi_device_bus_id is added. > > Replace above

[PATCH] scsi: fcoe: fix mismatched fcoe_wwn_from_mac declaration

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann An old cleanup changed the array size from MAX_ADDR_LEN to unspecified in the declaration, but now gcc-11 warns about this: drivers/scsi/fcoe/fcoe_ctlr.c:1972:37: error: argument 1 of type ‘unsigned char[32]’ with mismatched bound [-Werror=array-parameter=] 1972 | u64 fcoe_

Re: [PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-22 Thread Minchan Kim
On Sat, Mar 20, 2021 at 03:51:40PM -0700, Chris Goldsworthy wrote: > On 2021-03-20 12:54, Matthew Wilcox wrote: > > On Sat, Mar 20, 2021 at 10:20:09AM -0700, Minchan Kim wrote: > > > > > Tested-by: Oliver Sang > > > > > Reported-by: kernel test robot > > > > > Signed-off-by: Chris Goldsworthy >

[PATCH v4 0/3] arm64: dts: qcom: sc7180: Disable the charger thermal zone on more trogdor boards

2021-03-22 Thread Matthias Kaehlcke
We already disabled the charger thermal zone for lazor to avoid bogus temperature readings from an unsupported thermistor. Some revisions of other trogdor boards that are added by Doug's 'arm64: dts: qcom: Update sc7180-trogdor variants from downstream' series have the same problem. Disable the cha

[PATCH v4 2/3] arm64: dts: qcom: sc7180: Add pompom rev3

2021-03-22 Thread Matthias Kaehlcke
The only kernel visible change with respect to rev2 is that pompom rev3 changed the charger thermistor from a 47k to a 100k NTC to use a thermistor which is supported by the PM6150 ADC driver. Disable the charger thermal zone for pompom rev1 and rev2 to avoid the use of bogus temperature values fr

[PATCH v4 3/3] arm64: dts: qcom: sc7180: Add CoachZ rev3

2021-03-22 Thread Matthias Kaehlcke
CoachZ rev3 uses a 100k NTC thermistor for the charger temperatures, instead of the 47k NTC that is stuffed in earlier revisions. Add .dts files for rev3. The 47k NTC currently isn't supported by the PM6150 ADC driver. Disable the charger thermal zone for rev1 and rev2 to avoid the use of bogus te

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