Re: [PATCH 2/3] tracing: Use in_serving_softirq() to deduct softirq status.

2021-01-22 Thread Steven Rostedt
On Wed, 13 Jan 2021 00:00:56 +0100 Sebastian Andrzej Siewior wrote: > Use in_serving_softirq() macro which works on PREEMPT_RT. On !PREEMPT_RT > the compiler (gcc-10 / clang-11) is smart enough to optimize the > in_serving_softirq() related read of the preemption counter away. > The only

Re: [PATCH v2] lan743x: add virtual PHY for PHY-less devices

2021-01-22 Thread Andrew Lunn
On Sat, Jan 23, 2021 at 12:42:41AM +0300, Sergej Bauer wrote: > From: sba...@blackbox.su > > v1->v2: > switch to using of fixed_phy as was suggested by Andrew and Florian > also features-related parts are removed This is not using fixed_phy, at least not in the normal way. Take a

[PATCH 4.9 24/35] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-22 Thread Greg Kroah-Hartman
From: Will Deacon commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. GCC versions >= 4.9 and < 5.1 have been shown to emit memory references beyond the stack pointer, resulting in memory corruption if an interrupt is taken after the stack pointer has been adjusted but before the

[PATCH 1/3] platform/chrome: cros_ec: Add SW_FRONT_PROXIMITY MKBP define

2021-01-22 Thread Stephen Boyd
Some cros ECs support a front proximity MKBP event via 'EC_MKBP_FRONT_PROXIMITY'. Add this define so it can be used in a future patch. Cc: Dmitry Torokhov Cc: Benson Leung Cc: Guenter Roeck Cc: Douglas Anderson Cc: Gwendal Grignou Signed-off-by: Stephen Boyd ---

[PATCH 2/3] dt-bindings: iio: Add cros ec proximity yaml doc

2021-01-22 Thread Stephen Boyd
Some cros ECs support a front proximity MKBP event via 'EC_MKBP_FRONT_PROXIMITY'. Add a DT binding to document this feature via a node that is a child of the main cros_ec device node. Devices that have this ability will describe this in firmware. Cc: Dmitry Torokhov Cc: Benson Leung Cc: Guenter

[RFC 2/2] Kbuild: Support nested composite objects

2021-01-22 Thread Elliot Berman
Kbuild composite objects only supports one level of composite objects. That is, a composite object may only be composed of real compilable source files. As a simple example, the following Kbuild description is now supported: bar-a-y := a/bar0.o a/bar1.o bar-b-y := b/bar2.o b/bar3.o foo-objs :=

Re: [PATCH] bus: qcom: Put child node before return

2021-01-22 Thread Bjorn Andersson
On Fri 22 Jan 16:47 CST 2021, Linus Walleij wrote: > On Thu, Jan 21, 2021 at 12:49 PM Pan Bian wrote: > > > Put child node before return to fix potential reference count leak. > > Generally, the reference count of child is incremented and decremented > > automatically in the macro

Re: [PATCH 4.9 00/35] 4.9.253-rc1 review

2021-01-22 Thread Shuah Khan
On 1/22/21 7:10 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.253 release. There are 35 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.4 00/33] 5.4.92-rc1 review

2021-01-22 Thread Shuah Khan
On 1/22/21 7:12 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.92 release. There are 33 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH v13 4/5] PCI/ACPI: Centralize pcie_ports_native checking

2021-01-22 Thread Kuppuswamy Sathyanarayanan
If the user booted with "pcie_ports=native", we take control of the PCIe features unconditionally, regardless of what _OSC says. Centralize the testing of pcie_ports_native in acpi_pci_root_create(), where we interpret the _OSC results, so other places only have to check host_bridge->native_X and

[PATCH v10 0/5] Core scheduling remaining patches

2021-01-22 Thread Joel Fernandes (Google)
Core-Scheduling === Enclosed is series v10 of core scheduling. Many of the core patches in v9 were picked up in Peter's queue tree. This series contains the remaining patches (interface, docs). v9 series is here: https://lwn.net/Articles/837595/ Introduction of feature

[PATCH] init/version.c: remove unused including

2021-01-22 Thread Ye Bin
Fix follow warning: init/version.c:16:1: unused including Reported-by: Hulk Robot Signed-off-by: Ye Bin --- init/version.c | 1 - 1 file changed, 1 deletion(-) diff --git a/init/version.c b/init/version.c index 92afc782b043..b1329f16c6b6 100644 --- a/init/version.c +++ b/init/version.c @@

Re: [PATCH v2] lan743x: add virtual PHY for PHY-less devices

2021-01-22 Thread Andrew Lunn
> it migth be helpful for developers work on userspace networking tools with > PHY-less lan743x (the interface even could not be brought up) > of course, there nothing much to do without TP port but the difference is > representative. > > sbauer@metamini ~$ sudo ethtool eth7 > Settings for eth7:

Re: [PATCH v2 00/20] objtool: vmlinux.o and CLANG LTO support

