[PATCH] smp: Modify 'int' to 'bool' in smp_call_function_single()

2021-01-19 Thread Yejune Deng
In smp_call_function_single() and its caller,the 'wait' variable is only 0 and 1,a bool is a more appropriate definition. Signed-off-by: Yejune Deng --- include/linux/smp.h | 10 +- kernel/smp.c| 8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git

Re: [PATCH V2] soundwire: sysfs: Constify static struct attribute_group

2021-01-19 Thread Vinod Koul
On 17-01-21, 23:16, Rikard Falkeborn wrote: > The only place sdw_slave_dev_attr_group is used is when its address is > passed to devm_device_add_group() which takes a pointer to const struct > attribute_group. Make it const to allow the compiler to put it in > read-only memory. This makes all

[PATCH v2 2/2] arm64: dts: fsl-ls1012a-frdm: add spi-uart device

2021-01-19 Thread Pawel Dembicki
This patch adds spi-uart controller to LS1012A-FRDM board dts. Device is equipped in SC16IS740 from NXP. Signed-off-by: Pawel Dembicki --- Changes in v2: - reordered property list - change clock name to "clock-sc16is7xx" .../boot/dts/freescale/fsl-ls1012a-frdm.dts | 21 +++

Re: [PATCH net] net: mrp: use stp state as substitute for unimplemented mrp state

2021-01-19 Thread Andrew Lunn
On Tue, Jan 19, 2021 at 09:32:40AM +0100, Horatiu Vultur wrote: > The 01/18/2021 21:27, Vladimir Oltean wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > On Mon, Jan 18, 2021 at 09:20:36PM +0100, Horatiu Vultur wrote: > > > The

Re: [PATCH RESEND] floppy: fix open(O_ACCMODE) for ioctl-only open

2021-01-19 Thread Jiri Kosina
On Mon, 25 Jul 2016, Jens Axboe wrote: > > From: Jiri Kosina > > > > Commit 09954bad4 ("floppy: refactor open() flags handling"), as a > > side-effect, causes open(/dev/fdX, O_ACCMODE) to fail. It turns out that > > this is being used setfdprm userspace for ioctl-only open(). > > > > Reintroduce

Re: [PATCH bpf-next v4 2/4] bpf: Expose bpf_get_socket_cookie to tracing programs

2021-01-19 Thread Florent Revest
On Wed, Dec 9, 2020 at 5:35 PM Daniel Borkmann wrote: > > On 12/9/20 2:26 PM, Florent Revest wrote: > > This needs two new helpers, one that works in a sleepable context (using > > sock_gen_cookie which disables/enables preemption) and one that does not > > (for performance reasons). Both take a

Re: [RFC PATCH 4/5] arm64: fpsimd: run kernel mode NEON with softirqs disabled

2021-01-19 Thread Dave Martin
On Fri, Dec 18, 2020 at 06:01:05PM +0100, Ard Biesheuvel wrote: > Kernel mode NEON can be used in task or softirq context, but only in > a non-nesting manner, i.e., softirq context is only permitted if the > interrupt was not taken at a point where the kernel was using the NEON > in task context.

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 4:20 PM Greg Kroah-Hartman wrote: > > On Tue, Jan 19, 2021 at 03:34:47PM +0100, Daniel Vetter wrote: > > On Tue, Jan 19, 2021 at 3:32 PM Greg Kroah-Hartman > > wrote: > > > > > > On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > > > > On Fri, Nov 27, 2020

Re: [PATCH] workqueue: tracing the name of the workqueue instead of it's address

2021-01-19 Thread Tejun Heo
On Mon, Jan 04, 2021 at 08:43:06PM +0800, qiang.zh...@windriver.com wrote: > From: Zqiang > > This patch tracing workqueue name instead of it's address, the > new format is as follows. > > workqueue_queue_work: work struct=84e3df56 function= > drm_fb_helper_dirty_work workqueue=events

Re: [Linux-stm32] [PATCH] rpmsg: char: return an error if device already open

2021-01-19 Thread Mathieu Poirier
On Fri, Jan 15, 2021 at 10:13:35AM +0100, Arnaud POULIQUEN wrote: > Hi Mathieu, > > > On 1/14/21 8:05 PM, Mathieu Poirier wrote: > > On Wed, Jan 06, 2021 at 02:37:14PM +0100, Arnaud Pouliquen wrote: > >> The rpmsg_create_ept function is invoked when the device is opened. > >> As only one

[PATCH 1/2] ecryptfs: fix uid translation for setxattr on security.capability

2021-01-19 Thread Miklos Szeredi
Prior to commit 7c03e2cda4a5 ("vfs: move cap_convert_nscap() call into vfs_setxattr()") the translation of nscap->rootid did not take stacked filesystems (overlayfs and ecryptfs) into account. That patch fixed the overlay case, but made the ecryptfs case worse. Restore old the behavior for

Re: [PATCH 2/2] s390: mm: Fix secure storage access exception handling

2021-01-19 Thread Cornelia Huck
On Tue, 19 Jan 2021 11:38:10 +0100 Janosch Frank wrote: > On 1/19/21 11:25 AM, Christian Borntraeger wrote: > > > > > > On 19.01.21 11:04, Janosch Frank wrote: > >> Turns out that the bit 61 in the TEID is not always 1 and if that's > >> the case the address space ID and the address are > >>

