Re: [PATCH v1] powerpc: Include running function as first entry in save_stack_trace() and friends

2021-03-04 Thread Marco Elver
On Thu, 4 Mar 2021 at 15:57, Mark Rutland wrote: > [adding Mark Brown] > > On Wed, Mar 03, 2021 at 04:20:43PM +0100, Marco Elver wrote: > > On Wed, Mar 03, 2021 at 03:52PM +0100, Christophe Leroy wrote: > > > Le 03/03/2021 � 15:38, Marco Elver a �crit�: > > > > On Wed, 3 Mar 2021 at 15:09,

Re: [PATCH v4 02/15] gpio: regmap: set gpio_chip of_node

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 4, 2021 at 5:24 PM Álvaro Fernández Rojas wrote: > > El 4 mar 2021, a las 16:17, Andy Shevchenko > > escribió: > > On Thu, Mar 4, 2021 at 5:06 PM Álvaro Fernández Rojas > > wrote: > >>> El 4 mar 2021, a las 11:35, Andy Shevchenko > >>> escribió: > >>> On Thu, Mar 4, 2021 at

Re: [PATCH v4 5/6] can: c_can: prepare to up the message objects number

2021-03-04 Thread Marc Kleine-Budde
On 02.03.2021 22:54:34, Dario Binacchi wrote: > diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c > index 77b9aee56154..0052ba5197e0 100644 > --- a/drivers/net/can/c_can/c_can.c > +++ b/drivers/net/can/c_can/c_can.c [...] > -struct net_device *alloc_c_can_dev(void) >

Re: [PATCH v4 05/15] pinctrl: add a pincontrol driver for BCM6328

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 4, 2021 at 2:25 PM Álvaro Fernández Rojas wrote: > > El 4 mar 2021, a las 13:12, Andy Shevchenko > > escribió: > > On Thu, Mar 4, 2021 at 1:13 PM Álvaro Fernández Rojas > > wrote: > >>> El 4 mar 2021, a las 11:49, Andy Shevchenko > >>> escribió: > >>> On Thu, Mar 4, 2021 at

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

2021-03-04 Thread David Howells
Eric Snowberg wrote: > Since S_R_K is a string, I could not get that to work. Okay. > >> + hostprogs-always-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += extract-cert I think this should then refer to CONFIG_SYSTEM_REVOCATION_LIST. David

Re: [PATCH v2] gpio: regmap: set gpio_chip of_node

2021-03-04 Thread Álvaro Fernández Rojas
Hi Andy, > El 4 mar 2021, a las 16:22, Andy Shevchenko > escribió: > > On Thu, Mar 4, 2021 at 5:18 PM Álvaro Fernández Rojas > wrote: >> >> This is needed for properly registering gpio regmap as a child of a regmap >> pin controller. > >> + chip->of_node = config->of_node ?:

[PATCH v2] net: mac802154: Fix general protection fault

2021-03-04 Thread Pavel Skripkin
syzbot found general protection fault in crypto_destroy_tfm()[1]. It was caused by wrong clean up loop in llsec_key_alloc(). If one of the tfm array members is in IS_ERR() range it will cause general protection fault in clean up function [1]. Call Trace: crypto_free_aead

Re: [PATCH v2] powerpc/32: remove bogus ppc_select syscall

2021-03-04 Thread Christophe Leroy
Le 04/03/2021 à 16:17, Arnd Bergmann a écrit : On Thu, Mar 4, 2021 at 1:51 PM Christophe Leroy wrote: From: Arnd Bergmann The ppc_select function was introduced in linux-2.3.48 in order to support code confusing the legacy select() calling convention with the standard one. Even 24 years

Re: [PATCH v4 02/15] gpio: regmap: set gpio_chip of_node

2021-03-04 Thread Álvaro Fernández Rojas
Hi Andy, > El 4 mar 2021, a las 16:17, Andy Shevchenko > escribió: > > On Thu, Mar 4, 2021 at 5:06 PM Álvaro Fernández Rojas > wrote: >>> El 4 mar 2021, a las 11:35, Andy Shevchenko >>> escribió: >>> On Thu, Mar 4, 2021 at 10:57 AM Álvaro Fernández Rojas >>> wrote: > + * @of_node:

Re: [PATCH] gfs2: make function gfs2_make_fs_ro() to void type

2021-03-04 Thread Bob Peterson
- Original Message - > It fixes the following warning detected by coccinelle: > ./fs/gfs2/super.c:592:5-10: Unneeded variable: "error". Return "0" on > line 628 > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > fs/gfs2/ops_fstype.c | 4 +--- > fs/gfs2/super.c | 9

Re: [PATCH] kprobes: stacktrace: Recover the address changed by kretprobe

2021-03-04 Thread kernel test robot
Hi Masami, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.12-rc1 next-20210304] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https

Re: [PATCH v2] gpio: regmap: set gpio_chip of_node

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 4, 2021 at 5:18 PM Álvaro Fernández Rojas wrote: > > This is needed for properly registering gpio regmap as a child of a regmap > pin controller. > + chip->of_node = config->of_node ?: dev_of_node(config->parent); After a closer look I have no clue why you need this patch at

Re: [PATCH v2] powerpc/32: remove bogus ppc_select syscall