2021-01-22 Thread Nick Desaulniers
On Fri, Jan 22, 2021 at 1:17 PM Sami Tolvanen wrote: > > Hi Josh, > > On Fri, Jan 22, 2021 at 7:42 AM Josh Poimboeuf wrote: > > > > On Thu, Jan 21, 2021 at 11:38:54PM +0100, Sedat Dilek wrote: > > > On Thu, Jan 21, 2021 at 10:29 PM Josh Poimboeuf > > > wrote: > > > > > > > > v2: > > > > - fix

Re: [PATCH v2 00/20] objtool: vmlinux.o and CLANG LTO support

2021-01-22 Thread Sedat Dilek
On Sat, Jan 23, 2021 at 3:26 AM Josh Poimboeuf wrote: > > On Fri, Jan 22, 2021 at 05:32:43PM -0800, Nick Desaulniers wrote: > > > In this specific case, find_func_by_offset returns NULL for > > > .text..L.cfi.jumptable.43 at addend 0x8, because Clang doesn't emit > > > jump table symbols for

[PATCH] mm/swapfile.c: fix debugging information problem

2021-01-22 Thread Stephen Zhang
Once the function name is changed, it may be easy to forget to modify the corresponding code here. Signed-off-by: Stephen Zhang --- mm/swapfile.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/swapfile.c b/mm/swapfile.c index 9fffc5a..12a18b8 100644 ---

Re: [PATCH] scsi: mpt3sas: style: Simplify bool comparison

2021-01-22 Thread Martin K. Petersen
Yang, > Fix the following coccicheck warning: > ./drivers/scsi/mpt3sas/mpt3sas_base.c:2424:5-20: WARNING: Comparison of > 0/1 to bool variable Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH net-next] sfc: reduce the number of requested xdp ev queues

2021-01-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 20 Jan 2021 13:27:59 -0800 you wrote: > Without this change the driver tries to allocate too many queues, > breaching the number of available msi-x interrupts on machines > with many logical cpus and default

Re: [PATCH] net: fec: put child node on error path

2021-01-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 20 Jan 2021 04:20:37 -0800 you wrote: > Also decrement the reference count of child device on error path. > > Fixes: 3e782985cb3c ("net: ethernet: fec: Allow configuration of MDIO bus > speed") > Signed-off-by: Pan

Re: BPF: unbounded bpf_map_free_deferred problem

2021-01-22 Thread Cong Wang
On Fri, Jan 22, 2021 at 4:42 PM Tetsuo Handa wrote: > > Hello, BPF developers. > > Alexey Kardashevskiy is reporting that system_wq gets stuck due to flooding of > unbounded bpf_map_free_deferred work. Use of WQ_MEM_RECLAIM | WQ_HIGHPRI | > WQ_UNBOUND > workqueue did not solve this problem. Is

[PATCH v2 1/6] media: renesas-ceu: Use of_device_get_match_data()

2021-01-22 Thread Stephen Boyd
This driver can use the replacement API instead of calling of_match_device() and then dereferencing the pointer that is returned. This nicely avoids referencing the match table when it is undefined with configurations where CONFIG_OF=n. Signed-off-by: Stephen Boyd Acked-by: Mauro Carvalho Chehab

[PATCH v2 6/6] of/device: Don't NULLify match table in of_match_device() with CONFIG_OF=n

2021-01-22 Thread Stephen Boyd
This effectively reverts 1db73ae39a97 ("of/device: Nullify match table in of_match_device() for CONFIG_OF=n") because that commit makes it more surprising to users of this API that the arguments may never be referenced by any code. This is because the pre-processor will replace the argument with

Duplicate crash reports related with smsc75xx/smsc95xx and root cause analysis

2021-01-22 Thread 慕冬亮
Dear kernel developers, I found that on the syzbot dashboard, “KMSAN: uninit-value in smsc75xx_read_eeprom (2)” [1], "KMSAN: uninit-value in smsc95xx_read_eeprom (2)" [2], "KMSAN: uninit-value in smsc75xx_bind" [3], "KMSAN: uninit-value in smsc95xx_reset" [4], "KMSAN: uninit-value in

Re: [PATCH 5.10 00/43] 5.10.10-rc1 review

2021-01-22 Thread Naresh Kamboju
On Fri, 22 Jan 2021 at 19:49, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.10 release. > There are 43 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-22 Thread Alexey Kardashevskiy
On 23/01/2021 17:01, Hillf Danton wrote: On Sat, 23 Jan 2021 09:53:42 +1100 Alexey Kardashevskiy wrote: On 23/01/2021 02:30, Tetsuo Handa wrote: On 2021/01/22 22:28, Tetsuo Handa wrote: On 2021/01/22 21:10, Dmitry Vyukov wrote: On Fri, Jan 22, 2021 at 1:03 PM Alexey Kardashevskiy wrote:

Re: [PATCH 4.14 00/48] 4.14.217-rc2 review

2021-01-22 Thread Naresh Kamboju
On Fri, 22 Jan 2021 at 21:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.217 release. > There are 48 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] mm/rmap: Correct some obsolete comments of anon_vma