Re: [x86/mce] 7bb39313cd: netperf.Throughput_tps -4.5% regression

2021-01-19 Thread Feng Tang
On Tue, Jan 19, 2021 at 11:02:55AM +0100, Borislav Petkov wrote: > On Mon, Jan 18, 2021 at 08:27:21PM -0800, Paul E. McKenney wrote: > > I bet that the results vary depending on the type of CPU, and also on > > the kernel address-space layout, which of course also varies based on > > the Kconfig

[PATCH v3 1/2] media: v4l2-ctrls: Add control for AUD generation

2021-01-19 Thread Stanimir Varbanov
Add a control to enable inserting of AUD NALU into encoded bitstream. Reviewed-by: Hans Verkuil Signed-off-by: Stanimir Varbanov --- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 + drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++

[PATCH v3 2/2] venus: venc: Add support for AUD NALU control

2021-01-19 Thread Stanimir Varbanov
Add support for Access Unit Delimiter control into encoder. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/venc.c | 14 ++ drivers/media/platform/qcom/venus/venc_ctrls.c | 8 +++- 3 files

[PATCH v3 0/2] AUD encoder control

2021-01-19 Thread Stanimir Varbanov
Hello, The patchset adds new AUD encoder v4l2 control and the relevant support in Venus driver. The previous v2 was part of [1] series but now it is detached. Changes since v2: * rebased on top of media_tree master branch. regards, Stan [1]

Re: [PATCH] use x86 cpu park to speedup smp_init in kexec situation

2021-01-19 Thread David Woodhouse
On Tue, 2020-12-15 at 22:20 +0100, Thomas Gleixner wrote: > Since the rewrite of the CPU hotplug infrastructure to a state machine > it's pretty obvious that the bringup of APs can changed from the fully > serialized: > > for_each_present_cpu(cpu) { > if (!cpu_online(cpu)) >

Re: [PATCH V4 0/6] Add the page size in the perf record (user tools)

2021-01-19 Thread Athira Rajeev
> On 13-Jan-2021, at 12:43 AM, Liang, Kan wrote: > > > > On 1/12/2021 12:24 AM, Athira Rajeev wrote: >>> On 06-Jan-2021, at 1:27 AM, kan.li...@linux.intel.com wrote: >>> >>> From: Kan Liang >>> >>> Changes since V3: >>> - Rebase on top of acme's perf/core branch >>> commit c07b45a355ee

Re: [PATCH 2/2 v2] iommu: use the __iommu_attach_device() directly for deferred attach

2021-01-19 Thread Robin Murphy
On 2021-01-19 11:16, Lianbo Jiang wrote: Currently, because domain attach allows to be deferred from iommu driver to device driver, and when iommu initializes, the devices on the bus will be scanned and the default groups will be allocated. Due to the above changes, some devices could be added

[PATCH 3/4] scsi: ufs-debugfs: Add user-defined exception_event_mask

2021-01-19 Thread Adrian Hunter
Allow users to enable specific exception events via debugfs. The bits enabled by the driver ee_drv_ctrl are separated from the bits enabled by the user ee_usr_ctrl. The control mask ee_mask_ctrl is the logical-or of those two. A mutex is needed to ensure that the masks match what was written to

Re: [PATCH 5.4 00/75] 5.4.91-rc2 review

2021-01-19 Thread Guenter Roeck
On Mon, Jan 18, 2021 at 04:25:29PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.91 release. > There are 75 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.19 00/42] 4.19.169-rc2 review

2021-01-19 Thread Guenter Roeck
On Mon, Jan 18, 2021 at 04:25:18PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.169 release. > There are 42 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v2] iio: imu: bmi160: add mutex_lock for avoiding race

2021-01-19 Thread Tom Rix
On 1/19/21 3:22 AM, Guoqing Chi wrote: > From: chiguoqing > > Adding mutex_lock, when read and write reg need to use this lock to > avoid race. > > Signed-off-by: Guoqing Chi > --- > v2:Follow write function to fix read function. > Adding mutex init in core probe function. > Adding break in

Re: [PATCH] media: rc: select CONFIG_BITREVERSE where needed

2021-01-19 Thread Sean Young
On Fri, Dec 04, 2020 at 12:17:03AM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > A number of remote control drivers require the bitreverse > helper, and run into a link error when it is disabled: > > arm-linux-gnueabi-ld: drivers/media/rc/img-ir/img-ir-nec.o: in function >

Re: [PATCH] clk: socfpga: agilex: add clock driver for eASIC N5X platform

2021-01-19 Thread Dinh Nguyen
Hi Stephen/Mike, Was wondering if you had a chance to review this patch? Thanks, Dinh On 1/5/21 1:29 PM, Dinh Nguyen wrote: Add support for Intel's eASIC N5X platform. The clock manager driver for the N5X is very similar to the Agilex platform, we can re-use most of the Agilex clock driver.

Re: [PATCH v3 bpf-next 2/2] selftests: bpf: Add a new test for bare tracepoints

