[PATCH tip/core/rcu 07/28] torture: Move build/run synchronization files into scenario directories

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Currently the bN.ready and bN.wait files are placed in the rcutorture directory, which really is not at all a good place for run-specific files. This commit therefore renames these files to build.ready and build.wait and then moves them into the scenario directories

[PATCH tip/core/rcu 11/28] torture: Reverse jittering and duration parameters for jitter.sh

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Remote rcutorture testing requires that jitter.sh continue to be invoked from the generated script for local runs, but that it instead be invoked on the remote system for distributed runs. This argues for common jitterstart and jitterstop scripts. But it would be good

[PATCH tip/core/rcu 0/3] Polling RCU grace-period interfaces for v5.13

2021-03-03 Thread Paul E. McKenney
Hello! This series provides additional polling interfaces for RCU, so that an updater may initiate and poll for completion of an RCU grace period despite never being invoked from a sleepable region of code. These are similar to the corresponding SRCU interfaces, give or take additional

[PATCH tip/core/rcu 1/3] rcu: Provide polling interfaces for Tree RCU grace periods

2021-03-03 Thread paulmck
From: "Paul E. McKenney" There is a need for a non-blocking polling interface for RCU grace periods, so this commit supplies start_poll_synchronize_rcu() and poll_state_synchronize_rcu() for this purpose. Note that the existing get_state_synchronize_rcu() may be used if future grace periods are

[PATCH tip/core/rcu 3/3] rcutorture: Test start_poll_synchronize_rcu() and poll_state_synchronize_rcu()

2021-03-03 Thread paulmck
From: "Paul E. McKenney" This commit causes rcutorture to test the new start_poll_synchronize_rcu() and poll_state_synchronize_rcu() functions. Because of the difficulty of determining the nature of a synchronous RCU grace (expedited or not), the test that insisted that

[PATCH tip/core/rcu 2/3] rcu: Provide polling interfaces for Tiny RCU grace periods

2021-03-03 Thread paulmck
From: "Paul E. McKenney" There is a need for a non-blocking polling interface for RCU grace periods, so this commit supplies start_poll_synchronize_rcu() and poll_state_synchronize_rcu() for this purpose. Note that the existing get_state_synchronize_rcu() may be used if future grace periods are

Re: drivers/gpu/drm/msm/dp/dp_hpd.c:37 dp_hpd_connect() error: we previously assumed 'hpd_priv->dp_cb' could be null (see line 37)

2021-03-03 Thread abhinavk
Hi Dan Thanks for reporting this, will submit a change to fix this. Abhinav On 2021-02-28 23:02, Dan Carpenter wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8 commit:

Re: drivers/gpu/drm/msm/dp/dp_debug.c:218 dp_debug_init() warn: passing zero to 'PTR_ERR'

2021-03-03 Thread abhinavk
Hi Dan Thanks for reporting this, will submit a change to fix this. Abhinav On 2021-02-28 23:14, Dan Carpenter wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8 commit:

[PATCH tip/core/rcu 14/28] torture: Extract kvm-test-1-run-qemu.sh from kvm-test-1-run.sh

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Currently, kvm-test-1-run.sh both builds and runs an rcutorture kernel, which is inconvenient when it is necessary to re-run an old run or to carry out a run on a remote system. This commit therefore extracts the portion of kvm-test-1-run.sh that invoke qemu to actually

[PATCH tip/core/rcu 10/28] torture: Eliminate jitter_pids file

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Now that there is a reliable way to convince the jitter.sh scripts to stop, the jitter_pids file is not needed, nor is the code that kills all the PIDs contained in this file. This commit therefore eliminates this file and the code using it. Signed-off-by: Paul E.

[PATCH tip/core/rcu 08/28] torture: Use file-based protocol to mark batch's runs complete

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Currently, the script generated by kvm.sh does a "wait" to wait on both the current batch's guest OSes and any jitter.sh scripts. This works, but makes it hard to abstract the jittering so that common code can be used for both local and distributed runs. This commit

[PATCH tip/core/rcu 13/28] torture: Record TORTURE_KCONFIG_GDB_ARG in qemu-cmd

2021-03-03 Thread paulmck
From: "Paul E. McKenney" When re-running old rcutorture builds, if the original run involved gdb, the re-run also needs to do so. This commit therefore records the TORTURE_KCONFIG_GDB_ARG environment variable into the qemu-cmd file so that the re-run can access it. Signed-off-by: Paul E.

[PATCH tip/core/rcu 12/28] torture: Abstract jitter.sh start/stop into scripts

2021-03-03 Thread paulmck
From: "Paul E. McKenney" This commit creates jitterstart.sh and jitterstop.sh scripts that handle the starting and stopping of the jitter.sh scripts. These must be sourced using the bash "." command to allow the generated script to wait on the backgrounded jitter.sh scripts. Signed-off-by:

[PATCH tip/core/rcu 09/28] torture: Use "jittering" file to control jitter.sh execution

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Currently, jitter.sh execution is controlled by a time limit and by the "kill" command. The former allowed jitter.sh to run uselessly past the end of a set of runs that panicked during boot, and the latter is vulnerable to PID reuse. This commit therefore introduces a

