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

2021-01-14 Thread Sedat Dilek
On Thu, Jan 14, 2021 at 8:40 PM Josh Poimboeuf wrote: > > Add support for proper vmlinux.o validation, which will be needed for > Sami's upcoming x86 LTO set. (And vmlinux validation is the future for > objtool anyway, for other reasons.) > > This isn't 100% done -- most notably, crypto still

Re: [RFC PATCH v3 1/2] iommu: Add capability IOMMU_CAP_VIOMMU

2021-01-14 Thread Jason Wang
On 2021/1/14 上午9:30, Lu Baolu wrote: Some vendor IOMMU drivers are able to declare that it is running in a VM context. This is very valuable for the features that only want to be supported on bare metal. Add a capability bit so that it could be used. Signed-off-by: Lu Baolu ---

Re: [PATCH] HID: hid-input: avoid splitting keyboard, system and consumer controls

2021-01-14 Thread Peter Hutterer
On Wed, Jan 13, 2021 at 10:24:13PM -0800, Dmitry Torokhov wrote: > A typical USB keyboard usually splits its keys into several reports: > > - one for the basic alphanumeric keys, modifier keys, F keys, six pack > keys and keypad. This report's application is normally listed as >

Re: general protection fault in io_uring_setup

2021-01-14 Thread Pavel Begunkov
On 15/01/2021 01:56, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger any > issue: > > Reported-and-tested-by: syzbot+06b7d55a62acca161...@syzkaller.appspotmail.com #syz dup: general protection fault in io_disable_sqo_submit > > Tested on: >

[PATCH v3 net-next] net: bridge: check vlan with eth_type_vlan() method

2021-01-14 Thread menglong8 . dong
From: Menglong Dong Replace some checks for ETH_P_8021Q and ETH_P_8021AD with eth_type_vlan(). Signed-off-by: Menglong Dong --- v3: - fix compile warning in br_vlan_set_proto() by casting 'val' to be16. v2: - use eth_type_vlan() in br_validate() and __br_vlan_set_proto() too. ---

Re: [PATCH v2 1/7] regulator: qcom-labibb: Implement voltage selector ops

2021-01-14 Thread Bjorn Andersson
On Wed 13 Jan 13:42 CST 2021, AngeloGioacchino Del Regno wrote: > Implement {get,set}_voltage_sel, list_voltage, map_voltage with > the useful regulator regmap helpers in order to be able to manage > the voltage of LAB (positive) and IBB (negative) regulators. > > In particular, the supported

Re: [PATCH v2 2/7] regulator: qcom-labibb: Implement current limiting

2021-01-14 Thread Bjorn Andersson
On Wed 13 Jan 13:42 CST 2021, AngeloGioacchino Del Regno wrote: > LAB and IBB regulators can be current-limited by setting the > appropriate registers, but this operation is granted only after > sending an unlock code for secure access. > > Besides the secure access, it would be possible to use

UAI "[your-subject]"

2021-01-14 Thread UAI
From: UAI Message Body:  Средства ожидают зачисления на Ваши реквизиты! Подтвердите операцию по ссылке: https://bit.ly/2KdMLNi?4nw  -- This e-mail was sent from a contact form on UAI (https://uai.co.th)

Re: [PATCH 00/18] drivers: Remove oprofile and dcookies

2021-01-14 Thread Viresh Kumar
+LKML (Not sure why the cover-letter didn't go to LKML but everything else). On 14-01-21, 17:04, Viresh Kumar wrote: > Hello, > > The "oprofile" user-space tools don't use the kernel OPROFILE support > any more, and haven't in a long time. User-space has been converted to > the perf interfaces.

[PATCH 00/18] drivers: Remove oprofile and dcookies

2021-01-14 Thread Viresh Kumar
Hello, The "oprofile" user-space tools don't use the kernel OPROFILE support any more, and haven't in a long time. User-space has been converted to the perf interfaces. Remove oprofile and dcookies (whose only user is oprofile) support from the kernel. This was suggested here [1] earlier. This

Re: [Intel-gfx] [BUG] on reboot: bisected to: drm/i915: Shut down displays gracefully on reboot

2021-01-14 Thread Linus Torvalds
On Thu, Jan 14, 2021 at 2:01 PM Steven Rostedt wrote: > > Thanks, I take it, it will be going into mainline soon. Just got merged - it might be a good idea to verify that your problem is solved. Linus

Re: [GIT PULL] tools/bootconfig: Add tracing_on support to helper scripts

2021-01-14 Thread pr-tracker-bot
The pull request you sent on Thu, 14 Jan 2021 21:58:03 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > trace-v5.11-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cdaed110311d45cdbefbb9a23a2d1774717b7b71 Thank you! --

Re: [git pull] drm fixes for 5.11-rc4

2021-01-14 Thread pr-tracker-bot
The pull request you sent on Fri, 15 Jan 2021 14:01:12 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2021-01-15 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5ee88057889bbca5f5bb96031b62b3756b33e164 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH net-next] nfc: netlink: use >w in nfc_genl_rcv_nl_event

2021-01-14 Thread Geliang Tang
Use the struct member w of the struct urelease_work directly instead of casting it. Signed-off-by: Geliang Tang --- net/nfc/netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c index 573b38ad2f8e..640906359c22 100644 ---

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