2021-03-04 Thread Arnd Bergmann
On Thu, Mar 4, 2021 at 1:51 PM Christophe Leroy wrote: > > From: Arnd Bergmann > > The ppc_select function was introduced in linux-2.3.48 in order to support > code confusing the legacy select() calling convention with the standard one. > Even 24 years ago, all correctly built code should not

Re: [PATCH v4 03/15] pinctrl: bcm: add bcm63xx base code

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 4, 2021 at 2:28 PM Álvaro Fernández Rojas wrote: > > El 4 mar 2021, a las 13:09, Andy Shevchenko > > escribió: > > On Thu, Mar 4, 2021 at 1:17 PM Álvaro Fernández Rojas > > wrote: > >>> El 4 mar 2021, a las 11:43, Andy Shevchenko > >>> escribió: > >>> On Thu, Mar 4, 2021 at

WARNING: CPU: 5 PID: 69 at drivers/gpu/drm/ttm/ttm_bo.c:139 ttm_bo_move_to_lru_tail+0x376/0x500 [ttm]

2021-03-04 Thread Jeff Layton
I was doing some testing in a KVM with a kernel based on this commit: f69d02e37a85 (origin/master, dhowells/master, master) Merge tag 'misc-5.12-2021-03-02' of git://git.kernel.dk/linux-block ...with some ceph+fscache patches on top, and am getting a ton of warnings popping that look like

Re: [PATCH v4 02/15] gpio: regmap: set gpio_chip of_node

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 4, 2021 at 5:06 PM Álvaro Fernández Rojas wrote: > > El 4 mar 2021, a las 11:35, Andy Shevchenko > > escribió: > > On Thu, Mar 4, 2021 at 10:57 AM Álvaro Fernández Rojas > > wrote: > >> + * @of_node: (Optional) The device node > > > >> + struct device_node

[patch 2/7] drm/vmgfx: Replace kmap_atomic()

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner There is no reason to disable pagefaults and preemption as a side effect of kmap_atomic_prot(). Use kmap_local_page_prot() instead and document the reasoning for the mapping usage with the given pgprot. Remove the NULL pointer check for the map. These functions return a

[patch 1/7] drm/ttm: Replace kmap_atomic() usage

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner There is no reason to disable pagefaults and preemption as a side effect of kmap_atomic_prot(). Use kmap_local_page_prot() instead and document the reasoning for the mapping usage with the given pgprot. Remove the NULL pointer check for the map. These functions return a

Re: [PATCH STABLE 5.10 5.11] swap: fix swapfile page to sector mapping

2021-03-04 Thread Greg Kroah-Hartman
On Thu, Mar 04, 2021 at 04:08:24PM +0100, Anthony Iliopoulos wrote: > commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. No, this does not look like that commit. Why can I not just take caf6912f3f4a ("swap: fix swapfile read/write offset") directly for 5.10 and 5.11? WHat has changed to

Re: [PATCH V2] mmc: sdhci: Check for reset prior to DMA address unmap

2021-03-04 Thread pragalla
On 2021-03-04 19:19, Ulf Hansson wrote: On Wed, 3 Mar 2021 at 09:32, Pradeep P V K wrote: From: Pradeep P V K For data read commands, SDHC may initiate data transfers even before it completely process the command response. In case command itself fails, driver un-maps the memory associated

[patch 6/7] drm/i915: Replace io_mapping_map_atomic_wc()

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner None of these mapping requires the side effect of disabling pagefaults and preemption. Use io_mapping_map_local_wc() instead, and clean up gtt_user_read() and gtt_user_write() to use a plain copy_from_user() as the local maps are not disabling pagefaults. Signed-off-by:

[patch 4/7] drm/qxl: Replace io_mapping_map_atomic_wc()

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner None of these mapping requires the side effect of disabling pagefaults and preemption. Use io_mapping_map_local_wc() instead, rename the related functions accordingly and clean up qxl_process_single_command() to use a plain copy_from_user() as the local maps are not

[patch 7/7] io-mapping: Remove io_mapping_map_atomic_wc()

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner No more users. Get rid of it and remove the traces in documentation. Signed-off-by: Thomas Gleixner Cc: Andrew Morton Cc: linux...@kvack.org --- Documentation/driver-api/io-mapping.rst | 22 +--- include/linux/io-mapping.h | 42

[patch 5/7] drm/nouveau/device: Replace io_mapping_map_atomic_wc()

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner Neither fbmem_peek() nor fbmem_poke() require to disable pagefaults and preemption as a side effect of io_mapping_map_atomic_wc(). Use io_mapping_map_local_wc() instead. Signed-off-by: Thomas Gleixner Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc:

[patch 3/7] highmem: Remove kmap_atomic_prot()

2021-03-04 Thread Thomas Gleixner
From: Thomas Gleixner No more users. Signed-off-by: Thomas Gleixner Cc: Andrew Morton Cc: linux...@kvack.org --- include/linux/highmem-internal.h | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) --- a/include/linux/highmem-internal.h +++

[patch 0/7] drm, highmem: Cleanup io/kmap_atomic*() usage

2021-03-04 Thread Thomas Gleixner
None of the DRM usage sites of temporary mappings requires the side effects of io/kmap_atomic(), i.e. preemption and pagefault disable. Replace them with the io/kmap_local() variants, simplify the copy_to/from_user() error handling and remove the atomic variants. Thanks, tglx ---