2021-01-22 Thread Miaohe Lin
The commit 2b575eb64f7a ("mm: convert anon_vma->lock to a mutex") changed spinlock used to serialize access to vma list to mutex. And further, the commit 5a505085f043 ("mm/rmap: Convert the struct anon_vma::mutex to an rwsem") converted the mutex to an rwsem for solving scalability problem. So

Re: [PATCH v1] memory: tegra: Check whether reset is already asserted

2021-01-22 Thread Dmitry Osipenko
23.01.2021 00:40, Krzysztof Kozlowski пишет: > On Wed, Jan 20, 2021 at 02:52:10AM +0300, Dmitry Osipenko wrote: >> Check whether memory client reset is already asserted in order to prevent >> DMA-flush error on trying to re-assert an already asserted reset. >> >> This becomes a problem once PMC

Re: [GIT PULL] arm64 fixes for 5.11-rc5

2021-01-22 Thread pr-tracker-bot
The pull request you sent on Fri, 22 Jan 2021 19:07:21 +: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1c304c77f7cfc92572cd45cbf045ac2443423ea1 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] platform-drivers-x86 for 5.11-2

2021-01-22 Thread pr-tracker-bot
The pull request you sent on Fri, 22 Jan 2021 10:02:59 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git > tags/platform-drivers-x86-v5.11-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9887e9af2d58e4021f1015bf804f5f226b3b2b1c

[PATCH v2 03/10] mm: don't pass "enum lru_list" to lru list addition functions

2021-01-22 Thread Yu Zhao
The "enum lru_list" parameter to add_page_to_lru_list() and add_page_to_lru_list_tail() is redundant in the sense that it can be extracted from the "struct page" parameter by page_lru(). A caveat is that we need to make sure PageActive() or PageUnevictable() is correctly set or cleared before

Re: [PATCH 6/6] mm: Forbid splitting special mappings

2021-01-22 Thread Dmitry Safonov
On 1/22/21 1:00 PM, Will Deacon wrote: > On Fri, Jan 22, 2021 at 12:58:58PM +, Will Deacon wrote: >> On Tue, Oct 13, 2020 at 02:34:16AM +0100, Dmitry Safonov wrote: >>> Don't allow splitting of vm_special_mapping's. >>> It affects vdso/vvar areas. Uprobes have only one page in xol_area so >>>

[PATCH 4.14 18/50] ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI

2021-01-22 Thread Greg Kroah-Hartman
From: Shawn Guo [ Upstream commit ee61cfd955a64a58ed35cbcfc54068fcbd486945 ] It adds a stub acpi_create_platform_device() for !CONFIG_ACPI build, so that caller doesn't have to deal with !CONFIG_ACPI build issue. Reported-by: kernel test robot Signed-off-by: Shawn Guo Signed-off-by: Rafael

Re: [PATCH v2 1/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander

2021-01-22 Thread AngeloGioacchino Del Regno
Il 22/01/21 10:59, Linus Walleij ha scritto: On Mon, Jan 18, 2021 at 3:38 PM AngeloGioacchino Del Regno wrote: By the way, this is really LEVEL irq, not EDGE... To avoid any misunderstanding, I think that the best way to show you what I am seeing is to just copy-paste the relevant piece from

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

2021-01-22 Thread Alex Williamson
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 requirements in terms of alignment as well as the patterns in > which the data is read/written. Allowing these to proceed through the > typical

Re: [PATCH] bpf: Drop disabled LSM hooks from the sleepable set

2021-01-22 Thread KP Singh
On Fri, Jan 22, 2021 at 11:33 PM KP Singh wrote: > > On Fri, Jan 22, 2021 at 1:32 PM Mikko Ylinen > wrote: > > > > Networking LSM hooks are conditionally enabled and when building the new > > sleepable BPF LSM hooks with the networking LSM hooks disabled, the > > following build error occurs: >

Re: [PATCH v9 05/18] arm64: trans_pgd: pass NULL instead of init_mm to *_populate functions

2021-01-22 Thread Pavel Tatashin
> Acked-by: James Morse Thank you for the review. Pasha > > > Thanks, > > James

Re: [PATCH 5.10 00/43] 5.10.10-rc1 review

2021-01-22 Thread Shuah Khan
On 1/22/21 7:12 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.10 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH] KVM: x86/mmu: Use boolean returns for (S)PTE accessors

2021-01-22 Thread Sean Christopherson
Return a 'bool' instead of an 'int' for various PTE accessors that are boolean in nature, e.g. is_shadow_present_pte(). Returning an int is goofy and potentially dangerous, e.g. if a flag being checked is moved into the upper 32 bits of a SPTE, then the compiler may silently squash the entire

Re: [PATCH v9 07/18] arm64: trans_pgd: hibernate: idmap the single page that holds the copy page routines

2021-01-22 Thread Pavel Tatashin
On Wed, Apr 29, 2020 at 1:01 PM James Morse wrote: > > Hi Pavel, > > On 26/03/2020 03:24, Pavel Tatashin wrote: > > From: James Morse > > > > To resume from hibernate, the contents of memory are restored from > > the swap image. This may overwrite any page, including the running > > kernel and