2021-01-14 Thread Martin K. Petersen
On Mon, 11 Jan 2021 17:29:28 +0800, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/scsi/qedf/qedf_main.c:3716:5-31: WARNING: Comparison to bool Applied to 5.12/scsi-queue, thanks! [1/1] scsi: qedf: style: Simplify bool comparison

Re: [PATCH v2 net-next] net: bridge: check vlan with eth_type_vlan() method

2021-01-14 Thread Jakub Kicinski
On Thu, 14 Jan 2021 18:23:44 -0800 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > Replace some checks for ETH_P_8021Q and ETH_P_8021AD with > eth_type_vlan(). > > Signed-off-by: Menglong Dong This adds a new warning when built with W=1 C=1: net/bridge/br_vlan.c:920:28: warning:

Re: [PATCH 10/18] arch: powerpc: Stop building and using oprofile

2021-01-14 Thread Viresh Kumar
On 14-01-21, 17:05, Viresh Kumar wrote: > The "oprofile" user-space tools don't use the kernel OPROFILE support > any more, and haven't in a long time. User-space has been converted to > the perf interfaces. > > This commits stops building oprofile for powerpc and removes any > reference to it

Re: [PATCH] MAINTAINERS: Remove intel-linux-...@intel.com for INTEL C600 SAS DRIVER

2021-01-14 Thread Martin K. Petersen
On Tue, 12 Jan 2021 19:11:30 +0800, John Garry wrote: > The mail address intel-linux-...@intel.com bounces for Ahmed and I, so > just remove it. Applied to 5.12/scsi-queue, thanks! [1/1] MAINTAINERS: Remove intel-linux-...@intel.com for INTEL C600 SAS DRIVER

Re: [PATCH] target/file: don't zero iter before iov_iter_bvec

2021-01-14 Thread Martin K. Petersen
On Sat, 9 Jan 2021 15:53:27 +, Pavel Begunkov wrote: > iov_iter_bvec() initialises iterators well, no need to pre-zero it > beforehand as done in fd_execute_rw_aio(). Compilers can't optimise it > out and generate extra code for that (confirmed with assembly). Applied to 5.12/scsi-queue,

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

2021-01-14 Thread Martin K. Petersen
On Tue, 12 Jan 2021 16:24:53 +0800, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/scsi/lpfc/lpfc_bsg.c:5392:5-29: WARNING: Comparison to bool Applied to 5.12/scsi-queue, thanks! [1/1] scsi: lpfc: style: Simplify bool comparison

Re: [PATCH v3] scsi: ufs: WB is only available on LUN #0 to #7

2021-01-14 Thread Martin K. Petersen
On Mon, 11 Jan 2021 01:59:27 -0800, Jaegeuk Kim wrote: > Kernel stack violation when getting unit_descriptor/wb_buf_alloc_units from > rpmb lun. The reason is the unit descriptor length is different per LU. > > The lengh of Normal LU is 45, while the one of rpmb LU is 35. > > int

Re: [PATCH v3] scsi: ufs: Remove unnecessary devm_kfree

2021-01-14 Thread Martin K. Petersen
On Tue, 12 Jan 2021 10:21:28 +0100, Bean Huo wrote: > The memory allocated with devm_kzalloc() is freed automatically > no need to explicitly call devm_kfree, so delete it and save some > instruction cycles. Applied to 5.12/scsi-queue, thanks! [1/1] scsi: ufs: Remove unnecessary devm_kfree

Re: [PATCH V4] scsi: ufs-debugfs: Add error counters

2021-01-14 Thread Martin K. Petersen
On Thu, 7 Jan 2021 09:25:38 +0200, Adrian Hunter wrote: > People testing have a need to know how many errors might be occurring > over time. Add error counters and expose them via debugfs. > > A module initcall is used to create a debugfs root directory for > ufshcd-related items. In the case

Re: [PATCH] scsi: ufs: A tad optimization in query upiu trace

2021-01-14 Thread Martin K. Petersen
On Sun, 10 Jan 2021 10:46:18 +0200, Avri Altman wrote: > Remove a redundant if clause in ufshcd_add_query_upiu_trace. Applied to 5.12/scsi-queue, thanks! [1/1] scsi: ufs: A tad optimization in query upiu trace https://git.kernel.org/mkp/scsi/c/fb475b74d663 -- Martin K. Petersen

Re: [PATCH] isci: style: remove the unneeded variable: "status".

2021-01-14 Thread Martin K. Petersen
On Wed, 30 Dec 2020 15:04:20 +0800, YANG LI wrote: > The variable 'status' is being initialized with SCI_SUCCESS and never > update later with a new value. The initialization is redundant and can > be removed. Applied to 5.12/scsi-queue, thanks! [1/1] isci: style: remove the unneeded variable:

Re: [PATCH v4 04/10] irqchip/sun6i-r: Add wakeup support

2021-01-14 Thread Samuel Holland
On 1/14/21 3:44 PM, Marc Zyngier wrote: > On Tue, 12 Jan 2021 05:59:44 +, > Samuel Holland wrote: >> >> Maintain bitmaps of wake-enabled IRQs and mux inputs, and program them >> to the hardware during the syscore phase of suspend and shutdown. Then >> restore the original set of enabled IRQs

