Re: [PATCH V3 1/3] mm/memory_hotplug: Prevalidate the address range being added with platform

2021-01-19 Thread David Hildenbrand
On 18.01.21 14:12, Anshuman Khandual wrote: > This introduces memhp_range_allowed() which can be called in various memory > hotplug paths to prevalidate the address range which is being added, with > the platform. Then memhp_range_allowed() calls memhp_get_pluggable_range() > which provides applica

[PATCH v3 bpf-next 1/2] trace: bpf: Allow bpf to attach to bare tracepoints

2021-01-19 Thread Qais Yousef
Some subsystems only have bare tracepoints (a tracepoint with no associated trace event) to avoid the problem of trace events being an ABI that can't be changed. >From bpf presepective, bare tracepoints are what it calls RAW_TRACEPOINT(). Since bpf assumed there's 1:1 mapping, it relied on hookin

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

2021-01-19 Thread Qais Yousef
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 --- .../bpf/bpf_testmod/bpf_testmod-events.h | 6 + .../selftests/bpf/bpf_testmod/bpf_testmod.c | 21 ++- .../selftests/bpf/bpf_tes

Re: [PATCH v7 14/17] media/videobuf1|2: Mark follow_pfn usage as unsafe

2021-01-19 Thread Hans Verkuil
On 27/11/2020 17:41, Daniel Vetter wrote: > The media model assumes that buffers are all preallocated, so that > when a media pipeline is running we never miss a deadline because the > buffers aren't allocated or available. > > This means we cannot fix the v4l follow_pfn usage through > mmu_notifi

Re: [PATCH v4] PCI: brcmstb: Remove chained IRQ handler and data in one go

2021-01-19 Thread Lorenzo Pieralisi
On Fri, 15 Jan 2021 22:15:32 +0100, Martin Kaiser wrote: > Call irq_set_chained_handler_and_data() to clear the chained handler > and the handler's data under irq_desc->lock. > > See also 2cf5a03cb29d ("PCI/keystone: Fix race in installing chained > IRQ handler"). Applied to pci/misc, thanks! [1

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

2021-01-19 Thread Valentin Schneider
Nit: Topic should probably be sched/fair - not many other than us loonies talk about EAS, and misfit stuff doesn't require an energy model, only CPU capacity asymmetry. On 19/01/21 12:07, Qais Yousef wrote: > If the task is pinned to a cpu, setting the misfit status means that > we'll unnecessar

Re: [PATCH V3 2/3] arm64/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_mappable_range() on arm64 platform which will be > used with recently added generic framework. It drops inside_linear_region() > and subsequent check in arch_add_memory() which are no longer required. It > also adds a VM_BUG_ON()

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

