Re: [PATCH v3 0/3] tracing: Show real address instead of hashed pointer

2020-10-15 Thread Steven Rostedt
On Thu, 15 Oct 2020 23:54:58 +0900 Masami Hiramatsu wrote: > Hi, > > Here is the 3rd version of the series for real address printing in trace log. > > Here is the previous version, I've fixed [1/3] to use krealloc(), fix memory > allocation error check and add __printf() attribute, according to

Re: [PATCH v6 00/80] htmldoc build fixes with Sphinx 2.x and 3.x

2020-10-15 Thread Daniel Vetter
On Tue, Oct 13, 2020 at 01:53:15PM +0200, Mauro Carvalho Chehab wrote: > This series actually folds the previous Sphinx 3.x patch series > with the other patches I sent fixing warnings with Sphinx > 2.x and with kernel-doc and that weren't merged yet via > some other tree. > > It is based on the to

Re: [PATCH 5/5] task_work: use TIF_NOTIFY_SIGNAL if available

2020-10-15 Thread Oleg Nesterov
On 10/15, Jens Axboe wrote: > > Reviewed-by: Oleg Nesterov Yes, but ... > +static void task_work_notify_signal(struct task_struct *task) > +{ > +#if defined(CONFIG_GENERIC_ENTRY) && defined(TIF_NOTIFY_SIGNAL) as long as defined(CONFIG_GENERIC_ENTRY) goes away ;) Thomas, I strongly, strongly di

Re: [Linux-kernel-mentees] [PATCH] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-10-15 Thread Greg KH
On Thu, Oct 15, 2020 at 07:40:12PM +0530, Anmol Karn wrote: > On Thu, Oct 15, 2020 at 07:12:25AM +0200, Greg KH wrote: > > On Thu, Oct 15, 2020 at 05:47:12AM +0530, Anmol Karn wrote: > > > In rose_send_frame(), when comparing two ax.25 addresses, it assigns > > > rose_call to > > > either global

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-15 Thread Rafael J. Wysocki
On Tue, Oct 13, 2020 at 2:39 PM Ionela Voinescu wrote: > > Hi Rafael, > > On Tuesday 13 Oct 2020 at 13:53:37 (+0200), Rafael J. Wysocki wrote: > > On Tue, Oct 13, 2020 at 12:01 AM Ionela Voinescu > > wrote: > > > > > > Hey Lukasz, > > > > > > I think after all this discussion (in our own way of d

[PATCH 2/2 v2] selftests/timens: Add a test for futex()

2020-10-15 Thread Andrei Vagin
Output on success: 1..2 ok 1 futex with the 0 clockid ok 2 futex with the 1 clockid # Totals: pass:2 fail:0 xfail:0 xpass:0 skip:0 error:0 Signed-off-by: Andrei Vagin --- v2: extend the test to check FUTEX_CLOCK_REALTIME tools/testing/selftests/timens/Makefile | 2 +- tools/testing/selfte

[PATCH 1/2 v2] futex: adjust a futex timeout with a per-timens offset

2020-10-15 Thread Andrei Vagin
For all commands except FUTEX_WAIT, timeout is interpreted as an absolute value. This absolute value is inside the task's time namespace and has to be converted to the host's time. Cc: Fixes: 5a590f35add9 ("posix-clocks: Wire up clock_gettime() with timens offsets") Reported-by: Hans van der Laa

Re: [PATCH v3 0/3] tracing: Show real address instead of hashed pointer

2020-10-15 Thread Masami Hiramatsu
On Thu, 15 Oct 2020 11:49:31 -0400 Steven Rostedt wrote: > On Thu, 15 Oct 2020 23:54:58 +0900 > Masami Hiramatsu wrote: > > > Hi, > > > > Here is the 3rd version of the series for real address printing in trace > > log. > > > > Here is the previous version, I've fixed [1/3] to use krealloc()

[PATCH v2 net-next] net: stmmac: Enable EEE HW LPI timer with auto SW/HW switching

2020-10-15 Thread Voon Weifeng
From: "Vineetha G. Jaya Kumaran" This patch enables the HW LPI Timer which controls the automatic entry and exit of the LPI state. The EEE LPI timer value is configured through ethtool. The driver will auto select the LPI HW timer if the value in the HW timer supported range. Else, the driver wil

Re: [PATCH 1/2 v2] futex: adjust a futex timeout with a per-timens offset

2020-10-15 Thread Dmitry Safonov
On 10/15/20 5:00 PM, Andrei Vagin wrote: > For all commands except FUTEX_WAIT, timeout is interpreted as an > absolute value. This absolute value is inside the task's time namespace > and has to be converted to the host's time. > > Cc: > Fixes: 5a590f35add9 ("posix-clocks: Wire up clock_gettime()

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

2020-10-15 Thread Mathieu Poirier
On Thu, Oct 15, 2020 at 06:15:22PM +0530, Sai Prakash Ranjan wrote: > On production systems with ETMs enabled, it is preferred to > exclude kernel mode(NS EL1) tracing for security concerns and > support only userspace(NS EL0) tracing. So provide an option > via kconfig to exclude kernel mode traci

Re: [PATCH] arm64: dts: mediatek: Add smi_common node for MT8183

2020-10-15 Thread Enric Balletbo i Serra
Hi Matthias, On 2/10/20 11:17, Matthias Brugger wrote: > > > On 01/10/2020 18:28, Enric Balletbo i Serra wrote: >> The SMI (Smart Multimedia Interface) Common is a bridge between the m4u >> (Multimedia Memory Management Unit) and the Multimedia HW. This block is >> needed to support different mu

[PATCH v2] x86/insn, tools/x86: Fix some potential undefined behavior.

2020-10-15 Thread Ian Rogers
From: Numfor Mbiziwo-Tiapo Don't perform unaligned loads in __get_next and __peek_nbyte_next as these are forms of undefined behavior. These problems were identified using the undefined behavior sanitizer (ubsan) with the tools version of the code and perf test. Part of this patch was previously

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-15 Thread Mark Brown
On Thu, Oct 15, 2020 at 03:59:26PM +0800, Cheng-yi Chiang wrote: > On Tue, Oct 13, 2020 at 6:36 PM Srinivas Kandagatla > > > +properties: > > > + compatible: > > > +const: qcom,sc7180-sndcard-rt5682-m98357-1mic > > This information can come from the dai link description itself, why > > shoul

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 11:49:26AM +0200, Peter Zijlstra wrote: > On Wed, Oct 14, 2020 at 08:41:28PM -0700, Paul E. McKenney wrote: > > So the (untested) patch below (on top of the other two) moves the delay > > to rcu_gp_init(), in particular, to the first loop that traverses only > > the leaf rcu

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 11:50:33AM +0200, Peter Zijlstra wrote: > On Thu, Oct 15, 2020 at 11:49:26AM +0200, Peter Zijlstra wrote: > > --- a/kernel/rcu/tree.c > > +++ b/kernel/rcu/tree.c > > @@ -1143,13 +1143,15 @@ bool rcu_lockdep_current_cpu_online(void > > struct rcu_data *rdp; > > struct

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 11:52:35AM +0200, Peter Zijlstra wrote: > On Thu, Oct 15, 2020 at 11:49:26AM +0200, Peter Zijlstra wrote: > > --- a/kernel/rcu/tree.c > > +++ b/kernel/rcu/tree.c > > @@ -1764,8 +1764,7 @@ static bool rcu_gp_init(void) > > smp_mb(); // Pair with barriers used when

[PATCH v2 6/7] [DNI] arm64: dts: renesas: salvator-x: Add MAX9286 expansion board

2020-10-15 Thread Jacopo Mondi
From: Laurent Pinchart Add a .dtsi fragment to describe the MAX9286-based expansion board for the Renesas Salvator-X board. The MAX9286 expansion board has eight RDACM20 cameras connected to it. They can be individually controlled by enabling or disabling the macro defines. Signed-off-by: Laure

[PATCH v2 5/7] media: i2c: max9286: Configure reverse channel amplitude

2020-10-15 Thread Jacopo Mondi
Adjust reverse channel amplitude according to the presence of the 'high-threshold" DTS property. If no high threshold compensation is required, start with a low amplitude (100mV) and increase it after the remote serializers have probed and have enabled noise immunity on their reverse channels. If

[PATCH v2 7/7] [DNI] arm64: dts: renesas: salvator-x-max9286: Use high-threshold

2020-10-15 Thread Jacopo Mondi
Use the newly introduced 'maxim,high-threshold' property to maintain compatibility with RDACM20 camera module. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/salvator-x-max9286.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/salvator-x-max9286.

[PATCH v2 3/7] media: i2c: max9286: Break-out reverse channel setup

2020-10-15 Thread Jacopo Mondi
Break out the reverse channel setup configuration procedure to its own function. This change prepares for configuring the reverse channel conditionally to the remote side high threshold configuration. No functional changes intended. Signed-off-by: Jacopo Mondi --- drivers/media/i2c/max9286.c |

[PATCH v2 2/7] dt-bindings: media: max9286: Document 'maxim,high-threshold'

2020-10-15 Thread Jacopo Mondi
Document the 'maxim,high-threshold' vendor property in the bindings document of the max9286 driver. The newly introduced boolean property allows controlling the initial configuration of the GMSL reverse control channel to accommodate remote serializers pre-programmed with the high threshold power

[PATCH v2 4/7] media: i2c: max9286: Make channel amplitude programmable

2020-10-15 Thread Jacopo Mondi
Instrument the function that configures the reverse channel with a programmable amplitude value. This change serves to prepare to adjust the reverse channel amplitude depending on the remote end high-threshold configuration. Signed-off-by: Jacopo Mondi --- drivers/media/i2c/max9286.c | 22 +

[PATCH v2 0/7] media: i2c: Add support for RDACM21 camera module

2020-10-15 Thread Jacopo Mondi
Hello, v2 of support for RDACM21 camera module in this series. Patch [1/7] introduces the camera module driver. Only change compared to v1: - Increase pixel clock to 55MHz >From [2/7] to [5/7] there's a proposal of a possible way to support both RDACM20 and RDACM21 with the same deserializer dr

[PATCH v2 1/7] media: i2c: Add driver for RDACM21 camera module

2020-10-15 Thread Jacopo Mondi
The RDACM21 is a GMSL camera supporting 1280x1080 resolution images developed by IMI based on an Omnivision OV10640 sensor, an Omnivision OV490 ISP and a Maxim MAX9271 GMSL serializer. The driver uses the max9271 library module, to maximize code reuse with other camera module drivers using the sam

Re: [PATCH v10 0/6] add DFL bus support to MODULE_DEVICE_TABLE()

2020-10-15 Thread Moritz Fischer
Hi Xu, On Thu, Oct 15, 2020 at 03:16:27PM +0800, Xu Yilun wrote: > Patch #1 is a fix of the fields in struct dfl_device & dfl_device_id. > > Patch #2, 3, 4 add dfl bus support to MODULE_DEVICE_TABLE(), they also > move the necessary definitions in head file to public folders so that > scatter dfl

Re: [PATCH 4/6] clk: renesas: r8a779a0: Add VIN[00-31] clocks

2020-10-15 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Oct 15, 2020 at 9:32 AM Jacopo Mondi wrote: > On Wed, Oct 14, 2020 at 09:55:32PM +0300, Sergei Shtylyov wrote: > > On 10/14/20 12:44 PM, Jacopo Mondi wrote: > > > Add clock definitions of the VIN instances for R-Car V3U. > > > > > > Signed-off-by: Jacopo Mondi > > > > > > ---

Re: [PATCH v6 00/80] htmldoc build fixes with Sphinx 2.x and 3.x

2020-10-15 Thread Mauro Carvalho Chehab
Em Thu, 15 Oct 2020 17:49:23 +0200 Daniel Vetter escreveu: > On Tue, Oct 13, 2020 at 01:53:15PM +0200, Mauro Carvalho Chehab wrote: > > This series actually folds the previous Sphinx 3.x patch series > > with the other patches I sent fixing warnings with Sphinx > > 2.x and with kernel-doc and tha

Re: [PATCH] lib: kunit: add test_min_heap test conversion to KUnit

2020-10-15 Thread Ian Rogers
On Wed, Oct 14, 2020 at 4:49 PM Vitor Massaru Iha wrote: > > Hi Ian, > > > On Wed, Jul 29, 2020 at 7:57 PM Ian Rogers wrote: > > > > On Wed, Jul 29, 2020 at 1:11 PM Vitor Massaru Iha wrote: > > > > > > This adds the conversion of the runtime tests of test_min_heap, > > > from `lib/test_min_heap.

Re: [PATCH v2] i2c: i2c-mux-gpio: Enable this driver in ACPI land

2020-10-15 Thread Evan Green
On Thu, Oct 15, 2020 at 3:23 AM Peter Rosin wrote: > > Hi! > > On 2020-10-15 03:02, Evan Green wrote: > > Enable i2c-mux-gpio devices to be defined via ACPI. The idle-state > > property translates directly to a fwnode_property_*() call. The child > > reg property translates naturally into _ADR in

Re: perf test 67 dumps core on linux v5.9

2020-10-15 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 15, 2020 at 05:09:17PM +0200, Jiri Olsa escreveu: > ah when puting it on top of perf/core I found it's already fixed there: > a55b7bb1c146 (tag: perf-tools-tests-v5.10-2020-09-28) perf test: Fix msan > uninitialized use. > so we should be fine For 5.10, yes, but probably we need t

Re: [RFC PATCH 1/4] Add a RPMSG driver for the APU in the mt8183

2020-10-15 Thread Mathieu Poirier
On Wed, Oct 14, 2020 at 04:55:34PM -0600, Mathieu Poirier wrote: > Hi Alexandre, > > On Wed, Sep 30, 2020 at 01:53:47PM +0200, Alexandre Bailon wrote: > > This adds a driver to communicate with the APU available > > in the mt8183. The driver is generic and could be used for other APU. > > It mostl

[GIT PULL] Hyper-V commits for 5.10, part 2

2020-10-15 Thread Wei Liu
Hi Linus, I accidentally dropped one patch that was supposed to be merged in this merge window from my first pull request. Please pull the following changes since commit 1f3aed01473c41c9f896fbf4c30d330655e8aa7c: hv: clocksource: Add notrace attribute to read_hv_sched_clock_*() functions (202

Re: [PATCH 1/1] watchdog: repair pnx833x_wdt

2020-10-15 Thread Guenter Roeck
On Wed, Oct 14, 2020 at 05:56:32PM +0300, Sergey Yasinsky wrote: > Using watchdog core functions instead of miscdevice. > This is not a repair, this is a convertion to use the watchdog core (which also happens to fix a compile error). The driver should also be converted to a platform device, and

Re: [Nouveau] [PATCH RFC] drm/nouveau: fix memory leak in nvkm_iccsense_oneinit

2020-10-15 Thread Karol Herbst
Ben, I think this is like the 5th patch tackling this issue, I think we should merge one of those. On Thu, Oct 15, 2020 at 6:23 AM Keita Suzuki wrote: > > struct pw_rail_t is allocated as an array in function nvios_iccsense_parse, > and stored to a struct member of local variable. However, the ar

Re: [PATCH v6 35/80] docs: fs: fscrypt.rst: get rid of :c:type: tags

2020-10-15 Thread Eric Biggers
On Thu, Oct 15, 2020 at 07:32:07AM +0200, Mauro Carvalho Chehab wrote: > On the other hand, if one finds a valid "struct foo" using normal > fonts, this would mean that either the doc is outdated, mentioning > an struct that were removed/renamed or that there's a missing > kernel-doc markup. > >

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-15 Thread Florian Fainelli
On 10/14/20 3:14 AM, Serge Semin wrote: > In accordance with the Generic EHCI/OHCI bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Let's fix the DTS files, whic

Re: [PATCH] bpfilter: Fix build error with CONFIG_BPFILTER_UMH

2020-10-15 Thread Jakub Kicinski
On Wed, 14 Oct 2020 17:17:49 +0800 YueHaibing wrote: > IF CONFIG_BPFILTER_UMH is set, building fails: > > In file included from /usr/include/sys/socket.h:33:0, > from net/bpfilter/main.c:6: > /usr/include/bits/socket.h:390:10: fatal error: asm/socket.h: No such file or > director

Re: [PATCH 1/2] vfs: move generic_remap_checks out of mm

2020-10-15 Thread Darrick J. Wong
On Thu, Oct 15, 2020 at 12:38:26PM +0100, Matthew Wilcox wrote: > On Wed, Oct 14, 2020 at 05:31:21PM -0700, Darrick J. Wong wrote: > > I would like to move all the generic helpers for the vfs remap range > > functionality (aka clonerange and dedupe) into a separate file so that > > they won't be sc

Re: [PATCH 07/20] dt-bindings: usb: xhci: Add Broadcom STB v2 compatible device

2020-10-15 Thread Florian Fainelli
On 10/14/20 3:13 AM, Serge Semin wrote: > For some reason the "brcm,xhci-brcm-v2" compatible string has been missing > in the original bindings file. Add it to the Generic xHCI Controllers DT > schema since the controller driver expects it to be supported. > > Signed-off-by: Serge Semin Acked-by

[PATCH 3/2] vfs: move the generic write and copy checks out of mm

2020-10-15 Thread Darrick J. Wong
From: Darrick J. Wong The generic write check helpers also don't have much to do with the page cache, so move them to the vfs. Signed-off-by: Darrick J. Wong --- fs/read_write.c| 143 include/linux/fs.h |3 - mm/filemap.c | 1

Re: [PATCH v2 16/16] iomap: Make readpage synchronous

2020-10-15 Thread Matthew Wilcox
On Thu, Oct 15, 2020 at 10:42:03AM +0100, Christoph Hellwig wrote: > > +static void iomap_read_page_end_io(struct bio_vec *bvec, > > + struct completion *done, bool error) > > I really don't like the parameters here. Part of the problem is > that ctx is only assigned to bi_private condi

Re: [PATCH 0/2] vfs: move the clone/dedupe/remap helpers to a single file

2020-10-15 Thread Darrick J. Wong
On Thu, Oct 15, 2020 at 04:18:19AM +0100, Al Viro wrote: > On Wed, Oct 14, 2020 at 05:31:14PM -0700, Darrick J. Wong wrote: > > > AFAICT, nobody is attempting to land any major changes in any of the vfs > > remap functions during the 5.10 window -- for-next showed conflicts only > > in the Makefil

Re: [GIT PULL] Staging/IIO driver update for 5.10-rc1

2020-10-15 Thread Linus Torvalds
On Thu, Oct 15, 2020 at 5:26 AM Greg KH wrote: > > Included in here are: > - new IIO drivers [...] > - no new drivers added or removed So which one is it? New drivers, or no new drivers, that is the question: Whether 'tis nobler in the mind to suffer.. I do understand what I thi

Re: [PATCH v2] dm verity: Add support for signature verification with 2nd keyring

2020-10-15 Thread Mike Snitzer
On Thu, Oct 15 2020 at 11:05am -0400, Mickaël Salaün wrote: > From: Mickaël Salaün > > Add a new configuration DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING > to enable dm-verity signatures to be verified against the secondary > trusted keyring. Instead of relying on the builtin trusted keyr

Re: [PATCH 1/7] of: base: Add of_count_phandle_with_fixed_args()

2020-10-15 Thread Robin Murphy
On 2020-10-14 19:39, Rob Herring wrote: On Wed, Oct 14, 2020 at 9:54 AM Richard Fitzgerald wrote: Add an equivalent of of_count_phandle_with_args() for fixed argument sets, to pair with of_parse_phandle_with_fixed_args(). Signed-off-by: Richard Fitzgerald --- drivers/of/base.c | 42 ++

Re: [RFC] of/platform: Create device link between simple-mfd and its children

2020-10-15 Thread Saravana Kannan
On Thu, Oct 15, 2020 at 4:43 AM Nicolas Saenz Julienne wrote: > > 'simple-mfd' usage implies there might be some kind of resource sharing > between the parent device and its children. By creating a device link > with DL_FLAG_AUTOREMOVE_CONSUMER we make sure that at no point in time > the parent de

Re: [PATCH v6 35/80] docs: fs: fscrypt.rst: get rid of :c:type: tags

2020-10-15 Thread Mauro Carvalho Chehab
Em Thu, 15 Oct 2020 09:36:05 -0700 Eric Biggers escreveu: > On Thu, Oct 15, 2020 at 07:32:07AM +0200, Mauro Carvalho Chehab wrote: > > On the other hand, if one finds a valid "struct foo" using normal > > fonts, this would mean that either the doc is outdated, mentioning > > an struct that were r

Re: [PATCH net-next] net: ptp: get rid of IPV4_HLEN() and OFF_IHL macros

2020-10-15 Thread Florian Fainelli
On 10/14/20 8:36 PM, Richard Cochran wrote: > On Wed, Oct 14, 2020 at 01:58:05PM +0200, Christian Eggers wrote: >> Both macros are already marked for removal. > > I'm not sure what Daniel Borkmann meant by that comment, but ... > >> switch (type & PTP_CLASS_PMASK) { >> case PTP_CLASS_IP

Re: [PATCH] lib: kunit: add test_min_heap test conversion to KUnit

2020-10-15 Thread Vitor Massaru Iha
Hi Ian, On Thu, Oct 15, 2020 at 1:30 PM Ian Rogers wrote: > > On Wed, Oct 14, 2020 at 4:49 PM Vitor Massaru Iha wrote: > > > > Hi Ian, > > > > > > On Wed, Jul 29, 2020 at 7:57 PM Ian Rogers wrote: > > > > > > On Wed, Jul 29, 2020 at 1:11 PM Vitor Massaru Iha > > > wrote: > > > > > > > > This

[PATCH 2/2] ACPI: DPTF: Add ACPI_DPTF Kconfig menu

2020-10-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a Kconfig menu for Intel DPTF (Dynamic Platform and Thermal Framework), put both the existing participant drivers in it and set them to be built as modules by default. While at it, do a few assorted cleanups for a good measure. Signed-off-by: Rafael J. Wysocki ---

[PATCH 0/2] ACPI: DPTF: Driver name fixes and Kconfig update

2020-10-15 Thread Rafael J. Wysocki
Hi, These patches fix the names of two DPTF drivers to adhere to the sysfs file naming conventions and rework the DPTF part of Kconfig. Please refer to the patch changelogs for details. Thanks!

[PATCH 1/2] ACPI: DPTF: Fix participant driver names

2020-10-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Change the names of DPTF participant drivers to adhere to the sysfs file naming conventions (no spaces present in the name in particular). Fixes: 2ce6324eadb0 ("ACPI: DPTF: Add PCH FIVR participant driver") Fixes: 6256ebd5daf9 ("ACPI / DPTF: Add DPTF power participant dri

Re: [GIT PULL] Staging/IIO driver update for 5.10-rc1

2020-10-15 Thread Greg KH
On Thu, Oct 15, 2020 at 09:49:56AM -0700, Linus Torvalds wrote: > On Thu, Oct 15, 2020 at 5:26 AM Greg KH wrote: > > > > Included in here are: > > - new IIO drivers > [...] > > - no new drivers added or removed > > So which one is it? > > New drivers, or no new drivers, that is t

[PATCH v3] lib: kunit: add test_min_heap test conversion to KUnit

2020-10-15 Thread Vitor Massaru Iha
This adds the conversion of the runtime tests of test_min_heap, from `lib/test_min_heap.c` to KUnit tests. Signed-off-by: Vitor Massaru Iha --- v2: * change Kconfig entries to be more adherent to KUnit documentation, min_heap test runs when enabling full test coverage (KUNIT_ALL_TESTS

Re: linux-next: Tree for Oct 15 (drivers/net/pcs/pcs-xpcs.o)

2020-10-15 Thread Ioana Ciornei
On Thu, Oct 15, 2020 at 03:06:42PM +, Jose Abreu wrote: > From: Randy Dunlap > Date: Oct/15/2020, 15:45:57 (UTC+00:00) > > > On 10/15/20 12:28 AM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Since the merge window is open, please do not add any v5.11 material to > > > your linux-next i

[PATCH v10 3/3] binder: add transaction latency tracer

2020-10-15 Thread Frankie Chang
Change from v10: - replace timespec64 with ktime_t. - fix build warning. Change from v9: - rename timestamp to ts in binder_internal.h for conciseness. - change timeval to timespec64 in binder_internal.h Change from v8: - change rtc_time_to_tm to rtc_time64_to_tm. - change timeval to

Re: [Nouveau] [PATCH RFC] drm/nouveau: fix memory leak in nvkm_iccsense_oneinit

2020-10-15 Thread Karol Herbst
On Thu, Oct 15, 2020 at 6:32 PM Karol Herbst wrote: > > Ben, I think this is like the 5th patch tackling this issue, I think > we should merge one of those. > maybe I just confused that with reports, but it seems to turn up quite a bit and maybe I should have pushed more of it as well... Anyway,

Re: [GIT PULL] Staging/IIO driver update for 5.10-rc1

2020-10-15 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Oct 2020 14:27:13 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ade7afe3e606f9f6ff0e6deefce140157f75540b Thank you! -- Deet-doot-

[ANNOUNCEMENT] resctl-demo (Resource Control Demo)

2020-10-15 Thread Tejun Heo
Hello, resctl-demo which documents resource control features and strategies with live scenarios has just been released. This documents most stuff that we learned at FB working with and deploying cgroup2, PSI and oomd. Setting up the whole environment is still a bit difficult because it depends on

Re: [GIT PULL] USB/PHY/Thunderbolt driver patches for 5.10-rc1

2020-10-15 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Oct 2020 14:28:22 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c6dbef7307629cce855aa6b482b60cbfed88 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Char/Misc driver patches for 5.10-rc1

2020-10-15 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Oct 2020 14:28:58 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/726eb70e0d34dc4bc4dada71f52bba8ed638431e Thank you! -- Deet-d

Re: [GIT PULL] ACPI updates for v5.10-rc1

2020-10-15 Thread Rafael J. Wysocki
On Wed, Oct 14, 2020 at 8:52 PM Linus Torvalds wrote: > > On Tue, Oct 13, 2020 at 10:34 AM Rafael J. Wysocki wrote: > > > > ACPI updates for 5.10-rc1. > > So these clashed with Andrew's patches that I merged earlier > (particularly commit c01044cc8191: "ACPI: HMAT: refactor > hmat_register_target

Re: 5.10-rc0: build error in ipi.c

2020-10-15 Thread Pavel Machek
Hi! > > > I'm getting build problems in 5.10-rc0 in config for n900. ARM board. > > > > > > CONFIG_SMP=y > > > CONFIG_SMP_ON_UP=y > > On its own, this doesn't break anything with multi_v7_defconfig. I sent config off-list. Let me know if it does not arrive or if you need more info. Best regard

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 09:15:01AM -0700, Paul E. McKenney wrote: > On Thu, Oct 15, 2020 at 11:49:26AM +0200, Peter Zijlstra wrote: > > On Wed, Oct 14, 2020 at 08:41:28PM -0700, Paul E. McKenney wrote: [ . . . ] > > --- a/kernel/rcu/tree.c > > +++ b/kernel/rcu/tree.c > > @@ -1764,8 +1764,7 @@ sta

Re: [PATCH v5 00/13] bus/fsl-mc: Extend mc-bus driver functionalities in preparation for mc-bus VFIO support

2020-10-15 Thread Greg KH
On Wed, Oct 14, 2020 at 08:27:42PM -0600, Alex Williamson wrote: > On Fri, 2 Oct 2020 16:05:49 +0200 > Greg KH wrote: > > > On Fri, Oct 02, 2020 at 04:56:52PM +0300, Laurentiu Tudor wrote: > > > Hi Greg, > > > > > > On 10/2/2020 4:55 PM, Greg KH wrote: > > > > On Tue, Sep 29, 2020 at 02:06:41P

Re: [PATCH v2 net-next] net: stmmac: Enable EEE HW LPI timer with auto SW/HW switching

2020-10-15 Thread kernel test robot
Hi Voon, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Voon-Weifeng/net-stmmac-Enable-EEE-HW-LPI-timer-with-auto-SW-HW-switching/20201016-000231 base: https://git.kernel.org/pub/scm/linux/ke

Re: [PATCH 6/7] ARM: dts: Add dts for Raspberry Pi 4 + Cirrus Logic Lochnagar2

2020-10-15 Thread Mark Brown
On Thu, Oct 15, 2020 at 05:12:42PM +0200, Nicolas Saenz Julienne wrote: > On Thu, 2020-10-15 at 12:14 +0100, Richard Fitzgerald wrote: > > We want something in mainline so that it can be used by people > > developing on mainline and taken as a starting point for configuring > > the codecs for othe

Re: [PATCH net-next v6 07/10] bridge: cfm: Netlink SET configuration Interface.

2020-10-15 Thread Jakub Kicinski
On Thu, 15 Oct 2020 11:54:15 + Henrik Bjoernlund wrote: > + [IFLA_BRIDGE_CFM_MEP_CONFIG_MDLEVEL] = { > + .type = NLA_U32, .validation_type = NLA_VALIDATE_MAX, .max = 7 }, NLA_POLICY_MAX(NLA_U32, 7) Also why did you keep the validation in the code in patch 4?

Re: [PATCH] RCU: fix a typo in comments of rcu_blocking_is_gp

2020-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 03:53:03AM +, Zhouyi Zhou wrote: > There is a tiny typo in comment of function rcu_blocking_is_gp. > > Signed-off-by: Zhouyi Zhou Good catch, queued, thank you! Thanx, Paul > --- > kernel/rcu/tree.c |2 +-

Re: [PATCH] docs/rcu: update the api of call_rcu()

2020-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 10:13:34PM +0800, Hui Su wrote: > update the api of call_rcu() > > Signed-off-by: Hui Su Good point, the typedef is more compact. Queued, thank you! Thanx, Paul > --- > Documentation/RCU/whatisRCU.rst | 3 +-- >

Re: [PATCH] compiler.h: Fix barrier_data() on clang

2020-10-15 Thread Nick Desaulniers
On Thu, Oct 15, 2020 at 8:39 AM Arvind Sankar wrote: > > On Thu, Oct 15, 2020 at 03:24:09PM +, David Laight wrote: > > > I think the comment is unclear now that you bring it up, but the problem > > > it actually addresses is not that the data is held in registers: in the > > > sha256_transform

bpf-next test error: BUG: program execution failed: executor 0: exit status 67

2020-10-15 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e688c3db bpf: Fix register equivalence tracking. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=13d3c67850 kernel config: https://syzkaller.appspot.com/x/.config?x=ea7dc57e899da16d dashboard link:

Re: bpf-next test error: BUG: program execution failed: executor 0: exit status 67

2020-10-15 Thread Dmitry Vyukov
On Thu, Oct 15, 2020 at 7:41 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:e688c3db bpf: Fix register equivalence tracking. > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=13d3c67850 > kernel config: https://syz

[PATCH] acct.c: use #elif instead of #end and #elif

2020-10-15 Thread Hui Su
use #elif instead of #end and #elif. Signed-off-by: Hui Su --- kernel/acct.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kernel/acct.c b/kernel/acct.c index b0c5b3a9f5af..24681372af07 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -381,9 +381,7 @@ static comp2_t

Re: [PATCH v2] lib: kunit: add list_sort test conversion to KUnit

2020-10-15 Thread Andy Shevchenko
On Wed, Oct 14, 2020 at 10:46:16PM -0300, Vitor Massaru Iha wrote: > This adds the conversion of the runtime tests of test_list_sort, > from `lib/test_list_sort.c` to KUnit tests. > rename lib/{test_list_sort.c => list_sort_kunit.c} (62%) One more thing. The documentation [1] doesn't specify any

Re: linux-next: Tree for Oct 15 (drivers/net/pcs/pcs-xpcs.o)

2020-10-15 Thread Randy Dunlap
On 10/15/20 10:02 AM, Ioana Ciornei wrote: > On Thu, Oct 15, 2020 at 03:06:42PM +, Jose Abreu wrote: >> From: Randy Dunlap >> Date: Oct/15/2020, 15:45:57 (UTC+00:00) >> >>> On 10/15/20 12:28 AM, Stephen Rothwell wrote: Hi all, Since the merge window is open, please do not add an

[GIT PULL] dma-mapping updates for 5.10

2020-10-15 Thread Christoph Hellwig
Hi Linus, please pull the dma-mapping update for 5.10. It contains a (clean) merge of a later 5.9-rc commit, as I had to pull in a media subsystem revert that is required for later commits. There are a few trivial contextual conflicts due to the dma-mapping.h split, for those simple keep both si

[RFC PATCH] net: bridge: call br_multicast_del_port before the port leaves

2020-10-15 Thread Vladimir Oltean
Switchdev drivers often have different VLAN semantics than the bridge. For example, consider this: ip link add br0 type bridge ip link set swp0 master br0 bridge mdb add dev br0 port swp0 grp 01:02:03:04:05:06 permanent ip link del br0 [ 26.085816] mscc_felix :00:00.5 swp0: failed (err=-2) t

Re: [PATCH 1/4] tools/power/cpupower: Read energy_perf_bias from sysfs

2020-10-15 Thread Shuah Khan
On 10/15/20 8:46 AM, Borislav Petkov wrote: From: Borislav Petkov ... instead of poking at the MSR. For that, move the accessor functions to misc.c and add a sysfs-writing function too. > There should be no functional changes resulting from this. Signed-off-by: Borislav Petkov Cc: Thomas Ren

Re: [git pull] drm next pull for 5.10-rc1

2020-10-15 Thread Linus Torvalds
On Wed, Oct 14, 2020 at 6:33 PM Dave Airlie wrote: > > There are a bunch of conflicts but none of them seemed overly scary, > and sfr has provided resolutions for them all. I've put a tree up with > my merge results, so you can tell me I did it wrong here: > https://cgit.freedesktop.org/~airlied/

[PATCH 2/2] arm64: dts: qcom: sc7180: Add DDR/L3 votes for the pro variant

2020-10-15 Thread Sibi Sankar
Add DDR/L3 bandwidth votes for the pro variant of SC7180 SoC, as it support frequencies upto 2.5 GHz. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc71

[GIT PULL] tracing: Updates for 5.10

2020-10-15 Thread Steven Rostedt
Linus, Updates for tracing and bootconfig: - Add support for "bool" type in synthetic events - Add per instance tracing for bootconfig - Support perf-style return probe ("SYMBOL%return") in kprobes and uprobes - Allow for kprobes to be enabled earlier in boot up - Added tracepoint helper fu

[GIT PULL] configfs updates for 5.10

2020-10-15 Thread Christoph Hellwig
[resent with the mailing lists in Cc] The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://git.infradead.org/users/hch/configfs.git tags/configfs-5.10 for you to fetch changes up

Re: [PATCH v2] lib: kunit: add list_sort test conversion to KUnit

2020-10-15 Thread Vitor Massaru Iha
On Thu, Oct 15, 2020 at 7:50 AM Andy Shevchenko wrote: > > On Wed, Oct 14, 2020 at 10:46:16PM -0300, Vitor Massaru Iha wrote: > > This adds the conversion of the runtime tests of test_list_sort, > > from `lib/test_list_sort.c` to KUnit tests. > > Please, provide better commit message. For example,

Re: linux-next: manual merge of the akpm-current tree with the kunit-next tree

2020-10-15 Thread Shuah Khan
On 10/14/20 11:38 PM, Stephen Rothwell wrote: Hi all, On Mon, 12 Oct 2020 19:56:49 +1100 Stephen Rothwell wrote: Today's linux-next merge of the akpm-current tree got a conflict in: lib/kunit/test.c between commit: 45dcbb6f5ef7 ("kunit: test: add test plan to KUnit TAP format") fro

Re: [git pull] drm next pull for 5.10-rc1

2020-10-15 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Oct 2020 11:33:08 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-10-15 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/93b694d096cc10994c817730d4d50288f9ae3d66 Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH v2 16/16] iomap: Make readpage synchronous

2020-10-15 Thread Christoph Hellwig
On Thu, Oct 15, 2020 at 05:43:33PM +0100, Matthew Wilcox wrote: > On Thu, Oct 15, 2020 at 10:42:03AM +0100, Christoph Hellwig wrote: > > > +static void iomap_read_page_end_io(struct bio_vec *bvec, > > > + struct completion *done, bool error) > > > > I really don't like the parameters here.

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-15 Thread Christian Eggers
Hi Vladimir, sorry for the delay, getting answers to all you questions seems to be challenging for me. Unfortunately it's about 1 year ago when I was originally working on this particular problem and obviously I didn't understand the full problem... On Wednesday, 14 October 2020, 19:31:03 CEST

Re: [PATCH v2] lib: kunit: add list_sort test conversion to KUnit

2020-10-15 Thread Vitor Massaru Iha
On Thu, Oct 15, 2020 at 2:47 PM Andy Shevchenko wrote: > > On Wed, Oct 14, 2020 at 10:46:16PM -0300, Vitor Massaru Iha wrote: > > This adds the conversion of the runtime tests of test_list_sort, > > from `lib/test_list_sort.c` to KUnit tests. > > > rename lib/{test_list_sort.c => list_sort_kunit.

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

2020-10-15 Thread Shuah Khan
On 10/15/20 4:43 AM, Vitor Massaru Iha wrote: Hi Stephen, On Thu, Oct 15, 2020 at 2:31 AM Stephen Rothwell wrote: Hi all, After merging the kunit-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: lib/bitfield_kunit.c: In function 'test_bitfields_compile': lib/

Re: bpf-next test error: BUG: program execution failed: executor 0: exit status 67

2020-10-15 Thread Jakub Kicinski
On Thu, 15 Oct 2020 19:46:35 +0200 Dmitry Vyukov wrote: > On Thu, Oct 15, 2020 at 7:41 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:e688c3db bpf: Fix register equivalence tracking. > > git tree: bpf-next > > console output: https://sy

Re: [PATCH v3 7/8] arm64: mm: Set ZONE_DMA size based on early IORT scan

2020-10-15 Thread Catalin Marinas
On Thu, Oct 15, 2020 at 10:26:18PM +0800, Hanjun Guo wrote: > On 2020/10/15 3:12, Nicolas Saenz Julienne wrote: > > From: Ard Biesheuvel > > > > We recently introduced a 1 GB sized ZONE_DMA to cater for platforms > > incorporating masters that can address less than 32 bits of DMA, in > > particul

Re: bpf-next test error: BUG: program execution failed: executor 0: exit status 67

2020-10-15 Thread Jakub Kicinski
On Thu, 15 Oct 2020 11:02:08 -0700 Jakub Kicinski wrote: > On Thu, 15 Oct 2020 19:46:35 +0200 Dmitry Vyukov wrote: > > On Thu, Oct 15, 2020 at 7:41 PM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:e688c3db bpf: Fix register equi

Re: [PATCH V2 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-10-15 Thread Sudeep Holla
On Mon, Aug 24, 2020 at 02:39:32PM +0530, Viresh Kumar wrote: > From: Stephan Gerhold > > The OPP core manages various resources, e.g. clocks or interconnect paths. > These resources are looked up when the OPP table is allocated once > dev_pm_opp_get_opp_table() is called the first time (either d

Re: linux-next: Tree for Oct 15 (drivers/net/pcs/pcs-xpcs.o)

2020-10-15 Thread Ioana Ciornei
On Thu, Oct 15, 2020 at 10:48:56AM -0700, Randy Dunlap wrote: > On 10/15/20 10:02 AM, Ioana Ciornei wrote: > > On Thu, Oct 15, 2020 at 03:06:42PM +, Jose Abreu wrote: > >> From: Randy Dunlap > >> Date: Oct/15/2020, 15:45:57 (UTC+00:00) > >> > >>> On 10/15/20 12:28 AM, Stephen Rothwell wrote: >

[PATCH] docs/rcu: update the api of call_rcu()

2020-10-15 Thread Hui Su
update the api of call_rcu() Signed-off-by: Hui Su --- Documentation/RCU/whatisRCU.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/RCU/whatisRCU.rst b/Documentation/RCU/whatisRCU.rst index c7f147b8034f..aa7d5ed20da5 100644 --- a/Documentation/RCU/whatisRCU

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

2020-10-15 Thread Vitor Massaru Iha
Hi Shuah, I already sent the patch: https://patchwork.kernel.org/project/linux-kselftest/patch/20201015120851.229242-1-vi...@massaru.org On Thu, Oct 15, 2020 at 3:01 PM Shuah Khan wrote: > > On 10/15/20 4:43 AM, Vitor Massaru Iha wrote: > > Hi Stephen, > > > > On Thu, Oct 15, 2020 at 2:31 AM St

Re: linux-next: Tree for Sep 25 [kernel/bpf/preload/bpf_preload.ko]

2020-10-15 Thread Randy Dunlap
> Full randconfig file is attached. > This build error still happens when (on today's linux-next 20201015) CONFIG_BPF=y # CONFIG_BPF_SYSCALL is not set CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y CONFIG_USERMODE_DRIVER=y CONFIG_BPF_PRELOAD=y CONFIG_BPF_PRELOAD_UMD=m -- ~Randy Reported-by: Randy Dunlap

[PATCH] compiler.h: Clarify comment about the need for barrier_data()

2020-10-15 Thread Arvind Sankar
Be clear about @ptr vs the variable that @ptr points to, and add some more details as to why the special barrier_data() macro is required. Signed-off-by: Arvind Sankar --- include/linux/compiler.h | 33 ++--- 1 file changed, 22 insertions(+), 11 deletions(-) diff --g

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