2021-01-19 Thread Yonghong Song
On 1/19/21 4:22 AM, Qais Yousef wrote: Reuse module_attach infrastructure to add a new bare tracepoint to check we can attach to it as a raw tracepoint. Signed-off-by: Qais Yousef Acked-by: Yonghong Song

Re: [PATCH 3/3] mtd: parsers: ofpart: support BCM4908 fixed partitions

2021-01-19 Thread Miquel Raynal
Hi Rafał, Rafał Miłecki wrote on Fri, 15 Jan 2021 16:39:01 +0100: > From: Rafał Miłecki > > BCM4908 partitioning is based on fixed layout but allows specifying > multiple firmware partitions. It requires detecting which firmware > partition was used for booting current kernel. > > To support

Re: [PATCH v3 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps

2021-01-19 Thread Minchan Kim
On Tue, Jan 12, 2021 at 05:21:43PM -0800, Minchan Kim wrote: > From: Hyesoo Yu > > This patch supports chunk heap that allocates the buffers that > arranged into a list a fixed size chunks taken from CMA. > > The chunk heap driver is bound directly to a reserved_memory > node by following Rob

Re: [PATCH 1/3] drivers/nouveau/kms/nv50-: Reject format modifiers for cursor planes

2021-01-19 Thread James Jones
Gah, yes, good catch. Reviewed-by: James Jones On 1/18/21 5:54 PM, Lyude Paul wrote: Nvidia hardware doesn't actually support using tiling formats with the cursor plane, only linear is allowed. In the future, we should write a testcase for this. Fixes: c586f30bf74c ("drm/nouveau/kms: Add

[tip: sched/urgent] x86: PM: Register syscore_ops for scale invariance

2021-01-19 Thread tip-bot2 for Rafael J. Wysocki
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 9c7d9017a49fb8516c13b7bff59b7da2abed23e1 Gitweb: https://git.kernel.org/tip/9c7d9017a49fb8516c13b7bff59b7da2abed23e1 Author:Rafael J. Wysocki AuthorDate:Fri, 08 Jan 2021 19:05:59 +01:00

Re: [PATCH 1/2] net: wireless: intel: iwlwifi: mvm: tt: Replace thermal_notify_framework

2021-01-19 Thread Kalle Valo
Thara Gopinath writes: > thermal_notify_framework just updates for a single trip point where as > thermal_zone_device_update does other bookkeeping like updating the > temperature of the thermal zone and setting the next trip point etc. > Replace thermal_notify_framework with

Re: [PATCH V3 0/3] mm/memory_hotplug: Pre-validate the address range with platform

2021-01-19 Thread Oscar Salvador
On Tue, Jan 19, 2021 at 02:33:03PM +0100, David Hildenbrand wrote: > Minor thing, we should make up our mind if we want to call stuff > internally "memhp_" or "mhp". I prefer the latter, because it is shorter. I would rather use the latter as well. I used that in [1]. MEMHP_MERGE_RESOURCE should

Re: [PATCH 2/2] s390: mm: Fix secure storage access exception handling

2021-01-19 Thread Claudio Imbrenda
On Tue, 19 Jan 2021 05:04:02 -0500 Janosch Frank wrote: > Turns out that the bit 61 in the TEID is not always 1 and if that's > the case the address space ID and the address are > unpredictable. Without an address and it's address space ID we can't *its Reviewed-by: Claudio Imbrenda > export

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 19, 2021 at 03:34:47PM +0100, Daniel Vetter wrote: > On Tue, Jan 19, 2021 at 3:32 PM Greg Kroah-Hartman > wrote: > > > > On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > > > On Fri, Nov 27, 2020 at 5:42 PM Daniel Vetter > > > wrote: > > > > > > > > Since 3234ac664a87

Re: [PATCH v2 2/2] serial: 8250: Add new 8250-core based Broadcom STB driver

2021-01-19 Thread Andy Shevchenko
On Fri, Jan 15, 2021 at 11:19 PM Al Cooper wrote: > > Add a UART driver for the new Broadcom 8250 based STB UART. The new > UART is backward compatible with the standard 8250, but has some > additional features. The new features include a high accuracy baud > rate clock system and DMA support. >

YOU HAVE WON

2021-01-19 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [x86/mce] 7bb39313cd: netperf.Throughput_tps -4.5% regression

2021-01-19 Thread Borislav Petkov
On Tue, Jan 19, 2021 at 11:09:03PM +0800, Feng Tang wrote: > Yes, that can happen. I started a 4 tasks netperf on a 4C/8T KBL desktop, > and also saw around 2% improvement. Both the kernel config and the > platform matters. Oh great. ;-\ > For the performance changes I have checked, sometimes

Re: [PATCH v3 05/21] x86/fpu/xstate: Add a new variable to indicate dynamic user states

2021-01-19 Thread Borislav Petkov
On Fri, Jan 15, 2021 at 07:47:38PM +, Bae, Chang Seok wrote: > On Jan 15, 2021, at 05:39, Borislav Petkov wrote: > > On Wed, Dec 23, 2020 at 07:57:01AM -0800, Chang S. Bae wrote: > >> The perf has a buffer that is allocated on demand. The states saved in the > > > > What's "the perf"? I hope

Re: [PATCH V2 1/2] scripts: dtc: Add fdtoverlay.c and fdtdump.c to DTC_SOURCE

2021-01-19 Thread Frank Rowand
On 1/19/21 10:21 AM, Frank Rowand wrote: > On 1/6/21 11:15 PM, Viresh Kumar wrote: >> We will start building overlays for platforms soon in the kernel and >> would need these tools going forward. Lets start fetching them. >> >> Note that a copy of fdtdump.c was already copied back in the year

[PATCH v3 0/7] selftests: gpio: rework and port to GPIO uAPI v2

2021-01-19 Thread Kent Gibson
Initially I just wanted to port the selftests to the latest GPIO uAPI, but on finding that, due to dependency issues, the selftests are not built for the buildroot environments that I do most of my GPIO testing in, I decided to take a closer look. The first patch is essentially a rewrite of the

[PATCH v3 3/7] selftests: remove obsolete build restriction for gpio

2021-01-19 Thread Kent Gibson
Build restrictions related to the gpio-mockup-chardev helper are no longer relevant so remove them. Signed-off-by: Kent Gibson Acked-by: Linus Walleij Reviewed-by: Bartosz Golaszewski --- tools/testing/selftests/Makefile | 9 - 1 file changed, 9 deletions(-) diff --git

[PATCH v3 1/7] selftests: gpio: rework and simplify test implementation

2021-01-19 Thread Kent Gibson
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount. Rework the test implementation to provide a common test suite with a simplified pluggable uAPI

Re: [PATCH RFC] virtio-mem: check against memhp_get_pluggable_range() which memory we can hotplug

2021-01-19 Thread David Hildenbrand
On 18.01.21 14:21, Anshuman Khandual wrote: > > > On 1/18/21 6:43 PM, Anshuman Khandual wrote: >> From: David Hildenbrand >> >> Right now, we only check against MAX_PHYSMEM_BITS - but turns out there >> are more restrictions of which memory we can actually hotplug, especially >> om arm64 or

Re: [PATCH V3 3/3] s390/mm: Define arch_get_mappable_range()

2021-01-19 Thread David Hildenbrand
On 18.01.21 14:13, Anshuman Khandual wrote: > This overrides arch_get_mappabble_range() on s390 platform which will be > used with recently added generic framework. It modifies the existing range > check in vmem_add_mapping() using arch_get_mappable_range(). It also adds a > VM_BUG_ON() check that

[PATCH v3 4/7] selftests: remove obsolete gpio references from kselftest_deps.sh

2021-01-19 Thread Kent Gibson
GPIO Makefile has been greatly simplified so remove references to lines which no longer exist. Signed-off-by: Kent Gibson Acked-by: Linus Walleij Reviewed-by: Bartosz Golaszewski --- tools/testing/selftests/kselftest_deps.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v3 2/7] selftests: gpio: remove obsolete gpio-mockup-chardev.c