Re: [PATCH] hwrng: bcm2835: set quality to 1000

2021-03-04 Thread Nicolas Saenz Julienne
On Wed, 2021-03-03 at 10:29 +0100, Álvaro Fernández Rojas wrote: > Hi Herbert, > > > El 3 mar 2021, a las 10:20, Herbert Xu > > escribió: > > > > On Sat, Feb 20, 2021 at 08:12:45PM +0100, Álvaro Fernández Rojas wrote: > > > > > > I ran rngtest and this is what I got: > > > > This is

Re: linux-next: build warnings after merge of the v4l-dvb tree

2021-03-04 Thread Mauro Carvalho Chehab
Em Thu, 4 Mar 2021 12:50:42 +1100 Stephen Rothwell escreveu: > Hi all, > > After merging the v4l-dvb tree, today's linux-next build (htmldocs) > produced these warnings: > > Documentation/userspace-api/media/v4l/hist-v4l2.rst:818: WARNING: undefined > label: control-flags (if the link has no

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-03-04 Thread Josh Poimboeuf
On Thu, Mar 04, 2021 at 09:27:28PM +0900, Masahiro Yamada wrote: > I agree with rebuilding GCC plugins when the compiler is upgraded > for *in-tree* building. > Linus had reported it a couple of months before, > and I just submitted a very easy fix. Hm? So does that mean that a GCC version