Re: [PATCH] MAINTAINERS: adjust to clang-version.sh removal

2021-01-22 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:34 PM Dan Carpenter wrote: > > On Thu, Jan 21, 2021 at 05:15:56PM +0100, Sedat Dilek wrote: > > On Thu, Jan 21, 2021 at 5:01 PM Lukas Bulwahn > > wrote: > > > > > > Commit 6c8ad4427f6e ("kbuild: check the minimum compiler version in > > > Kconfig") removed

Re: [PATCH] scsi: ufs: Cleanup WB buffer flush toggle implementation

2021-01-22 Thread Martin K. Petersen
Bean, > Delete ufshcd_wb_buf_flush_enable() and ufshcd_wb_buf_flush_disable(), > move the implementation into ufshcd_wb_toggle_flush(). Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi_logging: print cdb into new line after opcode

2021-01-22 Thread Martin K. Petersen
Ewan, >> sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 60 40 00 00 01 >> 00 >> >> Print the cdb into a new line in any case, not only when cmd_len is >> greater than 16. The above example error will then read: >> >> sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 >> 28 00 01 c0 09 00 00 00 08

Re: [PATCH v16 00/17] KVM RISC-V Support

2021-01-22 Thread Palmer Dabbelt
On Fri, 15 Jan 2021 04:18:29 PST (-0800), Anup Patel wrote: This series adds initial KVM RISC-V support. Currently, we are able to boot Linux on RV64/RV32 Guest with multiple VCPUs. Thanks. IIUC the spec is still in limbo at the RISC-V foundation? I haven't really been paying attention