2021-01-19 Thread Kent Gibson
GPIO selftests have changed to new gpio-mockup-cdev helper, so remove old gpio-mockup-chardev helper. Signed-off-by: Kent Gibson Acked-by: Linus Walleij Reviewed-by: Bartosz Golaszewski --- .../selftests/gpio/gpio-mockup-chardev.c | 323 -- 1 file changed, 323

[PATCH v3 6/7] selftests: gpio: port to GPIO uAPI v2

2021-01-19 Thread Kent Gibson
Add a port to the GPIO uAPI v2 interface and make it the default. Signed-off-by: Kent Gibson Acked-by: Linus Walleij Reviewed-by: Bartosz Golaszewski --- .../testing/selftests/gpio/gpio-mockup-cdev.c | 75 +-- tools/testing/selftests/gpio/gpio-mockup.sh | 11 ++- 2 files

[PATCH v3 7/7] selftests: gpio: add CONFIG_GPIO_CDEV to config

2021-01-19 Thread Kent Gibson
GPIO CDEV is now optional and required for the selftests so add it to the config. Signed-off-by: Kent Gibson Acked-by: Linus Walleij Reviewed-by: Bartosz Golaszewski --- tools/testing/selftests/gpio/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/gpio/config

YOU HAVE WON

2021-01-19 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH RESEND V11 0/7] fuse: Add support for passthrough read/write

2021-01-19 Thread Alessio Balsini
On Tue, Jan 19, 2021 at 07:06:54PM +0800, Rokudo Yan wrote: > on Mon, Jan 18, 2021 at 5:27 PM Alessio Balsini wrote: > > > > This is the 11th version of the series, rebased on top of v5.11-rc4. > > Please find the changelog at the bottom of this cover letter. > > > > Add support for file system

Re: [PATCH v2 2/2] serial: 8250: Add new 8250-core based Broadcom STB driver

2021-01-19 Thread Greg Kroah-Hartman
On Mon, Jan 18, 2021 at 03:32:57PM -0500, Al Cooper wrote: > On Mon, Jan 18, 2021 at 12:45 PM Greg Kroah-Hartman > wrote: > > > > On Fri, Jan 15, 2021 at 04:15:43PM -0500, Al Cooper wrote: > > > Add a UART driver for the new Broadcom 8250 based STB UART. The new > > > UART is backward compatible

Re: [PATCH] arm64/cpuinfo: Show right CPU architecture information

