Re: [PATCH 4/4] regmap: sdw: add support for SoundWire 1.2 MBQ

2020-08-25 Thread Bard liao
On 8/26/2020 1:16 AM, Pierre-Louis Bossart wrote: The SoundWire 1.1 specification only allowed for reads and writes of bytes. The SoundWire 1.2 specification adds a new capability to transfer "Multi-Byte Quantities" (MBQ) across the bus. The transfers still happens one-byte-at-a-time, but the

Re: [PATCH] drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()

2020-08-25 Thread yukuai (C)
On 2020/08/25 21:38, Maxime Ripard wrote: Hi, On Tue, Aug 25, 2020 at 07:44:03PM +0800, Yu Kuai wrote: If sun8i_r40_tcon_tv_set_mux() succeed, at_dma_xlate() doesn't have a corresponding put_device(). Thus add put_device() to fix the exception handling for this function implementation. Fixes:

include/linux/spinlock_api_smp.h:90:3: error: implicit declaration of function 'spin_acquire'; did you mean

2020-08-25 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: abb3438d69fb6dd5baa4ae23eafbf5b87945eff1 commit: 0cd39f4600ed4de859383018eb10f0f724900e1b locking/seqlock, headers: Untangle the spaghetti monster date: 3 weeks ago config: sh-j2_defconfig (attached as

Re: 回复: [PATCH] debugobjects: install cpu hotplug callback

2020-08-25 Thread Waiman Long
On 8/25/20 7:53 PM, Thomas Gleixner wrote: On Tue, Aug 25 2020 at 18:26, Waiman Long wrote: On 8/25/20 12:53 AM, Zhang, Qiang wrote: When a cpu going offline, we should free objects in "percpu_obj_pool" free_objs list which corresponding to this cpu. The percpu free object pool is supposed to

Re: [PATCH v2 10/11] lockdep: Only trace IRQ edges

2020-08-25 Thread Thomas Gleixner
On Fri, Aug 21 2020 at 10:47, Peter Zijlstra wrote: > Now, given that the only reason to use the raw_* variant is because you don't > want tracing, A) seems like a weird option (although it can be done), so we > pick B) and declare any code that ends up doing: > > raw_local_irq_save() >

[PATCH v2] efi/efivars: Create efivars mount point via efivars abstraction

2020-08-25 Thread Lee, Chun-Yi
This patch creates efivars mount point when active efivars abstraction be set. It is useful for userland to determine the availability of efivars filesystem. Cc: Matthias Brugger Cc: Fabian Vogt Cc: Ilias Apalodimas Cc: Ard Biesheuvel Signed-off-by: "Lee, Chun-Yi" --- v2: Using

Re: [net-next v5 1/2] seg6: inherit DSCP of inner IPv4 packets

2020-08-25 Thread David Ahern
On 8/25/20 5:45 PM, Ahmed Abdelsalam wrote: > > Hi David > > The seg6 encap is implemented through the seg6_lwt rather than > seg6_local_lwt. ok. I don't know the seg6 code; just taking a guess from a quick look. > We can add a flag(SEG6_IPTUNNEL_DSCP) in seg6_iptunnel.h if we do not > want to

Re: [PATCH for v5.9] mm/page_alloc: handle a missing case for memalloc_nocma_{save/restore} APIs

2020-08-25 Thread Andrew Morton
On Tue, 25 Aug 2020 14:34:32 +0900 Joonsoo Kim wrote: > > > > That's a bunch more code on a very hot path to serve an obscure feature > > which has a single obscure callsite. > > > > Can we instead put the burden on that callsite rather than upon > > everyone? For (dumb) example, teach

Re: [PATCH v2] x86/hotplug: Silence APIC only after all irq's are migrated

2020-08-25 Thread Thomas Gleixner
Ashok, On Thu, Aug 20 2020 at 17:42, Ashok Raj wrote: > When offlining CPUs, fixup_irqs() migrates all interrupts away from the > outgoing CPU to an online CPU. It's always possible the device sent an > interrupt to the previous CPU destination. Pending interrupt bit in IRR in > LAPIC identifies

Re: mmotm 2020-08-24-16-06 uploaded

2020-08-25 Thread Andrew Morton
On Tue, 25 Aug 2020 10:45:48 +0200 Oscar Salvador wrote: > On Mon, Aug 24, 2020 at 04:07:25PM -0700, a...@linux-foundation.org wrote: > > A full copy of the full kernel tree with the linux-next and mmotm patches > > already applied is available through git within an hour of the mmotm > >

Re: [PATCH] rtw88: pci: Power cycle device during shutdown

2020-08-25 Thread Brian Norris
On Mon, Aug 24, 2020 at 2:32 AM Kai-Heng Feng wrote: > > Sometimes system freeze on cold/warm boot when rtw88 is probing. > > According to [1], platform firmware may not properly power manage the > device during shutdown. I did some expirements and putting the device to > D3 can workaround the

Re: [PATCH v7 1/3] Add a new LSM-supporting anonymous inode interface

2020-08-25 Thread Lokesh Gidra
On Mon, Aug 24, 2020 at 8:50 PM Eric Biggers wrote: > > On Fri, Aug 21, 2020 at 11:56:43AM -0700, Lokesh Gidra wrote: > > From: Daniel Colascione > > > > This change adds a new function, anon_inode_getfd_secure, that creates > > anonymous-node file with individual non-S_PRIVATE inode to which

Re: [PATCH v2 1/2] Add UFFD_USER_MODE_ONLY

2020-08-25 Thread Lokesh Gidra
On Mon, Aug 24, 2020 at 5:32 AM Sebastian Andrzej Siewior wrote: > > On 2020-08-21 18:40:17 [-0700], Lokesh Gidra wrote: > > --- a/fs/userfaultfd.c > > +++ b/fs/userfaultfd.c > > @@ -1966,6 +1969,7 @@ static void init_once_userfaultfd_ctx(void *mem) > > > > SYSCALL_DEFINE1(userfaultfd, int,

Re: [PATCH] iommu: Add support to filter non-strict/lazy mode based on device names

2020-08-25 Thread Doug Anderson
Hi, On Tue, Aug 25, 2020 at 3:54 PM Rob Clark wrote: > > On Tue, Aug 25, 2020 at 3:23 PM Doug Anderson wrote: > > > > Hi, > > > > On Tue, Aug 25, 2020 at 12:01 PM Sai Prakash Ranjan > > wrote: > > > > > > Hi, > > > > > > On 2020-08-25 21:40, Doug Anderson wrote: > > > > Hi, > > > > > > > > On

arceb-elf-ld: lib/stackdepot.c:324: undefined reference to `__irqentry_text_start'

2020-08-25 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6a9dc5fd6170d0a41c8a14eb19e63d94bea5705a commit: 505a0ef15f96c6c43ec719c9fc1833d98957bb39 kasan: stackdepot: move filter_irq_stacks() to stackdepot.c date: 5 months ago config:

Re: [net-next v5 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-08-25 Thread David Miller
From: Vadym Kochan Date: Tue, 25 Aug 2020 15:20:08 +0300 > +int prestera_dsa_parse(struct prestera_dsa *dsa, const u8 *dsa_buf) > +{ > + __be32 *dsa_words = (__be32 *)dsa_buf; > + enum prestera_dsa_cmd cmd; > + u32 words[4] = { 0 }; > + u32 field; > + > + words[0] =

linux-next: manual merge of the drm-misc tree with the amdgpu tree

2020-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c between commits: cacbbe7c0065 ("drm/amdgpu:

Re: [PATCH 0/2][next] update gdb scripts for lockless printk ringbuffer

2020-08-25 Thread Andrew Morton
On Tue, 25 Aug 2020 14:35:42 +0200 Petr Mladek wrote: > Andrew, would you mind when I take the three gdb/lockless-printk > related changes via printk tree to avoid synchronization problems? No probs. If such patches turn up in linux-next I just drop my copy. After checking that the patches

Re: [PATCH mmotm] x86/numa: fix build when CONFIG_ACPI is not set

2020-08-25 Thread Randy Dunlap
On 8/25/20 4:52 PM, Andrew Morton wrote: > On Tue, 25 Aug 2020 08:20:27 -0700 Randy Dunlap wrote: > >> From: Randy Dunlap >> >> Fix build errors when CONFIG_ACPI is not set/enabled by adding >> in the #else (!CONFIG_ACPI) block. >> >> ../arch/x86/mm/numa.c: In function ‘numa_setup’: >>

Re: [GIT PULL] fallthrough pseudo-keyword macro conversions for 5.9-rc3

2020-08-25 Thread Gustavo A. R. Silva
On Wed, Aug 26, 2020 at 01:36:20AM +0200, Peter Rosin wrote: > > Comments are important. > I agree. :) Actually, both things are important: comments and the fallthrough work. So, here you go: https://lore.kernel.org/lkml/20200826000844.GA16807@embeddedor/ Thanks -- Gustavo

Re: [PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-25 Thread Yonghong Song
On 8/25/20 4:19 PM, Udip Pant wrote: This patch series adds changes in verifier to make decisions such as granting of read / write access or enforcement of return code status based on the program type of the target program while using dynamic program extension (of type BPF_PROG_TYPE_EXT).

Re: [patch V9 21/39] x86/irq: Convey vector as argument and not in ptregs

2020-08-25 Thread Alexander Graf
Hi Andy, On 26.08.20 01:41, Andy Lutomirski wrote: On Tue, Aug 25, 2020 at 4:18 PM Alexander Graf wrote: Hi Thomas, On 25.08.20 12:28, Thomas Gleixner wrote: void irq_complete_move(struct irq_cfg *cfg) { __irq_complete_move(cfg, ~get_irq_regs()->orig_ax); } Alex, On Mon, Aug

Re: [External] Re: [PATCH] mm/hugetlb: Fix a race between hugetlb sysctl handlers

2020-08-25 Thread Mike Kravetz
On 8/24/20 8:01 PM, Muchun Song wrote: > On Tue, Aug 25, 2020 at 5:21 AM Mike Kravetz wrote: >> >> I too am looking at this now and do not completely understand the race. >> It could be that: >> >> hugetlb_sysctl_handler_common >> ... >> table->data = >> >> and,

[PATCH] iio: dpot-dac: fix code comment in dpot_dac_read_raw()

2020-08-25 Thread Gustavo A. R. Silva
After the replacement of the /* fall through */ comment with the fallthrough pseudo-keyword macro, the natural reading of a code comment was broken. Fix the natural reading of such a comment and make it intelligible. Reported-by: Peter Rosin Signed-off-by: Gustavo A. R. Silva ---

linux-next: manual merge of the drm-misc tree with Linus' tree

2020-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/video/fbdev/arcfb.c drivers/video/fbdev/atmel_lcdfb.c drivers/video/fbdev/savage/savagefb_driver.c between commit: df561f6688fe ("treewide: Use fallthrough pseudo-keyword") from Linus' tree and commit:

Re: [PATCH 4.19 09/71] btrfs: sysfs: use NOFS for device creation

2020-08-25 Thread Sasha Levin
On Tue, Aug 25, 2020 at 08:19:30PM +0200, Pavel Machek wrote: Hi! From: Josef Bacik Dave hit this splat during testing btrfs/078: ... CC: sta...@vger.kernel.org # 4.14+ This commit is in mainline, as a47bd78d0c44621efb98b525d04d60dc4d1a79b0, but is not marked as such. Fixed, thanks!

Re: 回复: [PATCH] debugobjects: install cpu hotplug callback

2020-08-25 Thread Thomas Gleixner
On Tue, Aug 25 2020 at 18:26, Waiman Long wrote: > On 8/25/20 12:53 AM, Zhang, Qiang wrote: >> >> When a cpu going offline, we should free objects in "percpu_obj_pool" >> free_objs list which corresponding to this cpu. > > The percpu free object pool is supposed to be accessed only by that >

Re: [PATCH mmotm] x86/numa: fix build when CONFIG_ACPI is not set

2020-08-25 Thread Andrew Morton
On Tue, 25 Aug 2020 08:20:27 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors when CONFIG_ACPI is not set/enabled by adding > in the #else (!CONFIG_ACPI) block. > > ../arch/x86/mm/numa.c: In function ‘numa_setup’: > ../arch/x86/mm/numa.c:43:3: error: implicit declaration

Re: [PATCH 2/4] i2c: at91: implement i2c bus recovery

2020-08-25 Thread Phil Reid
On 25/08/2020 21:28, Wolfram Sang wrote: Hi Phil, yes, this thread is old but a similar issue came up again... On Fri, Oct 25, 2019 at 09:14:00AM +0800, Phil Reid wrote: So at the beginning of a new transfer, we should check if SDA (or SCL?) is low and, if it's true, only then we should

Re: [net-next v5 1/2] seg6: inherit DSCP of inner IPv4 packets

2020-08-25 Thread Ahmed Abdelsalam
On 25/08/2020 18:45, David Ahern wrote: On 8/25/20 10:02 AM, Ahmed Abdelsalam wrote: This patch allows SRv6 encapsulation to inherit the DSCP value of the inner IPv4 packet. This allows forwarding packet across the SRv6 fabric based on their original traffic class. The option is controlled

[tip: irq/urgent] arm64: dts: k3-am65: ti-sci-inta/intr: Update to latest bindings

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: fef845122f6c3c92178e4e4a1f85cce84dca06fe Gitweb: https://git.kernel.org/tip/fef845122f6c3c92178e4e4a1f85cce84dca06fe Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:25 +05:30

[tip: irq/urgent] arm64: dts: k3-am65: Update the RM resource types

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 6da45875fa174d9db238ea0d6846061e68b41b6d Gitweb: https://git.kernel.org/tip/6da45875fa174d9db238ea0d6846061e68b41b6d Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:26 +05:30

Re: [patch V9 21/39] x86/irq: Convey vector as argument and not in ptregs

2020-08-25 Thread Andy Lutomirski
On Tue, Aug 25, 2020 at 4:18 PM Alexander Graf wrote: > > Hi Thomas, > > On 25.08.20 12:28, Thomas Gleixner wrote: > >void irq_complete_move(struct irq_cfg *cfg) { __irq_complete_move(cfg, ~get_irq_regs()->orig_ax); } > > Alex, > > > > On Mon, Aug 24 2020 at 19:29, Alexander Graf wrote:

[tip: irq/urgent] firmware: ti_sci: Drop unused structure ti_sci_rm_type_map

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 9b98e02a3d369c5d0875338ea0717030471b5210 Gitweb: https://git.kernel.org/tip/9b98e02a3d369c5d0875338ea0717030471b5210 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:15 +05:30

[tip: irq/urgent] irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 5c4b585d29102c7e6a6217112bbf1be774795cd7 Gitweb: https://git.kernel.org/tip/5c4b585d29102c7e6a6217112bbf1be774795cd7 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:23 +05:30

[tip: irq/urgent] dt-bindings: irqchip: Convert ti, sci-inta bindings to yaml

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: c4dff06e79d99691f18dfc8a61a1cb17c602a025 Gitweb: https://git.kernel.org/tip/c4dff06e79d99691f18dfc8a61a1cb17c602a025 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:21 +05:30

[tip: irq/urgent] firmware: ti_sci: Drop the device id to resource type translation

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 4473171db68fe9e3de3f2bc68a00527f23852ad8 Gitweb: https://git.kernel.org/tip/4473171db68fe9e3de3f2bc68a00527f23852ad8 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:14 +05:30

[tip: irq/urgent] firmware: ti_sci: Add support for getting resource with subtype

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 53bf2b0e4e4c1ff0a957474237f9dcd20036ca54 Gitweb: https://git.kernel.org/tip/53bf2b0e4e4c1ff0a957474237f9dcd20036ca54 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:16 +05:30

[tip: irq/urgent] irqchip/ingenic: Leave parent IRQ unmasked on suspend

2020-08-25 Thread tip-bot2 for Paul Cercueil
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 821fc9e261f3af235752f46e59084467cfd440c4 Gitweb: https://git.kernel.org/tip/821fc9e261f3af235752f46e59084467cfd440c4 Author:Paul Cercueil AuthorDate:Wed, 19 Aug 2020 20:06:02 +02:00

[tip: irq/urgent] arm64: dts: k3-j721e: ti-sci-inta/intr: Update to latest bindings

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 8d523f096da53598c271b5b69fcacb48779884a3 Gitweb: https://git.kernel.org/tip/8d523f096da53598c271b5b69fcacb48779884a3 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:24 +05:30

[tip: irq/urgent] dt-bindings: irqchip: Convert ti, sci-intr bindings to yaml

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: b8713af858997c3df5bc5b48e66ac1f1bfe19779 Gitweb: https://git.kernel.org/tip/b8713af858997c3df5bc5b48e66ac1f1bfe19779 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:18 +05:30

[tip: irq/urgent] irqchip/ti-sci-intr: Add support for INTR being a parent to INTR

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: a5b659bd4bc7518a8e45fda5256c5e5e8d3b7c49 Gitweb: https://git.kernel.org/tip/a5b659bd4bc7518a8e45fda5256c5e5e8d3b7c49 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:19 +05:30

[tip: irq/urgent] irqchip/ti-sci-inta: Do not store TISCI device id in platform device id field

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 7206f3149b8198c65a0ca8c01bfa1d8ace27bf91 Gitweb: https://git.kernel.org/tip/7206f3149b8198c65a0ca8c01bfa1d8ace27bf91 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:22 +05:30

[tip: irq/urgent] irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake

2020-08-25 Thread tip-bot2 for qiuguorui1
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: e579076ac0a3bebb440fab101aef3c42c9f4c709 Gitweb: https://git.kernel.org/tip/e579076ac0a3bebb440fab101aef3c42c9f4c709 Author:qiuguorui1 AuthorDate:Thu, 20 Aug 2020 11:16:29 +08:00 Committer:

[tip: irq/urgent] dt-bindings: irqchip: ti, sci-intr: Update bindings to drop the usage of gic as parent

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 9a8e2ae71f3553f1b6cd4e3681f04e5d0f147387 Gitweb: https://git.kernel.org/tip/9a8e2ae71f3553f1b6cd4e3681f04e5d0f147387 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:17 +05:30

[tip: irq/urgent] dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent.

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 6dde29dc31aa265a79d9e6b3571987cfa4b179cc Gitweb: https://git.kernel.org/tip/6dde29dc31aa265a79d9e6b3571987cfa4b179cc Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:20 +05:30

[tip: irq/urgent] irqchip: Fix probing deferal when using IRQCHIP_PLATFORM_DRIVER helpers

2020-08-25 Thread tip-bot2 for Marc Zyngier
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 7828a3ef8646fb2e69ed45616c8453a037ca7867 Gitweb: https://git.kernel.org/tip/7828a3ef8646fb2e69ed45616c8453a037ca7867 Author:Marc Zyngier AuthorDate:Thu, 06 Aug 2020 10:57:45 +01:00

[tip: irq/urgent] irqchip: Revert modular support for drivers using IRQCHIP_PLATFORM_DRIVER helperse

2020-08-25 Thread tip-bot2 for Marc Zyngier
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: a150dac5a8fb711fdc378c23f44bee4546f04246 Gitweb: https://git.kernel.org/tip/a150dac5a8fb711fdc378c23f44bee4546f04246 Author:Marc Zyngier AuthorDate:Tue, 25 Aug 2020 10:38:39 +01:00

Re: [GIT PULL] fallthrough pseudo-keyword macro conversions for 5.9-rc3

2020-08-25 Thread Peter Rosin
On 2020-08-23 22:48, Gustavo A. R. Silva wrote: > Hi Linus, > > Please, pull the following tree-wide patch that replaces tons (2484) of > /* fall through */ comments, and its variants, with the new pseudo-keyword > macro fallthrough[1]. Also, remove unnecessary fall-through markings when > it is

Re: [PATCH v11 25/25] x86/cet/shstk: Add arch_prctl functions for shadow stack

2020-08-25 Thread Yu, Yu-cheng
On 8/25/2020 4:20 PM, Dave Hansen wrote: On 8/25/20 2:04 PM, Yu, Yu-cheng wrote: I think this is more arch-specific.  Even if it becomes a new syscall, we still need to pass the same parameters. Right, but without the copying in and out of memory. Linux-api is already on the Cc list.  Do we

Re: [PATCH 11/29] hwmon: (scmi-hwmon): Avoid comma separated statements

2020-08-25 Thread Guenter Roeck
On Mon, Aug 24, 2020 at 09:56:08PM -0700, Joe Perches wrote: > Use semicolons and braces. > > Signed-off-by: Joe Perches Applied. Thanks, Guenter > --- > drivers/hwmon/scmi-hwmon.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/hwmon/scmi-hwmon.c

Re: 回复: [PATCH] debugobjects: install cpu hotplug callback

2020-08-25 Thread Waiman Long
On 8/25/20 6:26 PM, Waiman Long wrote: On 8/25/20 12:53 AM, Zhang, Qiang wrote: 发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月20日 11:24 收件人: t...@linutronix.de; el...@google.com; long...@redhat.com 抄送:

[PATCH 2/2] bluetooth: Add MGMT capability flags for tx power and ext advertising

2020-08-25 Thread Daniel Winkler
For new advertising features, it will be important for userspace to know the capabilities of the controller and kernel. If the controller and kernel support extended advertising, we include flags indicating hardware offloading support and support for setting tx power of adv instances. In the

[PATCH 1/2] bluetooth: Report num supported adv instances for hw offloading

2020-08-25 Thread Daniel Winkler
Here we make sure we properly report the number of supported advertising slots when we are using hardware offloading. If no hardware offloading is available, we default this value to HCI_MAX_ADV_INSTANCES for use in software rotation as before. This change has been tested on kukui (no ext adv)

[PATCH 0/2] Bluetooth: Report extended adv capabilities to userspace

2020-08-25 Thread Daniel Winkler
Hi Maintainers, This series improves the kernel/controller support that is reported to userspace for the following extended advertising features: 1. If extended advertising is available, the number of hardware slots is used and reported, rather than the fixed default of 5. If no hardware

Re: [PATCH] gen_compile_commands: Add support for separate kbuild output directory

2020-08-25 Thread Peter Kalauskas
On Wed, Aug 12, 2020 at 09:28:32PM +0900, Masahiro Yamada wrote: > (+cc clang-built-linux) > > > On Sat, Aug 1, 2020 at 6:21 AM Peter Kalauskas wrote: > > > > Add support for builds that use an output directory different than the > > kernel source tree (e.g. make O=/tmp/kernel-obj). This also

Re: [PATCH bpf-next v4 03/30] bpf: memcg-based memory accounting for bpf maps

2020-08-25 Thread Shakeel Butt
On Fri, Aug 21, 2020 at 8:01 AM Roman Gushchin wrote: > > This patch enables memcg-based memory accounting for memory allocated > by __bpf_map_area_alloc(), which is used by most map types for > large allocations. > > If a map is updated from an interrupt context, and the update > results in

Re: [PATCH v2 2/3] IMA: add policy to support measuring critical data from kernel components

2020-08-25 Thread Tushar Sugandhi
On 2020-08-25 1:43 p.m., Mimi Zohar wrote: On Tue, 2020-08-25 at 10:32 -0700, Tushar Sugandhi wrote: On 2020-08-24 3:46 p.m., Mimi Zohar wrote: On Fri, 2020-08-21 at 11:21 -0700, Tushar Sugandhi wrote: There would be several candidate kernel components suitable for IMA measurement. Not

[PATCH bpf-next v3 3/4] selftests/bpf: test for checking return code for the extended prog

2020-08-25 Thread Udip Pant
This adds test to enforce same check for the return code for the extended prog as it is enforced for the target program. It asserts failure for a return code, which is permitted without the patch in this series, while it is restricted after the application of this patch. Signed-off-by: Udip Pant

Re: [PATCH] Documentation: add minimum clang/llvm version

2020-08-25 Thread Gustavo A. R. Silva
On 8/25/20 17:51, Nathan Chancellor wrote: > On Tue, Aug 25, 2020 at 03:25:51PM -0700, Nick Desaulniers wrote: >> Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start >> small, supporting just one formal upstream release of LLVM for now. >> >> We can probably widen the support

[PATCH bpf-next v3 4/4] selftests/bpf: test for map update access from within EXT programs

2020-08-25 Thread Udip Pant
This adds further tests to ensure access permissions and restrictions are applied properly for some map types such as sock-map. It also adds another negative tests to assert static functions cannot be replaced. In the 'unreliable' mode it still fails with error 'tracing progs cannot use

[PATCH bpf-next v3 2/4] selftests/bpf: add test for freplace program with write access

2020-08-25 Thread Udip Pant
This adds a selftest that tests the behavior when a freplace target program attempts to make a write access on a packet. The expectation is that the read or write access is granted based on the program type of the linked program and not itself (which is of type, for e.g., BPF_PROG_TYPE_EXT).

[PATCH] drm/i915/display: fix uninitialized variable

2020-08-25 Thread trix
From: Tom Rix clang static analysis flags this error intel_combo_phy.c:268:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage ret &= check_phy_reg(... ~~~ ^ ret has no initial values,

Re: [PATCH v11 25/25] x86/cet/shstk: Add arch_prctl functions for shadow stack

2020-08-25 Thread Dave Hansen
On 8/25/20 2:04 PM, Yu, Yu-cheng wrote: >>> I think this is more arch-specific.  Even if it becomes a new syscall, >>> we still need to pass the same parameters. >> >> Right, but without the copying in and out of memory. >> > Linux-api is already on the Cc list.  Do we need to add more people to >

[PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-25 Thread Udip Pant
This patch series adds changes in verifier to make decisions such as granting of read / write access or enforcement of return code status based on the program type of the target program while using dynamic program extension (of type BPF_PROG_TYPE_EXT). The BPF_PROG_TYPE_EXT type can be used to

[PATCH bpf-next v3 1/4] bpf: verifier: use target program's type for access verifications

2020-08-25 Thread Udip Pant
This patch adds changes in verifier to make decisions such as granting of read / write access or enforcement of return code status based on the program type of the target program while using dynamic program extension (of type BPF_PROG_TYPE_EXT). The BPF_PROG_TYPE_EXT type can be used to extend

Re: [RFT][PATCH 0/7] Avoid overflow at boundary_size

2020-08-25 Thread Nicolin Chen
Hi Niklas, On Tue, Aug 25, 2020 at 12:16:27PM +0200, Niklas Schnelle wrote: > On 8/21/20 1:19 AM, Nicolin Chen wrote: > > We are expending the default DMA segmentation boundary to its > > possible maximum value (ULONG_MAX) to indicate that a device > > doesn't specify a boundary limit. So all

Re: [patch V9 21/39] x86/irq: Convey vector as argument and not in ptregs

2020-08-25 Thread Alexander Graf
Hi Thomas, On 25.08.20 12:28, Thomas Gleixner wrote: Alex, On Mon, Aug 24 2020 at 19:29, Alexander Graf wrote: I'm currently trying to understand a performance regression with ScyllaDB on i3en.3xlarge (KVM based VM on Skylake) which we reliably bisected down to this commit:

Re: [PATCH v3 2/3] misc: bcm-vk: add Broadcom VK driver

2020-08-25 Thread kernel test robot
Hi Scott, I love your patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on soc/for-next kees/for-next/pstore linus/master v5.9-rc2 next-20200825] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[PATCH] Documentation/llvm: Improve formatting of commands, variables, and arguments

2020-08-25 Thread Nathan Chancellor
While reviewing a separate patch, I noticed that the formatting of the commands, variables, and arguments was not in a monospaced font like the rest of the Kbuild documentation (see kbuild/kconfig.rst for an example). This is due to a lack of "::" before indented command blocks and single

Re: linux-next: build failure after merge of the bpf-next tree

2020-08-25 Thread Stephen Rothwell
Hi Alexei, On Tue, 25 Aug 2020 15:34:52 -0700 Alexei Starovoitov wrote: > > On Tue, Aug 25, 2020 at 2:10 PM Stephen Rothwell > wrote: > > > > Hi Alexei, > > > > On Tue, 25 Aug 2020 07:33:51 -0700 Alexei Starovoitov > > wrote: > > > > > > what do you suggest to use to make it 'manually

Re: [PATCH] null_blk: add support for max open/active zone limit for zoned devices

2020-08-25 Thread Damien Le Moal
On 2020/08/26 7:52, Damien Le Moal wrote: > On 2020/08/25 21:22, Niklas Cassel wrote: >> Add support for user space to set a max open zone and a max active zone >> limit via configfs. By default, the default value is 0 == no limit. > > s/value is/values are/ > >> >> Call the block layer API

Re: [PATCH] Documentation: add minimum clang/llvm version

2020-08-25 Thread Jonathan Corbet
On Tue, 25 Aug 2020 15:51:31 -0700 Nathan Chancellor wrote: > > +Clang/LLVM (optional) 10.0.1 clang --version > > Maybe it is worth making the "(optional)" a footnote like Sphinx? Seems > to just kind of stick out to me but I do not have a strong opinion > unless others do. Let's

[tip:timers/core] BUILD SUCCESS ec02821c1d35f93b821bc9fdfa83a5f3e9d7275d

2020-08-25 Thread kernel test robot
allnoconfig x86_64 randconfig-a003-20200825 x86_64 randconfig-a002-20200825 x86_64 randconfig-a001-20200825 x86_64 randconfig-a005-20200825 x86_64 randconfig-a006-20200825 x86_64 randconfig

RFC: backport of commit a32c1c61212d

2020-08-25 Thread Doug Berger
I recently tracked down a problem I observed when booting a v5.4 kernel on a sparsemem UMA arm platform which includes a no-map reserved-memory region in the middle of its HighMem zone. When memmap_init_zone() is invoked the pfn's that correspond to the no-map region fail the early_pfn_valid()

Re: [PATCH] iommu: Add support to filter non-strict/lazy mode based on device names

2020-08-25 Thread Rob Clark
On Tue, Aug 25, 2020 at 3:23 PM Doug Anderson wrote: > > Hi, > > On Tue, Aug 25, 2020 at 12:01 PM Sai Prakash Ranjan > wrote: > > > > Hi, > > > > On 2020-08-25 21:40, Doug Anderson wrote: > > > Hi, > > > > > > On Tue, Aug 25, 2020 at 8:43 AM Sai Prakash Ranjan > > > wrote: > > >> > > >>

Re: [PATCH v4 -rcu 4/4] rcu/trace: Add tracing for how segcb list changes

2020-08-25 Thread Joel Fernandes
On Tue, Aug 25, 2020 at 02:55:53PM -0700, Paul E. McKenney wrote: > On Mon, Aug 24, 2020 at 10:48:42PM -0400, Joel Fernandes (Google) wrote: > > Track how the segcb list changes before/after acceleration, during > > queuing and during dequeuing. > > > > This has proved useful to discover an

Re: [PATCH] null_blk: add support for max open/active zone limit for zoned devices

2020-08-25 Thread Damien Le Moal
On 2020/08/25 21:22, Niklas Cassel wrote: > Add support for user space to set a max open zone and a max active zone > limit via configfs. By default, the default value is 0 == no limit. s/value is/values are/ > > Call the block layer API functions used for exposing the configured > limits to

Re: [PATCH bpf-next v10 0/7] Generalizing bpf_local_storage

2020-08-25 Thread KP Singh
On Wed, Aug 26, 2020 at 12:13 AM Alexei Starovoitov wrote: > > On Tue, Aug 25, 2020 at 2:05 PM Alexei Starovoitov > wrote: > > > > On Tue, Aug 25, 2020 at 11:29 AM KP Singh wrote: > > > > > > From: KP Singh > > > > > > # v9 -> v10 > > > > > > - Added NULL check for inode_storage_ptr before

Re: [PATCH v2 1/2] lib: decompress_unzstd: Limit output size

2020-08-25 Thread Nick Terrell
> On Aug 25, 2020, at 2:01 PM, Paul Cercueil wrote: > > The zstd decompression code, as it is right now, will have internal > values overflow on 32-bit systems when the output size is bigger than > 1 GiB. > > Until someone smarter than me can figure out how to fix the zstd code > properly,

Re: [PATCH] Documentation: add minimum clang/llvm version

2020-08-25 Thread Nathan Chancellor
On Tue, Aug 25, 2020 at 03:25:51PM -0700, Nick Desaulniers wrote: > Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start > small, supporting just one formal upstream release of LLVM for now. > > We can probably widen the support window of supported versions over > time. Also,

Re: [PATCH v4 -rcu 3/4] rcu/segcblist: Add counters to segcblist datastructure

2020-08-25 Thread Joel Fernandes
On Tue, Aug 25, 2020 at 02:53:38PM -0700, Paul E. McKenney wrote: > On Mon, Aug 24, 2020 at 10:48:41PM -0400, Joel Fernandes (Google) wrote: > > Add counting of segment lengths of segmented callback list. > > > > This will be useful for a number of things such as knowing how big the > >

Re: [PATCH v4 -rcu 1/4] rcu/segcblist: Do not depend on rcl->len to store the segcb len during merge

2020-08-25 Thread Joel Fernandes
Hi Paul, On Tue, Aug 25, 2020 at 01:08:09PM -0700, Paul E. McKenney wrote: > On Mon, Aug 24, 2020 at 10:48:39PM -0400, Joel Fernandes (Google) wrote: > > The donecbs's ->len field is used to store the total count of the segmented > > callback list's length. This ->len field is then added to the

Re: [PATCH v2] arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt

2020-08-25 Thread Doug Anderson
Hi, On Tue, Aug 25, 2020 at 3:27 PM Rob Clark wrote: > > + max98357a: audio-codec-0 { > + compatible = "maxim,max98357a"; > + pinctrl-names = "default"; > + pinctrl-0 = <_en>; > + sdmode-gpios = < 23 GPIO_ACTIVE_HIGH>; > +

Re: [PATCH] staging: qlge: fix build breakage with dumping enabled

2020-08-25 Thread Benjamin Poirier
On 2020-08-25 19:16 +0800, Coiby Xu wrote: [...] > > > @@ -1630,7 +1630,7 @@ void ql_dump_wqicb(struct wqicb *wqicb) > > > (unsigned long long)le64_to_cpu(wqicb->cnsmr_idx_addr)); > > > } > > > > > > -void ql_dump_tx_ring(struct tx_ring *tx_ring) > > > +void ql_dump_tx_ring(struct

Re: linux-next: build failure after merge of the bpf-next tree

2020-08-25 Thread Alexei Starovoitov
On Tue, Aug 25, 2020 at 2:10 PM Stephen Rothwell wrote: > > Hi Alexei, > > On Tue, 25 Aug 2020 07:33:51 -0700 Alexei Starovoitov > wrote: > > > > what do you suggest to use to make it 'manually enabled' ? > > All I could think of is to add: > > depends on !COMPILE_TEST > > so that allmodconfig

Re: [PATCH] arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt

2020-08-25 Thread Doug Anderson
Hi, On Tue, Aug 25, 2020 at 3:22 PM Rob Clark wrote: > > On Tue, Aug 25, 2020 at 2:21 AM Stephen Boyd wrote: > > > > Quoting Rob Clark (2020-08-24 17:33:39) > > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > > b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > > new file mode

Re: [PATCH v2 2/3] dt-bindings: rng: add bindings for Xiphera XIP8001B hwnrg

2020-08-25 Thread Rob Herring
On Thu, Aug 20, 2020 at 01:51:21PM +0300, Atte Tommiska wrote: > Document the device tree bindings of Xiphera's XIP8001B-trng IP. typo in the subject. Otherwise, Reviewed-by: Rob Herring > > Signed-off-by: Atte Tommiska > --- > .../bindings/rng/xiphera,xip8001b-trng.yaml | 33

Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Xiphera vendor prefix

2020-08-25 Thread Rob Herring
On Thu, 20 Aug 2020 13:51:20 +0300, Atte Tommiska wrote: > Xiphera is an FPGA-based cryptographic solutions provider based in > Finland. > Website of the company: https://xiphera.com/ > > Signed-off-by: Atte Tommiska > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1

arch/arc/include/asm/bug.h:22:2: error: implicit declaration of function 'pr_warn'; did you mean

2020-08-25 Thread kernel test robot
Hi Evan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6a9dc5fd6170d0a41c8a14eb19e63d94bea5705a commit: 55084d7f4022439de3077b239eed1eb7515fe3ed drm/amd/powerplay: forbid to use pr_err/warn/info/debug date: 8

[PATCH v2] arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt

2020-08-25 Thread Rob Clark
From: Rob Clark This is essentialy a squash of a bunch of history of trogdor and lazor dt updates from the chromium kernel tree. I don't claim any credit other than wanting to more easily boot upstream kernel on these devices. I've tried to add cc tags for all the original authors. Cc:

Re: 回复: [PATCH] debugobjects: install cpu hotplug callback

2020-08-25 Thread Waiman Long
On 8/25/20 12:53 AM, Zhang, Qiang wrote: 发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月20日 11:24 收件人: t...@linutronix.de; el...@google.com; long...@redhat.com 抄送: linux-kernel@vger.kernel.org 主题: [PATCH]

Re: [PATCH bpf-next v4 02/30] bpf: memcg-based memory accounting for bpf progs

2020-08-25 Thread Roman Gushchin
On Tue, Aug 25, 2020 at 12:00:15PM -0700, Shakeel Butt wrote: > On Fri, Aug 21, 2020 at 8:01 AM Roman Gushchin wrote: > > > > Include memory used by bpf programs into the memcg-based accounting. > > This includes the memory used by programs itself, auxiliary data > > and statistics. > > > >

[PATCH] Documentation: add minimum clang/llvm version

2020-08-25 Thread Nick Desaulniers
Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start small, supporting just one formal upstream release of LLVM for now. We can probably widen the support window of supported versions over time. Also, note that LLVM's release process is different than GCC's. GCC tends to have 1

Re: [PATCH 9/9] iomap: Change calling convention for zeroing

2020-08-25 Thread Darrick J. Wong
On Mon, Aug 24, 2020 at 03:55:10PM +0100, Matthew Wilcox (Oracle) wrote: > Pass the full length to iomap_zero() and dax_iomap_zero(), and have > them return how many bytes they actually handled. This is preparatory > work for handling THP, although it looks like DAX could actually take >

Re: fsl_espi errors on v5.7.15

2020-08-25 Thread Chris Packham
On 25/08/20 7:22 pm, Heiner Kallweit wrote: > I've been staring at spi-fsl-espi.c for while now and I think I've >> identified a couple of deficiencies that may or may not be related to my >> issue. >> >> First I think the 'Transfer done but SPIE_DON isn't set' message can be >> generated

Re: [PATCH v3 08/19] dt-bindings: watchdog: fsl-imx-wdt: Add i.MX 8M compatibles

2020-08-25 Thread Guenter Roeck
On 8/25/20 12:35 PM, Krzysztof Kozlowski wrote: > DTSes with new i.MX 8M SoCs introduce their own compatibles so add them > to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: > watchdog@3028: > compatible:0: 'fsl,imx8mm-wdt' is not one

Re: [PATCH] arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt

2020-08-25 Thread Rob Clark
On Tue, Aug 25, 2020 at 2:21 AM Stephen Boyd wrote: > > Quoting Rob Clark (2020-08-24 17:33:39) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > > new file mode 100644 > > index ..b04987ab6c22 > > --- /dev/null > > +++

Re: [PATCH 2/9] fs: Introduce i_blocks_per_page

2020-08-25 Thread Dave Chinner
On Tue, Aug 25, 2020 at 01:49:22PM -0700, Darrick J. Wong wrote: > On Mon, Aug 24, 2020 at 03:55:03PM +0100, Matthew Wilcox (Oracle) wrote: > > This helper is useful for both THPs and for supporting block size larger > > than page size. Convert all users that I could find (we have a few > >

Re: [PATCH] dt-bindings: spi: Convert spi-mtk-nor to json-schema

2020-08-25 Thread Rob Herring
On Thu, Aug 20, 2020 at 01:28:27PM +0800, Ikjoon Jang wrote: > Convert Mediatek ARM SOC's serial NOR flash controller binding > to json-schema format. > > Signed-off-by: Ikjoon Jang > --- > .../bindings/spi/mediatek,spi-mtk-nor.yaml| 82 +++ >

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