Re: linux-5.10.11 build failure

2021-02-01 Thread Greg Kroah-Hartman
On Mon, Feb 01, 2021 at 08:59:09AM +, Chris Clayton wrote: > Hi Greg, > > On 29/01/2021 15:14, Josh Poimboeuf wrote: > > On Fri, Jan 29, 2021 at 12:09:53PM +0100, Greg Kroah-Hartman wrote: > >> On Fri, Jan 29, 2021 at 11:03:26AM +, Chris Clayton wrote: > >>> > >>> > >>> On 29/01/2021 10:11

Re: [PATCH v2 12/12] arm64: dts: zynqmp: Add description for zcu104 revC

2021-02-01 Thread Michal Simek
On 1/21/21 11:27 AM, Michal Simek wrote: > Xilinx ZynqMP zcu104 revC and newer board revisions have different i2c > structure compare to revA. The rest of the board is the same from software > perspective. > Also enable DMAs and QSPI. > > Signed-off-by: Michal Simek > --- > > Changes in v2: N

Re: possible deadlock in ovl_dir_real_file

2021-02-01 Thread Amir Goldstein
On Mon, Feb 1, 2021 at 11:21 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:6642d600 Merge tag '5.11-rc5-smb3' of git://git.samba.org/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=148aef78d0 > kernel config:

Re: [PATCH] dt-bindings: arm: Fix typo in zcu111 board

2021-02-01 Thread Michal Simek
On 1/21/21 11:56 AM, Michal Simek wrote: > Trivial fix. > > Signed-off-by: Michal Simek > --- > > Documentation/devicetree/bindings/arm/xilinx.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/arm/xilinx.yaml > b/Documentation/d

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-02-01 Thread Chao Leng
On 2021/2/1 16:57, Hannes Reinecke wrote: On 2/1/21 9:47 AM, Chao Leng wrote: On 2021/2/1 15:29, Hannes Reinecke wrote:[ .. ] Urgh. Please, no. That is well impossible to debug. Can you please open-code it to demonstrate where the difference to the current (and my fixed) versions is? I'm

Re: [PATCH RFC v1 0/3] Introduce vfio-pci-core subsystem

2021-02-01 Thread Max Gurtovoy
On 2/1/2021 6:32 AM, Alex Williamson wrote: On Sun, 31 Jan 2021 20:46:40 +0200 Max Gurtovoy wrote: On 1/28/2021 11:02 PM, Alex Williamson wrote: On Thu, 28 Jan 2021 17:29:30 +0100 Cornelia Huck wrote: On Tue, 26 Jan 2021 15:27:43 +0200 Max Gurtovoy wrote: On 1/26/2021 5:34 AM, Alex W

Re: [PATCH v3 2/2] mm: fix initialization of struct page for holes in memory layout

2021-02-01 Thread Baoquan He
On 02/01/21 at 10:14am, David Hildenbrand wrote: > On 11.01.21 20:40, Mike Rapoport wrote: > > From: Mike Rapoport > > > > There could be struct pages that are not backed by actual physical memory. > > This can happen when the actual memory bank is not a multiple of > > SECTION_SIZE or when an ar

Re: [PATCH 0/3] arm64: dts: zynqmp: Enable and Wire DP

2021-02-01 Thread Michal Simek
Hi, On 1/21/21 1:36 PM, Michal Simek wrote: > Hi, > > I am updating DT patches which were there part of DP v11 series sent by > Laurent in past [1]. Patches have been removed in v12 [2]. > The series is rebased on the top of [3] which wired si5341 clock chip. > > [1] > http://lore.kernel.org/r/

Re: extended bpf_send_signal_thread with argument

2021-02-01 Thread Dmitry Vyukov
On Mon, Feb 1, 2021 at 10:22 AM Peter Zijlstra wrote: > > On Sun, Jan 31, 2021 at 12:14:02PM +0100, Dmitry Vyukov wrote: > > Hi, > > > > I would like to send a signal from a bpf program invoked from a > > perf_event. There is: > > You can't. Sending signals requires sighand lock, and you're not al

Re: [PATCH] cpufreq: Remove CPUFREQ_STICKY flag

2021-02-01 Thread Dominik Brodowski
Viresh, Am Mon, Feb 01, 2021 at 01:35:51PM +0530 schrieb Viresh Kumar: > The removal of such a driver is avoided if the driver carries the > CPUFREQ_STICKY flag. This was added way back [1] in 2004 and perhaps no > one should ever need it now. A lot of driver do set this flag, probably > because t

Re: [PATCH 1/2] ARM: dts: am335x-pocketbeagle: unique gpio-line-names

2021-02-01 Thread Bartosz Golaszewski
On Wed, Jan 27, 2021 at 1:04 AM Drew Fustini wrote: > > Based on linux-gpio discussion [1], it is best practice to make the > gpio-line-names unique. Generic names like "[ethernet]" are replaced > with the name of the unique signal on the AM3358 SoC ball corresponding > to the gpio line. "[NC]" is

Re: [PATCH 2/2] ARM: dts: am335x-boneblack.dts: unique gpio-line-names