2021-01-19 Thread Catalin Marinas
On Tue, Jan 19, 2021 at 07:26:31PM +0800, 乱石 wrote: > 锟斤拷 2021/1/19 19:01, Will Deacon 写锟斤拷: > > On Tue, Jan 19, 2021 at 06:55:10PM +0800, Liguang Zhang wrote: > > > CPU architecture is assigned to be a fixed value, it should be obtained > > > from midr register. > > > > > > Signed-off-by:

Re: [PATCH 1/2] perf/smmuv3: Don't reserve the register space that overlaps with the SMMUv3

2021-01-19 Thread Robin Murphy
On 2021-01-19 01:59, Zhen Lei wrote: Some SMMUv3 implementation embed the Perf Monitor Group Registers (PMCG) inside the first 64kB region of the SMMU. Since SMMU and PMCG are managed by two separate drivers, and this driver depends on ARM_SMMU_V3, so the SMMU driver reserves the corresponding

[PATCH v3 5/7] tools: gpio: remove uAPI v1 code no longer used by selftests

2021-01-19 Thread Kent Gibson
gpio-mockup-chardev helper has been obsoleted and removed, so also remove the tools/gpio code that it, and nothing else, was using. Signed-off-by: Kent Gibson Acked-by: Linus Walleij Reviewed-by: Bartosz Golaszewski --- tools/gpio/gpio-utils.c | 89 -

[PATCH] signal: remove redundant quote

2021-01-19 Thread chiguoqing
If define __HAVE_ARCH_SIG_SETOPS,it will onece include string.h. But if no define __HAVE_ARCH_SIG_SETOPS or into this code, it will repeated references string.h So i think we can remove this include which in __HAVE_ARCH_SIG_SETOPS. Signed-off-by: Junjun Shao --- include/linux/signal.h | 1 - 1

Re: [PATCH v4 4/5] arm64: mte: Enable async tag check fault