Re: [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide ZONE_DMA

2021-03-04 Thread Nicolas Saenz Julienne
On Thu, 2021-03-04 at 15:17 +0100, Greg KH wrote: > On Thu, Mar 04, 2021 at 03:05:32PM +0100, Nicolas Saenz Julienne wrote: > > Hi Greg. > > > > On Thu, 2021-03-04 at 14:46 +0100, Greg KH wrote: > > > On Wed, Mar 03, 2021 at 03:33:12PM +0800, Jing Xiangfeng wrote: > > > > Using two distinct DMA

Re: [PATCH v4 02/15] gpio: regmap: set gpio_chip of_node

2021-03-04 Thread Álvaro Fernández Rojas
Hi Andy, > El 4 mar 2021, a las 11:35, Andy Shevchenko > escribió: > > On Thu, Mar 4, 2021 at 10:57 AM Álvaro Fernández Rojas > wrote: >> >> This is needed for properly registering gpio regmap as a child of a regmap > > gpio -> GPIO > >> pin controller. > > ... > >> + * @of_node:

[PATCH] opp: Invalidate current opp when draining the opp list

2021-03-04 Thread Beata Michalska
The current_opp when set, grabs additional reference on the opp, which is then supposed to be dropped upon releasing the opp table. Still both dev_pm_opp_remove_table and dev_pm_opp_remove_all_dynamic will completely drain the OPPs list, including dropping the additional reference on current_opp.

[PATCH STABLE 5.4] swap: fix swapfile page to sector mapping

2021-03-04 Thread Anthony Iliopoulos
commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. Fix block device sector offset calculation for swap page io on top of blockdevs that provide a rw_page operation and do page-sized io directly (without the block layer). Currently swap_page_sector() maps a swap page into a blockdev sector

Re: [PATCH] devfreq: Register devfreq as a cooling device

2021-03-04 Thread Chanwoo Choi
Hi Daniel, As Lukasz's comment, actually some devfreq devices like memory bus might not affect the thermal critically. In the mainline, there are four types devfreq as following: 1. GPU 2. UFS Storage 3. DMC (Memory Controller) 4. Memory bus like AMBA AXI I think that you can specify this

Re: [PATCH v3 0/3] parport: Introduce module_parport_driver() and use it

2021-03-04 Thread Mark Brown
On Wed, 3 Mar 2021 11:16:39 +0200, Andy Shevchenko wrote: > Introduce module_parport_driver() and use it. > Greg or Mark, since we have this series tagged, can somebody of you pick it > up? > > Changelog v3: > - added tag on patch 1 (Sudip) > - Cc'ed to Greg > > [...] Applied to

Re: [PATCH 2/2] dt-binding: mediatek: mt6779: update spi document

2021-03-04 Thread Mark Brown
On Fri, 26 Feb 2021 19:01:10 +0800, Mason Zhang wrote: > this patch update spi document for MT6779 SOC. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [2/2] dt-binding: mediatek: mt6779: update spi document commit:

[PATCH STABLE 5.10 5.11] swap: fix swapfile page to sector mapping

2021-03-04 Thread Anthony Iliopoulos
commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. Fix block device sector offset calculation for swap page io on top of blockdevs that provide a rw_page operation and do page-sized io directly (without the block layer). Currently swap_page_sector() maps a swap page into a blockdev sector

[PATCH STABLE 4.4] swap: fix swapfile page to sector mapping

2021-03-04 Thread Anthony Iliopoulos
commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. Fix block device sector offset calculation for swap page io on top of blockdevs that provide a rw_page operation and do page-sized io directly (without the block layer). Currently swap_page_sector() maps a swap page into a blockdev sector

[PATCH STABLE 4.14 4.19] swap: fix swapfile page to sector mapping

2021-03-04 Thread Anthony Iliopoulos
commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. Fix block device sector offset calculation for swap page io on top of blockdevs that provide a rw_page operation and do page-sized io directly (without the block layer). Currently swap_page_sector() maps a swap page into a blockdev sector

[PATCH STABLE ONLY] swap: fix swapfile page to sector mapping

2021-03-04 Thread Anthony Iliopoulos
The following patches fix the swapfile page-to-sector mapping for block devices that implement rw_page for all the stable kernels. This is related to the upstream fix of commit caf6912f3f4a ("swap: fix swapfile read/write offset"), but for kernels prior to v5.12-rc1 the bug only affects swapfiles

[PATCH v2 5/5] gpiolib: Reuse device's fwnode to create IRQ domain

2021-03-04 Thread Andy Shevchenko
When IRQ domain is created for an ACPI case, the name of it becomes unknown-%d since for now it utilizes of_node member only and doesn't consider fwnode case. Convert IRQ domain creation code to utilize fwnode instead. Before/After the change on Intel Galileo Gen 2 with two GPIO (IRQ)

[PATCH STABLE 4.9] swap: fix swapfile page to sector mapping

2021-03-04 Thread Anthony Iliopoulos
commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. Fix block device sector offset calculation for swap page io on top of blockdevs that provide a rw_page operation and do page-sized io directly (without the block layer). Currently swap_page_sector() maps a swap page into a blockdev sector

[PATCH v2 1/5] irqdomain: Introduce irq_domain_create_simple() API

2021-03-04 Thread Andy Shevchenko
Linus Walleij pointed out that ird_domain_add_simple() gained additional functionality and can't be anymore replaced with a simple conditional. In preparation to upgrade GPIO library to use fwnode, introduce irq_domain_create_simple() API which is functional equivalent to the existing

[PATCH v2 2/5] gpiolib: Unify the checks on fwnode type

2021-03-04 Thread Andy Shevchenko
We have (historically) different approaches how we identify the type of a given fwnode. Let's standardize them across the library code. Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij --- drivers/gpio/gpiolib.c | 28 +--- 1 file changed, 13 insertions(+), 15

[PATCH v2 3/5] gpiolib: Move of_node operations to gpiolib-of and correct fwnode use

2021-03-04 Thread Andy Shevchenko
The initial value of the OF node based on presence of parent, but at the same time this operation somehow appeared separately from others that handle the OF case. On the other hand there is no need to assign dev->fwnode in the OF case if code properly retrieves fwnode, i.e. via dev_fwnode()

[PATCH v2 4/5] gpiolib: Introduce acpi_gpio_dev_init() and call it from core

2021-03-04 Thread Andy Shevchenko
In the ACPI case we may use the firmware node in the similar way as it's done for OF case. We may use that fwnode for other purposes in the future. Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij --- drivers/gpio/gpiolib-acpi.c | 7 +++ drivers/gpio/gpiolib-acpi.h | 4

[PATCH v2 0/5] gpiolib: switch to fwnode in the core

2021-03-04 Thread Andy Shevchenko
GPIO library uses of_node and fwnode in the core in non-unified way. The series cleans this up and improves IRQ domain creation for non-OF cases where currently the names of the domain are 'unknown'. This has been tested on Intel Galileo Gen 2. In v2: - added a new patch due to functionality in

Re: [RFC PATCH v2 00/13] Add futex2 syscall

2021-03-04 Thread Theodore Ts'o
On Wed, Mar 03, 2021 at 09:42:06PM -0300, André Almeida wrote: > ** Performance > > - For comparing futex() and futex2() performance, I used the artificial >benchmarks implemented at perf (wake, wake-parallel, hash and >requeue). The setup was 200 runs for each test and using 8, 80,

Re: [PATCH] signal: Allow RT tasks to cache one sigqueue struct

2021-03-04 Thread Thomas Gleixner
On Thu, Mar 04 2021 at 09:11, Sebastian Andrzej Siewior wrote: > On 2021-03-03 16:09:05 [-0600], Eric W. Biederman wrote: >> Sebastian Andrzej Siewior writes: >> >> > From: Thomas Gleixner >> > >> > Allow realtime tasks to cache one sigqueue in task struct. This avoids an >> > allocation which

Re: A note on the 5.12-rc1 tag

2021-03-04 Thread Geert Uytterhoeven
Hi Linus, On Thu, Mar 4, 2021 at 1:59 PM Linus Torvalds wrote: > And, as far as I know, all the normal distributions set things up with > swap partitions, not files, because honestly, swapfiles tend to be > slower and have various other complexity issues. Looks like this has changed in at least

Re: [PATCH] mmc: Try power cycling card if command request times out

2021-03-04 Thread Marten Lindahl
On Thu, Mar 04, 2021 at 03:06:54PM +0100, Ulf Hansson wrote: > On Thu, 4 Mar 2021 at 14:48, Marten Lindahl wrote: > > > > Hi Ulf! My apologies for the delay. > > > > On Tue, Mar 02, 2021 at 09:45:02AM +0100, Ulf Hansson wrote: > > > On Mon, 1 Mar 2021 at 22:59, Marten Lindahl wrote: > > > > > >

Re: [PATCH v3 1/2] dt-bindings: rng: bcm2835: document reset support

2021-03-04 Thread Álvaro Fernández Rojas
Hi Nicolas, > El 4 mar 2021, a las 14:30, Nicolas Saenz Julienne > escribió: > > On Thu, 2021-03-04 at 13:18 +0100, Álvaro Fernández Rojas wrote: >> >>> El 4 mar 2021, a las 13:07, Nicolas Saenz Julienne >>> escribió: >>> >>> Hi Alvaro, >>> >>> On Tue, 2021-02-23 at 18:00 +0100, Álvaro

Re: [PATCH v1] powerpc: Include running function as first entry in save_stack_trace() and friends

2021-03-04 Thread Mark Rutland
[adding Mark Brown] On Wed, Mar 03, 2021 at 04:20:43PM +0100, Marco Elver wrote: > On Wed, Mar 03, 2021 at 03:52PM +0100, Christophe Leroy wrote: > > Le 03/03/2021 � 15:38, Marco Elver a �crit�: > > > On Wed, 3 Mar 2021 at 15:09, Christophe Leroy > > > wrote: > > > > > > > > It seems like

Re: unexpected kernel reboot (3)

2021-03-04 Thread Jose R Rodriguez
On Mon, 2018-07-16 at 12:09 +0200, Dmitry Vyukov wrote: > On Fri, Jul 13, 2018 at 11:58 PM, Andrew Morton > wrote: > > On Fri, 13 Jul 2018 14:39:02 -0700 syzbot < > > syzbot+cce9ef2dd25246f81...@syzkaller.appspotmail.com> wrote: > > > > > Hello, > > > > > > syzbot found the following crash on:

[PATCH] net: sched: avoid duplicates in classes dump

2021-03-04 Thread Maximilian Heyne
This is a follow up of commit ea3274695353 ("net: sched: avoid duplicates in qdisc dump") which has fixed the issue only for the qdisc dump. The duplicate printing also occurs when dumping the classes via tc class show dev eth0 Fixes: 59cc1f61f09c ("net: sched: convert qdisc linked list to

Re: [PATCH v4 04/10] coresight: etm-perf: update to handle configuration selection

2021-03-04 Thread Mike Leach
Hi On Thu, 4 Mar 2021 at 14:25, Suzuki K Poulose wrote: > > On 3/4/21 2:19 PM, Mike Leach wrote: > > Hi Suzuki, > > > > On Thu, 4 Mar 2021 at 12:13, Suzuki K Poulose > > wrote: > >> > >> On 1/28/21 5:09 PM, Mike Leach wrote: > >>> Loaded coresight configurations are registered in the

Re: [PATCH mm] kfence: fix reports if constant function prefixes exist

2021-03-04 Thread Marco Elver
On Thu, 4 Mar 2021 at 15:40, Marco Elver wrote: > Some architectures prefix all functions with a constant string ('.' on > ppc64). Add ARCH_FUNC_PREFIX, which may optionally be defined in > , so that get_stack_skipnr() can work properly. > > Link: >

[PATCH 2/2] nvmem: iomap: new driver exposing NVMEM accessible using I/O mapping

2021-03-04 Thread Rafał Miłecki
From: Rafał Miłecki This is a generic NVMEM access method used e.g. by Broadcom for their NVRAM on MIPS and Northstar devices. Signed-off-by: Rafał Miłecki --- drivers/nvmem/Kconfig | 7 +++ drivers/nvmem/Makefile | 2 + drivers/nvmem/iomap.c | 99

Re: [PATCH] tracing: fix memory leaks in __create_synth_event()

2021-03-04 Thread Steven Rostedt
On Thu, 4 Mar 2021 15:15:24 +0530 Vamshi K Sthambamkadi wrote: > To fix call argv_free() even when argc=0. I want to cry :'-( Not anything to do with you. I have a set of fixes that I have queued that requires a ~13 hour test to run before I push off to Linus. When it was almost done, I

[PATCH 1/2] dt-bindings: nvmem: add binding for I/O mapped NVMEM

2021-03-04 Thread Rafał Miłecki
From: Rafał Miłecki NVMEM on some devices can be accessed using I/O mapping. For example on Broadcom MIPS and ARM Northstar platforms NVRAM can be accessed that way. Signed-off-by: Rafał Miłecki --- .../devicetree/bindings/nvmem/iomap.yaml | 29 +++ 1 file changed, 29

[PATCH mm] kfence: fix reports if constant function prefixes exist

2021-03-04 Thread Marco Elver
Some architectures prefix all functions with a constant string ('.' on ppc64). Add ARCH_FUNC_PREFIX, which may optionally be defined in , so that get_stack_skipnr() can work properly. Link: https://lkml.kernel.org/r/f036c53d-7e81-763c-47f4-6024c6c5f...@csgroup.eu Reported-by: Christophe Leroy

regression with TTY changes in v5.12-rc1

2021-03-04 Thread Pierre-Louis Bossart
Hi, Our SOF/audio CI shows an across-the-board regression when we try v5.12-rc1, specifically on pause/resume tests with an interactive terminal running 'aplay -i' commands managed by expect to simulate the user pressing the space bar to pause/unpause. It turns out the processes are not

Re: [PATCH v3 10/32] KVM: arm64: Introduce an early Hyp page allocator

2021-03-04 Thread Will Deacon
On Tue, Mar 02, 2021 at 02:59:40PM +, Quentin Perret wrote: > With nVHE, the host currently creates all stage 1 hypervisor mappings at > EL1 during boot, installs them at EL2, and extends them as required > (e.g. when creating a new VM). But in a world where the host is no > longer trusted, it

Re: [PATCH] WMI: asus: Reduce G14 and G15 match to min product name

2021-03-04 Thread Hans de Goede
Hi, On 2/27/21 11:20 AM, Luke D Jones wrote: > This patch reduces the product match for GA401 series laptops to > the minimum string required. > > The GA401 series of laptops has a lengthy list of product > variations in the 2020 series and the 2021 series refresh > is using the same base

[PATCH v2 1/4] powerpc: Enable KFENCE for PPC32

2021-03-04 Thread Christophe Leroy
Add architecture specific implementation details for KFENCE and enable KFENCE for the ppc32 architecture. In particular, this implements the required interface in . KFENCE requires that attributes for pages from its memory pool can individually be set. Therefore, force the Read/Write linear map

[PATCH v2 4/4] powerpc: Enable KFENCE on BOOK3S/64

2021-03-04 Thread Christophe Leroy
This reuses the DEBUG_PAGEALLOC logic. Tested on qemu with ppc64_defconfig + CONFIG_KFENCE + CONFIG_KUNIT + CONFIG_KFENCE_KUNIT_TEST. Signed-off-by: Christophe Leroy --- v2: New --- arch/powerpc/Kconfig | 2 +- arch/powerpc/include/asm/kfence.h | 8

[PATCH v2 2/4] powerpc/64s: Remove unneeded #ifdef CONFIG_DEBUG_PAGEALLOC in hash_utils

2021-03-04 Thread Christophe Leroy
debug_pagealloc_enabled() is always defined and constant folds to 'false' when CONFIG_DEBUG_PAGEALLOC is not enabled. Remove the #ifdefs, the code and associated static variables will be optimised out by the compiler when CONFIG_DEBUG_PAGEALLOC is not defined. Signed-off-by: Christophe Leroy

[PATCH v2 3/4] powerpc/64s: Allow double call of kernel_[un]map_linear_page()

2021-03-04 Thread Christophe Leroy
If the page is already mapped resp. already unmapped, bail out. Signed-off-by: Christophe Leroy --- v2: New --- arch/powerpc/mm/book3s64/hash_utils.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s64/hash_utils.c

Re: [PATCH v4 0/6] can: c_can: add support to 64 message objects

2021-03-04 Thread Marc Kleine-Budde
On 02.03.2021 22:54:29, Dario Binacchi wrote: > > The D_CAN controller supports up to 128 messages. Until now the driver > only managed 32 messages although Sitara processors and DRA7 SOC can > handle 64. > > The series was tested on a beaglebone board. > > Note: > I have not changed the type

Re: [PATCH 2/5] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-04 Thread Rob Herring
On Wed, Mar 3, 2021 at 10:48 PM Daniel Walker wrote: > > It looks like there's some seepage of cmdline stuff into > the generic device tree code. This conflicts with the > generic cmdline implementation so I remove it in the case > when that's enabled. > > Cc: xe-linux-exter...@cisco.com >

Re: WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb

2021-03-04 Thread syzbot
syzbot has bisected this issue to: commit 6a66a7ded12baa6ebbb2e3e82f8cb91382814839 Author: zhangyi (F) Date: Thu Feb 13 06:38:20 2020 + jbd2: move the clearing of b_modified flag to the journal_unmap_buffer() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14bd498ed0

Re: [PATCH v4 04/10] coresight: etm-perf: update to handle configuration selection

2021-03-04 Thread Suzuki K Poulose
On 3/4/21 2:19 PM, Mike Leach wrote: Hi Suzuki, On Thu, 4 Mar 2021 at 12:13, Suzuki K Poulose wrote: On 1/28/21 5:09 PM, Mike Leach wrote: Loaded coresight configurations are registered in the cs_etm\cs_config sub directory. This extends the etm-perf code to handle these registrations, and

[for-linus][PATCH 3/5] tracing: Fix help text of TRACEPOINT_BENCHMARK in Kconfig

2021-03-04 Thread Steven Rostedt
From: Rolf Eike Beer It's "cond_resched()" not "cond_sched()". Link: https://lkml.kernel.org/r/1863065.aFVDpXsuPd@devpool47 Signed-off-by: Rolf Eike Beer Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] net: mac802154: Fix null pointer dereference

2021-03-04 Thread Alexander Aring
Hi, On Thu, 4 Mar 2021 at 04:23, Pavel Skripkin wrote: ... > > > > I think this need to be: > > > > if (!IS_ERR_OR_NULL(key->tfm[i])) > > > > otherwise we still run into issues for the current iterator when > > key->tfm[i] is in range of IS_ERR(). > > Oh... I got it completly wrong, I'm sorry.

[for-linus][PATCH 5/5] ring-buffer: Add a little more information and a WARN when time stamp going backwards is detected

2021-03-04 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When the CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is enabled, and the time stamps are detected as not being valid, it reports information about the write stamp, but does not show the before_stamp which is still useful information. Also, it should give a warning

Re: [PATCH 10/11] pragma once: delete few backslashes

2021-03-04 Thread Edward Cree
On 28/02/2021 17:05, Alexey Dobriyan wrote: > From 251ca5673886b5bb0a42004944290b9d2b267a4a Mon Sep 17 00:00:00 2001 > From: Alexey Dobriyan > Date: Fri, 19 Feb 2021 13:37:24 +0300 > Subject: [PATCH 10/11] pragma once: delete few backslashes > > Some macros contain one backslash too many and end

[for-linus][PATCH 2/5] tracing: Remove duplicate declaration from trace.h

2021-03-04 Thread Steven Rostedt
From: "Yordan Karadzhov (VMware)" A declaration of function "int trace_empty(struct trace_iterator *iter)" shows up twice in the header file kernel/trace/trace.h Signed-off-by: Yordan Karadzhov (VMware) Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/trace.h | 1 - 1 file changed, 1

[for-linus][PATCH 1/5] ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount

2021-03-04 Thread Steven Rostedt
From: Chen Jun On little endian system, Use aarch64_be(gcc v7.3) downloaded from linaro.org to build image with CONFIG_CPU_BIG_ENDIAN = y, CONFIG_FTRACE = y, CONFIG_DYNAMIC_FTRACE = y. gcc will create symbols of _mcount but recordmcount can not create mcount_loc for *.o.

[for-linus][PATCH 0/5] Tracing fixes for 5.12:

2021-03-04 Thread Steven Rostedt
Functional fixes: - Fix big endian conversion for arg64 in recordmcount processing - Fix timestamp corruption in ring buffer on discarding events Non-functional fixes: - Fix help text working in Kconfig - Remove duplicate prototype for trace_empty() Self test update: - Add more

[for-linus][PATCH 4/5] ring-buffer: Force before_stamp and write_stamp to be different on discard

2021-03-04 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Part of the logic of the new time stamp code depends on the before_stamp and the write_stamp to be different if the write_stamp does not match the last event on the buffer, as it will be used to calculate the delta of the next event written on the buffer. The

Re: [PATCH v4 04/10] coresight: etm-perf: update to handle configuration selection

2021-03-04 Thread Mike Leach
Hi Suzuki, On Thu, 4 Mar 2021 at 12:13, Suzuki K Poulose wrote: > > On 1/28/21 5:09 PM, Mike Leach wrote: > > Loaded coresight configurations are registered in the cs_etm\cs_config sub > > directory. This extends the etm-perf code to handle these registrations, > > and the cs_syscfg driver to

[PATCH] net: mellanox: mlx5: fix error return code in mlx5_fpga_device_start()

2021-03-04 Thread Jia-Ju Bai
When mlx5_is_fpga_lookaside() returns a non-zero value, no error return code is assigned. To fix this bug, err is assigned with -EINVAL as error return code. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c | 4 +++- 1 file changed, 3

Re: [RFC PATCH v1] powerpc: Enable KFENCE for PPC32

2021-03-04 Thread Marco Elver
On Thu, 4 Mar 2021 at 15:08, Christophe Leroy wrote: > > > > Le 04/03/2021 à 13:48, Marco Elver a écrit : > > From d118080eb9552073f5dcf1f86198f3d86d5ea850 Mon Sep 17 00:00:00 2001 > > From: Marco Elver > > Date: Thu, 4 Mar 2021 13:15:51 +0100 > > Subject: [PATCH] kfence: fix reports if

Re: [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide ZONE_DMA

2021-03-04 Thread Greg KH
On Thu, Mar 04, 2021 at 03:05:32PM +0100, Nicolas Saenz Julienne wrote: > Hi Greg. > > On Thu, 2021-03-04 at 14:46 +0100, Greg KH wrote: > > On Wed, Mar 03, 2021 at 03:33:12PM +0800, Jing Xiangfeng wrote: > > > Using two distinct DMA zones turned out to be problematic. Here's an > > > attempt go

Re: [PATCH v1] platform: x86: ACPI: Get rid of ACPICA message printing

2021-03-04 Thread Rafael J. Wysocki
On Thu, Mar 4, 2021 at 3:14 PM Hans de Goede wrote: > > Hi, > > On 2/24/21 7:41 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > A few x86 platform drivers use ACPI_DEBUG_PRINT() or ACPI_EXCEPTION() > > for printing messages, but that is questionable, because those macros > >

Re: [PATCH] clocksource: don't run watchdog forever

2021-03-04 Thread Thomas Gleixner
Feng, On Thu, Mar 04 2021 at 15:43, Feng Tang wrote: > On Wed, Mar 03, 2021 at 04:50:31PM +0100, Thomas Gleixner wrote: >> Anything pre TSC_ADJUST wants the watchdog on. With TSC ADJUST available >> we can probably avoid it. >> >> There is a caveat though. If the machine never goes idle then TSC

Re: [PATCH v1] platform: x86: ACPI: Get rid of ACPICA message printing

2021-03-04 Thread Hans de Goede
Hi, On 2/24/21 7:41 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > A few x86 platform drivers use ACPI_DEBUG_PRINT() or ACPI_EXCEPTION() > for printing messages, but that is questionable, because those macros > belong to ACPICA and they should not be used elsewhere. In addition, >

Re: [tip: objtool/core] objtool: Parse options from OBJTOOL_ARGS

2021-03-04 Thread Peter Zijlstra
On Wed, Mar 03, 2021 at 08:45:31AM -, tip-bot2 for Peter Zijlstra wrote: > The following commit has been merged into the objtool/core branch of tip: > > Commit-ID: b52eb21aeca75790869c26b91b1d7b80b3946430 > Gitweb: >

Re: [PATCH v2] amba: Remove deferred device addition

2021-03-04 Thread Russell King - ARM Linux admin
On Wed, Mar 03, 2021 at 08:08:44PM -0800, Saravana Kannan wrote: > Marek, > > I tested it and saw the device get added before the resources were > available and the uevent file looked okay. Would you mind testing it > further? To put it bluntly, if you have tested this, the testing was not very

Re: [RFC PATCH v1] powerpc: Enable KFENCE for PPC32

2021-03-04 Thread Christophe Leroy
Le 04/03/2021 à 13:48, Marco Elver a écrit : From d118080eb9552073f5dcf1f86198f3d86d5ea850 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Thu, 4 Mar 2021 13:15:51 +0100 Subject: [PATCH] kfence: fix reports if constant function prefixes exist Some architectures prefix all functions with a

[PATCH v1 1/1] mtd: spi-nor: intel-spi: Move platform data header to x85 subfolder

2021-03-04 Thread Andy Shevchenko
In order to group x86 related platform data move intel-spi.h to x85 folder. While at it, remove duplicate inclusion in C file. Signed-off-by: Andy Shevchenko --- drivers/mtd/spi-nor/controllers/intel-spi.c | 1 - drivers/mtd/spi-nor/controllers/intel-spi.h | 2 +-

Re: [PATCH v3 07/32] KVM: arm64: Introduce a BSS section for use at Hyp

2021-03-04 Thread Will Deacon
On Tue, Mar 02, 2021 at 02:59:37PM +, Quentin Perret wrote: > Currently, the hyp code cannot make full use of a bss, as the kernel > section is mapped read-only. > > While this mapping could simply be changed to read-write, it would > intermingle even more the hyp and kernel state than they

[PATCH v3 0/8] V4L2 stateless VP8 de-staging

2021-03-04 Thread Ezequiel Garcia
After close scrutiny of the VP8 specification, it seems the VP8 stateless API is ready. This series contains a series of clean-ups and improvement: renaming symbols for consistency, documenting things for clarity, and then moves the control to proper V4L2 headers. It must be noted that, unlike

[PATCH v3 8/8] media: uapi: move VP8 stateless controls out of staging

2021-03-04 Thread Ezequiel Garcia
Until now, the VP8 V4L2 API was not exported as a public API, and only defined in a private media header (media/vp8-ctrls.h). The reason for this was a concern about the API not complete and ready to support VP8 decoding hardware accelerators. After reviewing the VP8 specification in detail, and

[PATCH v3 3/8] media: uapi: vp8: Add proper kernel-doc documentation

2021-03-04 Thread Ezequiel Garcia
In preparation for making the interface public, document all the structures. Signed-off-by: Ezequiel Garcia --- include/media/vp8-ctrls.h | 99 +++ 1 file changed, 99 insertions(+) diff --git a/include/media/vp8-ctrls.h b/include/media/vp8-ctrls.h index

[PATCH v3 5/8] media: uapi: Move the VP8 stateless control type out of staging

2021-03-04 Thread Ezequiel Garcia
Move the VP8 stateless control types out of staging, and re-number it to avoid any confusion. Signed-off-by: Ezequiel Garcia --- include/media/vp8-ctrls.h | 1 - include/uapi/linux/videodev2.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/media/vp8-ctrls.h

[PATCH v3 7/8] media: vp8: Rename V4L2 VP8 specific macro to V4L2_VP8_

2021-03-04 Thread Ezequiel Garcia
Before we move the VP8 controls to a stable public header, rename this macro so it's clearly V4L2-specific. Signed-off-by: Ezequiel Garcia --- drivers/staging/media/hantro/hantro_g1_vp8_dec.c | 6 +++--- drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c | 6 +++---

[PATCH v3 2/8] media: uapi: vp8: Rename v4l2_vp8_loopfilter to v4l2_vp8_loop_filter

2021-03-04 Thread Ezequiel Garcia
Rename to struct v4l2_vp8_loop_filter, which is closer to the VP8 syntax. This change is only cosmetics, but since this API is exposed to userspace, it's worth the trouble to get it consistent. Signed-off-by: Ezequiel Garcia --- .../userspace-api/media/v4l/ext-ctrls-codec.rst | 12

[PATCH v3 6/8] media: controls: Log VP8 stateless control in .std_log

2021-03-04 Thread Ezequiel Garcia
Simply print the type of the control. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-ctrls.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 49bbc06d2bb3..658621b961d5 100644 ---

[PATCH v3 4/8] media: uapi: Move parsed VP8 pixel format out of staging

2021-03-04 Thread Ezequiel Garcia
Since we are ready to stabilize the VP8 stateless API, move the parsed VP8 pixel format. Signed-off-by: Ezequiel Garcia --- Documentation/userspace-api/media/v4l/pixfmt-compressed.rst | 5 - include/media/vp8-ctrls.h | 2 -- include/uapi/linux/videodev2.h

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