2021-02-01 Thread Bartosz Golaszewski
On Wed, Jan 27, 2021 at 1:05 AM Drew Fustini wrote: > > Based on linux-gpio discussion [1], it is best practice to make the > gpio-line-names unique. Generic names like "[ethernet]" are replaced > with the name of the unique signal on the AM3358 SoC ball corresponding > to the gpio line. "[NC]" is

Re: [PATCH printk-rework 03/12] printk: consolidate kmsg_dump_get_buffer/syslog_print_all code

2021-02-01 Thread John Ogness
On 2021-01-29, Petr Mladek wrote: >> The logic for finding records to fit into a buffer is the same for >> kmsg_dump_get_buffer() and syslog_print_all(). Introduce a helper >> function find_first_fitting_seq() to handle this logic. >> >> Signed-off-by: John Ogness >> --- >> kernel/printk/printk

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Peter Zijlstra
On Sun, Jan 31, 2021 at 09:42:53AM +0100, Dmitry Vyukov wrote: > Hi, > > I am testing the following the program: > https://gist.github.com/dvyukov/e5c0a8ef220ef856363c1080b0936a9e > on the latest upstream 6642d600b541b81931fb1ab0c041b0d68f77be7e and > getting the following crash. Config is: > http

Re: [PATCH v12 00/17] dmaengine: dw-axi-dmac: support Intel KeemBay AxiDMA

2021-02-01 Thread Vinod Koul
On 25-01-21, 09:32, Sia Jee Heng wrote: > The below patch series are to support AxiDMA running on Intel KeemBay SoC. > The base driver is dw-axi-dmac. This driver only support DMA memory copy > transfers. > Code refactoring is needed so that additional features can be supported. > The features add

[PATCH v1 2/3] usb: typec: tcpci: Add Callback to Usb Communication capable partner

2021-02-01 Thread Badhri Jagan Sridharan
The USB Communications Capable bit indicates if port partner is capable of communication over the USB data lines (e.g. D+/- or SS Tx/Rx). TCPM passes this information for chip specific operations. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpci.c | 9 + drivers/usb

[PATCH v1 1/3] usb: typec: tcpm: Add Callback to Usb Communication capable partner

2021-02-01 Thread Badhri Jagan Sridharan
The USB Communications Capable bit indicates if port partner is capable of communication over the USB data lines (e.g. D+/- or SS Tx/Rx). Notify the status of the bit to low level drivers to perform chip specific operation. For instance, low level driver enables USB switches on D+/D- lines to set u

Re: [PATCH] drm/lima: Use delayed timer as default in devfreq profile

2021-02-01 Thread Lukasz Luba
Hi Qiang, On 1/30/21 1:51 PM, Qiang Yu wrote: Thanks for the patch. But I can't observe any difference on glmark2 with or without this patch. Maybe you can provide other test which can benefit from it. This is a design problem and has impact on the whole system. There is a few issues. When the

Re: [RFC 2/7] KVM: VMX: Expose IA32_PKRS MSR

