Re: linux-next: Fixes tag needs some work in the i2c tree

2020-04-28 Thread Wolfram Sang
> This triggered because the "space" after the ":" is a Unicode non-breaking > space (U+0x00a0, UTF8 0xc2 0xa0). I am not sure if this is a problem > or not. This is the forst time I have seen this. Thanks for reporting, I obviously didn't notice. Well, technically, commit messages can be UTF8,

Re: [PATCH v3 0/9] Add a new LOOP_SET_FD_AND_STATUS ioctl

2020-04-28 Thread Christoph Hellwig
On Mon, Apr 27, 2020 at 10:34:35PM +0200, Martijn Coenen wrote: > > Also maybe an explicit direct I/O flag, and maybe > > enough padding with a future proof flags bitmap that we can easily > > extend it for new features if they pop up? > > Sounds good. I'm thinking these flags should be separate f

Re: linux-next: build failure after merge of the mac80211-next tree

2020-04-28 Thread Johannes Berg
On Tue, 2020-04-28 at 12:29 +1000, Stephen Rothwell wrote: > Hi all, > > After merging the mac80211-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > Caused by commit > > 6cd536fe62ef ("cfg80211: change internal management frame registration API") Yeah. I forgo

Re: [PATCH 1/2] drivers/clocksource/timer-of: Remove __init markings

2020-04-28 Thread Daniel Lezcano
Hi Saravana, On 28/04/2020 00:17, Sandeep Patil wrote: > Hi Daniel, > > On Mon, Apr 27, 2020 at 10:50:24PM +0200, Daniel Lezcano wrote: >> On 27/04/2020 22:12, Saravana Kannan wrote: >>> On Mon, Apr 27, 2020 at 1:09 PM Daniel Lezcano >>> wrote: On 27/04/2020 21:04, Saravana Kannan wr

[PATCH] net: usb: ax88179_178a: Implement ethtool_ops set_eeprom

2020-04-28 Thread Bjorn Andersson
The vendor driver does upon failing to read a valid MAC address from EEPROM write the netdev's address back to EEPROM and invoking a EEPROM reload operation. Based on this we can implement the ethtool_ops set_eeprom and provide the means to populate the EEPROM from within Linux. It's worth noting

Re: [PATCH RT 10/30] hrtimer: Prevent using hrtimer_grab_expiry_lock() on migration_base

2020-04-28 Thread Rasmus Villemoes
On 23/01/2020 21.39, Steven Rostedt wrote: > 4.19.94-rt39-rc2 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Julien Grall > > [ Upstream commit cef1b87f98823af923a386f3f69149acb212d4a1 ] > > As tglx puts it: > |If base == migration_base

Re: [PATCH 1/2] arm: dt-bindings: mfd: stm32f-rcc: Add missing DSI clock

2020-04-28 Thread Lee Jones
On Mon, 27 Apr 2020, Adrian Pop wrote: > On Mon, Apr 27, 2020 at 9:49 AM Lee Jones wrote: > > > > On Fri, 24 Apr 2020, Adrian Pop wrote: > > > > > Add missing clock. > > > > > > Signed-off-by: Adrian Pop > > > --- > > > include/dt-bindings/mfd/stm32f7-rcc.h | 1 + > > > 1 file changed, 1 insert

Re: [PATCH] scripts: gtags_files_generator.sh

2020-04-28 Thread Greg KH
On Tue, Apr 28, 2020 at 01:35:08PM +0800, xujialu wrote: > > Yes, please, just do proper email responses, like all the other > > conversations on the mailing lists :) > > Nice of you :) > > > Perhaps you should read the email client documentation in the kernel > > tree? > > Also watched your int

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Josh Poimboeuf
On Mon, Mar 02, 2020 at 09:52:40AM -0600, Josh Poimboeuf wrote: > On Mon, Mar 02, 2020 at 09:18:29AM -0600, Josh Poimboeuf wrote: > > > So I think on machines without X86_FEATURE_SMAP, trying to unwind from > > > the two NOPs at f41 and f42 will cause the unwinder to report an > > > error? Looking

Re: [PATCH v3] mfd: syscon: Add Spreadtrum physical regmap bus support

2020-04-28 Thread Baolin Wang
On Mon, Apr 27, 2020 at 5:05 PM Lee Jones wrote: > > On Mon, 27 Apr 2020, Baolin Wang wrote: > > > Hi Arnd and Lee, > > > > On Tue, Apr 21, 2020 at 10:13 PM Baolin Wang wrote: > > > > > > Some platforms such as Spreadtrum platform, define a special method to > > > update bits of the registers ins

Re: [PATCH v2] scripts: scripts/tags.sh

2020-04-28 Thread Greg KH
On Tue, Apr 28, 2020 at 01:35:09PM +0800, xujialu wrote: > Update function all_compiled_sources for only compiled source files. Your subject line needs a lot of work. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is need

Re: [PATCH] nvme: prevent double free in nvme_alloc_ns() error handling

2020-04-28 Thread Javier González
On 27.04.2020 18:22, Niklas Cassel wrote: On Mon, Apr 27, 2020 at 08:03:11PM +0200, Javier González wrote: On 27.04.2020 14:34, Niklas Cassel wrote: > When jumping to the out_put_disk label, we will call put_disk(), which will > trigger a call to disk_release(), which calls blk_put_queue(). > >

Re: [PATCH v3] module: Allow to disable modsign in kernel cmdline

