[PATCH 1/2] quota: Add mountpath based quota support

2021-03-04 Thread Sascha Hauer
Add syscall quotactl_path, a variant of quotactl which allows to specify the mountpath instead of a path of to a block device. The quotactl syscall expects a path to the mounted block device to specify the filesystem to work on. This limits usage to filesystems which actually have a block device.

[PATCH v3 0/2] quota: Add mountpath based quota support

2021-03-04 Thread Sascha Hauer
Current quotactl syscall uses a path to a block device to specify the filesystem to work on which makes it unsuitable for filesystems that do not have a block device. This series adds a new syscall quotactl_path() which replaces the path to the block device with a mountpath, but otherwise behaves l

Re: [PATCH 1/2] units: Add the HZ_PER_KHZ macro

2021-03-04 Thread Daniel Lezcano
Hi Andrew, On 04/03/2021 01:31, Andrew Morton wrote: > On Wed, 24 Feb 2021 10:39:36 +0200 Andy Shevchenko > wrote: > >> On Wednesday, February 24, 2021, Andy Shevchenko >> wrote: >> >>> >>> >>> On Tuesday, February 23, 2021, Daniel Lezcano >>> wrote: >>> The macro for the unit conversi

Re: A note on the 5.12-rc1 tag

2021-03-04 Thread Pavel Machek
Hi! > Hey peeps - some of you may have already noticed that in my public git > tree, the "v5.12-rc1" tag has magically been renamed to > "v5.12-rc1-dontuse". It's still the same object, it still says > "v5.12-rc1" internally, and it is still is signed by me, but the > user-visible name of the tag

[PATCH] kexec: Add kexec reboot string

2021-03-04 Thread Paul Menzel
From: Joe LeVeque The purpose is to notify the kernel module for fast reboot. Upstream a patch from the SONiC network operating system [1]. [1]: https://github.com/Azure/sonic-linux-kernel/pull/46 Signed-off-by: Paul Menzel --- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: [PATCHv2 1/1] HID: ft260: add usb hid to i2c host bridge driver

2021-03-04 Thread Michael Zaidman
On Thu, Mar 04, 2021 at 11:14:06AM +, Aaron Jones wrote: > From: Aaron Jones(FTDI-UK) > > On Fri, Feb 19, 2021 at 06:36:44PM +0200, Michael Zaidman wrote: > > The FTDI FT260 chip implements USB to I2C/UART bridges through two > > USB HID class interfaces. The first - for I2C, and the second f

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