Re: [PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-22 Thread Martin K. Petersen
Damien, >> How about set larger valid value between sdkp->max_xfer_blocks, >> and sdkp->opt_xfer_blocks to rw_max? > > Again, if your device reports an opt_xfer_blocks value that is too > small for its own good, that is a problem with this device. Correct. It is very much intentional that we

Re: [PATCH 1/1] kernel/crash_core.c - Add crashkernel=auto for x86 and ARM

2021-01-22 Thread Dave Young
On 01/23/21 at 11:51am, Dave Young wrote: > Hi Saeed, > On 01/22/21 at 05:14pm, Saeed Mirzamohammadi wrote: > > Hi, > > > > > On Jan 21, 2021, at 7:12 PM, Dave Young wrote: > > > > > > On 01/22/21 at 09:22am, Dave Young wrote: > > >> Hi John, > > >> > > >> On 01/21/21 at 09:32am,

Re: [PATCH][next] scsi: ibmvfc: Fix spelling mistake "succeded" -> "succeeded"

2021-01-22 Thread Martin K. Petersen
On Mon, 18 Jan 2021 11:13:46 +, Colin King wrote: > There is a spelling mistake in a ibmvfc_dbg debug message. Fix it. Applied to 5.12/scsi-queue, thanks! [1/1] scsi: ibmvfc: Fix spelling mistake "succeded" -> "succeeded" https://git.kernel.org/mkp/scsi/c/ff79acc49af8 -- Martin K.

Re: [PATCH] arch/riscv:fix typo in a comment in arch/riscv/kernel/image-vars.h

2021-01-22 Thread Palmer Dabbelt
On Wed, 20 Jan 2021 17:55:13 PST (-0800), tangchun...@163.com wrote: From: tangchunyou "kerne" -> "kernel" Signed-off-by: WenZhang --- arch/riscv/kernel/image-vars.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/image-vars.h

Re: question about bonding mode 4

2021-01-22 Thread moyufeng
Ping... Any comments? Thanks! On 2021/1/15 10:02, moyufeng wrote: > Hi Team, > > I have a question about bonding. During testing bonding mode 4 > scenarios, I find that there is a very low probability that > the pointer is null. The following information is displayed: > > [99359.795934] bond0:

[PATCH] x86_64: move cpu_current_top_of_stack out of TSS

2021-01-22 Thread Lai Jiangshan
From: Lai Jiangshan When X86_BUG_CPU_MELTDOWN & KPTI, cpu_current_top_of_stack lives in the TSS which is also in the user CR3 and it becomes a coveted fruit. An attacker can fetch the kernel stack top from it and continue next steps of actions based on the kernel stack. The address might not

Re: [PATCH v17 08/26] x86/mm: Introduce _PAGE_COW

2021-01-22 Thread Yu, Yu-cheng
On 1/21/2021 2:32 PM, David Laight wrote: From: Randy Dunlap Sent: 21 January 2021 22:19 On 1/21/21 2:16 PM, David Laight wrote: From: Yu, Yu-cheng On 1/21/2021 10:44 AM, Borislav Petkov wrote: On Tue, Dec 29, 2020 at 01:30:35PM -0800, Yu-cheng Yu wrote: [...] @@ -343,6 +349,16 @@ static

[PATCH v4 2/3] Input: atmel_mxt_ts - support wakeup methods

2021-01-22 Thread Dmitry Osipenko
According to datasheets, chips like mXT1386 have a WAKE line, it is used to wake the chip up from deep sleep mode before communicating with it via the I2C-compatible interface. If the WAKE line is connected to a GPIO line, the line must be asserted 25 ms before the host attempts to communicate

[PATCH v4 0/3] Support wakeup methods of Atmel maXTouch controllers

2021-01-22 Thread Dmitry Osipenko
Some Atmel maXTouch controllers, like mXT1386 and mXT3432S1 for example, have a WAKE line that needs to be asserted in order to wake controller from a deep sleep, otherwise it will be unusable. This series implements support for the wakeup methods in accordance to the mXT1386 datasheet [1], see

[PATCH v4 1/3] dt-bindings: input: atmel_mxt_ts: Document atmel,wakeup-method and WAKE line GPIO

2021-01-22 Thread Dmitry Osipenko
Some Atmel touchscreen controllers have a WAKE line that needs to be asserted low in order to wake up controller from a deep sleep. Document the wakeup methods and the new GPIO properties. Reviewed-by: Linus Walleij Signed-off-by: Dmitry Osipenko --- .../bindings/input/atmel,maxtouch.yaml

[PATCH v3 4/5] hugetlb: convert PageHugeTemporary() to HPageTemporary flag

2021-01-22 Thread Mike Kravetz
Use new hugetlb specific HPageTemporary flag to replace the PageHugeTemporary() interfaces. PageHugeTemporary does contain a PageHuge() check. However, this interface is only used within hugetlb code where we know we are dealing with a hugetlb page. Therefore, the check can be eliminated.

[PATCH v3 0/5] create hugetlb flags to consolidate state

2021-01-22 Thread Mike Kravetz
While discussing a series of hugetlb fixes in [1], it became evident that the hugetlb specific page state information is stored in a somewhat haphazard manner. Code dealing with state information would be easier to read, understand and maintain if this information was stored in a consistent

Re: [PATCH] bpf: put file handler if no storage found

2021-01-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Wed, 20 Jan 2021 18:08:56 -0800 you wrote: > Put file f if inode_storage_ptr() returns NULL. > > Fixes: 8ea636848aca ("bpf: Implement bpf_local_storage for inodes") > Acked-by: KP Singh > Signed-off-by: Pan Bian > --- >

[PATCH 4.9 27/35] netxen_nic: fix MSI/MSI-x interrupts

2021-01-22 Thread Greg Kroah-Hartman
From: Manish Chopra [ Upstream commit a2bc221b972db91e4be1970e776e98f16aa87904 ] For all PCI functions on the netxen_nic adapter, interrupt mode (INTx or MSI) configuration is dependent on what has been configured by the PCI function zero in the shared interrupt register, as these adapters do

Re: [PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-22 Thread Linus Walleij
Hi Mike, thanks for your patch! I have a comment about PM: On Tue, Jan 19, 2021 at 1:46 PM Mike Looijmans wrote: > The BMI088 is a combined module with both accelerometer and gyroscope. > This adds the accelerometer driver support for the SPI interface. > The gyroscope part is already

Re: [PATCH] tcp: keepalive fixes

2021-01-22 Thread Enke Chen
Hi, Folks: Please ignore this patch. I will split it into separate ones as suggested off-list by Neal Cardwell . Thanks. -- Enke On Tue, Jan 12, 2021 at 11:25:44AM -0800, Enke Chen wrote: > From: Enke Chen > > In this patch two issues with TCP keepalives are fixed: > > 1) TCP keepalive does

Re: [PATCH 21/21] vdpasim: control virtqueue support

2021-01-22 Thread Eugenio Perez Martin
On Tue, Jan 12, 2021 at 4:12 AM Jason Wang wrote: > > > On 2021/1/11 下午8:26, Eli Cohen wrote: > > On Wed, Dec 16, 2020 at 02:48:18PM +0800, Jason Wang wrote: > >> This patch introduces the control virtqueue support for vDPA > >> simulator. This is a requirement for supporting advanced features

[PATCH] checkpatch: Add kmalloc_array_node to unnecessary OOM message check

2021-01-22 Thread Joe Perches
commit 5799b255c491 ("include/linux/slab.h: add kmalloc_array_node() and kcalloc_node()") was added in 2017. Update the unnecessary OOM message test to include it. Signed-off-by: Joe Perches Reported-by: Jakub Kicinski --- Maybe not worth fixing, but no real effort to fix either.

Re: [PATCH v3 1/2] power: supply: PCHG: Peripheral device charger

2021-01-22 Thread Doug Anderson
Hi, On Fri, Jan 22, 2021 at 2:07 PM Daisuke Nojiri wrote: > > +static int cros_ec_notify(struct notifier_block *nb, > + unsigned long queued_during_suspend, > + void *data) > +{ > + struct cros_ec_device *ec_dev = (struct cros_ec_device

Re: [PATCH] bus: qcom: Put child node before return

2021-01-22 Thread Linus Walleij
On Thu, Jan 21, 2021 at 12:49 PM Pan Bian wrote: > Put child node before return to fix potential reference count leak. > Generally, the reference count of child is incremented and decremented > automatically in the macro for_each_available_child_of_node() and should > be decremented manually if

Re: [PATCH v5 0/7] cpufreq-qcom-hw: Implement full OSM programming

2021-01-22 Thread AngeloGioacchino Del Regno
Il 22/01/21 10:46, Viresh Kumar ha scritto: On 21-01-21, 20:52, AngeloGioacchino Del Regno wrote: ** ** NOTE: To "view the full picture", please look at the following ** patch series: ** https://patchwork.kernel.org/project/linux-arm-msm/list/?series=413355 ** This

[PATCH 3/3] KVM: SVM: Sync GPRs to the GHCB only after VMGEXIT

2021-01-22 Thread Sean Christopherson
Sync GPRs to the GHCB on VMRUN only if a sync is needed, i.e. if the previous exit was a VMGEXIT and the guest is expecting some data back. Cc: Brijesh Singh Cc: Tom Lendacky Signed-off-by: Sean Christopherson --- arch/x86/kvm/svm/sev.c | 15 ++- arch/x86/kvm/svm/svm.h | 1 + 2

BPF: unbounded bpf_map_free_deferred problem

2021-01-22 Thread Tetsuo Handa
Hello, BPF developers. Alexey Kardashevskiy is reporting that system_wq gets stuck due to flooding of unbounded bpf_map_free_deferred work. Use of WQ_MEM_RECLAIM | WQ_HIGHPRI | WQ_UNBOUND workqueue did not solve this problem. Is it possible that a refcount leak somewhere preventing

Re: [PATCH v13 03/12] mm: hugetlb: free the vmemmap pages associated with each HugeTLB page

2021-01-22 Thread Mike Kravetz
On 1/17/21 7:10 AM, Muchun Song wrote: > Every HugeTLB has more than one struct page structure. We __know__ that > we only use the first 4(HUGETLB_CGROUP_MIN_ORDER) struct page structures > to store metadata associated with each HugeTLB. > > There are a lot of struct page structures associated

Re: [PATCH v2] lan743x: add virtual PHY for PHY-less devices

2021-01-22 Thread Sergej Bauer
On Saturday, January 23, 2021 3:01:47 AM MSK Florian Fainelli wrote: > On 1/22/2021 3:58 PM, Sergej Bauer wrote: > > On Saturday, January 23, 2021 2:23:25 AM MSK Andrew Lunn wrote: > > @@ -1000,8 +1005,10 @@ static void lan743x_phy_close(struct > > lan743x_adapter *adapter)> > > >

[PATCH v10 4/5] Documentation: Add core scheduling documentation

2021-01-22 Thread Joel Fernandes (Google)
Document the usecases, design and interfaces for core scheduling. Co-developed-by: Chris Hyser Co-developed-by: Vineeth Pillai Co-developed-by: Josh Don Signed-off-by: Josh Don Signed-off-by: Vineeth Pillai Signed-off-by: Chris Hyser Tested-by: Julien Desfossez Reviewed-by: Randy Dunlap

[PATCH v10 3/5] kselftest: Add tests for core-sched interface

2021-01-22 Thread Joel Fernandes (Google)
Add a kselftest test to ensure that the core-sched interface is working correctly. Co-developed-by: Chris Hyser Signed-off-by: Chris Hyser Tested-by: Julien Desfossez Reviewed-by: Josh Don Signed-off-by: Josh Don Signed-off-by: Chris Hyser Signed-off-by: Joel Fernandes (Google) ---

[PATCH v10 1/5] sched: migration changes for core scheduling

2021-01-22 Thread Joel Fernandes (Google)
From: Aubrey Li - Don't migrate if there is a cookie mismatch Load balance tries to move task from busiest CPU to the destination CPU. When core scheduling is enabled, if the task's cookie does not match with the destination CPU's core cookie, this task will be skipped by

[PATCH v10 2/5] sched: CGroup tagging interface for core scheduling

2021-01-22 Thread Joel Fernandes (Google)
From: Peter Zijlstra Marks all tasks in a cgroup as matching for core-scheduling. A task will need to be moved into the core scheduler queue when the cgroup it belongs to is tagged to run with core scheduling. Similarly the task will need to be moved out of the core scheduler queue when the

[PATCH v10 5/5] sched: Debug bits...

2021-01-22 Thread Joel Fernandes (Google)
Tested-by: Julien Desfossez Not-Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/core.c | 35 ++- kernel/sched/fair.c | 9 + 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index

[PATCH] tpm_tis: Add missing start/stop_tpm_chip calls

2021-01-22 Thread Lukasz Majczak
There is a missing call to start_tpm_chip before the call to the tpm_get_timeouts() and tpm_tis_probe_irq_single(). As the current approach maight work for tpm2, it fails for tpm1.x - in that case call to tpm_get_timeouts() or tpm_tis_probe_irq_single() tries to transmit TPM commands on a disabled

Re: [PATCH net] tcp: make TCP_USER_TIMEOUT accurate for zero window probes

2021-01-22 Thread Jakub Kicinski
On Fri, 22 Jan 2021 18:28:23 -0800 Enke Chen wrote: > Hi, Jakub: > > In terms of backporting, this patch should go together with: > > 9d9b1ee0b2d1 tcp: fix TCP_USER_TIMEOUT with zero window As in it: Fixes: 9d9b1ee0b2d1 tcp: fix TCP_USER_TIMEOUT with zero window or does it further fix the

Re: [PATCH v3 00/19] scsi: libsas: Remove in_interrupt() check

2021-01-22 Thread Martin K. Petersen
Ahmed, > Ahmed S. Darwish (18): > Documentation: scsi: libsas: Remove notify_ha_event() > scsi: libsas: Introduce a _gfp() variant of event notifiers > scsi: mvsas: Pass gfp_t flags to libsas event notifiers > scsi: isci: port: link down: Pass gfp_t flags > scsi: isci: port: link up:

Re: [printk] b031a684bf: INFO:rcu_tasks_detected_stalls_on_tasks

2021-01-22 Thread Sergey Senozhatsky
On (21/01/22 16:13), kernel test robot wrote: [..] > > ++++ > || 6b916706f8 | b031a684bf | > ++++ > |

Re: [PATCH net] tcp: make TCP_USER_TIMEOUT accurate for zero window probes

2021-01-22 Thread Enke Chen
Hi, Jakub: On Fri, Jan 22, 2021 at 06:34:24PM -0800, Jakub Kicinski wrote: > On Fri, 22 Jan 2021 18:28:23 -0800 Enke Chen wrote: > > Hi, Jakub: > > > > In terms of backporting, this patch should go together with: > > > > 9d9b1ee0b2d1 tcp: fix TCP_USER_TIMEOUT with zero window > > As in it:

Re: [External] [PATCH v3 4/5] hugetlb: convert PageHugeTemporary() to HPageTemporary flag

2021-01-22 Thread Muchun Song
On Sat, Jan 23, 2021 at 3:55 AM Mike Kravetz wrote: > > X-Gm-Spam: 0 > X-Gm-Phishy: 0 > > Use new hugetlb specific HPageTemporary flag to replace the > PageHugeTemporary() interfaces. PageHugeTemporary does contain > a PageHuge() check. However, this interface is only used within > hugetlb code

Re: [RFC PATCH 1/4] jbd2: make jdb2_debug module parameter per device

2021-01-22 Thread brookxu
En...,your idea maybe better, thanks for your time. harshad shirwadkar wrote on 2021/1/23 3:00: > I wonder if we should retain the existing module param as well apart > from the new device specific logging switch? If that switch is > enabled, we'll get jbd2 logs for all the devices. Given that

Re: [PATCH V6 5/6] of: unittest: Create overlay_common.dtsi and testcases_common.dtsi

2021-01-22 Thread David Gibson
On Fri, Jan 22, 2021 at 04:20:35PM +0530, Viresh Kumar wrote: > In order to build-test the same unit-test files using fdtoverlay tool, > move the device nodes from the existing overlay_base.dts and > testcases_common.dts files to .dtsi files. The .dts files now include > the new .dtsi files,

Re: [PATCH 4.19 00/22] 4.19.170-rc1 review

2021-01-22 Thread Naresh Kamboju
On Fri, 22 Jan 2021 at 19:45, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.170 release. > There are 22 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] mm/page_owner: Use helper function zone_end_pfn() to get end_pfn

2021-01-22 Thread Miaohe Lin
Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()") introduced the helper zone_end_pfn() to calculate the zone end pfn. But pagetypeinfo_showmixedcount_print forgot to use it. And the initialization of local variable pfn is duplicated, remove one. Signed-off-by: Miaohe Lin

[PATCH] mm/early_ioremap.c: Use __func__ instead of function name

2021-01-22 Thread Stephen Zhang
It is better to use __func__ instead of function name. Signed-off-by: Stephen Zhang --- mm/early_ioremap.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/early_ioremap.c b/mm/early_ioremap.c index a0018ad..164607c 100644 --- a/mm/early_ioremap.c +++

Re: [PATCH 4.4 00/29] 4.4.253-rc2 review

2021-01-22 Thread Naresh Kamboju
s * install-android-platform-tools-r2600 * perf * fwts Summary kernel: 4.4.253-rc2 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.253-rc2-hikey-20210122-904 git commit: de349d25fddae8bf11ff5dc914076c9c021e0505 git des

Re: [PATCH] RISC-V: probes: Treat the instruction stream as host-endian

2021-01-22 Thread Guo Ren
Acked-by: Guo Ren On 2021/1/23 上午11:34, Palmer Dabbelt wrote: From: Palmer Dabbelt Neither of these are actually correct: the instruction stream is defined (for versions of the ISA manual newer than 2.2) as a stream of 16-bit little-endian parcels, which is different than just being

[PATCH 4.9 23/35] usb: ohci: Make distrust_firmware param default to false

2021-01-22 Thread Greg Kroah-Hartman
From: Hamish Martin commit c4005a8f65edc55fb1700dfc5c1c3dc58be80209 upstream. The 'distrust_firmware' module parameter dates from 2004 and the USB subsystem is a lot more mature and reliable now than it was then. Alter the default to false now. Suggested-by: Alan Stern Acked-by: Alan Stern

Re: [PATCH 3/3] tracing: Remove NULL check from current in tracing_generic_entry_update().

2021-01-22 Thread Steven Rostedt
On Fri, 22 Jan 2021 17:12:11 -0500 Steven Rostedt wrote: > > I can't imagine when or why `current' would return a NULL pointer. This > > check was added in commit > > 72829bc3d63cd ("ftrace: move enums to ftrace.h and make helper > > function global") > > > > but it doesn't give me hint

Re: [PATCH] net/mlx5e: free page before return

2021-01-22 Thread Saeed Mahameed
On Thu, 2021-01-21 at 19:49 +0200, Leon Romanovsky wrote: > On Wed, Jan 20, 2021 at 08:58:30PM -0800, Pan Bian wrote: > > Instead of directly return, goto the error handling label to free > > allocated page. > > > > Fixes: 5f29458b77d5 ("net/mlx5e: Support dump callback in TX > > reporter") > >

[PATCH 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver

2021-01-22 Thread Stephen Boyd
Add support for a ChromeOS EC proximity driver that exposes a "front" proximity sensor via the IIO subsystem. The EC decides when front proximity is near and sets an MKBP switch 'EC_MKBP_FRONT_PROXIMITY' to notify the kernel of proximity. Similarly, when proximity detects something far away it

[PATCH 0/3] iio: Add a ChromeOS EC MKBP proximity driver

2021-01-22 Thread Stephen Boyd
This is a different approach to [1] where I tried to add this proximity sensor logic to the input subsystem. Instead, we'll take the approach of making a small IIO proximity driver that parses the EC switch bitmap to find out if the front proximity sensor is detecting something or not. This allows

[ANNOUNCE] 4.14.215-rt105

2021-01-22 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.14.215-rt105 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.14-rt Head SHA1: 86898452a42078b98cfe9d8a25404fee11563083 Or to build 4.14.215-rt105

[PATCH v5] gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default

2021-01-22 Thread Saravana Kannan
There are multiple instances of GPIO device tree nodes of the form: foo { compatible = "acme,foo"; ... gpio0: gpio0@ { compatible = "acme,bar"; ... gpio-controller; }; gpio1: gpio1@ {

Re: [PATCH v2 2/5] hugetlb: convert page_huge_active() HPageMigratable flag

2021-01-22 Thread Mike Kravetz
On 1/21/21 10:53 PM, Miaohe Lin wrote: > Hi: > On 2021/1/20 9:30, Mike Kravetz wrote: >> Use the new hugetlb page specific flag HPageMigratable to replace the >> page_huge_active interfaces. By it's name, page_huge_active implied >> that a huge page was on the active list. However, that is not

[PATCH] kunit: make kunit_tool accept optional path to .kunitconfig fragment

2021-01-22 Thread Daniel Latypov
Currently running tests via KUnit tool means tweaking a .kunitconfig file, which you'd keep around locally and never commit. This changes makes it so users can pass in a path to a kunitconfig. One of the imagined use cases is having kunitconfig fragments in-tree to formalize interesting sets of

Re: [PATCH v6 3/4] usb: dwc3: Resize TX FIFOs to meet EP bursting requirements

2021-01-22 Thread Thinh Nguyen
Hi, Wesley Cheng wrote: > Some devices have USB compositions which may require multiple endpoints > that support EP bursting. HW defined TX FIFO sizes may not always be > sufficient for these compositions. By utilizing flexible TX FIFO > allocation, this allows for endpoints to request the

Re: [PATCH v9 01/18] arm64: kexec: make dtb_mem always enabled

2021-01-22 Thread Pavel Tatashin
On Wed, Apr 29, 2020 at 1:00 PM James Morse wrote: > > Hi Pavel, > > On 26/03/2020 03:24, Pavel Tatashin wrote: > > Currently, dtb_mem is enabled only when CONFIG_KEXEC_FILE is > > enabled. This adds ugly ifdefs to c files. > > ~s/dtb_mem/ARCH_HAS_KIMAGE_ARCH/ ? > dtb_mem is just one member of

Re: [PATCH V6 2/6] scripts: dtc: Build fdtoverlay tool

2021-01-22 Thread David Gibson
On Fri, Jan 22, 2021 at 04:20:32PM +0530, Viresh Kumar wrote: > We will start building overlays for platforms soon in the kernel and > would need fdtoverlay going forward. Lets start building it. > > The fdtoverlay program applies (or merges) one or more overlay dtb Saying "merges" here is

[PATCH] drm/nouveau: remove set but not used variable ‘pdev’ in nouveau_bios_init

2021-01-22 Thread Ye Bin
Fix follow warning: drivers/gpu/drm/nouveau/nouveau_bios.c:2086:18: warning: variable ‘pdev’ set but not used [-Wunused-but-set-variable] struct pci_dev *pdev; ^~~~ Reported-by: Hulk Robot Signed-off-by: Ye Bin --- drivers/gpu/drm/nouveau/nouveau_bios.c | 2 -- 1 file

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