2020-04-28 Thread Tianjia Zhang
On 2020/4/28 14:35, Greg KH wrote: On Tue, Apr 28, 2020 at 02:00:08PM +0800, Tianjia Zhang wrote: This option allows to disable modsign completely at the beginning, and turn off by set the kernel cmdline `no_modsig_enforce` when `CONFIG_MODULE_SIG_FORCE` is enabled. Yet another change allows

Re: [PATCH 2/7] signal: factor copy_siginfo_to_external32 from copy_siginfo_to_user32

2020-04-28 Thread Christoph Hellwig
On Mon, Apr 27, 2020 at 03:40:50PM -0700, Andrew Morton wrote: > > https://www.spinics.net/lists/kernel/msg3473847.html > > https://www.spinics.net/lists/kernel/msg3473840.html > > https://www.spinics.net/lists/kernel/msg3473843.html > > OK, but that doesn't necessitate the above monstrosity? How

Re: [PATCH] backlight: lp855x: Ensure regulators are disabled on probe failure

2020-04-28 Thread Lee Jones
On Mon, 24 Feb 2020, Jon Hunter wrote: > If probing the LP885x backlight fails after the regulators have been > enabled, then the following warning is seen when releasing the > regulators ... > > WARNING: CPU: 1 PID: 289 at drivers/regulator/core.c:2051 > _regulator_put.part.28+0x158/0x160 > M

[PATCH v1 0/2] Add support to get/set PHY attributes using

2020-04-28 Thread Yuti Amonkar
This patch series adds support to use kernel PHY subsystem APIs to get/set PHY attributes like number of lanes and maximum link rate. It includes following patches: 1. v1-0001-phy-Add-max_link_rate-as-a-PHY-attribute-along-wi.patch This patch adds max_link_rate as a PHY attribute along with a pair

[PATCH v1 1/2] phy: Add max_link_rate as a PHY attribute along with APIs to get/set its value

2020-04-28 Thread Yuti Amonkar
The patch adds a pair of APIs that allow the generic PHY subsystem to provide information on the maximum value of link rate supported by the PHY. The PHY provider driver may use phy_set_max_link_rate() to set the maximum link rate that the PHY supports. The controller driver may then use phy_get_ma

[PATCH v1 2/2] phy: phy-cadence-torrent: Use PHY kernel APIs to set PHY attributes

2020-04-28 Thread Yuti Amonkar
From: Swapnil Jakhade Use generic PHY framework function phy_set_bus_width() to set number of lanes and function phy_set_max_link_rate() to set maximum link rate supported by PHY. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 3 +++ 1 file changed, 3 insertions

Re: [PATCH v3] mfd: syscon: Add Spreadtrum physical regmap bus support

2020-04-28 Thread Lee Jones
On Tue, 28 Apr 2020, Baolin Wang wrote: > On Mon, Apr 27, 2020 at 5:05 PM Lee Jones wrote: > > > > On Mon, 27 Apr 2020, Baolin Wang wrote: > > > > > Hi Arnd and Lee, > > > > > > On Tue, Apr 21, 2020 at 10:13 PM Baolin Wang > > > wrote: > > > > > > > > Some platforms such as Spreadtrum platform,

[PATCH] x86/unwind/orc: Move ORC sorting variables under CONFIG_MODULE

2020-04-28 Thread Josh Poimboeuf
Fix the following warnings seen with !CONFIG_MODULE: arch/x86/kernel/unwind_orc.c:29:26: warning: 'cur_orc_table' defined but not used [-Wunused-variable] 29 | static struct orc_entry *cur_orc_table = __start_orc_unwind; | ^ arch/x86/kernel/un

Re: [PATCH v3 2/5] KVM: X86: Introduce need_cancel_enter_guest helper

2020-04-28 Thread Wanpeng Li
On Tue, 28 Apr 2020 at 02:30, Sean Christopherson wrote: > > On Fri, Apr 24, 2020 at 02:22:41PM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Introduce need_cancel_enter_guest() helper, we need to check some > > conditions before doing CONT_RUN, in addition, it can also catch > > the case

RE: [PATCH v2 3/6] ima: Fix ima digest hash table key calculation

2020-04-28 Thread Roberto Sassu
> -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > Sent: Monday, April 27, 2020 4:28 PM > To: Roberto Sassu ; zo...@linux.ibm.com; > rgold...@suse.de > Cc: linux-integr...@vger.kernel.org; linux-security-mod...@vger.kernel.org; > linux-kernel@vger.kernel.org; Silvi

Re: [PATCH] x86/unwind/orc: Move ORC sorting variables under CONFIG_MODULE

2020-04-28 Thread Josh Poimboeuf
On Tue, Apr 28, 2020 at 02:16:43AM -0500, Josh Poimboeuf wrote: > Fix the following warnings seen with !CONFIG_MODULE: s/MODULE/MODULES/ here and $SUBJECT. -- Josh

Re: linux-next: build failure after merge of the mac80211-next tree

2020-04-28 Thread Sergey Matyukevich
On Tue, Apr 28, 2020 at 09:01:30AM +0200, Johannes Berg wrote: > On Tue, 2020-04-28 at 12:29 +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the mac80211-next tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > Caused by commit > > > > 6cd536fe62

Re: linux-next: build failure after merge of the mac80211-next tree

2020-04-28 Thread Johannes Berg
On Tue, 2020-04-28 at 10:25 +0300, Sergey Matyukevich wrote: > On Tue, Apr 28, 2020 at 09:01:30AM +0200, Johannes Berg wrote: > > On Tue, 2020-04-28 at 12:29 +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the mac80211-next tree, today's linux-next build (x86_64 > > > allmod

Re: [PATCH] arm64/mm: Reject invalid NUMA option