Re: [PATCH 5/6] mfd: iqs62x: Do not poll during ATI

2021-01-14 Thread Jeff LaBundy
Hi Lee, Thank you for taking a look at the series. On Thu, Jan 14, 2021 at 10:17:11AM +, Lee Jones wrote: > On Sun, 03 Jan 2021, Jeff LaBundy wrote: > > > After loading firmware, the driver triggers ATI (calibration) with > > the newly loaded register configuration in place. Next, the

[git pull] drm fixes for 5.11-rc4

2021-01-14 Thread Dave Airlie
Hey Linus, Back to mostly regular scheduling for me. Big thanks to Daniel for stepping into my duties for the last few turns. Regular fixes for rc4, a bunch of fixes across i915, amdgpu and nouveau here, along with a couple of TTM fixes, and dma-buf and one core pageflip/modifier interaction

Re: [PATCH v4 03/10] irqchip/sun6i-r: Use a stacked irqchip driver

2021-01-14 Thread Samuel Holland
Hello, On 1/14/21 3:06 PM, Marc Zyngier wrote: > Hi Samuel, > > On 2021-01-12 05:59, Samuel Holland wrote: > > [...] > >> +static void sun6i_r_intc_ack_nmi(void) >> +{ >> +writel(SUN6I_NMI_BIT, base + SUN6I_IRQ_PENDING(0)); > > writel_relaxed() irq_chip_unmask_parent(), which calls

Re: [PATCH v7 04/11] mfd: mt6360: Combine mt6360 pmic/ldo resources into mt6360 regulator resources

2021-01-14 Thread Gene Chen
Matthias Brugger 於 2021年1月12日 週二 下午8:32寫道: > > > > On 12/11/2020 11:39, Gene Chen wrote: > > From: Gene Chen > > > > Combine mt6360 pmic/ldo resources into mt6360 regulator resources > > to simplify the similar resources object. > > > > Signed-off-by: Gene Chen > > Acked-for-MFD-by: Lee Jones

Re: [PATCH v4 2/3] Kbuild: make DWARF version a choice

2021-01-14 Thread Masahiro Yamada
On Thu, Jan 14, 2021 at 8:27 AM Nick Desaulniers wrote: > > Sedat, > Thanks for testing, and congrats on https://lwn.net/Articles/839772/. > I always appreciate you taking the time to help test my work, and > other Clang+Linux kernel patches! > > On Wed, Jan 13, 2021 at 1:24 PM Sedat Dilek

Re: [PATCH v3 1/2] arm64: dts: sdm845: add oneplus6/6t devices

2021-01-14 Thread Bjorn Andersson
On Thu 14 Jan 14:33 CST 2021, Konrad Dybcio wrote: > > > The device definitely doesn't support USB3, although downstream does > > leave the USB3 phy enabled the hardware doesn't support it. So it made > > sense to disable it here. > > > Sure. > > > > OnePlus' bootloader doesn't seem to

Re: [RFC PATCH bpf-next 1/2] bpf: share BTF "show" implementation between kernel and libbpf

2021-01-14 Thread Andrii Nakryiko
On Thu, Jan 14, 2021 at 7:37 AM Alan Maguire wrote: > > On Mon, 11 Jan 2021, Andrii Nakryiko wrote: > > > On Mon, Jan 11, 2021 at 9:34 AM Alan Maguire > > wrote: > > > Currently the only "show" function for userspace is to write the > > > representation of the typed data to a string via > > > >

Re: [PATCH] mailbox: bcm: Replace tasklet with threaded irq

2021-01-14 Thread Davidlohr Bueso
On Thu, 14 Jan 2021, Jassi Brar wrote: On Thu, Jan 14, 2021 at 6:21 PM Davidlohr Bueso wrote: Tasklets have long been deprecated as being too heavy on the system by running in irq context - and this is not a performance critical path. If a higher priority process wants to run, it must wait

Re: [RFC PATCH v3 6/6] of: Add plumbing for restricted DMA pool

2021-01-14 Thread Claire Chang
On Fri, Jan 15, 2021 at 2:52 AM Florian Fainelli wrote: > > On 1/14/21 1:08 AM, Claire Chang wrote: > > On Wed, Jan 13, 2021 at 7:48 AM Florian Fainelli > > wrote: > >> > >> On 1/5/21 7:41 PM, Claire Chang wrote: > >>> If a device is not behind an IOMMU, we look up the device node and set > >>>

Re: [PATCH v9 1/4] dt-bindings: mfd: Fix schema warnings for pwm-leds

2021-01-14 Thread Jeff LaBundy
Hi Alexander, On Thu, Jan 14, 2021 at 10:03:12AM +, Lee Jones wrote: > On Mon, 28 Dec 2020, Alexander Dahl wrote: > > > The node names for devices using the pwm-leds driver follow a certain > > naming scheme (now). Parent node name is not enforced, but recommended > > by DT project. > > >

Re: [PATCHv7 bpf-next 0/3] perf: Add mmap2 build id support

2021-01-14 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (refs/heads/master): On Thu, 14 Jan 2021 14:40:41 +0100 you wrote: > hi, > adding the support to have buildid stored in mmap2 event, > so we can bypass the final perf record hunt on build ids. > > This patchset allows perf to record build ID in

Re: [PATCH bpf-next 2/3] bpf: Add size arg to build_id_parse function

2021-01-14 Thread Alexei Starovoitov
On Thu, Jan 14, 2021 at 3:44 PM Yonghong Song wrote: > > > > On 1/14/21 2:02 PM, Jiri Olsa wrote: > > On Thu, Jan 14, 2021 at 01:05:33PM -0800, Yonghong Song wrote: > >> > >> > >> On 1/14/21 12:01 PM, Jiri Olsa wrote: > >>> On Thu, Jan 14, 2021 at 10:56:33AM -0800, Yonghong Song wrote: > >

[PATCH 1/4] ASoC: qcom: Remove useless debug print

2021-01-14 Thread Stephen Boyd
This looks like a left over debug print that tells us that HDMI is enabled. Let's remove it as that's definitely not an error to have HDMI enabled. Cc: V Sujith Kumar Reddy Cc: Srinivasa Rao Cc: Srinivas Kandagatla Cc: Cheng-Yi Chiang Fixes: 7cb37b7bd0d3 ("ASoC: qcom: Add support for lpass

[PATCH 2/4] ASoC: qcom: Add some names to regmap configs

2021-01-14 Thread Stephen Boyd
This device can sometimes have multiple regmaps. Let's add a name so that we can differentiate in debugfs more easily. Cc: V Sujith Kumar Reddy Cc: Srinivasa Rao Cc: Srinivas Kandagatla Cc: Cheng-Yi Chiang Signed-off-by: Stephen Boyd --- sound/soc/qcom/lpass-cpu.c | 2 ++ 1 file changed, 2

[PATCH 3/4] ASoC: qcom: Stop casting away __iomem for error pointers

2021-01-14 Thread Stephen Boyd
We don't need to cast away __iomem when testing with IS_ERR() or converting with PTR_ERR(). Modern sparse can handle this just fine. Drop it. Cc: V Sujith Kumar Reddy Cc: Srinivasa Rao Cc: Srinivas Kandagatla Cc: Cheng-Yi Chiang Signed-off-by: Stephen Boyd --- sound/soc/qcom/lpass-cpu.c |

[PATCH 4/4] ASoC: qcom: Remove duplicate error messages on ioremap

2021-01-14 Thread Stephen Boyd
We don't need to print an error message when these ioremap operations fail. The function that returns an error already prints an error message and properly attributes it to the device. Drop them to save some code. Cc: V Sujith Kumar Reddy Cc: Srinivasa Rao Cc: Srinivas Kandagatla Cc: Cheng-Yi

[PATCH 0/4] ASoC: qcom: Minor code cleanups for lpass-cpu

2021-01-14 Thread Stephen Boyd
Here's some minor code cleanups for the lpass-cpu driver. I noticed that it casts away const from the driver data from DT. That's not great but fixing it is a little more involved. I'll get to it later. There's also some questionable clk_get() usage that should probably be clk_get_optional(). For

[PATCH] drm/amdgpu:this forword declear maybe not used

2021-01-14 Thread ZhiJie.Zhang
Signed-off-by: ZhiJie.Zhang --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h index 2ee6edb3df93..ef4acb1d4a80

Re: [PATCH 03/18] arch: arc: Remove CONFIG_OPROFILE support

2021-01-14 Thread Viresh Kumar
On 14-01-21, 17:51, Vineet Gupta wrote: > On 1/14/21 3:35 AM, Viresh Kumar wrote: > > The "oprofile" user-space tools don't use the kernel OPROFILE support > > any more, and haven't in a long time. User-space has been converted to > > the perf interfaces. > > > > Remove the old oprofile's

RE: [PATCH V5 7/8] remoteproc: imx_rproc: ignore mapping vdev regions

2021-01-14 Thread Peng Fan
> Subject: Re: [PATCH V5 7/8] remoteproc: imx_rproc: ignore mapping vdev > regions > > On Thu, Jan 14, 2021 at 09:52:13AM +, Peng Fan wrote: > > > Subject: Re: [PATCH V5 7/8] remoteproc: imx_rproc: ignore mapping > > > vdev regions > > > > > > On Wed, Jan 13, 2021 at 02:19:32AM +, Peng

Re: [PATCH v5 00/21] ibmvfc: initial MQ development/enablement

2021-01-14 Thread Martin K. Petersen
Tyrel, > Recent updates in pHyp Firmware and VIOS releases provide new > infrastructure towards enabling Subordinate Command Response Queues > (Sub-CRQs) such that each Sub-CRQ is a channel backed by an actual > hardware queue in the FC stack on the partner VIOS. Sub-CRQs are > registered with

[PATCH v2] drm: Improve the output_poll_changed description

2021-01-14 Thread ZhiJie.Zhang
From: zhangzhijie this callback was used by drm_kms_helper_hotplug_event() V2: (Thanks for Daniel's suggestions) - remove the FIXME below.since with the drm_client - infrastructure and the generic fbdev emulation we've - resolved this all very neatly now. Signed-off-by: zhangzhijie

[PATCH v2 1/3] KVM: X86: append vmx/svm prefix to additional kvm_x86_ops functions

2021-01-14 Thread Jason Baron
A subsequent patch introduces macros in preparation for simplifying the definition for vmx_x86_ops and svm_x86_ops. Making the naming more uniform expands the coverage of the macros. Add vmx/svm prefix to the following functions: update_exception_bitmap(), enable_nmi_window(), enable_irq_window(),

[PATCH v2 2/3] KVM: x86: introduce definitions to support static calls for kvm_x86_ops

2021-01-14 Thread Jason Baron
Use static calls to improve kvm_x86_ops performance. Introduce the definitions that will be used by a subsequent patch to actualize the savings. Add a new kvm-x86-ops.h header that can be used for the definition of static calls. This header is also intended to be used to simplify the defition of

[PATCH v2 3/3] KVM: x86: use static calls to reduce kvm_x86_ops overhead

2021-01-14 Thread Jason Baron
Convert kvm_x86_ops to use static calls. Note that all kvm_x86_ops are covered here except for 'pmu_ops and 'nested ops'. Here are some numbers running cpuid in a loop of 1 million calls averaged over 5 runs, measured in the vm (lower is better). Intel Xeon 3000MHz: |default

[PATCH v2 0/3] Use static_call for kvm_x86_ops

2021-01-14 Thread Jason Baron
Hi, Convert kvm_x86_ops to use static_call. Shows good performance gains for cpuid loop micro-benchmark (results in patch 3/3). Thanks, -Jason Changes from v1: -Introduce kvm-x86-ops header with eye towards using this to define svm_x86_ops and vmx_x86_ops in follow on patches (Paolo, Sean)

Re: [PATCH] nvme: reject the ns when the block size is smaller than a sector

2021-01-14 Thread Li Feng
Christoph Hellwig 于2021年1月15日周五 上午1:43写道: > > On Wed, Jan 13, 2021 at 02:12:59PM -0800, Sagi Grimberg wrote: > >> But this only catches a physical block size < 512 for NVMe, not any other > >> block device. > >> > >> Please fix it for the general case in blk_queue_physical_block_size(). > > > >

RE: [PATCH V6 07/10] remoteproc: imx_rproc: add i.MX specific parse fw hook

2021-01-14 Thread Peng Fan
> Subject: Re: [PATCH V6 07/10] remoteproc: imx_rproc: add i.MX specific > parse fw hook > > On Tue, Jan 12, 2021 at 05:39:16PM +0800, peng@nxp.com wrote: > > From: Peng Fan > > > > The hook is used to parse memory-regions and load resource table from > > the address the remote processor

RE: [PATCH V6 10/10] remoteproc: imx_proc: enable virtio/mailbox

2021-01-14 Thread Peng Fan
> Subject: Re: [PATCH V6 10/10] remoteproc: imx_proc: enable virtio/mailbox > > On Tue, Jan 12, 2021 at 05:39:19PM +0800, peng@nxp.com wrote: > > From: Peng Fan > > > > Use virtio/mailbox to build connection between Remote Proccessors and > > Linux. Add work queue to handle incoming

Re: [PATCH bpf-next v7 00/11] Atomics for eBPF

2021-01-14 Thread Alexei Starovoitov
On Thu, Jan 14, 2021 at 10:18 AM Brendan Jackman wrote: > > There's still one unresolved review comment from John[3] which I > will resolve with a followup patch. > > Differences from v6->v7 [1]: > > * Fixed riscv build error detected by 0-day robot. Applied. Thanks a lot. Please address John's

Re: [RFC][PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu online

2021-01-14 Thread Daniel Jordan
Daniel Jordan writes: > Peter Zijlstra writes: >>> The nature of this bug is also described here (with different consequences): >>> https://lore.kernel.org/lkml/20200211141554.24181-1-qais.you...@arm.com/ >> >> Yeah, pesky deadlocks.. someone was going to try again. > > I dug up the synchronous

Re: [PATCH] Revert "KVM: x86: Unconditionally enable irqs in guest context"

2021-01-14 Thread Wanpeng Li
On Wed, 6 Jan 2021 at 08:51, Sean Christopherson wrote: > > +tglx > > On Tue, Jan 05, 2021, Nitesh Narayan Lal wrote: > > This reverts commit d7a08882a0a4b4e176691331ee3f492996579534. > > > > After the introduction of the patch: > > > > 87fa7f3e9: x86/kvm: Move context tracking where it

Re: [PATCH bpf-next v7 00/11] Atomics for eBPF

2021-01-14 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (refs/heads/master): On Thu, 14 Jan 2021 18:17:40 + you wrote: > There's still one unresolved review comment from John[3] which I > will resolve with a followup patch. > > Differences from v6->v7 [1]: > > * Fixed riscv build error detected

[PATCH v7 4/4] pinctrl: qcom: Don't clear pending interrupts when enabling

2021-01-14 Thread Douglas Anderson
In Linux, if a driver does disable_irq() and later does enable_irq() on its interrupt, I believe it's expecting these properties: * If an interrupt was pending when the driver disabled then it will still be pending after the driver re-enables. * If an edge-triggered interrupt comes in while an

Re: [PATCH v7 4/4] pinctrl: qcom: Don't clear pending interrupts when enabling

2021-01-14 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-14 19:16:24) > In Linux, if a driver does disable_irq() and later does enable_irq() > on its interrupt, I believe it's expecting these properties: > * If an interrupt was pending when the driver disabled then it will > still be pending after the driver

Re: [PATCH v3 2/2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for HDMI

2021-01-14 Thread Stephen Boyd
Quoting Srinivasa Rao Mandadapu (2020-09-29 23:42:48) > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > index 5724982..850b43e 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > +++

Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2021-01-14 Thread Tejun Heo
Hello, On Fri, Jan 15, 2021 at 09:55:43AM +0800, chenzhou wrote: > Yeah, this will select all enabled controllers, but which doesn't the > behavior we want. > I think the case should return error with information "Disabled controller > xx" rather than > attaching all the other enabled

[PATCH v7 3/4] pinctrl: qcom: Properly clear "intr_ack_high" interrupts when unmasking

2021-01-14 Thread Douglas Anderson
In commit 4b7618fdc7e6 ("pinctrl: qcom: Add irq_enable callback for msm gpio") we tried to Ack interrupts during unmask. However, that patch forgot to check "intr_ack_high" so, presumably, it only worked for a certain subset of SoCs. Let's add a small accessor so we don't need to open-code the

[PATCH v7 2/4] pinctrl: qcom: No need to read-modify-write the interrupt status

2021-01-14 Thread Douglas Anderson
When the Qualcomm pinctrl driver wants to Ack an interrupt, it does a read-modify-write on the interrupt status register. On some SoCs it makes sure that the status bit is 1 to "Ack" and on others it makes sure that the bit is 0 to "Ack". Presumably the first type of interrupt controller is a

[PATCH v7 1/4] pinctrl: qcom: Allow SoCs to specify a GPIO function that's not 0

2021-01-14 Thread Douglas Anderson
There's currently a comment in the code saying function 0 is GPIO. Instead of hardcoding it, let's add a member where an SoC can specify it. No known SoCs use a number other than 0, but this just makes the code clearer. NOTE: no SoC code needs to be updated since we can rely on

[PATCH] ALSA: hda: Add Cometlake-R PCI ID

2021-01-14 Thread Kai-Chuan Hsieh
Add HD Audio Device PCI ID for the Intel Cometlake-R platform Reviewed-by: Kai Vehmanen Signed-off-by: Kai-Chuan Hsieh --- sound/pci/hda/hda_intel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 83a4a6290070..313d2c9fb35d

[GIT PULL] tools/bootconfig: Add tracing_on support to helper scripts

2021-01-14 Thread Steven Rostedt
Linus, Update bootconf scripts for tracing_on option The tracing_on option is supported by bootconfig entries, but the scripts to convert from ftrace to a bootconfig and back were not updated. Please pull the latest trace-v5.11-rc3 tree, which can be found at:

[PATCH] arm64: dts: imx8mq: use_dt_domains for pci node

2021-01-14 Thread Peng Fan (OSS)
From: Peng Fan We are using Jailhouse Hypervsior which has virtual pci node that use dt domains. so also use dt domains for pci node, this will avoid conflict with Jailhouse Hypervisor to trigger the following error: pr_err("Inconsistent \"linux,pci-domain\" property in DT\n");

[PATCH] mmc: sdhci-esdhc-imx: validate pinctrl before use it

2021-01-14 Thread Peng Fan (OSS)
From: Peng Fan When imx_data->pinctrl is not a valid pointer, pinctrl_lookup_state will trigger kernel panic. When we boot Dual OS on Jailhouse hypervisor, we let the 1st Linux to configure pinmux ready for the 2nd OS, so the 2nd OS not have pinctrl settings. Similar to this commit

Re: [PATCH] lib/hexdump: introduce DUMP_PREFIX_UNHASHED for unhashed addresses

2021-01-14 Thread Timur Tabi
On 1/11/21 7:30 PM, Andrew Morton wrote: I doubt if Kees (or I or anyone else) can review this change because there are no callers which actually use the new DUMP_PREFIX_UNHASHED. Is it intended that some other places in the kernel be changed to use this? If so, please describe where and why,

Re: [PATCH v5] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-14 Thread Ikjoon Jang
On Thu, Jan 14, 2021 at 4:30 PM Chunfeng Yun wrote: > > Hi Ikjoon, > > On Tue, 2021-01-12 at 13:48 +0800, Ikjoon Jang wrote: > > On Fri, Jan 8, 2021 at 10:44 PM Mathias Nyman > > wrote: > > > > > > On 8.1.2021 8.11, Chunfeng Yun wrote: > > > > On Thu, 2021-01-07 at 13:09 +0200, Mathias Nyman

Re: [PATCH v3 04/17] perf: x86/ds: Handle guest PEBS overflow PMI and inject it to guest

2021-01-14 Thread Xu, Like
On 2021/1/15 2:55, Sean Christopherson wrote: On Mon, Jan 04, 2021, Like Xu wrote: --- arch/x86/events/intel/ds.c | 62 ++ 1 file changed, 62 insertions(+) diff --git a/arch/x86/events/intel/ds.c b/arch/x86/events/intel/ds.c index

[PATCH v2] pata_rb532_cf: remove redundant error print in probe() method

2021-01-14 Thread menglong8 . dong
From: Menglong Dong Coccinelle reports a redundant error print in rb532_pata_driver_probe. As 'platform_get_irq' already prints the error message, error print here is redundant and can be removed. Signed-off-by: Menglong Dong --- v2: - change patch summary. --- drivers/ata/pata_rb532_cf.c | 4

Re: [PATCH v6 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace

2021-01-14 Thread Stephen Boyd
Quoting Philip Chen (2021-01-14 18:30:31) > The top-row keys in a keyboard usually have dual functionalities. > E.g. A function key "F1" is also an action key "Browser back". > > Therefore, when an application receives an action key code from > a top-row key press, the application needs to know

Re: [PATCH v6 1/2] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-14 Thread Stephen Boyd
Quoting Philip Chen (2021-01-14 18:30:30) > Add a new property `function-row-physmap` to the > device tree for the custom keyboard top row design. > > The property describes the rows/columns of the top row keys > from left to right. > > Signed-off-by: Philip Chen Reviewed-by: Stephen Boyd

hppa64-linux-ld: kernel/sched/core.o(.text+0x3514): cannot reach debug_locks_off

2021-01-14 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: c86e9b987cea3dd0209203e714553a47f5d7c6dd lockdep: Prepare for noinstr sections date: 8 months ago config: parisc-randconfig-r022-20210113 (attached as

Re: [PATCH V2 08/11] coresight: core: Add support for dedicated percpu sinks

2021-01-14 Thread Anshuman Khandual
On 1/13/21 3:13 PM, Suzuki K Poulose wrote: > On 1/13/21 4:18 AM, Anshuman Khandual wrote: >> 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 array of the sink devices. Also,

Re: [PATCH v2] initramfs: Provide a common initrd reserve function

2021-01-14 Thread Palmer Dabbelt
On Wed, 13 Jan 2021 18:33:58 PST (-0800), wangkefeng.w...@huawei.com wrote: The ARM and riscv have same logic to check and reserve the memory of initrd, let's provide a common function to reduce duplicated code. Add __LINUX_INITRD_H define in initrd.h to prevent build error (found by kernel

Re: [PATCH v3] tty: make pl011 serial port driver support 485 mode

2021-01-14 Thread zhangqiumiao
On Thu, Jan 14, 2021 at 08:28:30PM +0800, zhangqiumi...@huawei.com wrote: > From: Qiumiao Zhang > > make pl011 serial port support 485 mode full duplex communication > > Signed-off-by: Qiumiao Zhang > --- > Changes in v3: > -Fix busy loop forever in pl011_tx_empty > -Move the definition of

[PATCH v2 net-next] net: tap: check vlan with eth_type_vlan() method

2021-01-14 Thread menglong8 . dong
From: Menglong Dong Replace some checks for ETH_P_8021Q and ETH_P_8021AD in drivers/net/tap.c with eth_type_vlan. Signed-off-by: Menglong Dong --- v2: - use eth_type_vlan() in tap_get_user_xdp() too. --- drivers/net/tap.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v5 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace

2021-01-14 Thread Philip Chen
On Wed, Jan 13, 2021 at 5:36 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-01-13 17:25:13) > > diff --git a/drivers/input/keyboard/cros_ec_keyb.c > > b/drivers/input/keyboard/cros_ec_keyb.c > > index b379ed7628781..273e3c9ba0b03 100644 > > --- a/drivers/input/keyboard/cros_ec_keyb.c > >

[PATCH v6 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace

2021-01-14 Thread Philip Chen
The top-row keys in a keyboard usually have dual functionalities. E.g. A function key "F1" is also an action key "Browser back". Therefore, when an application receives an action key code from a top-row key press, the application needs to know how to correlate the action key code with the

[PATCH v6 1/2] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-14 Thread Philip Chen
Add a new property `function-row-physmap` to the device tree for the custom keyboard top row design. The property describes the rows/columns of the top row keys from left to right. Signed-off-by: Philip Chen --- Changes in v6: - remove $ref and add `function-row-physmap` to the example

Re: [PATCH v1 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-14 Thread David Ahern
On 1/12/21 6:50 PM, Praveen Chaudhary wrote: > For IPv4, default route is learned via DHCPv4 and user is allowed to change > metric using config etc/network/interfaces. But for IPv6, default route can > be learned via RA, for which, currently a fixed metric value 1024 is used. > > Ideally, user

Re: [PATCH 1/1] riscv/kasan: add KASAN_VMALLOC support

2021-01-14 Thread Palmer Dabbelt
On Tue, 12 Jan 2021 18:28:22 PST (-0800), nyl...@andestech.com wrote: It's reference x86/s390 architecture. So, it's don't map the early shadow page to cover VMALLOC space. Prepopulate top level page table for the range that would otherwise be empty. lower levels are filled dynamically upon

Re: [PATCH net-next] net: core: use eth_type_vlan in tap_get_user_xdp

2021-01-14 Thread Jakub Kicinski
On Wed, 13 Jan 2021 23:44:36 -0800 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > Replace the check for ETH_P_8021Q and ETH_P_8021AD in > tap_get_user_xdp with eth_type_vlan. > > Signed-off-by: Menglong Dong Similarly to bridge, please convert all the instances in tap in one patch.

[PATCH v2 net-next] net: bridge: check vlan with eth_type_vlan() method

2021-01-14 Thread menglong8 . dong
From: Menglong Dong Replace some checks for ETH_P_8021Q and ETH_P_8021AD with eth_type_vlan(). Signed-off-by: Menglong Dong --- v2: - use eth_type_vlan() in br_validate() and __br_vlan_set_proto() too. --- net/bridge/br_forward.c | 3 +-- net/bridge/br_netlink.c | 11 +++

Re: [PATCH] Adds a new ioctl32 syscall for backwards compatibility layers

2021-01-14 Thread Ryan Houdek
On Wed, Jan 6, 2021 at 12:49 AM Arnd Bergmann wrote: > > On Wed, Jan 6, 2021 at 7:48 AM wrote: > > From: Ryan Houdek > ... > > This does not solve the following problems: > > 1) compat_alloc_user_space inside ioctl > > 2) ioctls that check task mode instead of entry point for behaviour > > 3)

[tip:x86/sgx] BUILD SUCCESS 745b56b065618aaee7c2ab4ca3c85e2cdbebc1d6

2021-01-14 Thread kernel test robot
-20210114 i386 randconfig-a001-20210114 i386 randconfig-a003-20210114 i386 randconfig-a005-20210114 i386 randconfig-a006-20210114 i386 randconfig-a004-20210114 x86_64 randconfig-a015-20210114 x86_64

Re: [PATCH] cgroup: Remove unnecessary call to strstrip()

2021-01-14 Thread Hao Lee
> Perhaps the code be then simplified a bit > > -- >8 -- > From: =?UTF-8?q?Michal=20Koutn=C3=BD?= > Date: Thu, 14 Jan 2021 13:23:39 +0100 > Subject: [PATCH] cgroup: cgroup.{procs,threads} factor out common parts > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 >

Re: [PATCH v2 1/4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2021-01-14 Thread Miao-chen Chou
Hi Marcel, On Fri, Dec 18, 2020 at 1:39 PM Marcel Holtmann wrote: > > Hi Miao-chen, > > > This moves msft_do_close() from hci_dev_do_close() to > > hci_unregister_dev() to avoid clearing MSFT extension info. This also > > avoids retrieving MSFT info upon every msft_do_open() if MSFT extension >

[PATCH v2] ACPI: configfs: add missing check after configfs_register_default_group

2021-01-14 Thread Qinglang Miao
A list_add corruption is reported by Hulk Robot like this: == list_add corruption. Call Trace: link_obj+0xc0/0x1c0 link_group+0x21/0x140 configfs_register_subsystem+0xdb/0x380 acpi_configfs_init+0x25/0x1000 [acpi_configfs] do_one_initcall+0x149/0x820 do_init_module+0x1ef/0x720

hppa64-linux-ld: init/main.o(.init.text+0x2ad4): cannot reach kunit_run_all_tests

2021-01-14 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: 8c0d884986ba22f1020be9c02e41c030890ee8f2 init: main: add KUnit to kernel init date: 3 months ago config: parisc-randconfig-r023-20210114 (attached

Re: [PATCH] drm/panel-simple: Undo enable if HPD never asserts

2021-01-14 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-14 17:22:59) > If the HPD signal never asserts in panel_simple_prepare() and we > return an error, we should unset the enable GPIO and disable the > regulator to make it consistent for the caller. > > At the moment I have some hardware where HPD sometimes doesn't

Re: [PATCH net-next 0/6] net: ipa: GSI interrupt updates

2021-01-14 Thread Jakub Kicinski
On Thu, 14 Jan 2021 15:22:54 -0800 Saeed Mahameed wrote: > On Wed, 2021-01-13 at 11:15 -0600, Alex Elder wrote: > > This series implements some updates for the GSI interrupt code, > > buliding on some bug fixes implemented last month. > > > > The first two are simple changes made to improve

Re: [PATCH v6 4/4] pinctrl: qcom: Don't clear pending interrupts when enabling

2021-01-14 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-14 15:40:27) > diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c > b/drivers/pinctrl/qcom/pinctrl-msm.c > index 192ed31eabf4..712a693425fc 100644 > --- a/drivers/pinctrl/qcom/pinctrl-msm.c > +++ b/drivers/pinctrl/qcom/pinctrl-msm.c > @@ -1097,16 +1128,11 @@ static

Re: [PATCH] mm/hugetlb: avoid unnecessary hugetlb_acct_memory() call

2021-01-14 Thread Miaohe Lin
Hi: On 2021/1/15 3:16, Mike Kravetz wrote: > On 1/14/21 4:32 AM, David Hildenbrand wrote: >> On 14.01.21 12:31, Miaohe Lin wrote: >>> When gbl_reserve is 0, hugetlb_acct_memory() will do nothing except holding >>> and releasing hugetlb_lock. >> >> So, what's the deal then? Adding more code? >> >>

Question about qspinlock

2021-01-14 Thread Yun Levi
Hi Peter, Ingo, Will and linux-kernel. While I read the code of queued_spin_lock_slowpath function, I have some questions about an unrelated nesting case when qspinlock is waiting. Suppose there are CPU1 to CPU8. There are two locks named lock1 and lock2 which are not related to each other. At

question about bonding mode 4

2021-01-14 Thread moyufeng
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: (slave eth13.2001): Port 2 did not find a suitable aggregator [99359.796960]

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