[PATCH kernel/time 5/5] clocksource: Do pairwise clock-desynchronization checking

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Although smp_call_function() has the advantage of simplicity, using it to check for cross-CPU clock desynchronization means that any CPU being slow reduces the sensitivity of the checking across all CPUs. And it is not uncommon for smp_call_function() latencies to be in

Re: [PATCH -next] ASoC: rt1316: Fix return value check in rt1316_sdw_probe()

2021-03-03 Thread Mark Brown
On Wed, 3 Mar 2021 06:40:41 +, Wei Yongjun wrote: > In case of error, the function devm_regmap_init_sdw() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). Applied to

[PATCH kernel/time 2/5] clocksource: Retry clock read if long delays detected

2021-03-03 Thread paulmck
From: "Paul E. McKenney" When the clocksource watchdog marks a clock as unstable, this might be due to that clock being unstable or it might be due to delays that happen to occur between the reads of the two clocks. Yes, interrupts are disabled across those two reads, but there are no shortage

Re: [PATCH][next] ASoC: fsl: fsl_easrc: Fix uninitialized variable st2_mem_alloc

2021-03-03 Thread Mark Brown
On Wed, 3 Mar 2021 09:18:35 +, Colin King wrote: > A previous cleanup commit removed the ininitialization of st2_mem_alloc. > Fix this by restoring the original behaviour by initializing it to zero. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Re: [kbuild-all] Re: COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security so

2021-03-03 Thread Rong Chen
: a579fcfa8e49cc77ad59211bb18bc5004133e6a0 c6x: remove architecture date: 6 weeks ago config: c6x-randconfig-r026-20210303 (attached as .config) compiler: c6x-elf-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: (subset) [PATCH v2 0/7] Add I2S-MCC support for Microchip's SAMA7G5

2021-03-03 Thread Mark Brown
On Mon, 1 Mar 2021 19:08:58 +0200, Codrin Ciubotariu wrote: > SAMA7G5 includes an updated version of I2S-MCC, found previously on > SAM9X60. This controller includes 8 data pins, 4 for playback and 4 for > capture. For I2S and LEFT_J formats, these pins can be used to > send/receive up to 8 audio

[PATCH kernel/time 3/5] clocksource: Check per-CPU clock synchronization when marked unstable

2021-03-03 Thread paulmck
From: "Paul E. McKenney" Some sorts of per-CPU clock sources have a history of going out of synchronization with each other. However, this problem has purportedy been solved in the past ten years. Except that it is all too possible that the problem has instead simply been made less likely,

Re: [PATCH] SoC: codecs: fix platform_no_drv_owner.cocci warnings

2021-03-03 Thread Mark Brown
On Wed, 3 Mar 2021 17:08:01 +0800, Yang Li wrote: > ./sound/soc/codecs/lpass-rx-macro.c:3588:3-8: No need to set .owner here. > The core will do it. > > Remove .owner field if calls are used which set it automatically Applied to

Re: [PATCH v2] ASoC: codec: Omit superfluous error message in jz4760_codec_probe()

2021-03-03 Thread Mark Brown
On Tue, 2 Mar 2021 21:56:30 +0800, Tang Bin wrote: > The function devm_platform_ioremap_resource has already contained > error message, so remove the redundant dev_err here. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: codec: Omit

Re: [PATCH net] Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"

2021-03-03 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 3 Mar 2021 16:39:47 +0800 you wrote: > This reverts commit 134f98bcf1b898fb9d6f2b91bc85dd2e5478b4b8. > > The r8153_mac_clk_spd() is used for RTL8153A only, because the register > table of RTL8153B is different from

Re: [PATCH net v2] net: l2tp: reduce log level of messages in receive path, add counter instead

2021-03-03 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 3 Mar 2021 16:50:49 +0100 you wrote: > Commit 5ee759cda51b ("l2tp: use standard API for warning log messages") > changed a number of warnings about invalid packets in the receive path > so that they are always shown,

RE: [PATCH] KVM: arm64: Fix unaligned addr case in mmu walking

2021-03-03 Thread Justin He
Hi Marc > -Original Message- > From: Will Deacon > Sent: Thursday, March 4, 2021 5:13 AM > To: Marc Zyngier > Cc: Justin He ; kvm...@lists.cs.columbia.edu; James > Morse ; Julien Thierry ; > Suzuki Poulose ; Catalin Marinas > ; Gavin Shan ; Yanan Wang > ; Quentin Perret ; linux-arm- >

Re: Broken kretprobe stack traces

2021-03-03 Thread Daniel Xu
On Wed, Mar 03, 2021 at 03:37:40PM -0500, Steven Rostedt wrote: > On Wed, 03 Mar 2021 12:13:08 -0800 > "Daniel Xu" wrote: > > > On Wed, Mar 3, 2021, at 11:58 AM, Daniel Xu wrote: > > > On Wed, Mar 03, 2021 at 09:26:04AM -0500, Steven Rostedt wrote: > > > > On Wed, 3 Mar 2021 13:48:28 +0900 > >

Re: [PATCH v3 5/9] KVM: vmx/pmu: Add MSR_ARCH_LBR_DEPTH emulation for Arch LBR