2021-01-19 Thread Vincenzo Frascino
On 1/19/21 2:34 PM, Catalin Marinas wrote: > On Mon, Jan 18, 2021 at 06:30:32PM +, Vincenzo Frascino wrote: >> static void update_sctlr_el1_tcf0(u64 tcf0) >> { >> /* ISB required for the kernel uaccess routines */ >> @@ -235,6 +273,15 @@ void mte_thread_switch(struct task_struct

Re: [PATCH 5.10 000/152] 5.10.9-rc1 review

2021-01-19 Thread Guenter Roeck
On Mon, Jan 18, 2021 at 12:32:55PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.10.9 release. > There are 152 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH net-next] mdio, phy: fix -Wshadow warnings triggered by nested container_of()

2021-01-19 Thread Andrew Lunn
On Sat, Jan 16, 2021 at 04:13:22PM +, Alexander Lobakin wrote: > container_of() macro hides a local variable '__mptr' inside. This > becomes a problem when several container_of() are nested in each > other within single line or plain macros. > As C preprocessor doesn't support generating

Re: [PATCH] workqueue: fix annotation for WQ_SYSFS

2021-01-19 Thread Tejun Heo
On Mon, Jan 18, 2021 at 12:04:55AM -0800, menglong8.d...@gmail.com wrote: > From: Menglong Dong > > 'wq_sysfs_register()' in annotation for 'WQ_SYSFS' is unavailable, > change it to 'workqueue_sysfs_register()'. > > Signed-off-by: Menglong Dong Applied to wq/for-5.12. Thanks. -- tejun

Re: [PATCH v2] driver core: Extend device_is_dependent()

2021-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 19, 2021 at 04:09:14PM +0100, Rafael J. Wysocki wrote: > On Fri, Jan 15, 2021 at 7:31 PM Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > If the device passed as the target (second argument) to > > device_is_dependent() is not completely registered (that is, it has >

Re: [PATCH v2] xen-blkfront: allow discard-* nodes to be optional

2021-01-19 Thread Greg KH
On Tue, Jan 19, 2021 at 01:36:22PM +0100, Roger Pau Monné wrote: > Forgot to Cc stable for the Fixes tag. Doing it now. This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:

Re: [PATCHv2] drivers: bus: simple-pm-bus: Fix compatibility with simple-bus for auxdata

2021-01-19 Thread Rob Herring
+Linus W On Mon, Jan 18, 2021 at 2:30 AM Arnd Bergmann wrote: > > On Mon, Jan 18, 2021 at 8:33 AM Tony Lindgren wrote: > > > > After converting am335x to probe devices with simple-pm-bus I noticed > > that we are not passing auxdata for of_platform_populate() like we do > > with simple-bus. > >

Re: [PATCH 1/2 v2] dma-iommu: use static-key to minimize the impact in the fast-path

2021-01-19 Thread Robin Murphy
On 2021-01-19 15:26, Christoph Hellwig wrote: On Tue, Jan 19, 2021 at 07:16:15PM +0800, Lianbo Jiang wrote: +static DEFINE_STATIC_KEY_FALSE(__deferred_attach); Why the strange underscores? Wouldn't iommu_deferred_attach_enabled be a better name? - if

[PATCH bpf-next v5 4/4] selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie

2021-01-19 Thread Florent Revest
This builds up on the existing socket cookie test which checks whether the bpf_get_socket_cookie helpers provide the same value in cgroup/connect6 and sockops programs for a socket created by the userspace part of the test. Adding a tracing program to the existing objects requires a different

[PATCH bpf-next v5 1/4] bpf: Be less specific about socket cookies guarantees

2021-01-19 Thread Florent Revest
Since "92acdc58ab11 bpf, net: Rework cookie generator as per-cpu one" socket cookies are not guaranteed to be non-decreasing. The bpf_get_socket_cookie helper descriptions are currently specifying that cookies are non-decreasing but we don't want users to rely on that. Reported-by: Daniel

[PATCH bpf-next v5 3/4] selftests/bpf: Integrate the socket_cookie test to test_progs

2021-01-19 Thread Florent Revest
Currently, the selftest for the BPF socket_cookie helpers is built and run independently from test_progs. It's easy to forget and hard to maintain. This patch moves the socket cookies test into prog_tests/ and vastly simplifies its logic by: - rewriting the loading code with BPF skeletons -

[PATCH v4 21/21] dts: hisilicon: add support for the PMIC found on Hikey 970

2021-01-19 Thread Mauro Carvalho Chehab
Add a device tree for the HiSilicon 6421v600 SPMI PMIC, used on HiKey970 board. As we now have support for it, change the fixed regulators used by the SD I/O to use the proper LDO supplies. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 22 +

[PATCH v10 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2021-01-19 Thread Can Guo
In contexts like suspend, shutdown and error handling, we need to suspend devfreq to make sure these contexts won't be disturbed by clock scaling. However, suspending devfreq is not enough since users can still trigger a clock scaling by manipulating the devfreq sysfs nodes like min/max_freq and

[PATCH v10 3/3] scsi: ufs: Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE"

2021-01-19 Thread Can Guo
Commit 73cc291c27024 ("Make sure clk scaling happens only when HBA is runtime ACTIVE") is no longer needed since commit f7a42540928a8 ("scsi: ufs: Protect some contexts from unexpected clock scaling") is a more mature fix to protect UFS LLD stability from clock scaling invoked through sysfs nodes

RE: [PATCH] coresight: etm4x: Add config to exclude kernel mode tracing

2021-01-19 Thread Al Grant
> From: Suzuki K Poulose > On 1/19/21 9:51 AM, Sai Prakash Ranjan wrote: > > Hi Al, > > > > On 2021-01-19 14:06, Al Grant wrote: > >> Hi Sai, > >> > >>> From: saiprakash.ranjan=codeaurora@mg.codeaurora.org > >>> Hi Mathieu, > >>> > >>> On 2021-01-19 01:53, Mathieu Poirier wrote: > >>> > On

Re: [PATCH v29 4/6] Documentation: jtag: Add ABI documentation

2021-01-19 Thread Paul Fertser
Hello, This review of the proposed API was written after independently developing and testing on hardware (only SVF playback to configure a CPLD) support for OpenOCD[0]. I also include points that come to mind from my prior experience using wide range of JTAG adapters with different targets. On

Re: [PATCH v29 2/6] dt-binding: jtag: Aspeed 2400 and 2500 series

2021-01-19 Thread Paul Fertser
On Mon, Apr 13, 2020 at 03:29:16PM -0700, Ernesto Corona wrote: > --- /dev/null > +++ b/Documentation/devicetree/bindings/jtag/aspeed-jtag.yaml > +examples: > + - | > +#include > +#include > + > + jtag: jtag@1e6e4000 { > + compatible = "aspeed,ast2500-jtag"; > +

Re: [PATCH v17 06/26] x86/cet: Add control-protection fault handler

2021-01-19 Thread Borislav Petkov
On Tue, Dec 29, 2020 at 01:30:33PM -0800, Yu-cheng Yu wrote: > @@ -606,6 +606,65 @@ DEFINE_IDTENTRY_ERRORCODE(exc_general_protection) > cond_local_irq_disable(regs); > } > > +#ifdef CONFIG_X86_CET_USER > +static const char * const control_protection_err[] = { > + "unknown", > +

Re: [PATCH] coresight: etm4x: Add config to exclude kernel mode tracing

2021-01-19 Thread Sai Prakash Ranjan
Hi Suzuki, On 2021-01-19 16:03, Suzuki K Poulose wrote: On 1/19/21 9:51 AM, Sai Prakash Ranjan wrote: Hi Al, On 2021-01-19 14:06, Al Grant wrote: Hi Sai, From: saiprakash.ranjan=codeaurora@mg.codeaurora.org Hi Mathieu, On 2021-01-19 01:53, Mathieu Poirier wrote: > On Fri, Jan 15, 2021

Re: [PATCH] PCI: Drop PCIE_RCAR config option

2021-01-19 Thread Lorenzo Pieralisi
On Tue, 29 Dec 2020 17:08:48 +, Lad Prabhakar wrote: > All the defconfig files have replaced PCIE_RCAR config option with > PCIE_RCAR_HOST config option which built the same driver, so we can > now safely drop PCIE_RCAR config option. Applied to pci/misc, thanks! [1/1] PCI: Drop PCIE_RCAR

Re: [PATCH v3 0/5] Scan for an idle sibling in a single pass

2021-01-19 Thread Mel Gorman
On Tue, Jan 19, 2021 at 12:33:04PM +0100, Vincent Guittot wrote: > On Tue, 19 Jan 2021 at 12:22, Mel Gorman wrote: > > > > Changelog since v2 > > o Remove unnecessary parameters > > o Update nr during scan only when scanning for cpus > > Hi Mel, > > I haven't looked at your previous version

Re: [PATCH] perf metricgroup: Fix system PMU metrics

2021-01-19 Thread John Garry
On 19/01/2021 10:56, Joakim Zhang wrote: root@imx8mmevk:~# ./perf stat -a -I 1000 -M imx8mm_ddr_read.all,imx8mm_ddr_write .all # time counts unit events 1.001446500

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-19 Thread Daniel Scally
On 19/01/2021 13:15, Rafael J. Wysocki wrote: > On Mon, Jan 18, 2021 at 9:51 PM Daniel Scally wrote: >> On 18/01/2021 16:14, Rafael J. Wysocki wrote: >>> On Mon, Jan 18, 2021 at 1:37 AM Daniel Scally wrote: In some ACPI tables we encounter, devices use the _DEP method to assert a

[PATCH] extcon: sm5502: Detect OTG when USB_ID is connected to ground

2021-01-19 Thread nikitos . tr
From: Nikita Travkin In it's curent state this driver ignores OTG adapters with ID pin connected to ground. This commit adds a check to set extcon into host mode when such OTG adapter is connected. Signed-off-by: Nikita Travkin --- This issue was already reported in [1] and this behaviour

Re: [PATCH V3 0/3] mm/memory_hotplug: Pre-validate the address range with platform

2021-01-19 Thread David Hildenbrand
On 18.01.21 14:12, Anshuman Khandual wrote: > This series adds a mechanism allowing platforms to weigh in and prevalidate > incoming address range before proceeding further with the memory hotplug. > This helps prevent potential platform errors for the given address range, > down the hotplug call

YOU HAVE WON

2021-01-19 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH 1/1] drm/atomic: put state on error path

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 04:11:27AM -0800, Pan Bian wrote: > Put the state before returning error code. > > Fixes: 44596b8c4750 ("drm/atomic: Unify conflicting encoder handling.") > > Signed-off-by: Pan Bian Nice catch, patch merged to drm-misc-fixes with cc: stable. -Daniel > --- >

Re: [PATCH] sched/eas: Don't update misfit status if the task is pinned

2021-01-19 Thread Vincent Guittot
On Tue, 19 Jan 2021 at 13:08, Qais Yousef wrote: > > If the task is pinned to a cpu, setting the misfit status means that > we'll unnecessarily continuously attempt to migrate the task but fail. > > This continuous failure will cause the balance_interval to increase to > a high value, and

Re: [PATCH 2/2 v2] iommu: use the __iommu_attach_device() directly for deferred attach

2021-01-19 Thread Christoph Hellwig
> +int iommu_do_deferred_attach(struct device *dev, > + struct iommu_domain *domain) I'd remove the "do_" from the name, it doesn't really add any value. > +{ > + const struct iommu_ops *ops = domain->ops; > + > + if (unlikely(ops->is_attach_deferred && > +

[PATCH v2] ALSA: hda: Balance runtime/system PM if direct-complete is disabled

2021-01-19 Thread Kai-Heng Feng
After hibernation, HDA controller can't be runtime-suspended after commit 215a22ed31a1 ("ALSA: hda: Refactor codjc PM to use direct-complete optimization"), which enables direct-complete for HDA codec. The HDA codec driver didn't expect direct-complete will be disabled after it returns a positive

rcutorture initrd/nolibc build on ARMv8?

2021-01-19 Thread Paul E. McKenney
Hello, Willy, Some people are having trouble running rcutorture on ARMv8. They get things like this from the nolibc build of initrd: https://paste.debian.net/1181762/ The nolibc.h file says this: /* Some archs (at least aarch64) don't expose the regular syscalls anymore by * default, either

Re: [PATCH net 1/2] net: mrp: fix definitions of MRP test packets

2021-01-19 Thread Rasmus Villemoes
On 28/12/2020 23.24, Jakub Kicinski wrote: > On Wed, 23 Dec 2020 15:45:32 +0100 Rasmus Villemoes wrote: >> Wireshark says that the MRP test packets cannot be decoded - and the >> reason for that is that there's a two-byte hole filled with garbage >> between the "transitions" and "timestamp"

Re: [PATCH] perf metricgroup: Fix system PMU metrics

2021-01-19 Thread John Garry
On 19/01/2021 10:56, Joakim Zhang wrote: It seems have other issue compared to 5.10 kernel after switching to this framework, below metric can't work. "MetricExpr": "(( imx8_ddr0@read\\-cycles@ + imx8_ddr0@write\\-cycles@ ) * 4 * 4 / duration_time) / (750 * 100 * 4 * 4)" After change to:

Re: [PATCH] tracing: precise log info for kretprobe addr err

2021-01-19 Thread Steven Rostedt
Masami, Looks fine to me. What do you think? -- Steve On Tue, 19 Jan 2021 23:10:14 +0800 Jianlin Lv wrote: > When trying to create kretprobe with the wrong function symbol in tracefs; > The error is triggered in the register_trace_kprobe() and recorded as > FAIL_REG_PROBE issue, > >

[PATCH bpf-next v5 2/4] bpf: Expose bpf_get_socket_cookie to tracing programs

2021-01-19 Thread Florent Revest
This needs a new helper that: - can work in a sleepable context (using sock_gen_cookie) - takes a struct sock pointer and checks that it's not NULL Signed-off-by: Florent Revest --- include/linux/bpf.h| 1 + include/uapi/linux/bpf.h | 8 kernel/trace/bpf_trace.c

[PATCH v4 02/21] staging: hikey9xx: hisilicon,hi6421-spmi-pmic.yaml: simplify props

2021-01-19 Thread Mauro Carvalho Chehab
As all regulator-specific properties got moved to be part of the driver, remove them from the DT spec. Signed-off-by: Mauro Carvalho Chehab --- .../hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 106 +++--- 1 file changed, 40 insertions(+), 66 deletions(-) diff --git

Re: [PATCH V2 1/2] scripts: dtc: Add fdtoverlay.c and fdtdump.c to DTC_SOURCE

2021-01-19 Thread Frank Rowand
On 1/6/21 11:15 PM, Viresh Kumar wrote: > We will start building overlays for platforms soon in the kernel and > would need these tools going forward. Lets start fetching them. > > Note that a copy of fdtdump.c was already copied back in the year 2012, > but was never updated or built for some

[PATCH 2/2] security.capability: fix conversions on getxattr

2021-01-19 Thread Miklos Szeredi
If a capability is stored on disk in v2 format cap_inode_getsecurity() will currently return in v2 format unconditionally. This is wrong: v2 cap should be equivalent to a v3 cap with zero rootid, and so the same conversions performed on it. If the rootid cannot be mapped v3 is returned

Re: [PATCH] x86/sev: Add AMD_SEV_ES_GUEST Kconfig for including SEV-ES support

2021-01-19 Thread Sean Christopherson
On Mon, Jan 18, 2021, Borislav Petkov wrote: > On Mon, Jan 18, 2021 at 09:32:07PM +0100, Paolo Bonzini wrote: > > I think it makes sense because AMD_SEV_ES_GUEST's #VC handling is quite a > > bit of code that you may not want or need. > > Quite a bit of code which ends up practically enabled on

Re: [PATCH 4/6] sched/deadline: Block DL tasks on non-exclusive cpuset if bandwitdh control is enable

2021-01-19 Thread Dietmar Eggemann
On 19/01/2021 10:41, Daniel Bristot de Oliveira wrote: > On 1/14/21 4:51 PM, Dietmar Eggemann wrote: >> On 12/01/2021 16:53, Daniel Bristot de Oliveira wrote: [...] >> with this patch: >> >> cgroupv1: >> >> root@juno:/sys/fs/cgroup/cpuset# chrt -d --sched-period 10 >> --sched-runtime

Re: [Patch v4 1/2] cgroup: svm: Add Encryption ID controller

2021-01-19 Thread Tejun Heo
Hello, On Fri, Jan 15, 2021 at 08:32:19PM -0800, Vipin Sharma wrote: > SEV-ES has stronger memory encryption gurantees compared to SEV, apart > from encrypting the application memory it also encrypts register state > among other things. In a single host ASIDs can be distributed between > these

[PATCH v2 1/2] arm64: dts: fsl-ls1012a-rdb: add i2c devices

2021-01-19 Thread Pawel Dembicki
LS1012A-RDB equipped in some i2c devices: - 3x GPIO Expander: PCAL9555A (NXP) - Gyro: FXAS21002 (NXP) - Accelerometer: FXOS8700 (NXP) - Current & Power Monitor: INA220 (TI) This patch add listed devices to dts. Signed-off-by: Pawel Dembicki --- Changes in v2: - resend only

[PATCH v4 06/21] staging: hikey9xx: hi6421v600-regulator: cleanup debug msgs

2021-01-19 Thread Mauro Carvalho Chehab
While those were useful during port time from downstream version, let's get rid of them for good, as it is possible to get about the same things by enabling regulator debugging code. Signed-off-by: Mauro Carvalho Chehab --- .../staging/hikey9xx/hi6421v600-regulator.c | 47 ++-

[PATCH v4 03/21] staging: hikey9xx: hisi-spmi-controller: clean sparse warnings

2021-01-19 Thread Mauro Carvalho Chehab
Sparse complains about __be32 conversions: drivers/spmi/hisi-spmi-controller.c drivers/spmi/hisi-spmi-controller.c:164:24: warning: cast to restricted __be32 drivers/spmi/hisi-spmi-controller.c drivers/spmi/hisi-spmi-controller.c:164:24: warning: cast to restricted __be32

[PATCH v4 07/21] staging: hikey9xx: hi6421v600-regulator: get rid of an static data

2021-01-19 Thread Mauro Carvalho Chehab
Move it to be inside the private data struct. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/hi6421v600-regulator.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/staging/hikey9xx/hi6421v600-regulator.c

  1   2   3   4   5   6   7   8   9   10   >