2020-04-28 Thread Will Deacon
On Tue, Apr 28, 2020 at 02:35:20PM +1000, Gavin Shan wrote: > On 4/28/20 1:09 PM, Steven Rostedt wrote: > > [...] > > > > > Could this be a bug in the implementation of strncmp() in > > arch/arm64/lib/strncmp.S. As I don't know arm64 assembly, I have no idea > > what it is trying to do. > > > >

Re: [BISECTED] bug/regression, x86-64: completely unbootable machine

2020-04-28 Thread Rui Salvaterra
On Sat, 25 Apr 2020 at 17:01, Giovanni Gherdovich wrote: > > There is an easy way to tell (besides compiling with those patches on top and > check if it works): run the command "turbostat --interval 1 sleep 0", the > output should tell you the content of the register MSR_TURBO_RATIO_LIMIT. > > If

Re: [PATCH v3] module: Allow to disable modsign in kernel cmdline

2020-04-28 Thread Greg KH
On Tue, Apr 28, 2020 at 03:07:10PM +0800, Tianjia Zhang wrote: > > > On 2020/4/28 14:35, Greg KH wrote: > > On Tue, Apr 28, 2020 at 02:00:08PM +0800, Tianjia Zhang wrote: > > > This option allows to disable modsign completely at the beginning, > > > and turn off by set the kernel cmdline `no_mods

[PATCH V2] cpufreq: imx-cpufreq-dt: support i.MX7ULP

2020-04-28 Thread peng . fan
From: Peng Fan i.MX7ULP's ARM core clock design is totally different compared with i.MX7D/8M SoCs which supported by imx-cpufreq-dt. It needs get_intermediate and target_intermedate to configure clk MUX ready, before let OPP configure ARM core clk. |---FI

Re: arm64: imx8qm: tlb SW workaround for IMX8QM

2020-04-28 Thread Will Deacon
On Mon, Apr 27, 2020 at 03:03:28PM +0200, Oliver Graute wrote: > On 27/04/20, Oliver Graute wrote: > > Hello, > > > > is this nxp software workaround already proposed to linux community? can > > someone point me to the discussion if available. > > > > https://source.codeaurora.org/external/imx/li

[RESEND][PATCH v2 3/6] ima: Fix ima digest hash table key calculation

2020-04-28 Thread Roberto Sassu
From: Krzysztof Struczynski Function hash_long() accepts unsigned long, while currently only one byte is passed from ima_hash_key(), which calculates a key for ima_htable. Given that hashing the digest does not give clear benefits compared to using the digest itself, remove hash_long() and retur

[PATCH v12 00/17] KVM RISC-V Support

2020-04-28 Thread Anup Patel
This series adds initial KVM RISC-V support. Currently, we are able to boot RISC-V 64bit Linux Guests with multiple VCPUs. Few key aspects of KVM RISC-V added by this series are: 1. Minimal possible KVM world-switch which touches only GPRs and few CSRs. 2. Full Guest/VM switch is done via vcpu_get

[PATCH v12 02/17] RISC-V: Add initial skeletal KVM support

2020-04-28 Thread Anup Patel
This patch adds initial skeletal KVM RISC-V support which has: 1. A simple implementation of arch specific VM functions except kvm_vm_ioctl_get_dirty_log() which will implemeted in-future as part of stage2 page loging. 2. Stubs of required arch specific VCPU functions except kvm_arch_vcpu_

[PATCH v12 01/17] RISC-V: Add hypervisor extension related CSR defines

2020-04-28 Thread Anup Patel
This patch extends asm/csr.h by adding RISC-V hypervisor extension related defines. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- arch/riscv/include/asm/csr.h | 85 1 file changed, 85 insertion

[PATCH v12 04/17] RISC-V: KVM: Implement VCPU interrupts and requests handling

2020-04-28 Thread Anup Patel
This patch implements VCPU interrupts and requests which are both asynchronous events. The VCPU interrupts can be set/unset using KVM_INTERRUPT ioctl from user-space. In future, the in-kernel IRQCHIP emulation will use kvm_riscv_vcpu_set_interrupt() and kvm_riscv_vcpu_unset_interrupt() functions t

[PATCH v12 03/17] RISC-V: KVM: Implement VCPU create, init and destroy functions

2020-04-28 Thread Anup Patel
This patch implements VCPU create, init and destroy functions required by generic KVM module. We don't have much dynamic resources in struct kvm_vcpu_arch so these functions are quite simple for KVM RISC-V. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by

[PATCH v12 08/17] RISC-V: KVM: Handle WFI exits for VCPU

2020-04-28 Thread Anup Patel
We get illegal instruction trap whenever Guest/VM executes WFI instruction. This patch handles WFI trap by blocking the trapped VCPU using kvm_vcpu_block() API. The blocked VCPU will be automatically resumed whenever a VCPU interrupt is injected from user-space or from in-kernel IRQCHIP emulation.

[PATCH v12 05/17] RISC-V: KVM: Implement KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls

2020-04-28 Thread Anup Patel
For KVM RISC-V, we use KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls to access VCPU config and registers from user-space. We have three types of VCPU registers: 1. CONFIG - these are VCPU config and capabilities 2. CORE - these are VCPU general purpose registers 3. CSR- these are VCPU control and s

[PATCH v12 06/17] RISC-V: KVM: Implement VCPU world-switch

2020-04-28 Thread Anup Patel
This patch implements the VCPU world-switch for KVM RISC-V. The KVM RISC-V world-switch (i.e. __kvm_riscv_switch_to()) mostly switches general purpose registers, SSTATUS, STVEC, SSCRATCH and HSTATUS CSRs. Other CSRs are switched via vcpu_load() and vcpu_put() interface in kvm_arch_vcpu_load() and

[PATCH v12 07/17] RISC-V: KVM: Handle MMIO exits for VCPU

2020-04-28 Thread Anup Patel
We will get stage2 page faults whenever Guest/VM access SW emulated MMIO device or unmapped Guest RAM. This patch implements MMIO read/write emulation by extracting MMIO details from the trapped load/store instruction and forwarding the MMIO read/write to user-space. The actual MMIO emulation will

[PATCH v12 09/17] RISC-V: KVM: Implement VMID allocator

2020-04-28 Thread Anup Patel
We implement a simple VMID allocator for Guests/VMs which: 1. Detects number of VMID bits at boot-time 2. Uses atomic number to track VMID version and increments VMID version whenever we run-out of VMIDs 3. Flushes Guest TLBs on all host CPUs whenever we run-out of VMIDs 4. Force updates HW S

[PATCH v12 10/17] RISC-V: KVM: Implement stage2 page table programming

2020-04-28 Thread Anup Patel
This patch implements all required functions for programming the stage2 page table for each Guest/VM. At high-level, the flow of stage2 related functions is similar from KVM ARM/ARM64 implementation but the stage2 page table format is quite different for KVM RISC-V. Signed-off-by: Anup Patel Ack

Re: [PATCH RFC 01/15] drivers/base: Introduce platform_msi_ops

2020-04-28 Thread Greg KH
On Mon, Apr 27, 2020 at 02:38:12PM -0700, Dave Jiang wrote: > > > On 4/26/2020 12:01 AM, Greg KH wrote: > > On Tue, Apr 21, 2020 at 04:33:53PM -0700, Dave Jiang wrote: > > > From: Megha Dey > > > > > > This is a preparatory patch to introduce Interrupt Message Store (IMS). > > > > > > Until no

[PATCH v12 11/17] RISC-V: KVM: Implement MMU notifiers

2020-04-28 Thread Anup Patel
This patch implements MMU notifiers for KVM RISC-V so that Guest physical address space is in-sync with Host physical address space. This will allow swapping, page migration, etc to work transparently with KVM RISC-V. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini

[PATCH v12 13/17] RISC-V: KVM: FP lazy save/restore

2020-04-28 Thread Anup Patel
From: Atish Patra This patch adds floating point (F and D extension) context save/restore for guest VCPUs. The FP context is saved and restored lazily only when kernel enter/exits the in-kernel run loop and not during the KVM world switch. This way FP save/restore has minimal impact on KVM perfor

[PATCH v12 14/17] RISC-V: KVM: Implement ONE REG interface for FP registers

2020-04-28 Thread Anup Patel
From: Atish Patra Add a KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctl interface for floating point registers such as F0-F31 and FCSR. This support is added for both 'F' and 'D' extensions. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewe

[PATCH v12 15/17] RISC-V: KVM: Add SBI v0.1 support

2020-04-28 Thread Anup Patel
From: Atish Patra The KVM host kernel is running in HS-mode needs so we need to handle the SBI calls coming from guest kernel running in VS-mode. This patch adds SBI v0.1 support in KVM RISC-V. Almost all SBI v0.1 calls are implemented in KVM kernel module except GETCHAR and PUTCHART calls which

[PATCH v12 12/17] RISC-V: KVM: Add timer functionality

2020-04-28 Thread Anup Patel
From: Atish Patra The RISC-V hypervisor specification doesn't have any virtual timer feature. Due to this, the guest VCPU timer will be programmed via SBI calls. The host will use a separate hrtimer event for each guest VCPU to provide timer functionality. We inject a virtual timer interrupt to

[PATCH v12 16/17] RISC-V: KVM: Document RISC-V specific parts of KVM API

2020-04-28 Thread Anup Patel
Document RISC-V specific parts of the KVM API, such as: - The interrupt numbers passed to the KVM_INTERRUPT ioctl. - The states supported by the KVM_{GET,SET}_MP_STATE ioctls. - The registers supported by the KVM_{GET,SET}_ONE_REG interface and the encoding of those register ids. - The exit

[PATCH v12 17/17] RISC-V: KVM: Add MAINTAINERS entry

2020-04-28 Thread Anup Patel
Add myself as maintainer for KVM RISC-V and Atish as designated reviewer. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINT

Re: [PATCH] arm: dts: am33xx-l4: add gpio-line-names to gpio controllers

2020-04-28 Thread Grygorii Strashko
On 28/04/2020 02:31, Drew Fustini wrote: Add gpio-line-names properties to the gpio controller nodes. The names correspond to the AM335x pin names which are also the muxmode 0 signal names. Refer to "Table 4-2. Pin Attributes" in the TI AM335x Sitara Processors datasheet: http://www.ti.com/

Re: [RFC PATCH v1 0/5] media: tegra: Tegra video driver follow-up patches

2020-04-28 Thread Hans Verkuil
On 28/04/2020 06:20, Sowjanya Komatineni wrote: > This is a fllow-up to some last feedback received for Tegra VI driver RFC > v10 patches. > https://patchwork.linuxtv.org/cover/63334/ > > > Sowjanya Komatineni (5): > MAINTAINERS: Rename Tegra Video driver path > media: tegra: Rename driver pa

Re: linux-next: build failure after merge of the mac80211-next tree

2020-04-28 Thread Sergey Matyukevich
On Tue, Apr 28, 2020 at 09:24:16AM +0200, Johannes Berg wrote: > On Tue, 2020-04-28 at 10:25 +0300, Sergey Matyukevich wrote: > > On Tue, Apr 28, 2020 at 09:01:30AM +0200, Johannes Berg wrote: > > > On Tue, 2020-04-28 at 12:29 +1000, Stephen Rothwell wrote: > > > > Hi all, > > > > > > > > After me

Re: [PATCH v3 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-04-28 Thread Miquel Raynal
Hi Vadivel MuruganX, "Ramuthevar, Vadivel MuruganX" wrote on Tue, 28 Apr 2020 14:50:35 +0800: > Hi Boris, > > On 28/4/2020 2:47 pm, Boris Brezillon wrote: > > On Tue, 28 Apr 2020 14:40:58 +0800 > > "Ramuthevar, Vadivel MuruganX" > > wrote: > > > >> Hi Boris, > >> > >> On 28/4/2020 2:27 pm,

[PATCH] xen/swiotlb: correct the check for xen_destroy_contiguous_region

2020-04-28 Thread peng . fan
From: Peng Fan When booting xen on i.MX8QM, met: " [3.602128] Unable to handle kernel paging request at virtual address 00272d40 [3.610804] Mem abort info: [3.613905] ESR = 0x9604 [3.617332] EC = 0x25: DABT (current EL), IL = 32 bits [3.623211] SET = 0, FnV

Re: [patch] mm, oom: stop reclaiming if GFP_ATOMIC will start failing soon

2020-04-28 Thread Michal Hocko
On Mon 27-04-20 16:35:58, Andrew Morton wrote: [...] > No consumer of GFP_ATOMIC memory should consume an unbounded amount of > it. > Subsystems such as networking will consume a certain amount and > will then start recycling it. The total amount in-flight will vary > over the longer term as workl

Re: boot failure: stack-protector: Kernel stack is corrupted in: start_secondary

2020-04-28 Thread Borislav Petkov
On Tue, Apr 21, 2020 at 03:32:34AM +0200, Adam Borowski wrote: > Hi! > With kernels compiled with gcc-10, on two different machines (AMD Phenom2, > AMD 2990WX) I get the following panic during boot: Welcome to the party: https://git.kernel.org/tip/f670269a42bfdd2c83a1118cc3d1b475547eac22 Try thi

Re: [PATCH v2] clk: renesas: cpg-mssr: Add R8A7742 support

2020-04-28 Thread Geert Uytterhoeven
Hi Prabhakar, On Mon, Apr 27, 2020 at 4:41 PM Lad Prabhakar wrote: > Add RZ/G1H (R8A7742) Clock Pulse Generator / Module Standby and Software > Reset support, using the CPG/MSSR driver core and the common R-Car Gen2 > (and RZ/G) code. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristi

Re: [PATCH 2/7] signal: factor copy_siginfo_to_external32 from copy_siginfo_to_user32

2020-04-28 Thread Christophe Leroy
Le 28/04/2020 à 09:09, Christoph Hellwig a écrit : On Mon, Apr 27, 2020 at 03:40:50PM -0700, Andrew Morton wrote: https://www.spinics.net/lists/kernel/msg3473847.html https://www.spinics.net/lists/kernel/msg3473840.html https://www.spinics.net/lists/kernel/msg3473843.html OK, but that doesn

Re: [RFC v2] ptrace, pidfd: add pidfd_ptrace syscall

2020-04-28 Thread Christian Brauner
On Tue, Apr 28, 2020 at 08:39:35AM +0200, Hagen Paul Pfeifer wrote: > * Linus Torvalds | 2020-04-27 21:28:14 [-0700]: > > >> I hate to say this, but I’m not convinced that asking the gdb folks is > >> the right approach. GDB has an ancient architecture and is > >> *incredibly* buggy. I’m sure ptra

Re: [PATCH v3 3/3] media: vimc: deb: Add support for {RGB,BGR,GBR}888 bus formats on source pad

2020-04-28 Thread Dafna Hirschfeld
hi, Thanks for the patches! On 28.04.20 01:03, Nícolas F. R. A. Prado wrote: Add support for RGB888_*, BGR888_* and GBR888_* media bus formats on the source pad of debayer subdevices. Co-developed-by: Vitor Massaru Iha Signed-off-by: Vitor Massaru Iha Signed-off-by: Nícolas F. R. A. Prado --

Re: linux-next: build failure after merge of the mac80211-next tree

2020-04-28 Thread Johannes Berg
On Tue, 2020-04-28 at 10:45 +0300, Sergey Matyukevich wrote: > > Looks good. But I have a couple of questions: > > - why cleanup vif->mgmt_frame_reg in wilc_mac_open ? Otherwise wilc_update_mgmt_frame_registrations() will think there are no changes whatsoever, and do nothing. > - previously wil

Re: exfat upcase table for code points above U+FFFF (Was: Re: [PATCH] staging: exfat: add exfat filesystem code to staging)

2020-04-28 Thread Pali Rohár
On Monday 27 April 2020 11:49:13 Sasha Levin wrote: > On Tue, Apr 21, 2020 at 11:30:45PM +0200, Pali Rohár wrote: > > On Thursday 13 February 2020 16:18:47 Sasha Levin wrote: > > > On Thu, Feb 13, 2020 at 01:06:56AM +0100, Pali Rohár wrote: > > > > In released exFAT specification is not written how

Re: [PATCH] crypto: caam - fix use after free issue in *_crypt_done

2020-04-28 Thread Iuliana Prodan
On 4/28/2020 8:14 AM, Zhenzhong Duan wrote: > In both aead_crypt_done and skcipher_crypt_done, edesc->bklog is > referenced after the structure pointed by edesc is freed. > > Fix them by moving kfree(edesc) to the end of function call. > > Signed-off-by: Zhenzhong Duan These issues were already

Re: [PATCH 2/7] signal: factor copy_siginfo_to_external32 from copy_siginfo_to_user32

2020-04-28 Thread Christoph Hellwig
On Tue, Apr 28, 2020 at 09:45:46AM +0200, Christophe Leroy wrote: >> I guess that might be a worthwhile middle ground. Still not a fan of >> all these ifdefs.. >> > > Can't we move the small X32 specific part out of > __copy_siginfo_to_user32(), in an arch specific helper that voids for other >

Re: [PATCH] nvme: prevent double free in nvme_alloc_ns() error handling

2020-04-28 Thread Niklas Cassel
On Tue, Apr 28, 2020 at 09:06:51AM +0200, Javier González wrote: > CAUTION: This email originated from outside of Western Digital. Do not click > on links or open attachments unless you recognize the sender and know that > the content is safe. > > > On 27.04.2020 18:22, Niklas Cassel wrote: > >

Re: [PATCH v3 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-04-28 Thread Ramuthevar, Vadivel MuruganX
Hi Miquel, On 28/4/2020 3:40 pm, Miquel Raynal wrote: Hi Vadivel MuruganX, "Ramuthevar, Vadivel MuruganX" wrote on Tue, 28 Apr 2020 14:50:35 +0800: Hi Boris, On 28/4/2020 2:47 pm, Boris Brezillon wrote: On Tue, 28 Apr 2020 14:40:58 +0800 "Ramuthevar, Vadivel MuruganX" wrote: Hi Boris

Re: [RFC 1/5] soundwire: bus_type: add sdw_master_device support

2020-04-28 Thread Vinod Koul
On 28-04-20, 08:55, Greg KH wrote: > On Tue, Apr 28, 2020 at 12:19:51PM +0530, Vinod Koul wrote: > > On 28-04-20, 08:37, Greg KH wrote: > > > On Tue, Apr 28, 2020 at 10:01:44AM +0530, Vinod Koul wrote: > > > > > > That is not true for everyone, it is only true for Intel, pls call > > > > > > that

Re: [PATCH] arm64: dts: allwinner: h6: Use dedicated CPU OPP table for Tanix TX6

2020-04-28 Thread Maxime Ripard
On Sun, Apr 26, 2020 at 02:17:09PM +0200, Clément Péron wrote: > Tanix TX6 has a fixed regulator. As DVFS is instructed to change > voltage to meet OPP table. The DVFS is not working as expected. > > Introduce a dedicated OPP Table where voltage are equals to > the fixed regulator. > > Reported-b

Re: [PATCH] arm: remove unneeded semicolon in board-artpec6.c

2020-04-28 Thread Jesper Nilsson
On Tue, Apr 28, 2020 at 08:32:13AM +0200, Jason Yan wrote: > Fix the following coccicheck warning: > > arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon Acked-by: Jesper Nilsson > Signed-off-by: Jason Yan > --- > arch/arm/mach-artpec/board-artpec6.c | 2 +- > 1 file changed, 1 i

Re: [PATCH] scripts: gtags_files_generator.sh

2020-04-28 Thread Masahiro Yamada
On Sun, Apr 26, 2020 at 11:48 AM xujialu wrote: > > Add a script to generate a more precise gtags.files from *.cmd files. > > For navigating linux sources, it will be more efficient if gtags/cscope > just collects source files that needed for compilation. The kernel > makefiles already create *.cm

Re: [PATCH 1/6] iio: chemical: scd30: add core driver

2020-04-28 Thread Tomasz Duszynski
On Sat, Apr 25, 2020 at 07:55:34PM +0100, Jonathan Cameron wrote: > On Wed, 22 Apr 2020 16:11:30 +0200 > Tomasz Duszynski wrote: > > > Add Sensirion SCD30 carbon dioxide core driver. > > > > Signed-off-by: Tomasz Duszynski > Hi Tomasz > > As you've probably guessed the big questions are around th

[PATCH] net: Protect INET_ADDR_COOKIE on 32-bit architectures

2020-04-28 Thread Stephen Kitt
Commit c7228317441f ("net: Use a more standard macro for INET_ADDR_COOKIE") added a __deprecated marker to the cookie name on 32-bit architectures, with the intent that the compiler would flag uses of the name. However since commit 771c035372a0 ("deprecate the '__deprecated' attribute warnings enti

Re: [PATCH] pwm: sun4i: direct clock output support for Allwinner A64

2020-04-28 Thread Maxime Ripard
Hi, On Sun, Apr 26, 2020 at 12:11:22PM +0200, Peter Vasil wrote: > Allwinner A64 is capable of a direct clock output on PWM (see A64 > User Manual chapter 3.10). Add support for this in the sun4i PWM > driver and adjust compatibility in sun50i-a64 base device tree. > > Signed-off-by: Peter Vasil

[PATCH net-next v3 0/2] provide support for PHY master/slave configuration

2020-04-28 Thread Oleksij Rempel
changes v3: - provide separate field for config and state. - make state rejected on set - add validation changes v2: - change names. Use MASTER_PREFERRED instead of MULTIPORT - configure master/slave only on request. Default configuration can be provided by PHY or eeprom - status and configurati

[PATCH net-next v3 2/2] net: phy: tja11xx: add support for master-slave configuration

2020-04-28 Thread Oleksij Rempel
The TJA11xx PHYs have a vendor specific Master/Slave configuration bit, which is not compatible with IEEE 803.2-2018 spec for 100Base-T1 devices. So, provide a custom config_ange call back to solve this problem. Signed-off-by: Oleksij Rempel --- drivers/net/phy/nxp-tja11xx.c | 58 +++

[PATCH net-next v3 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-04-28 Thread Oleksij Rempel
This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of auto-negotiation support, we needed to be able to configure the MASTER-SLAVE role of the port manually or from an application in user space. The same UAPI can be used for 1000BASE-T or MultiGBASE-T devices to force MASTER or S

Re: [PATCH v7 1/3] media: dt-bindings: ov8856: Document YAML bindings

2020-04-28 Thread Maxime Ripard
On Mon, Apr 27, 2020 at 05:13:42PM +0200, Robert Foss wrote: > On Wed, 15 Apr 2020 at 18:21, Marco Felsch wrote: > > > > On 20-04-15 11:07, Rob Herring wrote: > > > On Wed, Apr 08, 2020 at 01:08:14PM +0200, Robert Foss wrote: > > > > From: Dongchun Zhu > > > > > > > > This patch adds documentatio

Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)

2020-04-28 Thread Joerg Roedel
On Mon, Apr 27, 2020 at 10:37:41AM -0700, Andy Lutomirski wrote: > I have a somewhat serious question: should we use IST for #VC at all? > As I understand it, Rome and Naples make it mandatory for hypervisors > to intercept #DB, which means that, due to the MOV SS mess, it's sort > of mandatory to

Re: [PATCH v3 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-04-28 Thread Miquel Raynal
Hello, "Ramuthevar, Vadivel MuruganX" wrote on Tue, 28 Apr 2020 15:50:06 +0800: > Hi Miquel, > > On 28/4/2020 3:40 pm, Miquel Raynal wrote: > > Hi Vadivel MuruganX, > > > > "Ramuthevar, Vadivel MuruganX" > > wrote on Tue, 28 Apr 2020 > > 14:50:35 +0800: > > > >> Hi Boris, > >> > >> On 28/4

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-28 Thread Takashi Iwai
On Mon, 27 Apr 2020 20:43:54 +0200, Alex Deucher wrote: > > On Mon, Apr 27, 2020 at 2:39 PM Takashi Iwai wrote: > > > > On Mon, 27 Apr 2020 20:28:12 +0200, > > Alex Deucher wrote: > > > > > > On Mon, Apr 27, 2020 at 2:07 PM Nicholas Johnson > > > wrote: > > > > > > > > On Mon, Apr 27, 2020 at 05

Re: [PATCH 1/6] iio: chemical: scd30: add core driver

2020-04-28 Thread Tomasz Duszynski
On Sat, Apr 25, 2020 at 09:52:25PM +0300, Andy Shevchenko wrote: > On Sat, Apr 25, 2020 at 9:42 PM Tomasz Duszynski > wrote: > > On Sat, Apr 25, 2020 at 02:43:35PM +0300, Andy Shevchenko wrote: > > > On Fri, Apr 24, 2020 at 10:05 PM Tomasz Duszynski > > > wrote: > > > > On Wed, Apr 22, 2020 at 10

Re: [PATCH 2/7] arm: dts: sunxi: h3/h5: Add HDMI audio

2020-04-28 Thread Maxime Ripard
Hi, On Sun, Apr 26, 2020 at 02:04:37PM +0200, Clément Péron wrote: > From: Marcus Cooper > > Add a simple-soundcard to link audio between HDMI and I2S. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > arch/arm/boot/dts/sunxi-h3-h5.dtsi

Re: [mm/debug] fa6726c1e7: kernel_BUG_at_include/linux/mm.h

2020-04-28 Thread Qian Cai
> On Apr 28, 2020, at 2:12 AM, Christophe Leroy wrote: > > Yes but Qian was saying: "Also, it is not very nice to introduce regressions > for robots when testing PAE because they always select CONFIG__EXPERT and > CONFIG_DEBUG_VM" > > Here we see that the said regression is not introduced b

Re: [PATCH 4/7] arm64: dts: allwinner: a64: Add HDMI audio

2020-04-28 Thread Maxime Ripard
On Sun, Apr 26, 2020 at 02:04:39PM +0200, Clément Péron wrote: > From: Marcus Cooper > > Add a simple-soundcard to link audio between HDMI and I2S. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun50i-a64

Re: [PATCH v7 06/12] ARM: DTS: omap4: add sgx gpu child node

2020-04-28 Thread H. Nikolaus Schaller
Hi Paul, > Am 26.04.2020 um 14:50 schrieb Paul Cercueil : > > Hi Nikolaus, > > Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a > écrit : >> Add SGX GPU node with interrupt. Tested on PandaBoard ES. >> Since omap4420/30/60 and omap4470 come with different SGX variants >> we need to introd

Re: [PATCH v2 1/2] i2c: tegra: Better handle case where CPU0 is busy for a long time

2020-04-28 Thread Jon Hunter
On 27/04/2020 16:18, Dmitry Osipenko wrote: > 27.04.2020 18:12, Thierry Reding пишет: >> On Mon, Apr 27, 2020 at 05:21:30PM +0300, Dmitry Osipenko wrote: >>> 27.04.2020 14:00, Thierry Reding пишет: On Mon, Apr 27, 2020 at 12:52:10PM +0300, Dmitry Osipenko wrote: > 27.04.2020 10:48, Thier

Re: [PATCH v2 1/2] i2c: tegra: Better handle case where CPU0 is busy for a long time

2020-04-28 Thread Jon Hunter
On 27/04/2020 16:38, Dmitry Osipenko wrote: > 27.04.2020 17:45, Dmitry Osipenko пишет: >> 27.04.2020 17:13, Dmitry Osipenko пишет: >>> 27.04.2020 15:46, Dmitry Osipenko пишет: 23.04.2020 13:56, Jon Hunter пишет: >>> So I think that part of the problem already existed prior to these >

Re: [PATCH v3 1/7] ASoC: sun4i-i2s: Adjust LRCLK width

2020-04-28 Thread Maxime Ripard
On Sun, Apr 26, 2020 at 12:41:09PM +0200, Clément Péron wrote: > From: Marcus Cooper > > Some codecs such as i2s based HDMI audio and the Pine64 DAC require > a different amount of bit clocks per frame than what is calculated > by the sample width. Use the values obtained by the tdm slot bindings

Re: [RFC PATCH v2 1/7] block: Extand commit_rqs() to do batch processing

2020-04-28 Thread Baolin Wang
On Mon, Apr 27, 2020 at 11:46 PM Christoph Hellwig wrote: > > extand in the subject really shpuld be 'extend' Sorry for typo, and will fix in next version. > > On Sun, Apr 26, 2020 at 05:38:54PM +0800, Baolin Wang wrote: > > From: Ming Lei > > > > Now some SD/MMC host controllers can support pa

Re: [PATCH] xen/swiotlb: correct the check for xen_destroy_contiguous_region

2020-04-28 Thread Christoph Hellwig
On Tue, Apr 28, 2020 at 03:33:45PM +0800, peng@nxp.com wrote: > > In xen_swiotlb_alloc_coherent, if !(dev_addr + size - 1 <= dma_mask) or > range_straddles_page_boundary(phys, size) are true, it will > create contiguous region. So when free, we need to free contiguous > region use upper check

Re: linux-next: build failure after merge of the mac80211-next tree

2020-04-28 Thread Sergey Matyukevich
> > Looks good. But I have a couple of questions: > > > > - why cleanup vif->mgmt_frame_reg in wilc_mac_open ? > > Otherwise wilc_update_mgmt_frame_registrations() will think there are no > changes whatsoever, and do nothing. > > > - previously wilc_wfi_p2p_rx was called only for PROBE_REQ and A

Re: [PATCH v3 2/7] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2020-04-28 Thread Maxime Ripard
On Sun, Apr 26, 2020 at 12:41:10PM +0200, Clément Péron wrote: > From: Jernej Skrabec > > H6 I2S is very similar to H3, except that it supports up to 16 channels > and thus few registers have fields on different position. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signe

Re: [PATCH v3 1/5] kernel/sysctl: support setting sysctl parameters from kernel command line

2020-04-28 Thread Vlastimil Babka
On 4/27/20 8:33 PM, Andrew Morton wrote: On Mon, 27 Apr 2020 20:04:29 +0200 Vlastimil Babka wrote: ... + sysctl.*= [KNL] + Set a sysctl parameter, right before loading the init + process, as if the value was written to the respective +

Re: [PATCH v3] mfd: syscon: Add Spreadtrum physical regmap bus support

2020-04-28 Thread Baolin Wang
On Tue, Apr 28, 2020 at 3:14 PM Lee Jones wrote: > > On Tue, 28 Apr 2020, Baolin Wang wrote: > > > On Mon, Apr 27, 2020 at 5:05 PM Lee Jones wrote: > > > > > > On Mon, 27 Apr 2020, Baolin Wang wrote: > > > > > > > Hi Arnd and Lee, > > > > > > > > On Tue, Apr 21, 2020 at 10:13 PM Baolin Wang > >

Re: [PATCH v7 03/15] s390/zcrypt: driver callback to indicate resource in use

2020-04-28 Thread Pierre Morel
On 2020-04-28 00:24, Tony Krowiak wrote: On 4/27/20 4:20 AM, Pierre Morel wrote: On 2020-04-07 21:20, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. The intent of this callback is to pr

Re: [PATCH] xen/swiotlb: correct the check for xen_destroy_contiguous_region

2020-04-28 Thread Jürgen Groß
On 28.04.20 09:33, peng@nxp.com wrote: From: Peng Fan When booting xen on i.MX8QM, met: " [3.602128] Unable to handle kernel paging request at virtual address 00272d40 [3.610804] Mem abort info: [3.613905] ESR = 0x9604 [3.617332] EC = 0x25: DABT (current EL)

linux-next: Tree for Apr 28

2020-04-28 Thread Stephen Rothwell
Hi all, Changes since 20200424: The qcom tree still had its build failure for which I reverted a commit. The hwmon-staging tree gained a build failure for which I reverted a commit. The mac80211-next tree gained a build failure so I used the version from next-20200424. The drm-misc tree still

Re: [PATCH v3 0/7] perf: Stream comparison

2020-04-28 Thread Jin, Yao
Hi Jiri, On 4/27/2020 6:10 PM, Jiri Olsa wrote: On Mon, Apr 20, 2020 at 09:04:44AM +0800, Jin Yao wrote: SNIP compute_flag div.c:25 compute_flag div.c:25 compute_flag div.c:22 compute_flag div.c:22 main d

[PATCH] net/x25: Fix null-ptr-deref in x25_disconnect

2020-04-28 Thread YueHaibing
We should check null before do x25_neigh_put in x25_disconnect, otherwise may cause null-ptr-deref like this: #include #include int main() { int sck_x25; sck_x25 = socket(AF_X25, SOCK_SEQPACKET, 0); close(sck_x25); return 0; } BUG: kernel NULL pointer dereference, address:

  1   2   3   4   5   6   7   8   9   10   >