2021-03-03 Thread Xu, Like
Hi Sean, Thanks for your detailed review on the patch set. On 2021/3/4 0:58, Sean Christopherson wrote: On Wed, Mar 03, 2021, Like Xu wrote: @@ -348,10 +352,26 @@ static bool intel_pmu_handle_lbr_msrs_access(struct kvm_vcpu *vcpu, return true; } +/* + * Check if the requested

[PATCH v1 1/3] i40e: use minimal tx and rx pairs for kdump

2021-03-03 Thread Coiby Xu
Set the number of the MSI-X vectors to 1. When MSI-X is enabled, it's not allowed to use more TC queue pairs than MSI-X vectors (pf->num_lan_msix) exist. Thus the number of tx and rx pairs (vsi->num_queue_pairs) will be equal to the number of MSI-X vectors, i.e., 1. Signed-off-by: Coiby Xu ---

[PATCH v1 3/3] i40e: use minimal admin queue for kdump

2021-03-03 Thread Coiby Xu
The minimum size of admin send/receive queue is 1 and 2 respectively. The admin send queue can't be set to 1 because in that case, the firmware would fail to init. Signed-off-by: Coiby Xu --- drivers/net/ethernet/intel/i40e/i40e.h | 2 ++ drivers/net/ethernet/intel/i40e/i40e_main.c | 9

Re: [PATCH v3 6/9] KVM: vmx/pmu: Add MSR_ARCH_LBR_CTL emulation for Arch LBR

2021-03-03 Thread Xu, Like
On 2021/3/4 1:19, Sean Christopherson wrote: On Wed, Mar 03, 2021, Like Xu wrote: diff --git a/arch/x86/kvm/vmx/pmu_intel.c b/arch/x86/kvm/vmx/pmu_intel.c index 25d620685ae7..d14a14eb712d 100644 --- a/arch/x86/kvm/vmx/pmu_intel.c +++ b/arch/x86/kvm/vmx/pmu_intel.c @@ -19,6 +19,7 @@ #include

Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese

2021-03-03 Thread Alex Shi
在 2021/3/2 下午5:13, huangjianghui 写道: >> we usually include patch into email instead of attach it as attachment. >> You can try use 'git send-email' to post your patches. >> >> Thanks >> Alex >> >> > I am sorry to do those, my patch is shown below: Hi Jianghui, I cann't apply your patch: $ g

[PATCH v1 2/3] i40e: use minimal rx and tx ring buffers for kdump

2021-03-03 Thread Coiby Xu
Use the minimum of the number of descriptors thus we will allocate the minimal ring buffers for kdump. Signed-off-by: Coiby Xu --- drivers/net/ethernet/intel/i40e/i40e_main.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c

Re: [PATCH/v4] bpf: add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_ENCAP_L2_ETH

2021-03-03 Thread Xuesen Huang
> 2021年3月4日 上午2:53,Willem de Bruijn 写道: > > On Wed, Mar 3, 2021 at 7:33 AM Xuesen Huang wrote: >> >> From: Xuesen Huang >> >> bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets >> encapsulation. But that is not appropriate when pushing Ethernet header. >> >> Add an

Re: [PATCH] MIPS: Add comment about CONFIG_MIPS32_O32 in loongson3_defconfig when build with Clang

2021-03-03 Thread Tiezhu Yang
On 03/04/2021 10:02 AM, Nathan Chancellor wrote: On Thu, Mar 04, 2021 at 09:15:44AM +0800, Tiezhu Yang wrote: When build kernel with Clang [1]: $ make CC=clang loongson3_defconfig $ make CC=clang [snip] I think this might be a better solution. I know that I personally never read defconfig

[PATCH v2] amba: Remove deferred device addition

2021-03-03 Thread Saravana Kannan
The uevents generated for an amba device need PID and CID information that's available only when the amba device is powered on, clocked and out of reset. So, if those resources aren't available, the information can't be read to generate the uevents. To workaround this requirement, if the resources

Re: [PATCH] mm,hwpoison: return -EBUSY when page already poisoned

2021-03-03 Thread Aili Yao
On Thu, 4 Mar 2021 10:16:53 +0800 Aili Yao wrote: > On Wed, 3 Mar 2021 15:41:35 + > "Luck, Tony" wrote: > > > > For error address with sigbus, i think this is not an issue resulted by > > > the patch i post, before my patch, the issue is already there. > > > I don't find a realizable way

[PATCH v4 05/13] phy: cadence: cadence-sierra: Move all clk_get_*() to a separate function

2021-03-03 Thread Kishon Vijay Abraham I
No functional change. Group all devm_clk_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 57 +++- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git

[PATCH v4 10/13] phy: cadence: cadence-sierra: Add missing clk_disable_unprepare() in .remove callback

2021-03-03 Thread Kishon Vijay Abraham I
commit 44d30d622821 ("phy: cadence: Add driver for Sierra PHY") enabled the clock in probe and failed to disable in remove callback. Add missing clk_disable_unprepare() in cdns_sierra_phy_remove(). Fixes: 44d30d622821 ("phy: cadence: Add driver for Sierra PHY") Signed-off-by: Kishon Vijay Abraham

[PATCH v4 13/13] phy: cadence: phy-cadence-sierra: Enable pll_cmnlc and pll_cmnlc1 clocks

2021-03-03 Thread Kishon Vijay Abraham I
Get pll_cmnlc and pll_cmnlc1 optional clocks and enable them. This will enable REFRCV/1 in case the pll_cmnlc/1 takes input from REFRCV/1 respectively. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 40 ++-- 1 file changed, 37

[PATCH v4 00/13] PHY: Add support in Sierra to use external clock

2021-03-03 Thread Kishon Vijay Abraham I
Patch series adds support in Sierra driver to use external clock. v1 of the patch series can be found @ [1] v2 of the patch series can be found @ [2] v3 of the patch series can be found @ [3] Changes from v3: 1) Instead of adding separate subnodes for each clock, just add #clock-cells in Sierra

[PATCH v4 06/13] phy: cadence: cadence-sierra: Move all reset_control_get*() to a separate function

2021-03-03 Thread Kishon Vijay Abraham I
No functional change. Group devm_reset_control_get() and devm_reset_control_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 36 1 file changed, 25 insertions(+), 11 deletions(-) diff --git

[PATCH v4 02/13] phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()

2021-03-03 Thread Kishon Vijay Abraham I
Invoke wiz_init() before configuring anything else in Sierra/Torrent (invoked as part of of_platform_device_create()). wiz_init() resets the SERDES device and any configuration done in the probe() of Sierra/Torrent will be lost. In order to prevent SERDES configuration from getting reset, invoke

[PATCH v4 03/13] phy: cadence: cadence-sierra: Create PHY only for "phy" or "link" sub-nodes

2021-03-03 Thread Kishon Vijay Abraham I
Cadence Sierra PHY driver registers PHY using devm_phy_create() for all sub-nodes of Sierra device tree node. However Sierra device tree node can have sub-nodes for the various clocks in addtion to the PHY. Use devm_phy_create() only for nodes with name "phy" (or "link" for old device tree) which

[PATCH v4 08/13] phy: cadence-torrent: Use a common header file for Cadence SERDES

2021-03-03 Thread Kishon Vijay Abraham I
No functional change. In order to have a single header file for all Cadence SERDES move phy-cadence-torrent.h to phy-cadence.h. This is in preparation for adding Cadence Sierra SERDES specific macros. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-torrent.c

[PATCH v4 04/13] phy: ti: j721e-wiz: Get PHY properties only for "phy" or "link" subnode

2021-03-03 Thread Kishon Vijay Abraham I
"serdes" node (child node of WIZ) can have sub-nodes for representing links or it can have sub-nodes for representing the various clocks within the serdes. Instead of trying to read "reg" from every child node used for assigning "lane_phy_type", read only if the child node's name is "phy" or

[PATCH] arch:powerpc:kernel: remove duplicate include in traps.c

2021-03-03 Thread menglong8 . dong
From: Zhang Yunkai 'asm/tm.h' included in 'traps.c' is duplicated. It is also included in the 62th line. Signed-off-by: Zhang Yunkai --- arch/powerpc/kernel/traps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index

Re: [External] Re: [PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-03-03 Thread Muchun Song
On Thu, Mar 4, 2021 at 12:26 PM Balbir Singh wrote: > > On Wed, Mar 03, 2021 at 01:45:00PM +1100, Singh, Balbir wrote: > > On 26/2/21 12:21 am, Muchun Song wrote: > > > Move bootmem info registration common API to individual bootmem_info.c. > > > And we will use {get,put}_page_bootmem() to

[PATCH] net: sctp: trivial: fix typo in comment

2021-03-03 Thread Drew Fustini
Fix typo of 'overflow' for comment in sctp_tsnmap_check(). Reported-by: Gustavo A. R. Silva Signed-off-by: Drew Fustini --- net/sctp/tsnmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sctp/tsnmap.c b/net/sctp/tsnmap.c index a9c6af5795d8..5ba456727f63 100644 ---

Re: [PATCH v3] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-03-03 Thread Yang Weijiang
On Wed, Mar 03, 2021 at 01:24:07PM +0100, Paolo Bonzini wrote: > On 03/03/21 07:04, Yang Weijiang wrote: > > These fields are rarely updated by L1 QEMU/KVM, sync them when L1 is trying > > to > > read/write them and after they're changed. If CET guest entry-load bit is > > not > > set by L1

RE: [RFC PATCH 2/5] char: rpmb: provide a user space interface

2021-03-03 Thread Winkler, Tomas
> > The user space API is achieved via a number of synchronous IOCTLs. > > * RPMB_IOC_VER_CMD - simple versioning API > * RPMB_IOC_CAP_CMD - query of underlying capabilities > * RPMB_IOC_PKEY_CMD - one time programming of access key > * RPMB_IOC_COUNTER_CMD - query the write counter >

Re: [V2][PATCH] vt: keyboard, fix uninitialized variables warning

2021-03-03 Thread Greg KH
On Thu, Mar 04, 2021 at 11:10:48AM +0800, Li Wang wrote: > drivers/tty/vt/keyboard.c: In function 'vt_do_kdgkb_ioctl': > drivers/tty/vt/keyboard.c: warning: 'ret' may be used uninitialized in this > function [-Wmaybe-uninitialized] > return ret; > ^~~ > drivers/tty/vt/keyboard.c:

Re: [V2][PATCH] vt: keyboard, fix uninitialized variables warning

2021-03-03 Thread Jiri Slaby
On 04. 03. 21, 4:10, Li Wang wrote: drivers/tty/vt/keyboard.c: In function 'vt_do_kdgkb_ioctl': drivers/tty/vt/keyboard.c: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ drivers/tty/vt/keyboard.c: warning: 'kbs' may be used

[PATCH mips/linux.git] firmware: bcm47xx_nvram: refactor finding & reading NVRAM

2021-03-03 Thread Rafał Miłecki
From: Rafał Miłecki 1. Use meaningful variable names (e.g. "flash_start", "res_size" instead of e.g. "iobase", "end") 2. Always operate on "offset" instead of mix of start, end, size, etc. 3. Add helper checking for NVRAM to avoid duplicating code 4. Use "found" variable instead of goto 5.

Re: [PATCH 5/7] printk: Make %pS and friends print module build ID

2021-03-03 Thread Steven Rostedt
On Wed, 03 Mar 2021 16:38:28 -0800 Stephen Boyd wrote: > I'm starting to feel like nobody read the commit text, or I messed up > somehow and the commit text was confusing? :( > I read it, I'm just unfamiliar with it. I don't use pstore, and I'm not sure what "crashdump" is. Do you mean the

Re: [PATCH] perf record: Fix continue profiling after draining the buffer

2021-03-03 Thread Yang Jihong
On 2021/3/4 0:43, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 22, 2021 at 09:31:51AM +0800, Yang Jihong escreveu: Hello, On 2021/2/19 1:09, Arnaldo Carvalho de Melo wrote: Em Thu, Feb 18, 2021 at 10:20:53AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Feb 05, 2021 at 11:46:12AM

[PATCH] MIPS: drm/radeon: A gray screen appears when going into hibernation(S4)

2021-03-03 Thread wangjingyu
Radeon Card: Caicos[Radeon HD 6450/7450/8450 /R5 230 OEM] there is no gray screen when echo 4>/sys/module/drm/parameters/debug, so the WREG32 function after DRM_DEBUG_KMS may have wrong when going into hibernation.the delay of msleep(50) just can fix gray screen. Signed-off-by: wangjingyu

Re: XDP socket rings, and LKMM litmus tests

2021-03-03 Thread Boqun Feng
On Wed, Mar 03, 2021 at 03:22:46PM -0500, Alan Stern wrote: > On Wed, Mar 03, 2021 at 09:40:22AM -0800, Paul E. McKenney wrote: > > On Wed, Mar 03, 2021 at 12:12:21PM -0500, Alan Stern wrote: > > > > Local variables absolutely should be treated just like CPU registers, if > > > possible. In

[PATCH 0/3] Don't use RCU for x_tables synchronization

2021-03-03 Thread Mark Tomlinson
The patches to change to using RCU synchronization in x_tables cause updating tables to be slowed down by an order of magnitude. This has been tried before, see https://lore.kernel.org/patchwork/patch/151796/ and ultimately was rejected. As mentioned in the patch description, a different method

[PATCH 1/3] Revert "netfilter: x_tables: Update remaining dereference to RCU"

2021-03-03 Thread Mark Tomlinson
This reverts commit 443d6e86f821a165fae3fc3fc13086d27ac140b1. This (and the following) patch basically re-implemented the RCU mechanisms of patch 784544739a25. That patch was replaced because of the performance problems that it created when replacing tables. Now, we have the same issue: the call

[PATCH] arch/parisc/kernel: remove duplicate include in ptrace

2021-03-03 Thread menglong8 . dong
From: Zhang Yunkai 'linux/compat.h' included in 'arch/parisc/kernel/ptrace.c' is duplicated. It is also included in the 24th line. Signed-off-by: Zhang Yunkai --- arch/parisc/kernel/ptrace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/parisc/kernel/ptrace.c

Re: [PATCH v2 3/4] mm: /proc/sys/vm/stat_refresh skip checking known negative stats

2021-03-03 Thread Roman Gushchin
On Mon, Mar 01, 2021 at 10:03:26PM -0800, Hugh Dickins wrote: > vmstat_refresh() can occasionally catch nr_zone_write_pending and > nr_writeback when they are transiently negative. The reason is partly > that the interrupt which decrements them in test_clear_page_writeback() > can come in before

Re: [PATCH] Documentation/admin-guide: kernel-parameters: correct the architectures for numa_balancing

2021-03-03 Thread Palmer Dabbelt
On Tue, 02 Mar 2021 00:41:59 PST (-0800), song.bao@hisilicon.com wrote: X86 isn't the only architecture supporting NUMA_BALANCING. ARM64, PPC, S390 and RISCV also support it: arch$ git grep NUMA_BALANCING arm64/Kconfig: select ARCH_SUPPORTS_NUMA_BALANCING

Re: [PATCH V2 0/4] scsi: ufs-debugfs: Add UFS Exception Event reporting

2021-03-03 Thread Martin K. Petersen
On Tue, 9 Feb 2021 08:24:33 +0200, Adrian Hunter wrote: > Here are V2 patches to add a tracepoint for UFS Exception Events and to > allow users to enable specific exception events without affecting the > driver's use of exception events. > > > Changes in V2: > > [...] Applied to

Re: [PATCH] scsi: ufs: Fix incorrect ufshcd_state after ufshcd_reset_and_restore()

2021-03-03 Thread Martin K. Petersen
On Mon, 1 Mar 2021 21:19:40 +0200, Adrian Hunter wrote: > If ufshcd_probe_hba() fails it sets ufshcd_state to UFSHCD_STATE_ERROR, > however, if it is called again, as it is within a loop in > ufshcd_reset_and_restore(), and succeeds, then it will not set the state > back to

Re: [PATCH] scsi: ufs: convert sysfs sprintf/snprintf family to sysfs_emit

2021-03-03 Thread Martin K. Petersen
On Tue, 2 Mar 2021 14:08:18 +0800, Jiapeng Chong wrote: > Fix the following coccicheck warning: > > ./drivers/scsi/ufs/ufshcd.c:1538:8-16: WARNING: use scnprintf or > sprintf. Applied to 5.12/scsi-fixes, thanks! [1/1] scsi: ufs: convert sysfs sprintf/snprintf family to sysfs_emit

Re: [PATCH v5 0/5] ibmvfc: hard reset fixes

2021-03-03 Thread Martin K. Petersen
On Tue, 2 Mar 2021 17:05:38 -0600, Tyrel Datwyler wrote: > This series contains a minor simplification of ibmvfc_init_sub_crqs() followed > by a couple fixes for sub-CRQ handling which effect hard reset of the > client/host adapter CRQ pair. > > changes in v5: > Patches 2-5: Corrected upstream

Re: [PATCH] scsi: vmw_pvscsi: Update maintainer

2021-03-03 Thread Martin K. Petersen
On Fri, 26 Feb 2021 15:43:48 -0800, Vishal Bhakta wrote: > The entries in the source files are removed as well. Applied to 5.12/scsi-fixes, thanks! [1/1] scsi: vmw_pvscsi: Update maintainer https://git.kernel.org/mkp/scsi/c/1dbafd931d90 -- Martin K. Petersen Oracle Linux

Re: [PATCH v3 3/8] mm/rmap: Split try_to_munlock from try_to_unmap

2021-03-03 Thread Alistair Popple
On Tuesday, 2 March 2021 3:10:49 AM AEDT Jason Gunthorpe wrote: > > + while (page_vma_mapped_walk()) { > > + /* > > +* If the page is mlock()d, we cannot swap it out. > > +* If it's recently referenced (perhaps page_referenced > > +

Re: [PATCH] certs: Fix wrong kconfig option used for x509_revocation_list

2021-03-03 Thread Jarkko Sakkinen
On Tue, Mar 02, 2021 at 10:44:18PM -0500, Eric Snowberg wrote: > This fixes a build issue when x509_revocation_list is not defined. "Fix a" Let's stick to the imperative form in commit messages. > > $ make ARCH=x86_64 O=build64 all > > EXTRACT_CERTS ../ > At main.c:154: > - SSL

Re: [PATCH 02/20] crypto: Manual replacement of the deprecated strlcpy() with return values

2021-03-03 Thread Herbert Xu
On Mon, Feb 22, 2021 at 04:12:13PM +0100, Romain Perier wrote: > > diff --git a/crypto/lrw.c b/crypto/lrw.c > index bcf09fbc750a..4d35f4439012 100644 > --- a/crypto/lrw.c > +++ b/crypto/lrw.c > @@ -357,10 +357,10 @@ static int lrw_create(struct crypto_template *tmpl, > struct rtattr **tb) >

kernel/sched/fair.c:8894:20: warning: stack frame size of 1072 bytes in function 'update_sd_lb_stats'

2021-03-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f69d02e37a85645aa90d18cacfff36dba370f797 commit: 8b3165e54566e8bb8f4b7d4e5f12ced78ce462bb MIPS: Enable GCOV date: 3 months ago config: mips-randconfig-r036-20210304 (attached as .config) compiler: clang

Re: [PATCH] x86/vdso: Use proper modifier for len's printf in extract

2021-03-03 Thread Jiri Slaby
On 03. 03. 21, 19:36, Borislav Petkov wrote: On Wed, Mar 03, 2021 at 07:43:57AM +0100, Jiri Slaby wrote: Commit 8382c668ce4f ("x86/vdso: Add support for exception fixup in vDSO functions") added a printf of len which is size_t. Compilers now complain on 32b: In file included from

Re: [PATCH] MIPS: Add comment about CONFIG_MIPS32_O32 in loongson3_defconfig when build with Clang

2021-03-03 Thread Nathan Chancellor
On Thu, Mar 04, 2021 at 11:48:09AM +0800, Tiezhu Yang wrote: > On 03/04/2021 10:02 AM, Nathan Chancellor wrote: > > On Thu, Mar 04, 2021 at 09:15:44AM +0800, Tiezhu Yang wrote: > > > When build kernel with Clang [1]: > > > > > > $ make CC=clang loongson3_defconfig > > > $ make CC=clang > >

[PATCH v3 1/3] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-03-03 Thread Yang Weijiang
These fields are rarely updated by L1 QEMU/KVM, sync them when L1 is trying to read/write them and after they're changed. If CET guest entry-load bit is not set by L1 guest, migrate them to L2 manaully. Suggested-by: Sean Christopherson Signed-off-by: Yang Weijiang --- arch/x86/kvm/cpuid.c

[PATCH v3 0/3] CET fix patches for nested guest

2021-03-03 Thread Yang Weijiang
This patch series is to fix a few issues found during nested guest testing on Linux, also including a patch to explictly disable CET support in nested guest over Hyper-V(s). Yang Weijiang (3): KVM: nVMX: Sync L2 guest CET states between L1/L2 KVM: nVMX: Set X86_CR4_CET in cr4_fixed1_bits if

[PATCH v3 2/3] KVM: nVMX: Set X86_CR4_CET in cr4_fixed1_bits if CET IBT is enabled

2021-03-03 Thread Yang Weijiang
CET SHSTK and IBT are independently controlled by kernel, set X86_CR4_CET bit in cr4_fixed1_bits if either of them is enabled so that nested guest can enjoy the feature. Reviewed-by: Sean Christopherson Signed-off-by: Yang Weijiang --- arch/x86/kvm/vmx/vmx.c | 1 + 1 file changed, 1

[PATCH v3 3/3] KVM: nVMX: Add CET entry/exit load bits to evmcs unsupported list

2021-03-03 Thread Yang Weijiang
Nested guest doesn't support CET when KVM is running as an intermediate layer between two Hyper-Vs for now, so mask out related CET entry/exit load bits. Relevant enabling patches will be posted as a separate patch series. Suggested-by: Paolo Bonzini Suggested-by: Vitaly Kuznetsov

Re: [PATCH v6] i2c: virtio: add a virtio i2c frontend driver

2021-03-03 Thread Viresh Kumar
On 04-03-21, 09:59, Jie Deng wrote: > Add an I2C bus driver for virtio para-virtualization. > > The controller can be emulated by the backend driver in > any device model software by following the virtio protocol. > > The device specification can be found on >

Re: [PATCH 3/3] PCI: Convert rtw88 power cycle quirk to shutdown quirk

2021-03-03 Thread Kai-Heng Feng
On Sat, Feb 27, 2021 at 2:17 AM Bjorn Helgaas wrote: > > On Fri, Feb 26, 2021 at 02:31:31PM +0100, Heiner Kallweit wrote: > > On 26.02.2021 13:18, Kai-Heng Feng wrote: > > > On Fri, Feb 26, 2021 at 8:10 PM Heiner Kallweit > > > wrote: > > >> > > >> On 26.02.2021 08:12, Kalle Valo wrote: > > >>>

Re: [PATCH v26 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-03 Thread Can Guo
- if (!ufshpb_is_support_chunk(transfer_len)) - return; + if (!ufshpb_is_support_chunk(hpb, transfer_len) && + (ufshpb_is_legacy(hba) && (transfer_len != HPB_LEGACY_CHUNK_HIGH))) + return 0; This is looks awkward, can we put the checks in

Re: [PATCH v6] i2c: virtio: add a virtio i2c frontend driver

2021-03-03 Thread kernel test robot
Hi Jie, Thank you for the patch! Yet something to improve: [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on vhost/linux-next linux/master linus/master v5.12-rc1 next-20210303] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

[PATCH] perf report: Fix -F for branch & mem modes

2021-03-03 Thread Ravi Bangoria
perf report fails to add valid additional fields with -F when used with branch or mem modes. Fix it. Before patch: $ ./perf record -b $ ./perf report -b -F +srcline_from --stdio Error: Invalid --fields key: `srcline_from' After patch: $ ./perf report -b -F +srcline_from --stdio #

Re: [PATCH] crypto: testmgr - delete some redundant code

2021-03-03 Thread Herbert Xu
On Tue, Feb 23, 2021 at 11:42:04AM +0800, Kai Ye wrote: > Delete sg_data function, because sg_data function definition same as > sg_virt(), so need to delete it and use sg_virt() replace to sg_data(). > > Signed-off-by: Kai Ye > --- > crypto/testmgr.c | 11 +++ > 1 file changed, 3

[PATCH v1] mm, hwpoison: do not lock page again when me_huge_page() successfully recovers

2021-03-03 Thread Naoya Horiguchi
From: Naoya Horiguchi Currently me_huge_page() temporary unlocks page to perform some actions then locks it again later. My testcase (which calls hard-offline on some tail page in a hugetlb, then accesses the address of the hugetlb range) showed that page allocation code detects the page lock on

Re: [PATCH v2] crypto/nx: add missing call to of_node_put()

2021-03-03 Thread Herbert Xu
On Fri, Feb 26, 2021 at 09:23:06AM +0800, Yang Li wrote: > In one of the error paths of the for_each_child_of_node() loop, > add missing call to of_node_put(). > > Fix the following coccicheck warning: > ./drivers/crypto/nx/nx-common-powernv.c:927:1-23: WARNING: Function >

Re: [PATCH] mm,hwpoison: return -EBUSY when page already poisoned

2021-03-03 Thread Aili Yao
On Thu, 4 Mar 2021 12:19:41 +0800 Aili Yao wrote: > On Thu, 4 Mar 2021 10:16:53 +0800 > Aili Yao wrote: > > > On Wed, 3 Mar 2021 15:41:35 + > > "Luck, Tony" wrote: > > > > > > For error address with sigbus, i think this is not an issue resulted by > > > > the patch i post, before my

Re: [PATCH] perf report: Fix -F for branch & mem modes

2021-03-03 Thread Athira Rajeev
> On 04-Mar-2021, at 11:59 AM, Ravi Bangoria > wrote: > > perf report fails to add valid additional fields with -F when > used with branch or mem modes. Fix it. > > Before patch: > > $ ./perf record -b > $ ./perf report -b -F +srcline_from --stdio > Error: > Invalid --fields key:

Re: [PATCH v2] MIPS: Make MIPS32_O32 depends on !CC_IS_CLANG

2021-03-03 Thread Nathan Chancellor
On Thu, Mar 04, 2021 at 02:19:38PM +0800, Tiezhu Yang wrote: > When build kernel with Clang [1]: Sorry I did not catch this in the first revision but I think this would sound better as: When building with Clang [1]: I think the kernel part is obvious :) couple more comments about the commit

Re: [PATCH v3 1/2] dt-bindings: iommu: add bindings for sprd iommu

2021-03-03 Thread Chunyan Zhang
Hi Robin, On Tue, 16 Feb 2021 at 23:10, Robin Murphy wrote: > > >>> > >>> On Wed, Feb 03, 2021 at 05:07:26PM +0800, Chunyan Zhang wrote: > From: Chunyan Zhang > > This iommu module can be used by Unisoc's multimedia devices, such as > display, Image codec(jpeg) and a few

RE: [PATCH v2 0/2] Add DFX AXI Shutdown manager IP support for Xilinx

2021-03-03 Thread Nava kishore Manne
Ping! > -Original Message- > From: Nava kishore Manne > Sent: Thursday, February 11, 2021 10:42 AM > To: m...@kernel.org; t...@redhat.com; robh...@kernel.org; Michal Simek > ; linux-f...@vger.kernel.org; > devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >

[PATCH 2/3] clocksource/drivers/timer-ti-dm: Remove extra of_node_put()

2021-03-03 Thread Tony Lindgren
We have of_translate_address() already do of_node_put() as needed. I probably looked at __of_translate_address() earlier by accident that of_translate_address() uses. Fixes: 52762fbd1c47 ("clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support") Signed-off-by: Tony Lindgren ---

[PATCH 0/3] Fixes for timer-ti-dm systimer posted mode

2021-03-03 Thread Tony Lindgren
Hi all, Here are few timer-ti-dm fixes. The first fix corrects the status bit check order for posted mode. The other two are minor fixes noticed while reviewing and testing the code. Regards, Tony Tony Lindgren (3): clocksource/drivers/timer-ti-dm: Fix posted mode status check order

Re: [PATCH 3/5] CMDLINE: powerpc: convert to generic builtin command line

2021-03-03 Thread Christophe Leroy
Le 04/03/2021 à 05:48, Daniel Walker a écrit : This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE option. Should be split in two patches. The change of strcpy to strlcpy should go in a first patch. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko

Re: [RFC PATCH 3/4] KVM: arm64: Install the block entry before unmapping the page mappings

2021-03-03 Thread wangyanan (Y)
On 2021/3/4 15:07, wangyanan (Y) wrote: Hi Alex, On 2021/3/4 1:27, Alexandru Elisei wrote: Hi Yanan, On 3/3/21 11:04 AM, wangyanan (Y) wrote: Hi Alex, On 2021/3/3 1:13, Alexandru Elisei wrote: Hello, On 2/8/21 11:22 AM, Yanan Wang wrote: When KVM needs to coalesce the normal page

[PATCH 3/3] clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped

2021-03-03 Thread Tony Lindgren
To avoid spurious timer interrupts when KTIME_MAX is used, we need to configure set_state_oneshot_stopped(). Although implementing this is optional, it still affects things like power management for the extra timer interrupt. For more information, please see commit 8fff52fd5093 ("clockevents:

[PATCH 1/3] clocksource/drivers/timer-ti-dm: Fix posted mode status check order

2021-03-03 Thread Tony Lindgren
When the timer is configured in posted mode, we need to check the write- posted status register (TWPS) before writing to the register. We now check TWPS after the write starting with commit 52762fbd1c47 ("clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support"). For example, in

cpuidle-qcom-spm.c:undefined reference to `cpu_resume_arm'

2021-03-03 Thread kernel test robot
Hi Stephan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f69d02e37a85645aa90d18cacfff36dba370f797 commit: a871be6b8eee13a35a3e8e56c62770ef17ee9220 cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver

Re: [PATCH v2] net: 9p: advance iov on empty read

2021-03-03 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 2 Mar 2021 17:19:32 +0800 you wrote: > I met below warning when cating a small size(about 80bytes) txt file > on 9pfs(msize=2097152 is passed to 9p mount option), the reason is we > miss iov_iter_advance() if the read

linux-next: build failure after merge of the pinctrl tree

2021-03-03 Thread Stephen Rothwell
Hi all, After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig ) failed like this: Presumably caused by commit c9e84d46cc03 ("pinctrl: rockchip: make driver be tristate module") I have used the pinctrl tree from next-20210303 for today. -- Cheers, Stephe

<    5   6   7   8   9   10   11   12   13   14   >