[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 a/tools/testing

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

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 s390

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 deletions(-)

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 re

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

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

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

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 p

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 w

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: Liguang

From Michelle

2021-01-19 Thread Shayma
Hallo Liebes, bitte, ich habe eine sehr wichtige Nachricht für dich. Bitte antworte dringend Vielen Dank Michelle

Re: [PATCH] gpio: tegra: Add missing dependencies

2021-01-19 Thread Bartosz Golaszewski
On Mon, Jan 18, 2021 at 8:49 PM Thierry Reding wrote: > > From: Thierry Reding > > Commit efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip") moved the > Tegra GPIO driver to the generic GPIO IRQ chip infrastructure and made > the IRQ domain hierarchical, so the driver needs to pull in the sup

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

2021-01-19 Thread Roger Pau Monné
Forgot to Cc stable for the Fixes tag. Doing it now. On Tue, Jan 19, 2021 at 11:57:27AM +0100, Roger Pau Monne wrote: > This is inline with the specification described in blkif.h: > > * discard-granularity: should be set to the physical block size if >node is not present. > * discard-alignm

[PATCH v6 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-19 Thread Mike Looijmans
This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part. Signed-off-by: Mike Looijmans --- Changes in v6: I't been almost a year since the last commit, sorry... Fixed the yaml errors Add interrupt, vdd and vddio properties Changes in v5: submit together wi

Re: [PATCH 6/6] arm64: dts: renesas: falcon: Enable MMC

2021-01-19 Thread Wolfram Sang
> > + reg_1p8v: regulator0 { > > Please use a better node name, to avoid accidental duplicates, cfr. commit > 45f5d5a9e34d3fe4 ("arm64: dts: renesas: r8a77995: draak: Fix backlight > regulator name") Done. > > + no-sd; > > + no-sdio; > > I'm no expert on the no-sd{,io} proper

[PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-19 Thread Mike Looijmans
The BMI088 is a combined module with both accelerometer and gyroscope. This adds the accelerometer driver support for the SPI interface. The gyroscope part is already supported by the BMG160 driver. Signed-off-by: Mike Looijmans --- Changes in v6: Hope you have good memory - v5 was almost a year

Re: [PATCH bpf-next] xsk: build skb by page

2021-01-19 Thread Alexander Lobakin
From: Xuan Zhuo Date: Sat, 16 Jan 2021 10:44:53 +0800 > This patch is used to construct skb based on page to save memory copy > overhead. > > This has one problem: > > We construct the skb by fill the data page as a frag into the skb. In > this way, the linear space is empty, and the header inf

Re: [PATCH 0/4] add xhci hooks for USB offload

2021-01-19 Thread Mathias Nyman
On 19.1.2021 12.10, Howard Yen wrote: > To let the xhci driver support USB offload, add hooks for vendor to have > customized behavior for the initialization, memory allocation, irq work, and > device context synchronization. Detail is in each patch commit message. Is this related to the usb audi

Re: [PATCH v6 1/4] sgl_alloc_order: remove 4 GiB limit, sgl_free() warning

2021-01-19 Thread Jason Gunthorpe
On Mon, Jan 18, 2021 at 08:27:09PM -0500, Douglas Gilbert wrote: > To protect against the "unsigned long long" length being too big why > not pick a large power of two and if someone can justify a larger > value, they can send a patch. > > if (length > 64ULL * 1024 * 1024 * 1024) >

[RESEND PATCH] clocksource/drivers/timer-microchip-pit64b: add clocksource suspend/resume

2021-01-19 Thread Claudiu Beznea
Add suspend/resume support for clocksource timer. Signed-off-by: Claudiu Beznea --- drivers/clocksource/timer-microchip-pit64b.c | 86 +++- 1 file changed, 71 insertions(+), 15 deletions(-) diff --git a/drivers/clocksource/timer-microchip-pit64b.c b/drivers/clocksource/

Re: [PATCH v4] tools/x86: Add a kcpuid tool to show raw CPU features

2021-01-19 Thread Feng Tang
On Tue, Jan 19, 2021 at 10:11:16AM +0100, Borislav Petkov wrote: > On Tue, Jan 19, 2021 at 01:19:42PM +0800, Feng Tang wrote: > > Sorry, after testing on more platforms, the following is needed to fix > > a potential array overflow ((a full patch with fix is also attached) > > > > diff --git a/too

Re: [PATCH v1 1/2] gpio: tegra: Fix wake interrupt

2021-01-19 Thread Bartosz Golaszewski
On Tue, Jan 12, 2021 at 2:30 PM Dmitry Osipenko wrote: > > The GPIO bank wake interrupt setting was erroneously removed after > conversion to gpio_irq_chip, thus the wake interrupt programming is > broken now. Secondly, the wake_enb of the GPIO driver should be changed > only after the successful

[PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-19 Thread Dongdong Tao
From: dongdong tao Current way to calculate the writeback rate only considered the dirty sectors, this usually works fine when the fragmentation is not high, but it will give us unreasonable small rate when we are under a situation that very few dirty sectors consumed a lot dirty buckets. In some

Re: [PATCH v4 3/5] kasan: Add report for async mode

2021-01-19 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 06:30:31PM +, Vincenzo Frascino wrote: > KASAN provides an asynchronous mode of execution. > > Add reporting functionality for this mode. > > Cc: Dmitry Vyukov > Cc: Andrey Ryabinin > Cc: Alexander Potapenko > Cc: Andrey Konovalov > Signed-off-by: Vincenzo Frascino

Re: [PATCH v4 1/5] arm64: mte: Add asynchronous mode support

2021-01-19 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 06:30:29PM +, Vincenzo Frascino wrote: > MTE provides an asynchronous mode for detecting tag exceptions. In > particular instead of triggering a fault the arm64 core updates a > register which is checked by the kernel after the asynchronous tag > check fault has occurred

Re: [PATCH v1 2/2] gpio: tegra: Add dependency on GPIOLIB_IRQCHIP

2021-01-19 Thread Bartosz Golaszewski
On Tue, Jan 12, 2021 at 2:30 PM Dmitry Osipenko wrote: > > Add dependency on GPIOLIB_IRQCHIP in order to fix driver compilation. > > Fixes: efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip") > Reported-by: Matt Merhar > Signed-off-by: Dmitry Osipenko > --- > drivers/gpio/Kconfig | 1 + > 1

Re: [PATCH v2 10/17] gpio: support ROHM BD71815 GPOs

2021-01-19 Thread Vaittinen, Matti
Hi Bartosz, On Tue, 2021-01-19 at 12:07 +0100, Bartosz Golaszewski wrote: > On Tue, Jan 19, 2021 at 8:23 AM Matti Vaittinen > wrote: > > Support GPO(s) found from ROHM BD71815 power management IC. The IC > > has two > > GPO pins but only one is properly documented in data-sheet. The > > driver >

Re: [PATCH v4] tools/x86: Add a kcpuid tool to show raw CPU features

2021-01-19 Thread Borislav Petkov
On Tue, Jan 19, 2021 at 08:56:39PM +0800, Feng Tang wrote: > Right! So this is better? > /* Skip line parsing for non-existing indexes */ Of course! Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

[PATCH v4 2/2] arm: lib: xor-neon: move pragma options to makefile

2021-01-19 Thread Adrian Ratiu
Using a pragma like GCC optimize is a bad idea because it tags all functions with an __attribute__((optimize)) which replaces optimization options rather than appending so could result in dropping important flags. Not recommended for production use. Because these options should always be enabled f

Re: [PATCH v2 4/7] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2021-01-19 Thread Rafael J. Wysocki
On Mon, Jan 18, 2021 at 9:55 PM Laurent Pinchart wrote: > > Hi Daniel, > > Thank you for the patch. > > On Mon, Jan 18, 2021 at 12:34:25AM +, Daniel Scally wrote: > > We want to refer to an i2c device by name before it has been > > s/i2c device/acpi i2c device/ ? > > > created by the kernel; a

Re: [PATCH -next] mmc: core: use roundup macro to to calculate blk_sz

2021-01-19 Thread Ulf Hansson
On Tue, 22 Dec 2020 at 14:34, Zheng Yongjun wrote: > > Don't open-code roundup() kernel macro. > > Signed-off-by: Zheng Yongjun > --- > drivers/mmc/core/sdio_io.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/mmc/core/sdio_io.c b/drivers/mmc/core/sdio_io.c >

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

2021-01-19 Thread Borislav Petkov
On Tue, Jan 19, 2021 at 08:15:05PM +0800, Feng Tang wrote: > 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-sp

[PATCH v4 0/2] xor-neon: Remove GCC warn & pragmas

2021-01-19 Thread Adrian Ratiu
Dear all, In v4 a Clang-specific vectorization warning was added at Arnd suggestion. This series does not address the Clang vectorize not working bug itself which is a known pre-existing issued documented at [1] [2] [3]. Clang vectorization needs to be investigated in more deepth and fixed separa

Re: [PATCH v1 00/24] Opt-in always-on nVHE hypervisor

2021-01-19 Thread Janne Karhunen
On Tue, Nov 10, 2020 at 1:19 PM Marc Zyngier wrote: > > Why? I thought we were trying to kill nVHE off now that newer CPUs > > provide the saner virtualization extensions? > > We can't kill nVHE at all, because that is the only game in town. > You can't even buy a decent machine with VHE, no mat

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

2021-01-19 Thread Rafael J. Wysocki
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 dependence on other ACPI devices as opposed to the Op

[PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread Adrian Ratiu
From: Nathan Chancellor Drop warning because kernel now requires GCC >= v4.9 after commit 6ec4476ac825 ("Raise gcc version requirement to 4.9") and clarify that -ftree-vectorize now always needs enabling for GCC by directly testing the presence of CONFIG_CC_IS_GCC. Another reason to remove the w

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

2021-01-19 Thread Rafael J. Wysocki
On Mon, Jan 18, 2021 at 11:03 PM Saravana Kannan wrote: > > On Fri, Jan 15, 2021 at 10:30 AM 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 > > been i

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 depe

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

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 c

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 progr

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 eventual

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 > --- > drivers/gp

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 t

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

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

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

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

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 kno

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 know.

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 *next

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 know

Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 19, 2021 at 11:31:44AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Jan 19, 2021 at 12:48:19AM +, Song Liu escreveu: > > > On Jan 18, 2021, at 11:38 AM, Arnaldo Carvalho de Melo > > > wrote: > > We are looking at two issues: > > 1. Cannot recursively attach; > > 2. prog FD

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 progr

Re: [PATCH bpf-next v2 3/3] xsk: build skb by page

2021-01-19 Thread Alexander Lobakin
From: Xuan Zhuo Date: Tue, 19 Jan 2021 17:45:12 +0800 > This patch is used to construct skb based on page to save memory copy > overhead. > > This function is implemented based on IFF_TX_SKB_NO_LINEAR. Only the > network card priv_flags supports IFF_TX_SKB_NO_LINEAR will use page to > directly c

Re: [PATCH v4 5/5] arm64: mte: Inline mte_assign_mem_tag_range()

2021-01-19 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 06:30:33PM +, Vincenzo Frascino wrote: > mte_assign_mem_tag_range() is called on production KASAN HW hot > paths. It makes sense to inline it in an attempt to reduce the > overhead. > > Inline mte_assign_mem_tag_range() based on the indications provided at > [1]. > > [

Re: [PATCH v4 3/5] kasan: Add report for async mode

2021-01-19 Thread Mark Rutland
On Tue, Jan 19, 2021 at 02:23:03PM +, Vincenzo Frascino wrote: > On 1/19/21 1:04 PM, Catalin Marinas wrote: > > On Mon, Jan 18, 2021 at 06:30:31PM +, Vincenzo Frascino wrote: > >> +bool kasan_report_async(unsigned long addr, size_t size, > >> + bool is_write, unsigned long

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 attri

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 swi

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 > `img_ir_nec_s

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] x86: PM: Register syscore_ops for scale invariance

2021-01-19 Thread Rafael J. Wysocki
On Tue, Jan 12, 2021 at 4:10 PM Rafael J. Wysocki wrote: > > On Tue, Jan 12, 2021 at 4:02 PM Peter Zijlstra wrote: > > > > On Fri, Jan 08, 2021 at 07:05:59PM +0100, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > On x86 scale invariace tends to be disabled during resume from >

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

2021-01-19 Thread Jianlin Lv
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, Example: $ cd /sys/kernel/debug/tracing $ echo 'r:myprobe ERROR_SYMBOL_XXX ret=%x0' >> kprobe_events bash: echo: write erro

Re: Live patching on ARM64

2021-01-19 Thread Madhavan T. Venkataraman
> Sorry for the late reply. The last RFC for arm64 support in objtool is a bit > old because it was preferable to split things into smaller series. > > I touched it much lately, so I'm picking it back up and will try to get a git > branch into shape on a recent mainline (a few things need fixi

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 progr

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

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 random

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: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html

RE: [PATCH] cfg80211: Fix "suspicious RCU usage in wiphy_apply_custom_regulatory" warning/backtrace

2021-01-19 Thread Peer, Ilan
Hi, This fix can be found here. It was merged to the mac80211 tree. https://patchwork.kernel.org/project/linux-wireless/patch/iwlwifi.20210105165657.613e9a876829.Ia38d27dbebea28bf9c56d70691d243186ede70e7@changeid/ Regards, Ilan. > -Original Message- > From: Hans de Goede > Sent: Monda

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

2021-01-19 Thread Christoph Hellwig
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 (unlikely(iommu_dma_deferred_attach(dev, domain))) > + if (static_branch_unlike

Re: [PATCH v2] kbuild: give the SUBLEVEL more room in KERNEL_VERSION

2021-01-19 Thread Greg KH
On Mon, Jan 18, 2021 at 02:54:53PM -0500, Sasha Levin wrote: > SUBLEVEL only has 8 bits of space, which means that we'll overflow it > once it reaches 256. > > Few of the stable branches will imminently overflow SUBLEVEL while > there's no risk of overflowing VERSION. > > Thus, give SUBLEVEL 8 mo

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 b

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: [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 the

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

2021-01-19 Thread Quentin Perret
On Tuesday 19 Jan 2021 at 12:07:55 (+), 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,

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 1000

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" members

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-19 Thread Khalid Aziz
On 1/18/21 10:12 AM, Charan Teja Reddy wrote: should_proactive_compact_node() returns true when sum of the weighted fragmentation score of all the zones in the node is greater than the wmark_high of compaction, which then triggers the proactive compaction that operates on the individual zones of

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-19 Thread Frank Rowand
On 1/19/21 2:05 AM, Viresh Kumar wrote: > On 18-01-21, 20:21, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> These changes apply on top of the patches in: >> >> [PATCH] of: unittest: Statically apply overlays using fdtoverlay >> Message-Id: >> <1e42183ccafa1afba33b3e79a4e3efd3329fd

Re: [PATCH v4 5/5] arm64: mte: Inline mte_assign_mem_tag_range()

2021-01-19 Thread Vincenzo Frascino
Hi Catalin, On 1/19/21 2:45 PM, Catalin Marinas wrote: > On Mon, Jan 18, 2021 at 06:30:33PM +, Vincenzo Frascino wrote: >> mte_assign_mem_tag_range() is called on production KASAN HW hot >> paths. It makes sense to inline it in an attempt to reduce the >> overhead. >> >> Inline mte_assign_mem_

Re: [PATCH] scsi: qla2xxx: fix description for parameter ql2xenforce_iocb_limit

2021-01-19 Thread Himanshu Madhani
> On Jan 18, 2021, at 12:49 PM, Enzo Matsumiya wrote: > > Parameter ql2xenforce_iocb_limit is enabled by default. > > Fixes: 89c72f4245a8 ("scsi: qla2xxx: Add IOCB resource tracking") > Signed-off-by: Enzo Matsumiya > --- > drivers/scsi/qla2xxx/qla_os.c | 2 +- > 1 file changed, 1 insertion(+

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

2021-01-19 Thread Takashi Iwai
On Tue, 19 Jan 2021 16:21:43 +0100, Kai-Heng Feng wrote: > > 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 did

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