2021-03-04 Thread Marco Elver
On Thu, Mar 04, 2021 at 12:48PM +0100, Christophe Leroy wrote: > Le 04/03/2021 à 12:31, Marco Elver a écrit : > > On Thu, 4 Mar 2021 at 12:23, Christophe Leroy > > wrote: > > > Le 03/03/2021 à 11:56, Marco Elver a écrit : > > > > > > > > Somewhat tangentially, I also note that e.g. show_regs(regs

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

2021-03-04 Thread Christophe Leroy
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 have done this and could have easily been phased out. Nothing that was

[PATCH] devfreq: Register devfreq as a cooling device

2021-03-04 Thread Daniel Lezcano
Currently the default behavior is to manually having the devfreq backend to register themselves as a devfreq cooling device. There are no so many and actually it makes more sense to register the devfreq device when adding it. Consequently, every devfreq becomes a cooling device like cpufreq is.

[PATCH v5] media: add a subsystem profile documentation

2021-03-04 Thread Mauro Carvalho Chehab
Document the basic policies of the media subsystem profile. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/media/index.rst | 2 + .../media/maintainer-entry-profile.rst| 206 ++ .../maintainer/maintainer-entry-profile.rst | 1 + 3 files chang

[PATCH] media: add a subsystem profile documentation

2021-03-04 Thread Mauro Carvalho Chehab
Document the basic policies of the media subsystem profile. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/media/index.rst | 2 + .../media/maintainer-entry-profile.rst| 206 ++ .../maintainer/maintainer-entry-profile.rst | 1 + 3 files chang

Re: [PATCH v3 0/5] Reset driver for IMX8MQ VPU hardware block

2021-03-04 Thread Adam Ford
On Wed, Mar 3, 2021 at 5:24 PM Philipp Zabel wrote: > > On Wed, 2021-03-03 at 16:20 +0100, Benjamin Gaignard wrote: > > Le 03/03/2021 à 15:17, Philipp Zabel a écrit : > > > Hi Benjamin, > > > > > > On Mon, 2021-03-01 at 16:17 +0100, Benjamin Gaignard wrote: > > > > The two VPUs inside IMX8MQ share

Re: [PATCH v4 04/15] Documentation: add BCM6328 pincontroller binding documentation

2021-03-04 Thread Michael Walle
Am 2021-03-04 09:56, schrieb Álvaro Fernández Rojas: Add binding documentation for the pincontrol core found in BCM6328 SoCs. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski btw. the subject should (preferably) be prefixed with "dt-bindings:". See Documentation/devicetree

drivers/power/supply/z2_battery.c:93:26: warning: variable 'info' set but not used

2021-03-04 Thread kernel test robot
weeks ago config: arm-randconfig-r025-20210304 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: drm/ttm: ttm_bo_release called without lock

2021-03-04 Thread Gerd Hoffmann
On Thu, Mar 04, 2021 at 08:42:55AM +0100, Thomas Zimmermann wrote: > (cc'ing Gerd) > > This might be related to the recent clean-up patches for the BO handling in > qxl. Yes, it is. Fixed in drm-misc-next, cherry-picked into drm-misc-fixes, hopefully lands in -rc2. take care, Gerd

Re: [PATCH v3 RFC 14/14] mm: speedup page alloc for MPOL_PREFERRED_MANY by adding a NO_SLOWPATH gfp bit

2021-03-04 Thread Michal Hocko
On Wed 03-03-21 09:22:50, Ben Widawsky wrote: > On 21-03-03 18:14:30, Michal Hocko wrote: > > On Wed 03-03-21 08:31:41, Ben Widawsky wrote: > > > On 21-03-03 14:59:35, Michal Hocko wrote: > > > > On Wed 03-03-21 21:46:44, Feng Tang wrote: > > > > > On Wed, Mar 03, 2021 at 09:18:32PM +0800, Tang, Fe

Re: [PATCH v3 RFC 14/14] mm: speedup page alloc for MPOL_PREFERRED_MANY by adding a NO_SLOWPATH gfp bit

2021-03-04 Thread Michal Hocko
On Thu 04-03-21 16:14:14, Feng Tang wrote: > On Wed, Mar 03, 2021 at 09:22:50AM -0800, Ben Widawsky wrote: > > On 21-03-03 18:14:30, Michal Hocko wrote: > > > On Wed 03-03-21 08:31:41, Ben Widawsky wrote: > > > > On 21-03-03 14:59:35, Michal Hocko wrote: > > > > > On Wed 03-03-21 21:46:44, Feng Tan

Re: [PATCH v2 05/12] lib: bitmap: remove the 'extern' keyword from function declarations

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 04, 2021 at 11:24:45AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The 'extern' keyword doesn't have any benefits in header files. Remove it. Reviewed-by: Andy Shevchenko A few nitpicks below. > Signed-off-by: Bartosz Golaszewski > --- > include/linux/bitmap

Re: [PATCH v2 06/12] lib: bitmap: order includes alphabetically

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 04, 2021 at 11:24:46AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > For better readability and maintenance: order the includes in bitmap > source files alphabetically. Reviewed-by: Andy Shevchenko > Signed-off-by: Bartosz Golaszewski > --- > include/linux/bit

Re: [PATCH v2 07/12] lib: bitmap: provide devm_bitmap_alloc() and devm_bitmap_zalloc()

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 04, 2021 at 11:24:47AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Provide managed variants of bitmap_alloc() and bitmap_zalloc(). Reviewed-by: Andy Shevchenko A few nit-picks below. > Signed-off-by: Bartosz Golaszewski > --- > include/linux/bitmap.h | 10 ++

Re: [EXT] Re: [PATCH v7 3/9] media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder

2021-03-04 Thread Hans Verkuil
On 22/02/2021 20:09, Mirela Rabulea wrote: > Hi Hans, > appologies for my late response, please see below 2 comments. Replies below: > > On Tue, 2021-01-19 at 11:31 +0100, Hans Verkuil wrote: >> Caution: EXT Email >> >> On 11/01/2021 20:28, Mirela Rabulea wrote: >>> From: Mirela Rabulea >>> >>>

Re: next/master bisection: baseline.login on rk3399-gru-kevin

2021-03-04 Thread Greg Kroah-Hartman
on features on kernelci.org but this one > looks valid. > > The boot log shows a kernel panic with a NULL pointer > dereference: > > > https://storage.kernelci.org/next/master/next-20210304/arm64/defconfig/gcc-8/lab-collabora/baseline-rk3399-gru-kevin.html#L673 Well known i

Lockdep report for hci_conn_get_phy()

2021-03-04 Thread Jiri Kosina
Hi, I am getting the lockdep splat below with current Linus' tree (5.12-rc1). I haven't yet analyzed the dependency chain and the code, but sending out early in case someone has seen this before and analyzed / fixed it already. Thanks. ==

Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API

2021-03-04 Thread Clemens Gruber
Hi Uwe, On Mon, Mar 01, 2021 at 10:41:15PM +0100, Uwe Kleine-König wrote: > On Thu, Dec 17, 2020 at 12:10:10PM -0500, Sven Van Asbroeck wrote: > > On Thu, Dec 17, 2020 at 11:48 AM Clemens Gruber > > wrote: > > > > > > I can initialize the values to 0 of course and check the file for other > > > p

Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API

2021-03-04 Thread Clemens Gruber
Hi Uwe, On Mon, Mar 01, 2021 at 10:44:07PM +0100, Uwe Kleine-König wrote: > Hello Clemens, > > On Tue, Dec 15, 2020 at 10:22:22PM +0100, Clemens Gruber wrote: > > + if (state->polarity != PWM_POLARITY_NORMAL) > > + return -EOPNOTSUPP; > > We agreed on -EINVAL for that one since 2b1c1

Re: futex breakage in 4.9 stable branch

2021-03-04 Thread Greg Kroah-Hartman
On Thu, Mar 04, 2021 at 10:12:56AM +0100, Mike Galbraith wrote: > On Mon, 2021-03-01 at 18:29 +0100, Ben Hutchings wrote: > > On Mon, Mar 01, 2021 at 09:07:03AM +0100, Greg Kroah-Hartman wrote: > > > On Mon, Mar 01, 2021 at 01:13:08AM +0100, Ben Hutchings wrote: > > > > On Tue, 2021-02-23 at 15:00

Re: [PATCH v2 09/12] gpio: sim: new testing module

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 04, 2021 at 11:24:49AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Implement a new, modern GPIO testing module controlled by configfs > attributes instead of module parameters. The goal of this driver is > to provide a replacement for gpio-mockup that will be eas

Re: [PATCH v5 4/7] pwm: pca9685: Reset registers to POR state in probe

2021-03-04 Thread Clemens Gruber
On Mon, Mar 01, 2021 at 10:46:33PM +0100, Uwe Kleine-König wrote: > Hello Clemens, > > On Tue, Dec 15, 2020 at 10:22:25PM +0100, Clemens Gruber wrote: > > Reset the prescale and ON/OFF registers to their POR default state in > > the probe function. Otherwise, the PWMs could still be active after a

Re: Broken kretprobe stack traces

2021-03-04 Thread Masami Hiramatsu
On Wed, 3 Mar 2021 09:26:04 -0500 Steven Rostedt wrote: > On Wed, 3 Mar 2021 13:48:28 +0900 > Masami Hiramatsu wrote: > > > > > > > > > I think (can't prove) this used to work: > > Would be good to find out if it did. > > > > > I'm not sure the bpftrace had correctly handled it or not. >

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

2021-03-04 Thread Yang Weijiang
On Thu, Mar 04, 2021 at 10:50:10AM +0100, Vitaly Kuznetsov wrote: > Yang Weijiang writes: > > > These fields are rarely updated by L1 QEMU/KVM, sync them when L1 is trying > > to > > read/write them and after they're changed. If CET guest entry-load bit is > > not > > set by L1 guest, migrate t

[PATCH] hid: hid-alps: fix error return code in alps_input_configured()

2021-03-04 Thread Jia-Ju Bai
When input_register_device() fails, no error return code is assigned. To fix this bug, ret is assigned with -ENOENT as error return code. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/hid/hid-alps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-alps.c b/dri

[PATCH] sh: remove duplicate include in tlb.h

2021-03-04 Thread menglong8 . dong
From: Zhang Yunkai 'asm-generic/tlb.h' included in 'asm/tlb.h' is duplicated. Signed-off-by: Zhang Yunkai --- arch/sh/include/asm/tlb.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/sh/include/asm/tlb.h b/arch/sh/include/asm/tlb.h index 360f713d009b..aeb89

Re: [PATCH v5 2/7] pwm: pca9685: Support hardware readout

2021-03-04 Thread Clemens Gruber
Hi Uwe, On Mon, Mar 01, 2021 at 10:52:48PM +0100, Uwe Kleine-König wrote: > Hello, > > On Mon, Feb 01, 2021 at 06:24:02PM +0100, Clemens Gruber wrote: > > Hi Sven, Thierry, Uwe, > > > > On Fri, Jan 29, 2021 at 05:16:51PM -0500, Sven Van Asbroeck wrote: > > > Hi Clemens, > > > > > > On Fri, Jan

Re: futex breakage in 4.9 stable branch

2021-03-04 Thread Mike Galbraith
On Thu, 2021-03-04 at 14:11 +0100, Greg Kroah-Hartman wrote: > On Thu, Mar 04, 2021 at 10:12:56AM +0100, Mike Galbraith wrote: > > > futex: fix 4.4-stable 34c8e1c2c025 backport inspired lockdep complaint > > > > 1. 34c8e1c2c025 "futex: Provide and use pi_state_update_owner()" was > > backported >

Re: A note on the 5.12-rc1 tag

2021-03-04 Thread Krzysztof Kozlowski
On 04/03/2021 13:43, Pavel Machek wrote: >> One additional reason for this note is that I want to not just warn >> people to not run this if you have a swapfile - even if you are >> personally not impacted (like I am, and probably most people are - >> swap partitions all around) - I want to make su

Re: [PATCH 5.10 491/663] USB: serial: option: update interface mapping for ZTE P685M

2021-03-04 Thread Greg Kroah-Hartman
On Thu, Mar 04, 2021 at 12:58:19AM +0100, Lech Perczak wrote: > Hi, > > On 2021-03-01 at 17:12, Greg Kroah-Hartman wrote: > > From: Lech Perczak > > > > commit 6420a569504e212d618d4a4736e2c59ed80a8478 upstream. > > > > This patch prepares for qmi_wwan driver support for the device. > > Previous

Re: [PATCH v3 2/2] platform/x86: hp-wmi: add platform profile support

2021-03-04 Thread Hans de Goede
Hi, On 2/21/21 11:13 PM, Elia Devito wrote: > Implement support for cool, balanced and performance thermal profile > > Signed-off-by: Elia Devito > --- > the "quiet" profile will be implemented with a further patch > > v2: added platform_profile_remove() missing call > v3: apply Barnabás sugges

Re: [PATCH 1/2] platform/x86: hp-wmi: rename "thermal policy" to "thermal profile"

2021-03-04 Thread Hans de Goede
Hi, On 2/21/21 10:02 PM, Elia Devito wrote: > rename "thermal policy" with the more appropriate term "thermal profile" > > Signed-off-by: Elia Devito Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drive

Re: [PATCH 4.9.y] arm: kprobes: Allow to handle reentered kprobe on single-stepping

2021-03-04 Thread Greg KH
On Wed, Mar 03, 2021 at 09:18:27PM +0900, Masami Hiramatsu wrote: > Hi ShaoBo, > > Thanks for backporting and real bug report! > > On Wed, 3 Mar 2021 15:10:52 +0800 > ShaoBo Huang wrote: > > > From: Masami Hiramatsu > > > > commit f3fbd7ec62dec1528fb8044034e2885f2b257941 upstream > > > > Thi

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

2021-03-04 Thread Nicolas Saenz Julienne
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 Fernández Rojas wrote: > > > Some devices may need to perform a reset before using the RN

Re: [PATCH] platform/x86: Switch to using the new API kobj_to_dev()

2021-03-04 Thread Hans de Goede
Hi, On 2/22/21 8:00 AM, Yang Li wrote: > fixed the following coccicheck: > ./drivers/platform/x86/ideapad-laptop.c:523:60-61: WARNING opportunity > for kobj_to_dev() > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Patch does not apply, please resend it rebased on the latest pdx86/for-nex

Re: [PATCH 1/8] gpio: Add Elba SoC gpio driver for spi cs control

2021-03-04 Thread Linus Walleij
On Thu, Mar 4, 2021 at 10:10 AM Serge Semin wrote: > On Thu, Mar 04, 2021 at 09:29:33AM +0100, Linus Walleij wrote: > > > + * pin: 32| 10 > > > + * bit: 7--6--5--4|---3--2--1--0 > > > + * cs1 cs1_ov

Re: [PATCH v3 0/6] Introduce intel_skl_int3472 module

2021-03-04 Thread Hans de Goede
Hi, On 2/22/21 2:07 PM, Daniel Scally wrote: > v1 for this series was originally 14-18 of this series: > https://lore.kernel.org/linux-media/20201130133129.1024662-1-djrsca...@gmail.com/T/#m91934e12e3d033da2e768e952ea3b4a125ee3e67 > > v2 was here: > https://lore.kernel.org/platform-driver-x86/202

Re: [PATCH v3 04/32] KVM: arm64: Initialize kvm_nvhe_init_params early

2021-03-04 Thread Will Deacon
On Tue, Mar 02, 2021 at 02:59:34PM +, Quentin Perret wrote: > Move the initialization of kvm_nvhe_init_params in a dedicated function > that is run early, and only once during KVM init, rather than every time > the KVM vectors are set and reset. > > This also opens the opportunity for the hype

Re: [PATCH 2/4] ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42 companion codec.

2021-03-04 Thread Takashi Iwai
On Wed, 03 Mar 2021 19:29:57 +0100, Vitaly Rodionov wrote: > > +static const struct hda_verb cs8409_cs42l42_init_verbs[] = { > + { 0x01, AC_VERB_SET_POWER_STATE, 0x },/* AFG: D0 */ I guess this power state change is superfluous. The AFG node is already powered up when the codec probe

Re: [PATCH] btrfs: Assign boolean values to a bool variable

2021-03-04 Thread David Sterba
On Wed, Mar 03, 2021 at 05:45:28PM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./fs/btrfs/volumes.c:1462:10-11: WARNING: return of 0/1 in function > 'dev_extent_hole_check_zoned' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Add

Re: [PATCH V3 XRT Alveo 13/18] fpga: xrt: devctl platform driver

2021-03-04 Thread Tom Rix
On 2/17/21 10:40 PM, Lizhi Hou wrote: > Add devctl driver. devctl is a type of hardware function which only has > few registers to read or write. They are discovered by walking firmware > metadata. A platform device node will be created for them. > > Signed-off-by: Sonal Santan > Signed-off-by:

Re: [PATCH v1 4/4] gpiolib: Reuse device's fwnode to create IRQ domain

2021-03-04 Thread Rafael J. Wysocki
On Thu, Mar 4, 2021 at 1:25 PM Andy Shevchenko wrote: > > On Thu, Mar 04, 2021 at 09:06:08AM +0100, Linus Walleij wrote: > > On Wed, Mar 3, 2021 at 10:35 AM Andy Shevchenko > > wrote: > > > On Wed, Mar 03, 2021 at 10:22:02AM +0100, Linus Walleij wrote: > > > > > > But this: > > > > > > > > > @@ -

Re: [PATCH] crypto: qat - fix use of 'dma_map_single'

2021-03-04 Thread Dan Carpenter
Hi Hui, url: https://github.com/0day-ci/linux/commits/Hui-Tang/crypto-qat-fix-use-of-dma_map_single/20210301-114717 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master config: i386-randconfig-m021-20210304 (attached as .config) compiler: gcc-9 (Debian

Re: [PATCH] platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2

2021-03-04 Thread Hans de Goede
Hi, On 2/22/21 3:15 PM, Alban Bedel wrote: > Like a few other system the Lenovo ThinkPad X1 Tablet Gen 2 miss the > HEBC method, which prevent the power button from working. Add a quirk > to enable the button array on this system family and fix the power > button. > > Signed-off-by: Alban Bedel

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

2021-03-04 Thread Greg KH
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 back to a saner default. What problem does this solve? How does this fit into the stable kernel rules? thanks, greg k-h

Re: [PATCH 3/4] ALSA: hda/cirrus: Add jack detect interrupt support from CS42L42 companion codec.

2021-03-04 Thread Takashi Iwai
On Wed, 03 Mar 2021 19:29:58 +0100, Vitaly Rodionov wrote: > @@ -1243,6 +1258,8 @@ static int patch_cs4213(struct hda_codec *codec) > #define CIR_I2C_QWRITE 0x005D > #define CIR_I2C_QREAD0x005E > > +static struct mutex cs8409_i2c_mux; Any reason that this must be the global mutex

fscache: Redesigning the on-disk cache - LRU handling

2021-03-04 Thread David Howells
David Howells wrote: > > (3) OpenAFS-style format. One index file to look up {file_key,block#} and an > array of data files, each holding one block (e.g. a 256KiB-aligned chunk > of a file). Each index entry has valid start/end offsets for easy > truncation. > > The index

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

2021-03-04 Thread Lukasz Luba
Hi Daniel, On 3/4/21 12:50 PM, Daniel Lezcano wrote: Currently the default behavior is to manually having the devfreq backend to register themselves as a devfreq cooling device. There are no so many and actually it makes more sense to register the devfreq device when adding it. Consequently, e

Re: [PATCH 1/4] platform/x86: simatic-ipc: add main driver for Siemens devices

2021-03-04 Thread Hans de Goede
Hi, On 3/4/21 11:11 AM, Andy Shevchenko wrote: > On Thu, Mar 4, 2021 at 8:36 AM Henning Schild > wrote: >> >> From: Henning Schild >> >> This mainly implements detection of these devices and will allow >> secondary drivers to work on such machines. >> >> The identification is DMI-based with a ve

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

2021-03-04 Thread Marten Lindahl
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: > > > > Hi Ulf! > > > > Thank you for your comments! > > > > On Mon, Mar 01, 2021 at 09:50:56AM +0100, Ulf Hansson wrote: > > > + Adrian > > > > >

Re: [PATCH 4/4] ALSA: hda/cirrus: Add Headphone and Headset MIC Volume Control

2021-03-04 Thread Takashi Iwai
On Wed, 03 Mar 2021 19:29:59 +0100, Vitaly Rodionov wrote: > > +static int cs8409_cs42l42_volume_get(struct snd_kcontrol *kcontrol, > + struct snd_ctl_elem_value *ucontrol) > +{ > + struct hda_codec *codec = snd_kcontrol_chip(kcontrol); > + hda_nid_t nid = get_

Re: [PATCH v3 0/6] Introduce intel_skl_int3472 module

2021-03-04 Thread Daniel Scally
Hi Hans On 04/03/2021 13:37, Hans de Goede wrote: > Hi, > > On 2/22/21 2:07 PM, Daniel Scally wrote: >> v1 for this series was originally 14-18 of this series: >> https://lore.kernel.org/linux-media/20201130133129.1024662-1-djrsca...@gmail.com/T/#m91934e12e3d033da2e768e952ea3b4a125ee3e67 >> >> v2

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

2021-03-04 Thread Ulf Hansson
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 with data transfer but this memory

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-03-04 Thread Cornelia Huck
On Thu, 4 Mar 2021 16:24:16 +0800 Jason Wang wrote: > On 2021/3/3 4:29 下午, Cornelia Huck wrote: > > On Wed, 3 Mar 2021 12:01:01 +0800 > > Jason Wang wrote: > > > >> On 2021/3/2 8:08 下午, Cornelia Huck wrote: > >>> On Mon, 1 Mar 2021 11:51:08 +0800 > >>> Jason Wang wrote: > >>> > On

Re: [PATCH v2 1/1] mmc: cqhci: fix random crash when remove mmc module

2021-03-04 Thread Ulf Hansson
On Wed, 3 Mar 2021 at 18:42, Frank Li wrote: > > [ 6684.493350] Unable to handle kernel paging request at virtual address > 800011c5b0f0 > [ 6684.498531] mmc0: card 0001 removed > [ 6684.501556] Mem abort info: > [ 6684.509681] ESR = 0x9647 > [ 6684.512786] EC = 0x25: DABT (current EL

Re: [PATCH v2 2/2] fpga: Add support for Xilinx DFX AXI Shutdown manager

2021-03-04 Thread Tom Rix
On 2/10/21 9:11 PM, Nava kishore Manne wrote: > This patch adds support for Xilinx Dynamic Function eXchange(DFX) AXI > shutdown manager IP. It can be used to safely handling the AXI traffic > on a Reconfigurable Partition when it is undergoing dynamic reconfiguration > and there by preventing sy

Re: [RFC PATCH v8] sched/fair: select idle cpu from idle cpumask for task wakeup

2021-03-04 Thread Li, Aubrey
Hi Peter, On 2020/12/11 23:07, Vincent Guittot wrote: > On Thu, 10 Dec 2020 at 02:44, Aubrey Li wrote: >> >> Add idle cpumask to track idle cpus in sched domain. Every time >> a CPU enters idle, the CPU is set in idle cpumask to be a wakeup >> target. And if the CPU is not in idle, the CPU is cle

Re: [PATCH v2 1/2] dt-bindings: fpga: Add compatible value for Xilinx DFX AXI shutdown manager

2021-03-04 Thread Tom Rix
On 2/10/21 9:11 PM, Nava kishore Manne wrote: > This patch Adds compatible value for Xilinx Dynamic Function eXchnage(DFX) > AXI Shutdown manager IP. > > Signed-off-by: Nava kishore Manne > --- > Changes for v2: > -Modified the doc and added DFX axi shutdown manager node >

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

2021-03-04 Thread Willem de Bruijn
On Thu, Mar 4, 2021 at 1:41 AM Xuesen Huang wrote: > > From: Xuesen Huang > > bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets > encapsulation. But that is not appropriate when pushing Ethernet header. > > Add an option to further specify encap L2 type and set the inner_pr

RE: [PATCH 00/11] pragma once: treewide conversion

2021-03-04 Thread David Laight
> (a) the traditional include guard optimization HAS NO HIDDEN SEMANTIC > MEANING. It's a pure optimization that doesn't actually change > anything else. If you don't do the optimization, absolutely nothing > changes. And if the parser is well written the optimisation is probably irrelevant compa

Re: [PATCH v9 6/9] crypto: Add NIST P384 curve parameters

2021-03-04 Thread Stefan Berger
On 3/4/21 12:28 AM, Herbert Xu wrote: On Thu, Feb 25, 2021 at 11:07:59AM -0500, Stefan Berger wrote: From: Saulo Alessandre * crypto/ecc_curve_defs.h - add nist_p384 params * include/crypto/ecdh.h - add ECC_CURVE_NIST_P384 Signed-off-by: Saulo Alessandre Tested-by: Stefan Berger ---

Re: [PATCH] selftests_bpf: extend test_tc_tunnel test with vxlan

2021-03-04 Thread Willem de Bruijn
On Thu, Mar 4, 2021 at 1:42 AM Xuesen Huang wrote: > > From: Xuesen Huang > > Add BPF_F_ADJ_ROOM_ENCAP_L2_ETH flag to the existing tests which > encapsulates the ethernet as the inner l2 header. > > Update a vxlan encapsulation test case. > > Signed-off-by: Xuesen Huang > Signed-off-by: Li Wang

[PATCH] staging: media: omap4iss: fix error return code in iss_probe()

2021-03-04 Thread Jia-Ju Bai
When omap4iss_get() returns NULL, no error return code is assigned. To fix this bug, ret is assigned with -EINVAL as error return code. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/staging/media/omap4iss/iss.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/4] platform/x86: simatic-ipc: add main driver for Siemens devices

2021-03-04 Thread Hans de Goede
Hi, On 3/2/21 5:33 PM, Henning Schild wrote: > +static inline u32 simatic_ipc_get_station_id(u8 *data) > +{ > + u32 station_id = SIMATIC_IPC_INVALID_STATION_ID; > + int i; > + struct { > + u8 type; /* type (0xff = binary) */ > + u8 len;

Re: [RFC PATCH v2 00/13] objtool: add base support for arm64

2021-03-04 Thread Julien Thierry
On 3/3/21 8:17 PM, Peter Zijlstra wrote: > One selfish thing, would it make sense to have a make target that builds > all supported srcarch targets? > > This might be useful when hacking on objtool to make sure everything > builds. > That makes sense. I can offer something like bellow which is sim

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

2021-03-04 Thread Nicolas Saenz Julienne
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 back to a saner default. > > What problem does this solve? How does this fit into t

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

2021-03-04 Thread Ulf Hansson
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: > > > > > > Hi Ulf! > > > > > > Thank you for your comments! > > > > > > On Mon, Mar 0

Re: [PATCH v3 06/32] KVM: arm64: Factor memory allocation out of pgtable.c

2021-03-04 Thread Will Deacon
On Tue, Mar 02, 2021 at 02:59:36PM +, Quentin Perret wrote: > In preparation for enabling the creation of page-tables at EL2, factor > all memory allocation out of the page-table code, hence making it > re-usable with any compatible memory allocator. > > No functional changes intended. > > Si

[PATCH v3 1/8] media: uapi: vp8: Remove "header" from symbol names and macros

2021-03-04 Thread Ezequiel Garcia
It doesn't seem to add any clarity to have a "header" suffix in controls, struct names and flags. Since this just makes names too long without any benefit, just drop it. Signed-off-by: Ezequiel Garcia --- .../media/v4l/ext-ctrls-codec.rst | 80 +++ .../media/v4l/pixfmt-c

[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 3afaf

[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 b/

[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 +++--- drivers/staging/media

[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 --- a/drivers/

[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

[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 pa

[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

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 +- include/linux/mfd/

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 cu

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 e

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, > A

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: > https://git.kernel.org/tip/b52eb21aeca75790869c26b91b1d7b80b39464

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 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 > > belo

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 b

[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 in

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 constant

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 per

[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 inform

[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 disc

[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 d

[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. aarch64_be-linux-gnu-obj

[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 once

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