[PATCH v11 1/2] ACPI / APEI: Add a notifier chain for unknown (vendor) CPER records

2020-06-22 Thread Shiju Jose
CPER records describing a firmware-first error are identified by GUID. The ghes driver currently logs, but ignores any unknown CPER records. This prevents describing errors that can't be represented by a standard entry, that would otherwise allow a driver to recover from an error. The UEFI spec cal

[PATCH v11 0/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-06-22 Thread Shiju Jose
CPER records describing a firmware-first error are identified by GUID. The ghes driver currently logs, but ignores any unknown CPER records. This prevents describing errors that can't be represented by a standard entry, that would otherwise allow a driver to recover from an error. The UEFI spec cal

[PATCH] Revert "KVM: LAPIC: Recalculate apic map in batch"

2020-06-22 Thread Igor Mammedov
Guest fails to online hotplugged CPU with error smpboot: do_boot_cpu failed(-1) to wakeup CPU#4 It's caused by the fact that kvm_apic_set_state(), which used to call recalculate_apic_map() unconditionally and pulled hotplugged CPU into apic map, is updating map conditionally on state change whic

Re: [GIT PULL] regmap fixes for v5.8-rc2

2020-06-22 Thread Mark Brown
On Mon, Jun 22, 2020 at 12:39:14PM +0100, broo...@kernel.org wrote: > The following changes since commit 93b929922dba3a42b0439ef13144c6032b7733c8: > > Merge series "regmap: provide simple bitops and use them in a driver" from > Bartosz Golaszewski Bartosz Golaszewski > : (2020-05-29 14:00:44

Re: [PATCH v5 6/6] arm64: dts: add dts nodes for MT6779

2020-06-22 Thread Hanks Chen
On Mon, 2020-06-22 at 13:25 +0200, Matthias Brugger wrote: > > On 16/06/2020 15:34, Hanks Chen wrote: > > On Wed, 2020-03-25 at 17:39 +0100, Matthias Brugger wrote: > >> > >> On 25/03/2020 10:31, Hanks Chen wrote: > >>> this adds initial MT6779 dts settings fo board support, > >> > >> "for board s

[PATCH v11 2/2] PCI: hip: Add handling of HiSilicon HIP PCIe controller errors

2020-06-22 Thread Shiju Jose
From: Yicong Yang The HiSilicon HIP PCIe controller is capable of handling errors on root port and perform port reset separately at each root port. Add error handling driver for HIP PCIe controller to log and report recoverable errors. Perform root port reset and restore link status after the re

Re: [PATCH v7 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-22 Thread Jiri Olsa
On Mon, Jun 22, 2020 at 01:50:03PM +0300, Alexey Budankov wrote: > > On 22.06.2020 13:21, Jiri Olsa wrote: > > On Mon, Jun 22, 2020 at 12:47:19PM +0300, Alexey Budankov wrote: > > > > SNIP > > > fdarray__del(array, fdkey); > >>> > >>> I think there's solution without having filt

[PATCH] openrisc: fix __user in raw_copy_to_user()'s prototype

2020-06-22 Thread Luc Van Oostenryck
raw_copy_to_user()'s prototype seems to be a copy & paste of raw_copy_from_user() and as such has the __user annotation in the 'from' argument instead of the 'to'. So, move the __user annotation in the prototype to the 'to'. Reported-by: kernel test robot Signed-off-by: Luc Van Oostenryck ---

[rcu:dev.2020.06.17a 35/38] kernel/sched/core.c:2650 try_to_wake_up() error: uninitialized symbol 'cpu'.

2020-06-22 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.06.17a head: d3779e78b9848a707448dbb4a0cb6c4bb651fe9c commit: 59a5d883f2ccdce1700862b5983cfd3473630aea [35/38] EXP sched: Alleged fix for v5.8 merge-window scheduler issue config: x86_64-randconfig-m001-20200

Re: [Cocci] [PATCH v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks

2020-06-22 Thread Denis Efremov
On 6/21/20 11:56 PM, Julia Lawall wrote: > Is it a python 2 vs python 3 thing? Yes, python2 is no longer supported and I thought it would be safe to use this syntax. Ok, I will make it portable in v4. Denis

[PATCH v1] [media] saa7164: use dev_pm_ops structure for power management

2020-06-22 Thread Vaibhav Gupta
The .suspend() and .resume() callbacks are not defined for this driver. Still, their power managemgement stucture can be easily upgraded to gemeric, without affecting its normal behaviour. Signed-off-by: Vaibhav Gupta --- drivers/media/pci/saa7164/saa7164-core.c | 8 ++-- 1 file changed, 6 i

Re: [Cocci] [PATCH v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks

2020-06-22 Thread Denis Efremov
What do you think about removing duplicates warning from the rule? I mean this kind of warnings: "WARNING: same array_size (line {p1[0].line})" As for now, I think it's better to not disturb developers with this kind of things. Thanks, Denis >> +@as_dup@ >> +expression subE1 <= as.E1; >> +expre

[PATCH v3] venus: fix multiple encoder crash

2020-06-22 Thread Stanimir Varbanov
From: Mansur Alisha Shaik Currently we are considering the instances which are available in core->inst list for load calculation in min_loaded_core() function, but this is incorrect because by the time we call decide_core() for second instance, the third instance not filled yet codec_freq_data po

Re: [PATCH] Sched: Add a tracepoint to track rq->nr_running

2020-06-22 Thread Qais Yousef
On 06/19/20 10:11, Phil Auld wrote: > Add a bare tracepoint trace_sched_update_nr_running_tp which tracks > ->nr_running CPU's rq. This is used to accurately trace this data and > provide a visualization of scheduler imbalances in, for example, the > form of a heat map. The tracepoint is accessed

Re: [PATCH 00/11] Add CMU/RMU/DMA support for Actions Semi S500 SoCs

2020-06-22 Thread Cristian Ciocaltea
On Mon, Jun 22, 2020 at 01:13:31AM -0700, Stephen Boyd wrote: > Quoting Cristian Ciocaltea (2020-06-17 09:48:00) > > This patch series improves the existing implementation of the Clock > > Management Unit for the Actions Semi S500 SoC, by adding support for > > some missing clocks, like DMAC and GP

Re: [Cocci] [PATCH v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks

2020-06-22 Thread Julia Lawall
On Mon, 22 Jun 2020, Denis Efremov wrote: > What do you think about removing duplicates warning from the rule? > > I mean this kind of warnings: "WARNING: same array_size (line {p1[0].line})" > > As for now, I think it's better to not disturb developers with this kind > of things. I agree. I

Re: drivers/pci/controller/pci-aardvark.c:350:2: error: implicit declaration of function 'gpiod_set_value_cansleep'

2020-06-22 Thread Pali Rohár
On Sunday 21 June 2020 11:05:22 kernel test robot wrote: > >> drivers/pci/controller/pci-aardvark.c:350:2: error: implicit declaration > >> of function 'gpiod_set_value_cansleep' > >> [-Werror,-Wimplicit-function-declaration] >gpiod_set_value_cansleep(pcie->reset_gpio, 1); >

Re: [PATCH v2 01/11] KVM: x86: Add helper functions for illegal GPA checking and page fault injection

2020-06-22 Thread Mohammed Gamal
On Mon, 2020-06-22 at 12:44 +0800, Yuan Yao wrote: > On Fri, Jun 19, 2020 at 05:39:15PM +0200, Mohammed Gamal wrote: > > This patch adds two helper functions that will be used to support > > virtualizing > > MAXPHYADDR in both kvm-intel.ko and kvm.ko. > > > > kvm_fixup_and_inject_pf_error() inject

Re: [PATCH 09/11] clk: actions: Add Actions S500 SoC Reset Management Unit support

2020-06-22 Thread Cristian Ciocaltea
On Mon, Jun 22, 2020 at 01:12:27AM -0700, Stephen Boyd wrote: > Quoting Cristian Ciocaltea (2020-06-17 09:48:09) > > Add Reset Management Unit (RMU) support for Actions Semi S500 SoC. > > > > Signed-off-by: Cristian Ciocaltea > > --- > > drivers/clk/actions/owl-s500.c | 80 ++

Re: [PATCH v7 0/7] Add interrupt support to FPGA DFL drivers

2020-06-22 Thread Tom Rix
In addition to reviewing, I have run these changes on the pac a10 card and while i do not have an afu using interrupts, I have exercised some of the new interfaces. The most useful i have submitted to selftests drivers/fpga.  In the future, this would be a good place to put other fpga unit test

Re: DMA Engine: Transfer From Userspace

2020-06-22 Thread Richard Weinberger
On Mon, Jun 22, 2020 at 2:02 PM Thomas Ruf wrote: > > more the reason not do do so, why cant a kernel driver be added for your > > usage? > > by chance i have written a driver allowing dma from user space using a memcpy > like interface ;-) > now i am trying to get this code upstream but was hit

Re: [rcu:dev.2020.06.17a 35/38] kernel/sched/core.c:2650 try_to_wake_up() error: uninitialized symbol 'cpu'.

2020-06-22 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 03:11:17PM +0300, Dan Carpenter wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2020.06.17a > head: d3779e78b9848a707448dbb4a0cb6c4bb651fe9c > commit: 59a5d883f2ccdce1700862b5983cfd3473630aea [35/38] EXP sched: Alleged > fix f

Re: [PATCH v7 5/8] loop: be paranoid on exit and prevent new additions / removals

2020-06-22 Thread Luis Chamberlain
On Sat, Jun 20, 2020 at 10:11:46AM -0700, Bart Van Assche wrote: > On 2020-06-19 13:47, Luis Chamberlain wrote: > > Be pedantic on removal as well and hold the mutex. > > This should prevent uses of addition while we exit. > > > > Reviewed-by: Ming Lei > > Reviewed-by: Christoph Hellwig > > Sign

Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand

2020-06-22 Thread Christian Brauner
On Mon, Jun 22, 2020 at 02:03:00PM +0200, Oleg Nesterov wrote: > On 06/22, Christian Brauner wrote: > > > > On Mon, Jun 22, 2020 at 12:24:01PM +0200, Dominique Martinet wrote: > > > Christian Brauner wrote on Mon, Jun 22, 2020: > > > > On Mon, Jun 22, 2020 at 08:25:28AM +0200, Oleg Nesterov wrote:

Re: [PATCH 04/11] arm64: dts: renesas: Add HiHope RZ/G2M[N] Rev.3.0/4.0 specific into common file

2020-06-22 Thread Geert Uytterhoeven
Hi Prabhakar, On Sun, Jun 7, 2020 at 8:41 PM Lad Prabhakar wrote: > Rev.3.0 and Rev.4.0 are identical and can be identified by using GP5_19 > and GP5_21. > > Rev GP5_19 GP5_21 > == > Rev.3.0 0 0 > Rev.4.0

Re: DMA Engine: Transfer From Userspace

2020-06-22 Thread Federico Vaga
On Mon, Jun 22, 2020 at 02:01:12PM +0200, Thomas Ruf wrote: On 22 June 2020 at 06:47 Vinod Koul wrote: On 21-06-20, 22:36, Federico Vaga wrote: > On Sun, Jun 21, 2020 at 12:54:57PM +0530, Vinod Koul wrote: > > On 19-06-20, 16:31, Dave Jiang wrote: > > > > > > > > > On 6/19/2020 3:47 PM, Federic

Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-22 Thread Kurt Van Dijck
On ma, 22 jun 2020 12:55:41 +0200, Marc Kleine-Budde wrote: > Date: Mon, 22 Jun 2020 12:55:41 +0200 > From: Marc Kleine-Budde > To: Manivannan Sadhasivam , > w...@grandegger.com, ker...@martin.sperl.org, linux-...@vger.kernel.org, > net...@vger.kernel.org, linux-kernel@vger.kernel.org > Subjec

Re: [PATCH AUTOSEL 5.7 004/388] ASoC: tegra: tegra_wm8903: Support nvidia, headset property

2020-06-22 Thread Sasha Levin
On Mon, Jun 22, 2020 at 12:23:21PM +0100, Mark Brown wrote: On Sun, Jun 21, 2020 at 07:33:52PM -0400, Sasha Levin wrote: On Thu, Jun 18, 2020 at 03:39:30PM +0100, Mark Brown wrote: > On Thu, Jun 18, 2020 at 10:30:46AM -0400, Sasha Levin wrote: > > On Thu, Jun 18, 2020 at 12:00:23PM +0100, Mark B

Re: [PATCH AUTOSEL 5.7 130/388] ASoC: Fix wrong dependency of da7210 and wm8983

2020-06-22 Thread Sasha Levin
On Mon, Jun 22, 2020 at 11:18:30AM +0100, Mark Brown wrote: On Sun, Jun 21, 2020 at 07:34:53PM -0400, Sasha Levin wrote: On Thu, Jun 18, 2020 at 12:02:58PM +0100, Mark Brown wrote: > This is purely about build testing, are you sure this is stable > material? Is this not something that can

Re: [PATCH 05/11] arm64: dts: renesas: Add HiHope RZ/G2M Rev.3.0/4.0 main board support

2020-06-22 Thread Geert Uytterhoeven
On Sun, Jun 7, 2020 at 8:41 PM Lad Prabhakar wrote: > Add support for HiHope RZ/G2M Rev.3.0/4.0 main board support based on > r8a774a1 SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Ge

Re: [RFC PATCH] security: Add a config option to disable security mitigations

2020-06-22 Thread Qais Yousef
On 06/17/20 18:07, Pranith Kumar wrote: > Instead of having to pass 'mitigations=off' on the kernel command line, > add a config option that has a similar effect. > > Adding this makes it easier to disable mitigations in scenarios where > you cannot modify the command line or are unable to pass a

[PATCH 2/4] scripts/decode_stacktrace: guess basepath if not specified

2020-06-22 Thread Konstantin Khlebnikov
Guess path to kernel sources using known location of symbol "kernel_init". Make basepath argument optional. Before: $ echo 'vfs_open+0x0/0x0' | ./scripts/decode_stacktrace.sh vmlinux "" vfs_open (home/khlebnikov/src/linux/fs/open.c:912) After: $ echo 'vfs_open+0x0/0x0' | ./scripts/decode_stackt

[PATCH 3/4] scripts/decode_stacktrace: guess path to modules

2020-06-22 Thread Konstantin Khlebnikov
Try to find module in directory with vmlinux (for fresh build). Then try standard paths where debuginfo are usually placed. Pick first file which have elf section '.debug_line'. Before: $ echo 'tap_open+0x0/0x0 [tap]' | ./scripts/decode_stacktrace.sh /usr/lib/debug/boot/vmlinux-5.4.0-37-generic

[PATCH 1/4] scripts/decode_stacktrace: skip missing symbols

2020-06-22 Thread Konstantin Khlebnikov
For now script turns missing symbols into '0' and make bogus decode. Skip them instead. Also simplify parsing output of 'nm'. Before: $ echo 'xxx+0x0/0x0' | ./scripts/decode_stacktrace.sh vmlinux "" xxx (home/khlebnikov/src/linux/./arch/x86/include/asm/processor.h:398) After: $ echo 'xxx+0x0/0x

[PATCH 4/4] scripts/decode_stacktrace: guess path to vmlinux by release name

2020-06-22 Thread Konstantin Khlebnikov
Add option decode_stacktrace -r to specify only release name. This is enough to guess standard paths to vmlinux and modules: $ echo -e 'schedule+0x0/0x0\ntap_open+0x0/0x0 [tap]' | ./scripts/decode_stacktrace.sh -r 5.4.0-37-generic schedule (kernel/sched/core.c:4138) tap_open (drivers/net/

Re: [PATCH v7 6/8] blktrace: fix debugfs use after free

2020-06-22 Thread Luis Chamberlain
On Sat, Jun 20, 2020 at 10:31:51AM -0700, Bart Van Assche wrote: > On 2020-06-19 13:47, Luis Chamberlain wrote: > > This goes tested with: > >got? > > > diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c > > index 7ff2ea5cd05e..e6e2d25fdbd6 100644 > > --- a/kernel/t

Re: [PATCH 00/16] mm/hmm/nouveau: THP mapping and migration

2020-06-22 Thread Jason Gunthorpe
On Fri, Jun 19, 2020 at 02:56:33PM -0700, Ralph Campbell wrote: > These patches apply to linux-5.8.0-rc1. Patches 1-3 should probably go > into 5.8, the others can be queued for 5.9. Patches 4-6 improve the HMM > self tests. Patch 7-8 prepare nouveau for the meat of this series which > adds support

[PATCH v5 0/4] Qualcomm labibb regulator driver

2020-06-22 Thread Sumit Semwal
This series adds a driver for LAB/IBB regulators found on some Qualcomm SoCs. These regulators provide positive and/or negative boost power supplies for LCD/LED display panels connected to the SoC. This series adds the support for pmi8998 PMIC found in SDM845 family of SoCs. Changes from v4: - v4

[PATCH v5 2/4] dt-bindings: regulator: Add labibb regulator

2020-06-22 Thread Sumit Semwal
From: Nisha Kumari Adding the devicetree binding for labibb regulator. Signed-off-by: Nisha Kumari Signed-off-by: Sumit Semwal [sumits: cleanup as per review comments and update to yaml] --- v5: Addressed review comments - removed interrupt-names, changed to dual license, added unevalua

Re: [PATCH v7 8/8] block: create the request_queue debugfs_dir on registration

2020-06-22 Thread Luis Chamberlain
On Sat, Jun 20, 2020 at 11:07:43AM -0700, Bart Van Assche wrote: > On 2020-06-19 13:47, Luis Chamberlain wrote: > > We were only creating the request_queue debugfs_dir only > > for make_request block drivers (multiqueue), but never for > > request-based block drivers. We did this as we were only >

[PATCH v5 4/4] regulator: qcom: Add labibb driver

2020-06-22 Thread Sumit Semwal
From: Nisha Kumari Qualcomm platforms have LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) regulators, labibb for short, which are used as power supply for LCD Mode displays. This patch adds labibb regulator driver for pmi8998 PMIC, found on SDM845 platforms. Signed-off-by: Nisha Kumari [sum

[PATCH v5 3/4] arm64: dts: qcom: pmi8998: Add nodes for LAB and IBB regulators

2020-06-22 Thread Sumit Semwal
From: Nisha Kumari This patch adds devicetree nodes for LAB and IBB regulators. Signed-off-by: Nisha Kumari Signed-off-by: Sumit Semwal [sumits: Updated for better compatible strings and names] --- v5: sumits: removed interrupt-names, since there is only one interrupt per node v

[PATCH v5 1/4] regulator: Allow regulators to verify enabled during enable()

2020-06-22 Thread Sumit Semwal
Some regulators might need to verify that they have indeed been enabled after the enable() call is made and enable_time delay has passed. This is implemented by repeatedly checking is_enabled() upto poll_enabled_time, waiting for the already calculated enable delay in each iteration. Signed-off-b

Re: Strange problem with SCTP+IPv6

2020-06-22 Thread Michael Tuexen
> On 22. Jun 2020, at 14:01, Xin Long wrote: > > On Sun, Jun 21, 2020 at 11:56 PM Corey Minyard wrote: >> >> I've stumbled upon a strange problem with SCTP and IPv6. If I create an >> sctp listening socket on :: and set the IPV6_V6ONLY socket option on it, >> then I make a connection to it

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-22 Thread Jacek Anaszewski
Dan, On 6/21/20 10:24 PM, Jacek Anaszewski wrote: Dan, On 6/21/20 4:12 PM, Dan Murphy wrote: Jacek On 6/19/20 5:10 PM, Jacek Anaszewski wrote: Dan, On 6/19/20 6:35 PM, Dan Murphy wrote: Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote: On 6/19/20 12:09 AM, Jacek Anaszewski wrote: Dan,

Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-22 Thread Kurt Van Dijck
Marc, I get RX-0: FIFO overflows in listen-only mode (back-to-back burst of the single other node). The SPI peripheral does not use DMA :-(. Do you have, by accident, some freescale SPI fixes lying around? It's not the biggest problem on my side, but is proves the system not being guarded against

Re: [PATCH 06/11] arm64: dts: renesas: Add HiHope RZ/G2M Rev.3.0/4.0 sub board support

2020-06-22 Thread Geert Uytterhoeven
Hi Prabhakar, On Sun, Jun 7, 2020 at 8:42 PM Lad Prabhakar wrote: > The HiHope RZ/G2M sub board sits below the HiHope RZ/G2M Rev.3.0/4.0 > main board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven > --- /dev/null > +++ b/arch/arm64

Re: [PATCH 06/10] media: mtk-vcodec: venc: specify supported formats per-chip

2020-06-22 Thread Alexandre Courbot
On Fri, Jun 19, 2020 at 4:26 PM Tiffany Lin wrote: > > On Wed, 2020-05-20 at 17:27 +0900, Alexandre Courbot wrote: > > Different chips have different supported bitrate ranges. Move the list > > of supported formats to the platform data, and split the output and > > capture formats into two lists t

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-22 Thread Dan Murphy
Jacek On 6/22/20 7:42 AM, Jacek Anaszewski wrote: Dan, On 6/21/20 10:24 PM, Jacek Anaszewski wrote: Dan, On 6/21/20 4:12 PM, Dan Murphy wrote: Jacek On 6/19/20 5:10 PM, Jacek Anaszewski wrote: Dan, On 6/19/20 6:35 PM, Dan Murphy wrote: Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote:

Re: kernel BUG at mm/huge_memory.c:2613!

2020-06-22 Thread Joerg Roedel
+ Robin Robin, any idea on this? On Thu, Jun 18, 2020 at 10:40:26PM -0400, Andrea Arcangeli wrote: > Hello, > > On Thu, Jun 18, 2020 at 06:14:49PM -0700, Roman Gushchin wrote: > > I agree. The whole > > > > page = alloc_pages_node(nid, alloc_flags, order); > > if (!page) > >

Re: [PATCH 1/3] ARM: dts: meson: add the SDHC MMC controller

2020-06-22 Thread Anand Moon
Hi Martin, On Sat, 20 Jun 2020 at 22:07, Martin Blumenstingl wrote: > > Meson6, Meson8, Meson8b and Meson8m2 are using a similar SDHC controller > IP which typically connects to an eMMC chip (because unlike the SDIO > controller the SDHC controller has an 8-bit bus interface). > > On Meson8, Mes

Re: [PATCH 3/3] ARM: dts: meson8b: odroidc1: enable the SDHC controller

2020-06-22 Thread Anand Moon
Hi Martin, On Sat, 20 Jun 2020 at 22:08, Martin Blumenstingl wrote: > > Odroid-C1 has an eMMC connector where users can optionally install an > eMMC module. The eMMC modules run off a 1.8V VQMMC supply which means > that HS-200 mode can be used (this is the highest mode that the SDHC > controller

Re: [RFC] power: supply: bq27xxx_battery: Fix polling interval after re-bind

2020-06-22 Thread Sebastian Reichel
Hi, On Mon, Jun 22, 2020 at 10:22:48AM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 19, 2020 at 07:55:21PM +0200, Sebastian Reichel wrote: > > On Wed, May 27, 2020 at 09:42:54AM +0200, Pali Rohár wrote: > > > On Tuesday 26 May 2020 21:16:28 Andrew F. Davis wrote: > > > > On 5/25/20 7:32 AM, Krz

Re: [PATCH 07/11] arm64: dts: renesas: hihope-rzg2-ex: Separate out lvds specific nodes into common file

2020-06-22 Thread Geert Uytterhoeven
On Sun, Jun 7, 2020 at 8:42 PM Lad Prabhakar wrote: > Separate out LVDS specific nodes into common file > hihope-rzg2-ex-lvds.dtsi so that this can be re-used by RZ/G2M[N] > variants. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr

Re: [PATCH 08/11] arm64: dts: renesas: Add HiHope RZ/G2M Rev.3.0/4.0 board with idk-1110wr display

2020-06-22 Thread Geert Uytterhoeven
On Sun, Jun 7, 2020 at 8:42 PM Lad Prabhakar wrote: > Add support for idk-1110wr display as similarly done for Rev.2.0 > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytter

Re: [PATCH v2 00/15] vfio: expose virtual Shared Virtual Addressing to VMs

2020-06-22 Thread Stefan Hajnoczi
On Tue, Jun 16, 2020 at 10:00:16AM -0700, Raj, Ashok wrote: > On Tue, Jun 16, 2020 at 04:49:28PM +0100, Stefan Hajnoczi wrote: > > On Tue, Jun 16, 2020 at 02:26:38AM +, Tian, Kevin wrote: > > > > From: Stefan Hajnoczi > > > > Sent: Monday, June 15, 2020 6:02 PM > > > > > > > > On Thu, Jun 11,

Re: [PATCH v11 0/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-06-22 Thread Dan Carpenter
On Mon, Jun 22, 2020 at 01:05:25PM +0100, Shiju Jose wrote: > CPER records describing a firmware-first error are identified by GUID. > The ghes driver currently logs, but ignores any unknown CPER records. > This prevents describing errors that can't be represented by a standard > entry, that would

Re: [PATCH v2 00/15] vfio: expose virtual Shared Virtual Addressing to VMs

2020-06-22 Thread Stefan Hajnoczi
On Tue, Jun 16, 2020 at 12:09:16PM -0400, Peter Xu wrote: > On Tue, Jun 16, 2020 at 04:49:28PM +0100, Stefan Hajnoczi wrote: > > Isolation between applications is preserved but there is no isolation > > between the device and the application itself. The application needs to > > trust the device. >

Re: [PATCH net-next v3 3/8] net: phy: mscc: remove the TR CLK disable magic value

2020-06-22 Thread Antoine Tenart
Hello Andrew, Quoting Andrew Lunn (2020-06-20 16:52:52) > On Fri, Jun 19, 2020 at 02:22:55PM +0200, Antoine Tenart wrote: > > From: Quentin Schulz > > > > This patch adds a define for the 0x8000 magic value used to perform > > enable/disable actions on the "token ring clock". The patch is only >

Re: [PATCH 09/11] arm64: dts: renesas: Add HiHope RZ/G2N Rev.3.0/4.0 main board support

2020-06-22 Thread Geert Uytterhoeven
On Sun, Jun 7, 2020 at 8:42 PM Lad Prabhakar wrote: > Add support for HiHope RZ/G2N Rev.3.0/4.0 main board support based on > r8a774b1 SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Ge

Re: [PATCH v2 14/15] vfio: Document dual stage control

2020-06-22 Thread Stefan Hajnoczi
On Wed, Jun 17, 2020 at 06:27:27AM +, Liu, Yi L wrote: > > From: Stefan Hajnoczi > > Sent: Monday, June 15, 2020 5:41 PM > > On Thu, Jun 11, 2020 at 05:15:33AM -0700, Liu Yi L wrote: > > > > > From: Eric Auger > > > > > > The VFIO API was enhanced to support nested stage control: a bunch of >

Re: [PATCH 10/11] arm64: dts: renesas: Add HiHope RZ/G2N Rev.3.0/4.0 sub board support

2020-06-22 Thread Geert Uytterhoeven
Hi Prabhakar, On Sun, Jun 7, 2020 at 8:42 PM Lad Prabhakar wrote: > The HiHope RZ/G2N sub board sits below the HiHope RZ/G2N Rev.3.0/4.0 main > board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > One minor comment below. Apart from that: Reviewed-by: Geert Uytterh

Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-22 Thread Marc Kleine-Budde
On 6/22/20 2:43 PM, Kurt Van Dijck wrote: > I get RX-0: FIFO overflows in listen-only mode (back-to-back burst of > the single other node). Single other node? Who's ACKing the CAN frames? > The SPI peripheral does not use DMA :-(. The SPI messages are quite small, so DMA wont help either. Gettin

Re: [PATCH 1/2] net: phy: export phy_disable_interrupts()

2020-06-22 Thread kernel test robot
Hi Jisheng, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.8-rc2 next-20200622] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git

Re: [PATCH 11/11] arm64: dts: renesas: Add HiHope RZ/G2N Rev2.0/3.0/4.0 board with idk-1110wr display

2020-06-22 Thread Geert Uytterhoeven
Hi Prabhakar, On Sun, Jun 7, 2020 at 8:42 PM Lad Prabhakar wrote: > The HiHope RZ/G2N variants are advertised as compatible with panel > idk-1110wr from Advantech, however the panel isn't sold alongside the > board. New dts's, enabling the lvds node to get the panel to work with > all the HiHope

Re: [PATCH -v2 1/5] sched: Fix ttwu() race

2020-06-22 Thread Peter Zijlstra
*sigh*, this one should actually build and I got a smatch report that there's an uninitizlied usage of @cpu, so I shuffled that around a bit. --- Subject: sched: Fix ttwu() race From: Peter Zijlstra Date: Mon, 22 Jun 2020 12:01:23 +0200 Paul reported rcutorture occasionally hitting a NULL dere

include/asm-generic/qspinlock.h:94:9: sparse: sparse: context imbalance in 'tcp_get_cookie_sock' - unexpected unlock

2020-06-22 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 625d3449788f85569096780592549d0340e9c0c7 commit: f566e1fbadb686e28f1c307e356114b2865ef588 kbuild: make multiple directory targets work date: 5 months ago config: openrisc-randconfig-s031-20200622

Re: kprobe: __blkdev_put probe is missed

2020-06-22 Thread Steven Rostedt
On Mon, 22 Jun 2020 08:27:53 +0800 Ming Lei wrote: > Can you kprobe guys improve the implementation for covering this case? > For example, put probe on 3) in case the above situation is recognized. To do so would require solving the halting problem. https://en.wikipedia.org/wiki/Halting_probl

Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand

2020-06-22 Thread Oleg Nesterov
On 06/22, Christian Brauner wrote: > > It is a supported case however unlikely. I just tried to answer > Dominique's specific question pointing out that even in that unlikely > case sighand_struct is stable. I too tried to say this, but apparently just added more confusion ;) > Just as an fyi, CL

Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand

2020-06-22 Thread Christian Brauner
On Mon, Jun 22, 2020 at 03:01:55PM +0200, Oleg Nesterov wrote: > On 06/22, Christian Brauner wrote: > > > > It is a supported case however unlikely. I just tried to answer > > Dominique's specific question pointing out that even in that unlikely > > case sighand_struct is stable. > > I too tried t

[PATCH -v2] x86/msr: Move the F15h MSRs where they belong

2020-06-22 Thread Borislav Petkov
On Mon, Jun 22, 2020 at 11:38:24AM +1000, Stephen Rothwell wrote: > I applied that patch to the tip tree merge today. > > Tested-by: Stephen Rothwell # build tested Here's v2 instead, addressing acme's request. I didn't rebase the x86/cleanups branch because I'd like to have this case documented

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-22 Thread Dan Murphy
Jacek On 6/21/20 3:24 PM, Jacek Anaszewski wrote: Dan, On 6/21/20 4:12 PM, Dan Murphy wrote: Jacek On 6/19/20 5:10 PM, Jacek Anaszewski wrote: Dan, On 6/19/20 6:35 PM, Dan Murphy wrote: Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote: On 6/19/20 12:09 AM, Jacek Anaszewski wrote: Dan,

drivers/video/fbdev/sstfb.c:337:23: sparse: expected void certs drivers fs samples scripts tools

2020-06-22 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 625d3449788f85569096780592549d0340e9c0c7 commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH date: 7 months ago config: s390-randconfig-s032-20200622 (attached as .config

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process

2020-06-22 Thread Jonathan Corbet
On Mon, 22 Jun 2020 01:43:12 +0200 Miguel Ojeda wrote: > > * The script should not be neccessary once all of my changes[1] arrive > > in torvalds/master. Instead reviewers should say like C'mon dude, what's > > this new plain-HTTP link doing in your patch? We have 2020! Look at e.g. > > 93431e060

Re: [PATCH net-next v3 5/8] net: phy: mscc: 1588 block initialization

2020-06-22 Thread Antoine Tenart
Hi Andrew, Quoting Andrew Lunn (2020-06-20 17:10:01) > On Fri, Jun 19, 2020 at 02:22:57PM +0200, Antoine Tenart wrote: > > From: Quentin Schulz > > > > This patch adds the first parts of the 1588 support in the MSCC PHY, > > with registers definition and the 1588 block initialization. > > > > T

Re: [PATCH v4] docs: block: Create blk-mq documentation

2020-06-22 Thread Jonathan Corbet
On Sat, 20 Jun 2020 15:21:05 -0600 Jens Axboe wrote: > On 6/19/20 6:20 PM, André Almeida wrote: > > Create a documentation providing a background and explanation around the > > operation of the Multi-Queue Block IO Queueing Mechanism (blk-mq). > > > > The reference for writing this documentation

Re: [PATCH net-next v3 6/8] net: phy: mscc: timestamping and PHC support

2020-06-22 Thread Antoine Tenart
Hello Richard, Quoting Richard Cochran (2020-06-20 17:00:45) > On Fri, Jun 19, 2020 at 02:22:58PM +0200, Antoine Tenart wrote: > > > +static void vsc85xx_dequeue_skb(struct vsc85xx_ptp *ptp) > > +{ > > + struct skb_shared_hwtstamps shhwtstamps; > > + struct vsc85xx_ts_fifo fifo; > > +

lists.infradead.org restored from backup, git.infradead.org down.

2020-06-22 Thread David Woodhouse
The machine hosting lists.infradead.org and git.infradead.org suffered a complete disk failure over the weekend; sadly the last backup of the mailman config was fairly old (May 2018) so the subscriber lists and archives have been reset to that date, but the lists should be running again. I've recr

Re: [PATCH v2 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-06-22 Thread Wei Yang
On Mon, Jun 22, 2020 at 11:51:34AM +0200, David Hildenbrand wrote: >On 22.06.20 11:22, Wei Yang wrote: >> On Mon, Jun 22, 2020 at 10:43:11AM +0200, David Hildenbrand wrote: >>> On 22.06.20 10:26, Wei Yang wrote: On Fri, Jun 19, 2020 at 02:59:20PM +0200, David Hildenbrand wrote: > Especiall

Re: [PATCH 07/10] media: mtk-vcodec: venc: remove redundant code

2020-06-22 Thread Alexandre Courbot
On Fri, Jun 19, 2020 at 3:59 PM Tiffany Lin wrote: > > On Wed, 2020-05-20 at 17:27 +0900, Alexandre Courbot wrote: > > vidioc_try_fmt() does clamp height and width when called on the OUTPUT > > queue, so clamping them prior to calling this function is redundant. Set > > the queue's parameters afte

[PATCH RESEND] net/cisco: Fix a sleep-in-atomic-context bug in enic_init_affinity_hint()

2020-06-22 Thread Kaige Li
The kernel module may sleep with holding a spinlock. The function call paths (from bottom to top) are: [FUNC] zalloc_cpumask_var(GFP_KERNEL) drivers/net/ethernet/cisco/enic/enic_main.c, 125: zalloc_cpumask_var in enic_init_affinity_hint drivers/net/ethernet/cisco/enic/enic_main.c, 1918: enic_ini

Re: [PATCH 02/15] net: phy: arrange headers in mdio_device.c alphabetically

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 11:37:31AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Keeping the headers in alphabetical order is better for readability and > allows to easily see if given header is already included. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Lu

Re: [PATCH 03/15] net: phy: arrange headers in phy_device.c alphabetically

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 11:37:32AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Keeping the headers in alphabetical order is better for readability and > allows to easily see if given header is already included. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Lu

Re: [PATCH 01/15] net: phy: arrange headers in mdio_bus.c alphabetically

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 11:37:30AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Keeping the headers in alphabetical order is better for readability and > allows to easily see if given header is already included. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Lu

Re: linux-next build error (9)

2020-06-22 Thread Marco Elver
> > > HEAD commit:27f11fea Add linux-next specific files for 20200622 > > > git tree: linux-next > > > console output: https://syzkaller.appspot.com/x/log.txt?x=138dc74310 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=41c659db5cada6f4

Re: [PATCH 04/15] net: mdio: add a forward declaration for reset_control to mdio.h

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 11:37:33AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This header refers to struct reset_control but doesn't include any reset > header. The structure definition is probably somehow indirectly pulled in > since no warnings are reported but for the sa

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/admin-guide

2020-06-22 Thread Jonathan Corbet
On Mon, 22 Jun 2020 00:04:32 +0200 Pavel Machek wrote: > > Rationale: > > Reduces attack surface on kernel devs opening the links for MITM > > as HTTPS traffic is much harder to manipulate. > > > +++ b/Documentation/admin-guide/README.rst > > @@ -1,6 +1,6 @@ > > .. _readme: > > > > -Linux k

Re: [PATCH 05/15] net: phy: reset the PHY even if probe() is not implemented

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 11:37:34AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Currently we only call phy_device_reset() if the PHY driver implements > the probe() callback. This is not mandatory and many drivers (e.g. > realtek) don't need probe() for most devices but still

Re: [PATCH] PCI/IOV: Plug VF bus creation race

2020-06-22 Thread Marc Zyngier
On Sun, 7 Jun 2020 10:43:48 +0100 Marc Zyngier wrote: Hi Bjorn, > On a system that creates VFs for multiple PFs in parallel (in > this case, network bringup at boot time), and when these VFs > end-up on the same bus, bad things sometimes happen: > > [ 12.755534] sysfs: cannot create duplicat

Re: [PATCH 06/15] net: phy: mdio: reset MDIO devices even if probe() is not implemented

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 11:37:35AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Similarily to PHY drivers - there's no reason to require probe() to be > implemented in order to call mdio_device_reset(). MDIO devices can have > resets defined without needing to do anything in

Re: [PATCH] arm64: dts: Introduce r8a774a1-beacon-rzg2m-kit

2020-06-22 Thread Geert Uytterhoeven
Hi Adam, Thanks for your patch! On Wed, Jun 17, 2020 at 2:05 PM Adam Ford wrote: > Beacon EmebddedWorks, formerly Logic PD is introducing a new EmbeddedWorks > SOM and development kit based on the RZ/G2M SoC from Renesas. > > The SOM supports eMMC, WiFi and Bluetooth, along with a Cat-M1 > cel

Re: [PATCH 13/15] net: phy: mdio: add support for PHY supply regulator

2020-06-22 Thread Russell King - ARM Linux admin
On Mon, Jun 22, 2020 at 11:37:42AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Currently many MAC drivers control the regulator supplying the PHY but > this is conceptually wrong. The regulator should be defined as a property > of the PHY node on the MDIO bus and controlled

Re: [PATCH net-next v3 6/8] net: phy: mscc: timestamping and PHC support

2020-06-22 Thread Antoine Tenart
Hi Andrew, Quoting Andrew Lunn (2020-06-20 17:40:08) > On Fri, Jun 19, 2020 at 02:22:58PM +0200, Antoine Tenart wrote: > > To get and set the PHC time, a GPIO has to be used and changes are only > > retrieved or committed when on a rising edge. The same GPIO is shared by > > all PHYs, so the granu

Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-22 Thread Kurt Van Dijck
On ma, 22 jun 2020 14:54:15 +0200, Marc Kleine-Budde wrote: > On 6/22/20 2:43 PM, Kurt Van Dijck wrote: > > I get RX-0: FIFO overflows in listen-only mode (back-to-back burst of > > the single other node). > > Single other node? Who's ACKing the CAN frames? hence the back-to-back burst. > > > T

Re: [PATCH v7 04/36] drm: amdgpu: fix common struct sg_table related issues

2020-06-22 Thread Christian König
Am 19.06.20 um 12:36 schrieb Marek Szyprowski: The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function returns the number of the created entries in the DMA address space. However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and dma_unmap_sg must be called with the

Re: [PATCH AUTOSEL 5.7 004/388] ASoC: tegra: tegra_wm8903: Support nvidia, headset property

2020-06-22 Thread Mark Brown
On Mon, Jun 22, 2020 at 08:31:18AM -0400, Sasha Levin wrote: > On Mon, Jun 22, 2020 at 12:23:21PM +0100, Mark Brown wrote: > > That's concerning - please don't do this. It's not what stable is > > expected to be and there's no guarantee that you're getting all the > > changes required to actually

Re: [PATCH 14/15] net: phy: add PHY regulator support

2020-06-22 Thread Russell King - ARM Linux admin
On Mon, Jun 22, 2020 at 11:37:43AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The MDIO sub-system now supports PHY regulators. Let's reuse the code > to extend this support over to the PHY device. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/net/phy/phy_device.

Re: [PATCH net-next v3 6/8] net: phy: mscc: timestamping and PHC support

2020-06-22 Thread Antoine Tenart
Hi Andrew, Quoting Andrew Lunn (2020-06-20 17:21:42) > > + /* Retrieve the shared load/save GPIO. Request it as non exclusive as > > + * the same GPIO can be requested by all the PHYs of the same package. > > + * Ths GPIO must be used with the phc_lock taken (the lock is shared > > +

Re: [RFC PATCH 0/3 v2] futex: introduce FUTEX_SWAP operation

2020-06-22 Thread Aaron Lu
On Tue, Jun 16, 2020 at 10:22:11AM -0700, Peter Oskolkov wrote: > From 7b091e46de4f9227b5a943e6d78283564e8c1c72 Mon Sep 17 00:00:00 2001 > From: Peter Oskolkov > Date: Tue, 16 Jun 2020 10:13:58 -0700 > Subject: [RFC PATCH 0/3 v2] futex: introduce FUTEX_SWAP operation > > This is an RFC! > > As P

Re: [RESEND v2 3/4] regulator: mt6359: Add support for MT6359 regulator

2020-06-22 Thread Mark Brown
On Mon, Jun 22, 2020 at 02:40:49PM +0800, Wen Su wrote: > From: "Wen Su" > > The MT6359 is a regulator found on boards based on MediaTek MT6779 and > probably other SoCs. It is a so called pmic and connects as a slave to > SoC using SPI, wrapped inside the pmic-wrapper. Acked-by: Mark Brown s

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