2021-02-01 Thread Chenyi Qiang
On 1/27/2021 2:01 AM, Paolo Bonzini wrote: On 07/08/20 10:48, Chenyi Qiang wrote: +{ +    struct vcpu_vmx *vmx = to_vmx(vcpu); +    unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; +    bool pks_supported = guest_cpuid_has(vcpu, X86_FEATURE_PKS); + +    /* + * set intercept for PKRS wh

[PATCH v1 3/3] usb: typec: tcpci_maxim: Enable data path when partner is USB Comm capable

2021-02-01 Thread Badhri Jagan Sridharan
Configure USB switches when partner is USB Communication capable. The is enabled USB data communication over D+/D- pins. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpci_maxim.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/usb/typec/tcpm/

Re: [PATCH] dmaengine: xilinx_dma: Alloc tx descriptors GFP_NOWAIT

2021-02-01 Thread Vinod Koul
On 29-01-21, 17:08, Richard Fitzgerald wrote: > Use GFP_NOWAIT allocation in xilinx_dma_alloc_tx_descriptor(). > > This is necessary for compatibility with ALSA, which calls > dmaengine_prep_dma_cyclic() from an atomic context. Applied, thanks -- ~Vinod

Re: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-02-01 Thread Dietmar Eggemann
On 22/01/2021 13:39, Valentin Schneider wrote: [...] > @@ -1705,7 +1702,7 @@ void sched_init_numa(void) > /* Compute default topology size */ > for (i = 0; sched_domain_topology[i].mask; i++); > > - tl = kzalloc((i + level + 1) * > + tl = kzalloc((i + nr_levels) * >

Re: [PATCH v3 1/4] dp/dp_mst: Add support for sink event notify messages

2021-02-01 Thread Hans Verkuil
Hi Lyude, Daniel referred me to you as the best person to review the MST parts of this series. I can commit this, but then I prefer to have a Reviewed-by or Acked-by from someone for the first 3 DP MST patches. Alternatively, you can take the whole series (I've reviewed the 4th CEC patch). Regar

Re: [PATCH v2] drm/lima: add governor data with pre-defined thresholds

2021-02-01 Thread Lukasz Luba
On 1/30/21 1:57 PM, Qiang Yu wrote: This patch gets minor improvement on glmark2 (160->162). It has bigger impact when the load is changing and the frequency is stuck to min w/o this patch. Seems there's no way for user to change this value, do we? Or there's work pending to expose it to

[PATCH 0/3] MAINTAINERS: update STMicroelectronics email

2021-02-01 Thread patrice.chotard
From: Patrice Chotard This series: _ Update st.com to foss.st.com email for some maintainers. _ Remove Vincent Abriou as STI/STM DRM driver _ Add Alain Volmat as I2C/SMBUS driver maintainer Patrice Chotard (3): MAINTAINERS: Update some st.com email addresses to foss.st.com MAINTAINERS:

[PATCH 2/3] MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

2021-02-01 Thread patrice.chotard
From: Patrice Chotard Remove Vincent Abriou's email as he has no more review activities on STM/STI DRM drivers. Signed-off-by: Patrice Chotard Cc: Vincent Abriou --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8222e50a9902..98365c57ae37 100

[PATCH 1/3] MAINTAINERS: Update some st.com email addresses to foss.st.com

2021-02-01 Thread patrice.chotard
From: Patrice Chotard Update some st.com to foss.st.com addresses related to STMicroelectronics drivers. All these people will now use this new email address for upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 28 ++-- 1 file changed, 14 insertions

[PATCH 3/3] MAINTAINERS: Add Alain Volmat as STM32 I2C/SMBUS maintainer

2021-02-01 Thread patrice.chotard
From: Patrice Chotard Add Alain Volmat as STM32 I2C/SMBUS driver co-maintainer. Signed-off-by: Patrice Chotard Cc: alain.vol...@foss.st.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 98365c57ae37..f6d317449521 100644 --- a/MAINTAINERS ++

Re: [PATCH 1/2] dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools

2021-02-01 Thread Vinod Koul
On 17-12-20, 17:23, Guanhua Gao wrote: > In case of long format of qDMA command descriptor, there are one frame > descriptor, three entries in the frame list and two data entries. So the > size of dma_pool_create for these three fields should be the same with > the total size of entries respectivel

[PATCH v1] usb: typec: tcpm: Handle vbus shutoff when in source mode

2021-02-01 Thread Badhri Jagan Sridharan
While in source mode, vbus could be shutoff by protections circuits. TCPM does not move back to toggling state to re-initiate connection. Fix this by moving to SRC_UNATTACHED state when vbus shuts off while in source mode. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpm.c |

Re: [PATCH] cpufreq: Remove CPUFREQ_STICKY flag

2021-02-01 Thread Viresh Kumar
On 01-02-21, 10:44, Dominik Brodowski wrote: > IIRC, it was required on various ARM systems,[*] as CPUs were registered as > subsys_initcall(), while cpufreq used to be initialized only later, as an s/later/earlier ? arch happens before subsys not at least and that is the only way we can break cpu

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Dmitry Vyukov
On Mon, Feb 1, 2021 at 10:51 AM Peter Zijlstra wrote: > > On Sun, Jan 31, 2021 at 09:42:53AM +0100, Dmitry Vyukov wrote: > > Hi, > > > > I am testing the following the program: > > https://gist.github.com/dvyukov/e5c0a8ef220ef856363c1080b0936a9e > > on the latest upstream 6642d600b541b81931fb1ab0c

Re: [PATCH 2/2] dmaengine: fsl-dpaa2-qdma: Update DPDMAI interfaces

2021-02-01 Thread Vinod Koul
On 17-12-20, 17:23, Guanhua Gao wrote: > This patch dupdates the DPDMAI interfaces to support MC firmware to > 10.1x.x. Threading is broken in this series, they do not appear together for me.. Can you explain what it means to support 10.1x.x...? > > Signed-off-by: Guanhua Gao > --- > drivers/

Re: [RFC 2/7] KVM: VMX: Expose IA32_PKRS MSR

2021-02-01 Thread Paolo Bonzini
On 01/02/21 10:53, Chenyi Qiang wrote: Is the guest expected to do a lot of reads/writes to the MSR (e.g. at every context switch)? Even if this is the case, the MSR intercepts and the entry/exit controls should only be done if CR4.PKS=1.  If the guest does not use PKS, KVM should behave

Re: [PATCH net] net: lapb: Copy the skb before sending a packet

2021-02-01 Thread Martin Schiller
On 2021-02-01 06:57, Xie He wrote: When sending a packet, we will prepend it with an LAPB header. This modifies the shared parts of a cloned skb, so we should copy the skb rather than just clone it, before we prepend the header. In "Documentation/networking/driver.rst" (the 2nd point), it states

Re: WARNING: suspicious RCU usage in kernfs_iop_permission

2021-02-01 Thread Amir Goldstein
On Mon, Feb 1, 2021 at 11:06 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:6642d600 Merge tag '5.11-rc5-smb3' of git://git.samba.org/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=171405bf50 > kernel config:

BUG: Bad page state (8)

2021-02-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d03154e8 Add linux-next specific files for 20210128 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16156808d0 kernel config: https://syzkaller.appspot.com/x/.config?x=6953ffb584722a1 dashboard l

Re: [PATCH] firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)

2021-02-01 Thread Michal Simek
Hi, On 1/31/21 3:30 PM, Nobuhiro Iwamatsu wrote: > zynqmp_pm_get_eemi_ops() was removed in commit 4db8180ffe7c: "Firmware: > xilinx: > Remove eemi ops for fpga related APIs", but not in > IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE). > This removed zynqmp_pm_get_eemi_ops() in > IS_REACHABLE(CONFIG_ZYNQ

Re: [PATCH] PM: domains: Simplify the calculation of variables

2021-02-01 Thread Ulf Hansson
On Wed, 27 Jan 2021 at 09:42, Abaci Team wrote: > > Fix the following coccicheck warnings: > > ./drivers/base/power/domain.c:938:31-33: WARNING !A || A && B is > equivalent to !A || B. > > Reported-by: Abaci Robot > Suggested-by: Jiapeng Zhong > Signed-off-by: Abaci Team Acked-by: Ulf Hansson

Re: [PATCH] ARM: kexec: Fix panic after TLB are invalidated

2021-02-01 Thread Giancarlo Ferrari
Hi all, On Tue, Jan 12, 2021 at 04:49:06PM +, Giancarlo Ferrari wrote: > machine_kexec() need to set rw permission in text and rodata sections > to assign some variables (e.g. kexec_start_address). To do that at > the end (after flushing pdm in memory, inv D-Cache, etc.) it needs to > invalida

Re: [PATCH 3/5] drm/msm/dsi_pll_10nm: Fix bad VCO rate calculation and prescaler

2021-02-01 Thread AngeloGioacchino Del Regno
Il 31/01/21 20:50, Rob Clark ha scritto: On Sat, Jan 9, 2021 at 5:51 AM AngeloGioacchino Del Regno wrote: The VCO rate was being miscalculated due to a big overlook during the process of porting this driver from downstream to upstream: here we are really recalculating the rate of the VCO by re

Re: KASAN: use-after-free Read in rxrpc_send_data_packet

2021-02-01 Thread David Howells
Hillf Danton wrote: > --- a/net/rxrpc/call_object.c > +++ b/net/rxrpc/call_object.c > @@ -549,6 +549,7 @@ void rxrpc_release_call(struct rxrpc_soc > if (call->security) > call->security->free_call_crypto(call); > > + cancel_work_sync(&call->processor); > rxrpc_clea

Re: [PATCH] mm/page_owner: Record the timestamp of all pages during free

2021-02-01 Thread Vlastimil Babka
On 1/30/21 12:45 AM, Georgi Djakov wrote: > Collect the time when each allocation is freed, to help with memory > analysis with kdump/ramdump. > > Having another timestamp when we free the page helps for debugging > page migration issues. For example both alloc and free timestamps > being the same

Re: [PATCH] soundwire: debugfs: use controller id instead of link_id

2021-02-01 Thread Vinod Koul
On 21-01-21, 17:23, Srinivas Kandagatla wrote: > > > On 21/01/2021 15:12, Pierre-Louis Bossart wrote: > > > > > > On 1/21/21 6:03 AM, Srinivas Kandagatla wrote: > > > > > > > > > On 19/01/2021 19:09, Pierre-Louis Bossart wrote: > > > > > > > > > currently we have > > > > > /sys/kernel/debug/

Re: [PATCH 0/2] Add MediaTek MT8192 clock provider device nodes

2021-02-01 Thread Matthias Brugger
Hi Weiyi, On 01/02/2021 10:31, Weiyi Lu wrote: > On Sun, 2021-01-31 at 14:27 +0100, Matthias Brugger wrote: >> >> On 22/12/2020 14:40, Weiyi Lu wrote: >>> This series is based on v5.10-rc1, MT8192 dts v6[1] and >>> MT8192 clock v6 series[2]. >>> >>> [1] https://patchwork.kernel.org/project/linux-m

Re: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-02-01 Thread Vincent Guittot
On Mon, 1 Feb 2021 at 10:54, Dietmar Eggemann wrote: > > On 22/01/2021 13:39, Valentin Schneider wrote: > > [...] > > > @@ -1705,7 +1702,7 @@ void sched_init_numa(void) > > /* Compute default topology size */ > > for (i = 0; sched_domain_topology[i].mask; i++); > > > > - tl = kzall

Re: [PATCH RFC v2 03/10] vringh: reset kiov 'consumed' field in __vringh_iov()

2021-02-01 Thread Stefano Garzarella
On Mon, Feb 01, 2021 at 01:40:01PM +0800, Jason Wang wrote: On 2021/1/28 下午10:41, Stefano Garzarella wrote: __vringh_iov() overwrites the contents of riov and wiov, in fact it resets the 'i' and 'used' fields, but also the consumed field should be reset to avoid an inconsistent state. Signed-o

Re: [PATCH 5/8] lib: bitmap: remove the 'extern' keyword from function declarations

2021-02-01 Thread Andy Shevchenko
On Sat, Jan 30, 2021 at 09:25:08PM +0100, Bartosz Golaszewski wrote: > On Fri, Jan 29, 2021 at 4:59 PM Andy Shevchenko > wrote: > > > > On Fri, Jan 29, 2021 at 02:46:21PM +0100, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > The 'extern' keyword doesn't have any benefits i

Re: [PATCH RFC v2 04/10] vringh: implement vringh_kiov_advance()

2021-02-01 Thread Stefano Garzarella
On Mon, Feb 01, 2021 at 01:43:23PM +0800, Jason Wang wrote: On 2021/1/28 下午10:41, Stefano Garzarella wrote: In some cases, it may be useful to provide a way to skip a number of bytes in a vringh_kiov. Let's implement vringh_kiov_advance() for this purpose, reusing the code from vringh_iov_xfer

Re: [PATCH printk-rework 09/12] um: synchronize kmsg_dumper

2021-02-01 Thread Petr Mladek
On Tue 2021-01-26 22:21:48, John Ogness wrote: > In preparation for removing printk's @logbuf_lock, dumpers that have > assumed to be protected against parallel calls must provide their own > synchronization. Add a locally static spinlock to synchronize the > kmsg_dump call and temporary buffer usa

Re: [RFC PATCH 1/2] soundwire: add support for static port mapping

2021-02-01 Thread Vinod Koul
On 25-01-21, 16:23, Srinivas Kandagatla wrote: > > > On 22/01/2021 16:42, Pierre-Louis Bossart wrote: > > > > > > > > if you completely remove the stream and re-add it with updated > > > > configuration things should work. > > > > > > That's exactly what we do currently! > > > > > > The update

[PATCH] printk: fix deadlock when kernel panic

2021-02-01 Thread Muchun Song
We found a deadlock bug on our server when the kernel panic. It can be described in the following diagram. CPU0: CPU1: panic rcu_dump_cpu_stacks kdump_nmi_shootdown_cpus nmi_trigger_cpumask_backt

[PATCH] driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3

2021-02-01 Thread John Garry
The ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3_PMU was added with the idea that a SMMUv3 PMCG would only exist on a system with an associated SMMUv3. However it is not the job of Kconfig to make these sorts of decisions (even if it were true), so remove the dependency. Signed-off-by: John Garry

Re: [PATCH 1/3] soundwire: bus: clear bus clash interrupt before the mask is enabled

2021-02-01 Thread Vinod Koul
On 26-01-21, 16:37, Bard Liao wrote: > The SoundWire specification allows a Slave device to report a bus clash > with the in-band interrupt mechanism when it detects a conflict while > driving a bitSlot it owns. This can be a symptom of an electrical conflict > or a programming error, and it's vita

Re: [PATCH 8/8] gpio: sim: new testing module

2021-02-01 Thread Andy Shevchenko
On Sat, Jan 30, 2021 at 09:37:55PM +0100, Bartosz Golaszewski wrote: > On Fri, Jan 29, 2021 at 4:57 PM Andy Shevchenko > wrote: > > On Fri, Jan 29, 2021 at 02:46:24PM +0100, Bartosz Golaszewski wrote: ... > > > +static int gpio_sim_set_config(struct gpio_chip *gc, > > > +

RE: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread PLATTNER Christoph
Hello to all, and thank you very much for first and second fast response. I do not have a long history on PowerPC MMU environment, I hacked into this topic for about 3 months for analyzing that problem- so, sorry, if I am wrong in some points ... What I learn so far from this MPC5121e (variant

Greetings from Mrs. Caroline Manon.

2021-02-01 Thread Mrs. Caroline Manon
Dear Friend, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of U$10.5 million immedi

Re: [PATCH v1 2/2] driver core: fw_devlink: Handle missing drivers for optional suppliers

2021-02-01 Thread Geert Uytterhoeven
Hi Saravana, On Sat, Jan 30, 2021 at 5:03 AM Saravana Kannan wrote: > After a deferred probe attempt has exhaused all the devices that can be > bound, any device that remains unbound has one/both of these conditions > true: > > (1) It is waiting on its supplier to bind > (2) It does not have a ma

Re: [PATCH] usbnet: fix the indentation of one code snippet

2021-02-01 Thread Oliver Neukum
Am Samstag, den 23.01.2021, 13:11 +0800 schrieb Dongliang Mu: > Every line of code should start with tab (8 characters) > > Signed-off-by: Dongliang Mu Acked-by: Oliver Neukum

Re: [PATCH 1/2] net: usbnet: initialize tasklet using tasklet_init

2021-02-01 Thread Oliver Neukum
Am Samstag, den 23.01.2021, 18:32 +0100 schrieb Emil Renner Berthing: > From: Emil Renner Berthing > > Initialize tasklet using tasklet_init() rather than open-coding it. > > Signed-off-by: Emil Renner Berthing Acked-by: Oliver Neukum

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

2021-02-01 Thread David Woodhouse
On Thu, 2021-01-21 at 15:55 +0100, Thomas Gleixner wrote: > > Here's the hack we're testing with, for reference. It's kind of ugly > > but you can see where it's going. Note that the CMOS mangling for the > > warm reset vector is going to need to be lifted out of the per-cpu > > loop, and done *onc

Re: [PATCH 2/2] net: usbnet: use new tasklet API

2021-02-01 Thread Oliver Neukum
Am Samstag, den 23.01.2021, 18:32 +0100 schrieb Emil Renner Berthing: > From: Emil Renner Berthing > > This converts the driver to use the new tasklet API introduced in > commit 12cc923f1ccc ("tasklet: Introduce new initialization API") > > Signed-off-by: Emil Renner Berthing Acked-by: Oliver N

RE: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-02-01 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Dietmar Eggemann [mailto:dietmar.eggem...@arm.com] > Sent: Monday, February 1, 2021 10:54 PM > To: Valentin Schneider ; > linux-kernel@vger.kernel.org > Cc: mi...@kernel.org; pet...@infradead.org; vincent.guit...@linaro.org; > morten.rasmus...@arm.com; mgor...

[PATCH v5 0/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-01 Thread Hsin-Yi Wang
This series are based on kernel/git/chunkuang.hu/linux.git mediatek-drm-next and following patch: ("soc: mediatek: add mtk mutex support for MT8183") https://patchwork.kernel.org/project/linux-mediatek/patch/20210129092209.2584718-8-hsi...@chromium.org/ This series also depends on component suppor

[PATCH v5 1/8] drm/mediatek: add component OVL_2L2

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component OVL_2L2 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/

Re: [PATCH v6 4/4] ima: Support EC keys for signature verification

2021-02-01 Thread Tianjia Zhang
On 2/1/21 7:33 AM, Stefan Berger wrote: Add support for IMA signature verification for EC keys. Since SHA type of hashes can be used by RSA and ECDSA signature schemes we need to look at the key and derive from the key which signature scheme to use. Since this can be applied to all types of ke

[PATCH v5 2/8] drm/mediatek: add component POSTMASK

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component POSTMASK. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/Makefile| 1 + drivers/gpu/drm/mediatek/mtk_disp_drv.h | 8 + drivers/gpu/drm/mediatek/mtk_disp_postmask.c | 149 ++

Re: [PATCH v2 1/2] i2c: i2c-amd-mp2: Remove NIH logging functions

2021-02-01 Thread Andy Shevchenko
On Fri, Jan 29, 2021 at 08:25:52PM +0100, m...@richard-neumann.de wrote: > From: Richard Neumann Thanks for an update, my comments below. > Use pci_{info,warn,err,dbg} functions of the kernel's PCI API. > Remove unnecessary ndev_pdev, ndev_name and ndev_dev macros. "ndev_pdev(), ndev_name() and

Re: [PATCH 1/3] soundwire: bus: clear bus clash interrupt before the mask is enabled

2021-02-01 Thread Vinod Koul
On 01-02-21, 15:58, Vinod Koul wrote: > On 26-01-21, 16:37, Bard Liao wrote: > > struct sdw_master_prop { > > u32 revision; > > @@ -421,8 +422,11 @@ struct sdw_master_prop { > > u32 err_threshold; > > u32 mclk_freq; > > bool hw_disabled; > > + u32 quirks; > > Can we do u64 here

[PATCH v5 5/8] drm/mediatek: Fix ccorr size config

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu Fix setting to follow hardware datasheet. The original error setting affects mt8192 display. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g

[PATCH v2 1/2] dt-bindings: panel: Add Samsung S6E3FA2 panel

2021-02-01 Thread Iskren Chernev
The Samsung S6E3FA2 AMOLED cmd LCD panel is used on the Samsung Galaxy S5 (klte). Signed-off-by: Iskren Chernev --- OK, miraculously the panel turns on and off now, so the simple-panel can graduate into its own driver. v1: https://lkml.org/lkml/2020/12/30/293 Changes in v2: - move bindings to s

[PATCH v5 4/8] drm/mediatek: separate ccorr module

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu ccorr ctm matrix bits will be different in mt8192 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 216 drivers/gpu/drm/mediatek/mtk_disp_dr

[PATCH v5 3/8] drm/mediatek: add component RDMA4

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component RDMA4 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gp

[PATCH v5 7/8] soc: mediatek: add mtk mutex support for MT8192

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu Add mtk mutex support for MT8192 SoC. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang Reviewed-by: CK Hu --- drivers/soc/mediatek/mtk-mutex.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers/soc/mediatek/mtk-mutex.c b/

[PATCH v5 8/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu add support for mediatek SOC MT8192 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c| 6 +++ drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 20 ++ drivers/gpu/drm/mediatek/mtk_disp_postmask.c | 1 + driver

[PATCH v5 6/8] drm/mediatek: add matrix_bits private data for ccorr

2021-02-01 Thread Hsin-Yi Wang
From: Yongqiang Niu Add matrix_bits and coeffs_precision to ccorr private data: - matrix bits of mt8183 is 10 - matrix bits of mt8192 is 11 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 34 --- 1 file changed, 24 i

[PATCH 3/6] x86/smpboot: Reference count on smpboot_setup_warm_reset_vector()

2021-02-01 Thread David Woodhouse
If we want to do parallel CPU bringup, we're going to need to set this up and leave it until all CPUs are done. Might as well use the RTC spinlock to protect the refcount, as we need to take it anyway. Signed-off-by: David Woodhouse --- arch/x86/kernel/smpboot.c | 23 +++ 1 f

[PATCH 1/6] x86/apic/x2apic: Fix parallel handling of cluster_mask

2021-02-01 Thread David Woodhouse
For each CPU being brought up, the alloc_clustermask() function allocates a new struct cluster_mask just in case it's needed. Then the target CPU actually runs, and in init_x2apic_ldr() it either uses a cluster_mask from a previous CPU in the same cluster, or consumes the "spare" one and sets the g

[PATCH v2 2/2] drm/panel: Add panel for Samsung Galaxy S5

2021-02-01 Thread Iskren Chernev
The Samsung Galaxy S5 uses the samsung s6e3fa2 AMOLED cmd LCD panel. This driver was generated with [1], with the addition of mipi_dsi_dcs_set_display_on at the end of the on method. [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator Signed-off-by: Iskren Chernev ---

[PATCH 5/6] cpu/hotplug: Move idle_thread_get() to

2021-02-01 Thread David Woodhouse
Instead of relying purely on the special-case wrapper in bringup_cpu() to pass the idle thread to __cpu_up(), expose idle_thread_get() so that the architecture code can obtain it directly when necessary. This will be useful when the existing __cpu_up() is split into multiple phases, only *one* of

Re: [PATCH v6 2/4] x509: Detect sm2 keys by their parameters OID

2021-02-01 Thread Tianjia Zhang
On 2/1/21 7:32 AM, Stefan Berger wrote: Detect whether a key is an sm2 type of key by its OID in the parameters array rather than assuming that everything under OID_id_ecPublicKey is sm2, which is not the case. Signed-off-by: Stefan Berger Cc: David Howells Cc: keyri...@vger.kernel.org ---

Re: [PATCH v1 0/2] Make fw_devlink=on more forgiving

2021-02-01 Thread Geert Uytterhoeven
Hi Saravana, On Sat, Jan 30, 2021 at 5:09 AM Saravana Kannan wrote: > On Fri, Jan 29, 2021 at 8:03 PM Saravana Kannan wrote: > > This patch series solves two general issues with fw_devlink=on > > > > Patch 1/2 addresses the issue of firmware nodes that look like they'll > > have struct devices c

Re: [PATCH v2 2/2] i2c: i2c-amd-mp2: Remove unused macro

2021-02-01 Thread Andy Shevchenko
On Fri, Jan 29, 2021 at 08:25:53PM +0100, m...@richard-neumann.de wrote: > From: Richard Neumann > > Remove unused work_amd_i2c_common macro. I think I gave you a tag on this. If no, here it is Reviewed-by: Andy Shevchenko Please carry it on in a new versions (as a part of the commit message,

Re: [PATCH mm] kasan: untag addresses for KFENCE

2021-02-01 Thread Marco Elver
On Fri, 29 Jan 2021 at 19:50, Andrey Konovalov wrote: > > KFENCE annotations operate on untagged addresses. > > Untag addresses in KASAN runtime where they might be tagged. > > Signed-off-by: Andrey Konovalov Reviewed-by: Marco Elver Thank you! > --- > > This can be squashed into: > > revert

[PATCH 2/6] cpu/hotplug: Add dynamic states before CPUHP_BRINGUP_CPU for parallel bringup

2021-02-01 Thread David Woodhouse
If the platform registers these states, bring all CPUs to each registered state in parallel, before the final bringup to CPUHP_BRINGUP_CPU. Signed-off-by: David Woodhouse --- include/linux/cpuhotplug.h | 2 ++ kernel/cpu.c | 27 +-- 2 files changed, 27 inse

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-02-01 Thread David Brazdil
Thanks for writing the fix, Marc! There are no corner cases in this code so if it boots, that should be a good indicator that all BE inputs were converted. Just one little thing I noticed below, otherwise: Acked-by: David Brazdil > arch/arm64/kvm/hyp/nvhe/Makefile | 1 + > arch/arm64/kvm/h

Re: [PATCH 2/3] soundwire: intel: add SDW_MASTER_QUIRKS_CLEAR_INITIAL_CLASH quirk

2021-02-01 Thread Vinod Koul
On 26-01-21, 16:37, Bard Liao wrote: > There is nothing we can do to handle the bus clash interrupt before > interrupt mask is enabled. > > Signed-off-by: Bard Liao > Reviewed-by: Rander Wang > Reviewed-by: Pierre-Louis Bossart > --- > drivers/soundwire/intel.c | 2 ++ > 1 file changed, 2 inse

[PATCH 6/6] pre states for x86

2021-02-01 Thread David Woodhouse
Utterly broken because the bringup uses global initial_stack and initial_gs variables, and the TSC sync is similarly hosed (I should probably do one at a time). The bringup is going to be the most fun to fix, because the AP coming up doesn't actually have a lot that it *can* use to disambiguate it

[PATCH 4/6] x86/smpboot: Split up native_cpu_up into separate phases

2021-02-01 Thread David Woodhouse
There are four logical parts to what native_cpu_up() does. First it actually wakes AP. Second, it waits for the AP to make it as far as wait_for_master_cpu() which sets that CPU's bit in cpu_initialized_mask, and sets the bit in cpu_callout_mask to let the AP proceed through cpu_init(). Then, it

Re: [PATCH] soundwire: return earlier if no slave is attached

2021-02-01 Thread Vinod Koul
On 26-01-21, 16:54, Bard Liao wrote: > From: Chao Song > > If there is no slave attached to soundwire bus, we > can return earlier from sdw_bus_prep_clk_stop() and > sdw_bus_exit_clk_stop(), this saves a redundant value > check. Applied, thanks -- ~Vinod

Re: [PATCH] soundwire: bus: add better dev_dbg to track complete() calls

2021-02-01 Thread Vinod Koul
On 26-01-21, 16:54, Bard Liao wrote: > From: Pierre-Louis Bossart > > Add a dev_dbg() log for both enumeration and initialization completion > to better track suspend-resume issues. Applied, thanks -- ~Vinod

Re: [PATCH v5 06/27] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2021-02-01 Thread Robin Murphy
On 2021-01-29 11:45, Tomasz Figa wrote: On Mon, Jan 25, 2021 at 4:34 PM Yong Wu wrote: On Mon, 2021-01-25 at 13:18 +0900, Tomasz Figa wrote: On Wed, Jan 20, 2021 at 4:08 PM Yong Wu wrote: On Wed, 2021-01-20 at 13:15 +0900, Tomasz Figa wrote: On Wed, Jan 13, 2021 at 3:45 PM Yong Wu wrote:

Re: [PATCH] bluetooth: fix memory leak in btusb_mtk_wmt_recv

2021-02-01 Thread Marcel Holtmann
Hi Jupeng, In btusb_mtk_wmt_recv if skb_clone fails, the alocated skb should be released. Signed-off-by: zhongjupeng >>> >>> please provide a proper From: and Signed-off-by line with full name. >>> >>> Regards >>> >>> Marcel >> >> Hi, >> >> >>Update the patch

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-02-01 Thread Hannes Reinecke
On 2/1/21 10:40 AM, Chao Leng wrote: On 2021/2/1 16:57, Hannes Reinecke wrote: On 2/1/21 9:47 AM, Chao Leng wrote: On 2021/2/1 15:29, Hannes Reinecke wrote:[ .. ] Urgh. Please, no. That is well impossible to debug. Can you please open-code it to demonstrate where the difference to the cur

[PATCH] mailmap: Add entries for Manivannan Sadhasivam

2021-02-01 Thread Manivannan Sadhasivam
Map my personal and work addresses to korg mail address. Signed-off-by: Manivannan Sadhasivam --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap index 632700cee55c..785c33fa88d0 100644 --- a/.mailmap +++ b/.mailmap @@ -200,6 +200,8 @@ Li Yang Li Yang Luk

Re: [GIT PULL] arm64 fixes for 5.11-rc6

2021-02-01 Thread Catalin Marinas
On Mon, Feb 01, 2021 at 12:07:52AM +0100, Ard Biesheuvel wrote: > On Sun, 31 Jan 2021 at 19:55, Catalin Marinas wrote: > > On Fri, Jan 29, 2021 at 02:09:05PM -0800, Linus Torvalds wrote: > > > On Fri, Jan 29, 2021 at 11:03 AM Catalin Marinas > > > wrote: > > > > > > > > arm64 fixes: > > > > > > >

Re: [PATCH net] net: lapb: Copy the skb before sending a packet

2021-02-01 Thread Xie He
On Mon, Feb 1, 2021 at 2:05 AM Martin Schiller wrote: > > What kind of packages do you mean are corrupted? > ETH_P_X25 or ETH_P_HDLC? I mean ETH_P_X25. I was using "lapbether.c" to test so there was no ETH_P_HDLC. > I have also sent a patch here in the past that addressed corrupted > ETH_P_X25 f

Re: [PATCH v2 0/2] of: property: Add fw_devlink support for more props

2021-02-01 Thread Martin Kaiser
Hi Saravana, Thus wrote Saravana Kannan (sarava...@google.com): > This series [1] has a high chance of fixing it for you if > CONFIG_MODULES is disabled in your set up. Can you give it a shot? sure. This fixes things for me if CONFIG_MODULES is disabled. Booting is still stuck if modules are ena

syzbot reporting less duplicates

2021-02-01 Thread Dmitry Vyukov
Hi, FYI syzbot should report less duplicates now. A significant number of reported duplicates was one of common complaints. syzbot will now merge some slightly differently looking crashes together, for example, these 2 recently reported bugs will be merged into a single bug and reported once in fu

[PATCH v1 0/2] drivers/base/memory: clarify some memory block properties

2021-02-01 Thread David Hildenbrand
Let's update parts of our documentation for /sys/devices/system/memory/memoryX/ properties, especially stating which properties are nowadays legacy interfaces. David Hildenbrand (2): drivers/base/memory: don't store phys_device in memory blocks Documentation: sysfs/memory: clarify some memory

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