[PATCH 3/8] x86/platform/uv: Add return code to UV BIOS Init function

2019-09-05 Thread Mike Travis
Add a return code to the UV BIOS init function that indicates the successful initialization of the kernel/BIOS callback interface. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To: Andrew Morton To:

[PATCH 1/8] x86/platform/uv: Save OEM_ID from ACPI MADT probe

2019-09-05 Thread Mike Travis
Save the OEM_ID and OEM_TABLE_ID passed to the apic driver probe function for later use. Also, convert the char list arg passed from the kernel to a true null-terminated string. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo

[PATCH 7/8] x86/platform/uv: Check EFI Boot to set reboot type

2019-09-05 Thread Mike Travis
Change to checking for EFI Boot type from previous check on if this is a KDUMP kernel. This allows for KDUMP kernels that can handle EFI reboots. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To:

[PATCH 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-05 Thread Mike Travis
The references in the is_uvX_hub() function uses the hub_info pointer which will be NULL when the system is hubless. This change avoids that NULL dereference. It is also an optimization in performance. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To:

[PATCH 6/8] x86/platform/uv: Decode UVsystab Info

2019-09-05 Thread Mike Travis
Decode the hubless UVsystab passed from BIOS to the kernel saving pertinent info in a similar manner that hubbed UVsystabs are decoded. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To: Andrew Morton

[PATCH 2/5] arm64: dts: meson: g12: fix audio fifo reg size

2019-09-05 Thread Jerome Brunet
The register region size initially is too small to access all the fifo registers. Fixes: c59b7fe5aafd ("arm64: dts: meson: g12a: add audio fifos") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6

RE: Could not read FW version, FW version command failed -5

2019-09-05 Thread Winkler, Tomas
> Dear Tomas, > > > Testing Fedora 30 with Linux 5.2.11 on an old Dell OptiPlex 980, Linux > log the message below. > > [ 15.964298] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: Could > not read FW version > [ 15.964301] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: FW >

[PATCH 5/5] arm64: dts: meson: g12: move audio bus out of g12-common

2019-09-05 Thread Jerome Brunet
The base address of the audio bus and pdm device are different between the g12 and sm1 SoC families. Overwriting the reg property only would leave with confusing node names on the sm1. Move the audio related devices to the g12 dtsi. The appropriate nodes will be created for the sm1 later on.

[PATCH 3/5] arm64: dts: meson: g12: add a g12 layer

2019-09-05 Thread Jerome Brunet
While the sm1 is very close to the g12a/b family, somethings apply differently on the g12a/b and not the sm1. This introduce a new layer of dtsi for part which apply to the g12a and g12b but not the sm1. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 7 +++

[PATCH 4/5] arm64: dts: meson: g12: factor the power domain.

2019-09-05 Thread Jerome Brunet
The power domain declared in the g12a and g12b dtsi are the same. Move the declaration of these power domains in the g12 common dtsi. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 13 + arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 -

[PATCH 1/5] arm64: dts: meson: axg: fix audio fifo reg size

2019-09-05 Thread Jerome Brunet
The register region size initially is too small to access all the fifo registers. Fixes: f2b8f6a93357 ("arm64: dts: meson-axg: add audio fifos") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[PATCH 0/5] arm64: dts: meson: audio updates

2019-09-05 Thread Jerome Brunet
The patchset features a few updates to prepare the addition of the audio on sm1. It fixes the register range of audio fifo which was incorrect. It also create another layer of dtsi, common to g12a and g12b but not sm1. The audio related device are moved to this file. This was done because the

[PATCH v3] KVM: x86: Disable posted interrupts for odd IRQs

2019-09-05 Thread Alexander Graf
We can easily route hardware interrupts directly into VM context when they target the "Fixed" or "LowPriority" delivery modes. However, on modes such as "SMI" or "Init", we need to go via KVM code to actually put the vCPU into a different mode of operation, so we can not post the interrupt Add

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-05 Thread Jean Delvare
On Tue, 3 Sep 2019 02:15:52 +, Xu, Lingyan (NSB - CN/Hangzhou) wrote: > Thanks a lot for your comments. And, yes, it is dangerous that clear all > interrupt bit here based my local test. And about the interrupt flood, I will > show you in attached file. And I agree with you that add SMBALERT

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Jonathan Corbet
On Thu, 5 Sep 2019 06:23:13 -0300 Mauro Carvalho Chehab wrote: > Python's PEP-263 [1] dictates that an script that needs to default to > UTF-8 encoding has to follow this rule: > > 'Python will default to ASCII as standard encoding if no other >encoding hints are given. > >

[PATCH net-next] MAINTAINERS: add myself as maintainer for xilinx axiethernet driver

2019-09-05 Thread Radhey Shyam Pandey
I am maintaining xilinx axiethernet driver in xilinx tree and would like to maintain it in the mainline kernel as well. Hence adding myself as a maintainer. Also Anirudha and John has moved to new roles, so based on request removing them from the maintainer list. Signed-off-by: Radhey Shyam

[PATCH 0/3] replace code with FIELD_SIZEOF

2019-09-05 Thread zhong jiang
FIELD_SIZEOF() has implemented sizeof(). Hence use FIELD_SIZEOF directly. zhong jiang (3): batman-adv: Use FIELD_SIZEOF directly media: v4l2: Use FIELD_SIZEOF directly IB/mlx5: Use FIELD_SIZEOF directly drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +- drivers/media/v4l2-core/v4l2-ioctl.c

[PATCH 3/3] IB/mlx5: Use FIELD_SIZEOF directly

2019-09-05 Thread zhong jiang
It's more clear to use FIELD_SIZEOF instead of its implementation. Signed-off-by: zhong jiang --- drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index

[PATCH 1/3] batman-adv: Use FIELD_SIZEOF directly

2019-09-05 Thread zhong jiang
It's more clear to use FIELD_SIZEOF instead of its implementation. Signed-off-by: zhong jiang --- net/batman-adv/distributed-arp-table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c index

[PATCH 2/3] media: v4l2: Use FIELD_SIZEOF directly

2019-09-05 Thread zhong jiang
It's more clear to use FIELD_SIZEOF instead of its implementation. Signed-off-by: zhong jiang --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Josh Poimboeuf
On Thu, Sep 05, 2019 at 02:16:51PM +0200, Miroslav Benes wrote: > > > > A full demo would require packaging up replacement .ko's with a > > > > livepatch, as > > > > well as "blacklisting" those deprecated .kos, etc. But that's all I > > > > had time > > > > to cook up last week before our

[OT] Re: [Xen-devel] [PATCH -tip 0/2] x86: Prohibit kprobes on XEN_EMULATE_PREFIX

2019-09-05 Thread Masami Hiramatsu
On Thu, 5 Sep 2019 09:53:32 +0100 Andrew Cooper wrote: > On 05/09/2019 09:26, Peter Zijlstra wrote: > > On Thu, Sep 05, 2019 at 08:54:17AM +0100, Andrew Cooper wrote: > > > >> I don't know if you've spotted, but the prefix is a ud2a instruction > >> followed by 'xen' in ascii. > >> > >> The KVM

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Miroslav Benes
On Thu, 5 Sep 2019, Josh Poimboeuf wrote: > On Thu, Sep 05, 2019 at 02:03:34PM +0200, Miroslav Benes wrote: > > > > + I would like to better understand the scope of the current > > > > problems. It is about modifying code in the livepatch that > > > > depends on position of the related

[PATCH] riscv: dts: sifive: Add ethernet0 to the aliases node

2019-09-05 Thread Bin Meng
U-Boot expects this alias to be in place in order to fix up the mac address of the ethernet node. Signed-off-by: Bin Meng --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi

[RFC PATCH v2 2/3] livepatch: Unify functions for writing and clearing object relocations

2019-09-05 Thread Miroslav Benes
Functions klp_write_object_relocations() and klp_clear_object_relocations() share a lot of code. Take the code out to a common function and provide the specific actions through callbacks. Signed-off-by: Miroslav Benes --- kernel/livepatch/core.c | 84 + 1

[RFC PATCH v2 0/3] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Miroslav Benes
Updated version with Petr's feedback. It looks a bit different and better now (I would say). Not that it should be considered before we decide what to do with late module patching, but I finished it before the discussion started and someone could be interested. v1:

[PATCH v2] riscv: dts: sifive: Drop "clock-frequency" property of cpu nodes

2019-09-05 Thread Bin Meng
The "clock-frequency" property of cpu nodes isn't required. Drop it. Signed-off-by: Bin Meng --- Changes in v2: - drop "clock-frequency" property of cpu nodes arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git

[RFC PATCH v2 3/3] livepatch: Clean up klp_update_object_relocations() return paths

2019-09-05 Thread Miroslav Benes
Signed-off-by: Miroslav Benes --- kernel/livepatch/core.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index 023c9333c276..73d5add5 100644 --- a/kernel/livepatch/core.c +++ b/kernel/livepatch/core.c @@ -251,7

[RFC PATCH v2 1/3] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Miroslav Benes
Josh reported a bug: When the object to be patched is a module, and that module is rmmod'ed and reloaded, it fails to load with: module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 2, loc ba0302e9, val a03e293c livepatch: failed to

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Josh Poimboeuf
On Thu, Sep 05, 2019 at 02:03:34PM +0200, Miroslav Benes wrote: > > > + I would like to better understand the scope of the current > > > problems. It is about modifying code in the livepatch that > > > depends on position of the related code: > > > > > > + relocations are rather

Re: [PATCH v5 2/2] powerpc: Add support to initialize ima policy rules

2019-09-05 Thread Nayna
On 09/02/2019 07:52 AM, Michael Ellerman wrote: Hi Nayna, Hi Michael, Some more comments below. Nayna Jain writes: POWER secure boot relies on the kernel IMA security subsystem to perform the OS kernel image signature verification. Again this is just a design choice we've made, it's

Re: "fs/namei.c: keep track of nd->root refcount status" causes boot panic

2019-09-05 Thread Kevin Easton
On Tue, Sep 03, 2019 at 06:56:10PM +0100, Al Viro wrote: > On Tue, Sep 03, 2019 at 08:39:30AM -0700, Christoph Hellwig wrote: > > > > There's much nastier situation than "new upstream kernel released, > > > need to rebuild" - it's bisect in mainline trying to locate something... > > > > I really

[PATCH 2/2] vhost: re-introducing metadata acceleration through kernel virtual address

2019-09-05 Thread Jason Wang
This is a rework on the commit 7f466032dc9e ("vhost: access vq metadata through kernel virtual address"). It was noticed that the copy_to/from_user() friends that was used to access virtqueue metdata tends to be very expensive for dataplane implementation like vhost since it involves lots of

[PATCH 1/2] Revert "vhost: access vq metadata through kernel virtual address"

2019-09-05 Thread Jason Wang
It was reported that metadata acceleration introduces several issues, so this patch reverts commit ff466032dc9e5a61217f22ea34b2df932786bbfc, 73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af and 0b4a7092ffe568a55bf8f3cefdf79ff666586d91. We will rework it on the next version. Cc: Jason Gunthorpe

[PATCH 0/2] Revert and rework on the metadata accelreation

2019-09-05 Thread Jason Wang
Hi: Per request from Michael and Jason, the metadata accelreation is reverted in this version and rework in next version. Please review. Thanks Jason Wang (2): Revert "vhost: access vq metadata through kernel virtual address" vhost: re-introducing metadata acceleration through kernel

Re: [PATCH v6 2/2] tty: add rpmsg driver

2019-09-05 Thread Arnaud Pouliquen
Hi Richard, On 9/5/19 12:50 PM, Richard Genoud wrote: Hi Arnaud, Le 04/09/2019 à 15:09, Arnaud Pouliquen a écrit : This driver exposes a standard tty interface on top of the rpmsg framework through a rpmsg service. This driver supports multi-instances, offering a /dev/ttyRPMSGx entry per

Re: [PATCH] x86/kaslr: simplify the code in mem_avoid_memmap()

2019-09-05 Thread Qian Cai
Ping. Please take a look at this trivial patch. On Thu, 2019-08-22 at 10:26 -0400, Qian Cai wrote: > If "i >= MAX_MEMMAP_REGIONS" already when entering mem_avoid_memmap(), > even without the return statement the loop will not run anyway. The only > time it needs to set "memmap_too_large = true"

Re: [PATCH 0/5] mm, slab: Make kmalloc_info[] contain all types of names

2019-09-05 Thread Vlastimil Babka
On 9/3/19 6:04 PM, Pengfei Li wrote: > There are three types of kmalloc, KMALLOC_NORMAL, KMALLOC_RECLAIM > and KMALLOC_DMA. > > The name of KMALLOC_NORMAL is contained in kmalloc_info[].name, > but the names of KMALLOC_RECLAIM and KMALLOC_DMA are dynamically > generated by kmalloc_cache_name(). >

[PATCH V6 3/3] mmc: mmci: sdmmc: add busy_complete callback

2019-09-05 Thread Ludovic Barre
From: Ludovic Barre This patch adds a specific busy_complete callback for sdmmc variant. sdmmc has 2 status flags: -busyd0: This is a hardware status flag (inverted value of d0 line). it does not generate an interrupt. -busyd0end: This indicates only end of busy following a CMD response. On

[PATCH V6 2/3] mmc: mmci: add busy_complete callback

2019-09-05 Thread Ludovic Barre
From: Ludovic Barre This patch adds busy_completion callback at mmci_host_ops to allow to define a specific busy completion by variant. The legacy code corresponding to busy completion used by ux500 variants is moved to ux500_busy_complete function. The busy_detect boolean property is replaced

[PATCH V6 0/3] mmc: mmci: add busy detect for stm32 sdmmc variant

2019-09-05 Thread Ludovic Barre
From: Ludovic Barre This patch series adds busy detect for stm32 sdmmc variant. Some adaptations are required: -On sdmmc the data timer is started on data transfert and busy state, so we must add hardware busy timeout support. -Add busy_complete callback at mmci_host_ops to allow to define a

[PATCH V6 1/3] mmc: mmci: add hardware busy timeout feature

2019-09-05 Thread Ludovic Barre
From: Ludovic Barre In some variants, the data timer starts and decrements when the DPSM enters in Wait_R or Busy state (while data transfer or MMC_RSP_BUSY), and generates a data timeout error if the counter reach 0. -Define max_busy_timeout (in ms) according to clock. -Set data timer register

Re: [patch 5/6] posix-cpu-timers: Sanitize thread clock permissions

2019-09-05 Thread Peter Zijlstra
On Thu, Sep 05, 2019 at 02:03:44PM +0200, Thomas Gleixner wrote: > The thread clock permissions are restricted to tasks of the same thread > group, but that also prevents a ptracer from reading them. This is > inconsistent vs. the process restrictions and unnecessary strict. > > Relax it to

[git pull] habanalabs pull request for kernel 5.4

2019-09-05 Thread Oded Gabbay
Hello Greg, This is the pull request for habanalabs driver for kernel 5.4. It contains one major change, the creation of an additional char device per PCI device. In addition, there are some small changes and improvements. Please see the tag message for details on what this pull request

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Miroslav Benes
On Wed, 4 Sep 2019, Josh Poimboeuf wrote: > On Tue, Sep 03, 2019 at 03:02:34PM +0200, Miroslav Benes wrote: > > On Mon, 2 Sep 2019, Joe Lawrence wrote: > > > > > On 9/2/19 12:13 PM, Miroslav Benes wrote: > > > >> I can easily foresee more problems like those in the future. Going > > > >>

[patch 4/6] posix-cpu-timers: Restrict clock_gettime() permissions

2019-09-05 Thread Thomas Gleixner
Similar to creating timers on a process there is no restriction at all to read the Posix CPU clocks of any process in the system. Per thread CPU clock access is limited to threads in the same thread group. The per process CPU clocks can be used to observe activity of tasks and reading them can

[patch 0/6] posix-cpu-timers: Fallout fixes and permission tightening

2019-09-05 Thread Thomas Gleixner
Sysbot triggered an issue in the posix timer rework which was trivial to fix, but after running another test case I discovered that the rework broke the permission checks subtly. That's also a straightforward fix. Though when staring at it I discovered that the permission checks for process

Re: KASAN: invalid-free in iowarrior_disconnect

2019-09-05 Thread Andrey Konovalov
On Mon, Aug 19, 2019 at 4:48 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:d0847550 usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output:

[patch 2/6] posix-cpu-timers: Fix permission check regression

2019-09-05 Thread Thomas Gleixner
The recent consolidation of the three permission checks introduced a subtle regression. For timer_create() with a process wide timer it returns the current task if the lookup through the PID which is encoded into the clockid results in returning current. That's broken because it does not validate

[patch 5/6] posix-cpu-timers: Sanitize thread clock permissions

2019-09-05 Thread Thomas Gleixner
The thread clock permissions are restricted to tasks of the same thread group, but that also prevents a ptracer from reading them. This is inconsistent vs. the process restrictions and unnecessary strict. Relax it to ptrace permissions in the same way as process permissions are handled.

[patch 6/6] posix-cpu-timers: Make PID=0 and PID=self handling consistent

2019-09-05 Thread Thomas Gleixner
If the PID encoded into the clock id is 0 then the target is either the calling thread itself or the process to which it belongs. If the current thread encodes its own PID on a process wide clock then there is no reason not to treat it in the same way as the PID=0 case. Signed-off-by: Thomas

[patch 1/6] posix-cpu-timers: Always clear head pointer on dequeue

2019-09-05 Thread Thomas Gleixner
The head pointer in struct cpu_timer is checked to be NULL in posix_cpu_timer_del() when the delete raced with the exit cleanup. The works correctly as long as the timer is actually dequeued via posix_cpu_timers_exit*(). But if the timer was dequeued due to expiry the head pointer is still set

[patch 3/6] posix-cpu-timers: Restrict timer_create() permissions

2019-09-05 Thread Thomas Gleixner
Right now there is no restriction at all to attach a Posix CPU timer to any process in the system. Per thread CPU timers are limited to be created by threads in the same thread group. Timers can be used to observe activity of tasks and also impose overhead on the process to which they are

[PATCH v3 net-next] net: stmmac: Add support for MDIO interrupts

2019-09-05 Thread Voon Weifeng
From: "Chuah, Kim Tatt" DW EQoS v5.xx controllers added capability for interrupt generation when MDIO interface is done (GMII Busy bit is cleared). This patch adds support for this interrupt on supported HW to avoid polling on GMII Busy bit. stmmac_mdio_read() & stmmac_mdio_write() will sleep

[PATCH v2 9/9] tools/power/x86/intel-speed-select: Fix memory leak

2019-09-05 Thread Prarit Bhargava
cpumasks are allocated by calling the alloc_cpu_mask() function and are never free'd. They should be free'd after the commands have run. Fix the memory leaks by calling free_cpu_set(). Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org

[PATCH v2 6/9] tools/power/x86/intel-speed-select: Change turbo ratio output to maximum turbo frequency

2019-09-05 Thread Prarit Bhargava
The intel-speed-select tool currently outputs the turbo ratio for every bucket. Make the output more user-friendly by changing the output to the maximum turbo frequency. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org ---

[PATCH v2 4/9] tools/power/x86/intel-speed-select: Simplify output for turbo-freq and base-freq

2019-09-05 Thread Prarit Bhargava
The current output of 'intel-speed-select -c 53 perf-profile info -l 0' shows speed-select-turbo-freq-support:1 speed-select-base-freq-support:1 speed-select-base-freq-enabled:0 speed-select-turbo-freq-enabled:0 Simplify the output to single lines displaying

[PATCH v2 3/9] tools/power/x86/intel-speed-select: Fix cpu-count output

2019-09-05 Thread Prarit Bhargava
I have a system with 28 threads/socket but intel-speed-select reports a cpu-count of 29. Fix an off-by-one error in the cpu_count() function. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org ---

[PATCH v2 5/9] tools/power/x86/intel-speed-select: Switch output to MHz

2019-09-05 Thread Prarit Bhargava
These features are introduced on new processors that will never operate in the KHz range. Save some zeros and switch the output to MHz. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org --- .../x86/intel-speed-select/isst-display.c |

Re: WARNING: ODEBUG bug in __free_pages_ok

2019-09-05 Thread Andrey Konovalov
On Thu, Jul 25, 2019 at 2:08 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:6a3599ce usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output:

[PATCH v2 2/9] tools/power/x86/intel-speed-select: Fix help option typo

2019-09-05 Thread Prarit Bhargava
Help is -h, not --h. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org --- tools/power/x86/intel-speed-select/isst-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Miroslav Benes
On Wed, 4 Sep 2019, Josh Poimboeuf wrote: > On Wed, Sep 04, 2019 at 10:49:32AM +0200, Petr Mladek wrote: > > On Tue 2019-09-03 15:02:34, Miroslav Benes wrote: > > > On Mon, 2 Sep 2019, Joe Lawrence wrote: > > > > > > > On 9/2/19 12:13 PM, Miroslav Benes wrote: > > > > >> I can easily foresee

[PATCH v2 0/9] tools-power-x86-intel-speed-select: Fixes and updates for output

2019-09-05 Thread Prarit Bhargava
Some general fixes and updates for intel-speed-select. Fixes include some typos as well as an off-by-one cpu count reporting error. Updates for the output are - switching to MHz as a standard - reporting CPU frequencies instead of ratios as a standard - viewing a human-readable CPU list. -

[PATCH v2 8/9] tools/power/x86/intel-speed-select: Output success/failed for command output

2019-09-05 Thread Prarit Bhargava
Command output has confusing data, returning "0" on success. For example |# ./intel-speed-select -c 14 turbo-freq enable Intel(R) Speed Select Technology Executing on CPU model:106[0x6a] package-1 die-0 cpu-14 turbo-freq enable:0 To avoid confusion change the command

[PATCH v2 7/9] tools/power/x86/intel-speed-select: Output human readable CPU list

2019-09-05 Thread Prarit Bhargava
The intel-speed-select tool currently only outputs a hexidecimal CPU mask, which requires translation for use with kernel parameters such as isolcpus. Along with the CPU mask, output a human readable CPU list. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc:

[PATCH v2 1/9] tools/power/x86/intel-speed-select: Fix package typo

2019-09-05 Thread Prarit Bhargava
packag_ should be package_. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: David Arcari Cc: linux-kernel@vger.kernel.org --- tools/power/x86/intel-speed-select/isst-display.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 1/1] KVM: inject data abort if instruction cannot be decoded

2019-09-05 Thread Heinrich Schuchardt
On 9/5/19 11:20 AM, Stefan Hajnoczi wrote: On Wed, Sep 04, 2019 at 08:07:36PM +0200, Heinrich Schuchardt wrote: If an application tries to access memory that is not mapped, an error ENOSYS, "load/store instruction decoding not implemented" may occur. QEMU will hang with a register dump.

[PATCH 6/8] ASoC: meson: axg-frddr: add sm1 support

2019-09-05 Thread Jerome Brunet
On sm1, the output routing bits have moved to CTRL2 register Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-fifo.c | 2 +- sound/soc/meson/axg-fifo.h | 1 + sound/soc/meson/axg-frddr.c | 73 + 3 files changed, 75 insertions(+), 1 deletion(-) diff

[PATCH 4/8] ASoC: meson: axg-toddr: expose all 8 inputs

2019-09-05 Thread Jerome Brunet
The TODDR component, as it, has a maximum of 8 input. Depending on the SoC, these may not all be connected or some input components may not be supported Instead of decribing only the connected inputs, describe them all and let ASoC routing do the rest. Signed-off-by: Jerome Brunet ---

[PATCH 7/8] ASoC: meson: axg-toddr: add sm1 support

2019-09-05 Thread Jerome Brunet
On sm1, the maximum number TODDR inputs is extended to 16. Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-toddr.c | 68 + 1 file changed, 68 insertions(+) diff --git a/sound/soc/meson/axg-toddr.c b/sound/soc/meson/axg-toddr.c index

[PATCH 2/8] ASoC: meson: add reset binding

2019-09-05 Thread Jerome Brunet
The g12a audio subsystem, which is a derivative of the axg subsystem, provides a dedicated reset line for each of the audio components. The axg did not provide that and it is unclear if/when these reset are required. The reset already helped solve a channel mapping issue on the tdm formatter

Re: [PATCH] riscv: dts: sifive: Add missing "clock-frequency" to cpu0/cpu1 nodes

2019-09-05 Thread Bin Meng
On Tue, Aug 13, 2019 at 11:00 PM Paul Walmsley wrote: > > On Tue, 6 Aug 2019, Bin Meng wrote: > > > Add the missing "clock-frequency" property to the cpu0/cpu1 nodes > > for consistency with other cpu nodes. > > > > Signed-off-by: Bin Meng > > Is this being driven by a schema validator warning?

[PATCH 1/8] ASoC: meson: add sm1 compatibles

2019-09-05 Thread Jerome Brunet
Document the compatible strings of the audio devices of the sm1 SoC family Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt | 4 +++- Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt | 3 ++-

[PATCH 3/8] ASoC: meson: axg-frddr: expose all 8 outputs

2019-09-05 Thread Jerome Brunet
The FRDDR component, as it, has a maximum of 8 outputs. Depending on the SoC, these may not all be connected. Instead of decribing only the connected outputs of each SoC, describe them all and let ASoC routing do the rest. Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-frddr.c | 32

[PATCH 5/8] ASoC: meson: tdmin: expose all 16 inputs

2019-09-05 Thread Jerome Brunet
The TDMIN component, as it, has a maximum of 16 input. Depending on the SoC, these may not all be connected. Instead of decribing only the connected inputs of each SoC, describe them all and let ASoC routing do the rest. Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdmin.c | 47

[PATCH 8/8] ASoC: meson: tdmout: add sm1 support

2019-09-05 Thread Jerome Brunet
On the sm1, the TDMOUT number of input is extended and the the gain enable bit moved to accommodate this extension Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdmout.c | 103 --- 1 file changed, 84 insertions(+), 19 deletions(-) diff --git

[PATCH 0/8] ASoC: meson: add sm1 support

2019-09-05 Thread Jerome Brunet
This patchset prepare then add the audio support on the amlogic sm1 SoC family in ASoC. This has been tested on sei610 platform. Since this platform does not have spdif, this patchset does not include the change necessary to support spdif input or output on the sm1. Jerome Brunet (8): ASoC:

Re: [PATCH v2 0/3] media: Add support for Cadence CSI2RX version 2.1

2019-09-05 Thread Maxime Ripard
On Thu, Sep 05, 2019 at 11:55:58AM +0100, Jan Kotas wrote: > This patchset adds support for Cadence CSI2RX controller version 2.1. > It currently limits maximum amount of data lanes to 4. > Existing compatibility with v1.3 is maintained. Reviewed-by: Maxime Ripard Maxime -- Maxime Ripard,

Re: [usb-storage] Re: [PATCH v4 12/12] RFC: watchdog: export core symbols in WATCHDOG_CORE namespace

2019-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2019 at 08:25:32PM +0900, Masahiro Yamada wrote: > On Thu, Sep 5, 2019 at 8:16 PM Jessica Yu wrote: > > > > +++ Arnd Bergmann [05/09/19 12:52 +0200]: > > >On Thu, Sep 5, 2019 at 12:41 PM Jessica Yu wrote: > > >> +++ Matthew Dharm [04/09/19 09:16 -0700]: > > >> >On Wed, Sep 4,

Re: [PATCHSET v3 btrfs/for-next] btrfs: fix cgroup writeback support

2019-09-05 Thread David Sterba
On Fri, Jul 26, 2019 at 05:13:21PM +0200, David Sterba wrote: > On Wed, Jul 10, 2019 at 12:28:13PM -0700, Tejun Heo wrote: > > Hello, > > > > This patchset contains only the btrfs part of the following patchset. > > > > [1] [PATCHSET v2 btrfs/for-next] blkcg, btrfs: fix cgroup writeback > >

[PATCH v4 3/6] serial: fsl_linflexuart: Be consistent with the name

2019-09-05 Thread Stefan-gabriel Mirea
For consistency reasons, spell the controller name as "LINFlexD" in comments and documentation. Signed-off-by: Stefan-Gabriel Mirea --- Documentation/admin-guide/kernel-parameters.txt | 2 +- drivers/tty/serial/Kconfig | 8 drivers/tty/serial/fsl_linflexuart.c

[PATCH v4 5/6] dt-bindings: serial: Document Freescale LINFlexD UART

2019-09-05 Thread Stefan-gabriel Mirea
From: Stoica Cosmin-Stefan Add documentation for the serial communication interface module (LINFlexD), found in two instances on S32V234. Signed-off-by: Stoica Cosmin-Stefan Signed-off-by: Larisa Grigore Signed-off-by: Stefan-Gabriel Mirea Reviewed-by: Rob Herring ---

[PATCH v4 0/6] Add initial support for S32V234-EVB

2019-09-05 Thread Stefan-gabriel Mirea
Hello, NXP's S32V234[1] ("Treerunner") vision microprocessors are targeted for high-performance, computationally intensive vision and sensor fusion applications that require automotive safety levels. They include leading edge Camera Vision modules like APEX-2, ISP and GPU. The S32V234-EVB and

RE: [PATCH v2 net-next] net: stmmac: Add support for MDIO interrupts

2019-09-05 Thread Voon, Weifeng
> > The change log is near the end of the patch: > > /** > > -- > > Changelog v2 > > *mdio interrupt mode or polling mode will depends on mdio interrupt > > enable bit *Disable the mdio interrupt enable bit in stmmac_release > > *Remove the condition for initialize wait queues *Applied reverse > >

[PATCH v4 4/6] arm64: dts: fsl: Add device tree for S32V234-EVB

2019-09-05 Thread Stefan-gabriel Mirea
From: Stoica Cosmin-Stefan Add initial version of device tree for S32V234-EVB, including nodes for the 4 Cortex-A53 cores, AIPS bus with UART modules, ARM architected timer and Generic Interrupt Controller (GIC). Keep SoC level separate from board level to let future boards with this SoC share

[PATCH v4 6/6] arm64: defconfig: Enable configs for S32V234

2019-09-05 Thread Stefan-gabriel Mirea
From: Mihaela Martinas Enable support for the S32V234 SoC, including the previously added UART driver. Signed-off-by: Mihaela Martinas Signed-off-by: Adrian.Nitu Signed-off-by: Stoica Cosmin-Stefan Signed-off-by: Stefan-Gabriel Mirea --- arch/arm64/configs/defconfig | 3 +++ 1 file

Re: [RESEND PATCH 0/5] Add bluetooth support for Orange Pi 3

2019-09-05 Thread Maxime Ripard
On Wed, Sep 04, 2019 at 04:19:37PM +0200, Marcel Holtmann wrote: > Hi Maxime, > > > (Resend to add missing lists, sorry for the noise.) > > > > This series implements bluetooth support for Xunlong Orange Pi 3 board. > > > > The board uses AP6256 WiFi/BT 5.0 chip. > > >

Re: WARNING in mxl111sf_ctrl_msg

2019-09-05 Thread Andrey Konovalov
On Tue, Jul 30, 2019 at 2:28 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:7f7867ff usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output:

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Miroslav Benes
[...] > I wonder what is necessary for a productive discussion on Plumbers: [...] > + It might be useful to prepare overview of the existing proposals > and agree on the positives and negatives. I am afraid that some > of them might depend on the customer base and > use

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Peter Zijlstra
On Thu, Sep 05, 2019 at 12:40:01PM +0100, Patrick Bellasi wrote: > Right, although I think behaviours could still be exported but via a > different and configurable interface, using thresholds. I would try _really_ hard to avoid pinning down behaviour. The more you do that, the less you can

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Valentin Schneider
On 05/09/2019 12:18, Patrick Bellasi wrote: >> There's a few things wrong there; I really feel that if we call it nice, >> it should be like nice. Otherwise we should call it latency-bias and not >> have the association with nice to confuse people. >> >> Secondly; the default should be in the

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Qais Yousef
On 09/05/19 13:30, Peter Zijlstra wrote: > On Thu, Sep 05, 2019 at 12:13:47PM +0100, Qais Yousef wrote: > > On 09/05/19 12:46, Peter Zijlstra wrote: > > > > This is important because we want to be able to bias towards less > > > importance to (tail) latency as well as more importantance to (tail)

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Peter Zijlstra
On Thu, Sep 05, 2019 at 12:30:52PM +0100, Patrick Bellasi wrote: > I see this concept possibly evolving into something more then just a > binary switch. Not yet convinced if it make sense and/or it's possible > but, in principle, I was thinking about these possible usages for CFS > tasks: > > -

Re: WARNING in hso_free_net_device

2019-09-05 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+44d53c7255bb1aea2...@syzkaller.appspotmail.com Tested on: commit: eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree:

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Patrick Bellasi
On Thu, Sep 05, 2019 at 12:40:30 +0100, Peter Zijlstra wrote... > On Thu, Sep 05, 2019 at 12:18:55PM +0100, Patrick Bellasi wrote: > >> Right, we have this dualism to deal with and current mainline behaviour >> is somehow in the middle. >> >> BTW, the FB requirement is the same we have in

[PATCH net-next] net: phy: Do not check Link status when loopback is enabled

2019-09-05 Thread Jose Abreu
While running stmmac selftests I found that in my 1G setup some tests were failling when running with PHY loopback enabled. It looks like when loopback is enabled the PHY will report that Link is down even though there is a valid connection. As in loopback mode the data will not be sent anywhere

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Peter Zijlstra
On Thu, Sep 05, 2019 at 12:18:55PM +0100, Patrick Bellasi wrote: > Right, we have this dualism to deal with and current mainline behaviour > is somehow in the middle. > > BTW, the FB requirement is the same we have in Android. > We want some CFS tasks to have very small latency and a low chance

[PATCH 04/11] xen/arm: simplify dma_cache_maint

2019-09-05 Thread Christoph Hellwig
Calculate the required operation in the caller, and pass it directly instead of recalculating it for each page, and use simple arithmetics to get from the physical address to Xen page size aligned chunks. Signed-off-by: Christoph Hellwig Reviewed-by: Stefano Stabellini --- arch/arm/xen/mm.c |

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Joe Lawrence
On 9/5/19 7:09 AM, Petr Mladek wrote: On Wed 2019-09-04 21:50:55, Josh Poimboeuf wrote: On Wed, Sep 04, 2019 at 10:49:32AM +0200, Petr Mladek wrote: I wonder what is necessary for a productive discussion on Plumbers: + Josh would like to see what code can get removed when late

Re: [PATCH] printf: add support for printing symbolic error codes

2019-09-05 Thread Rasmus Villemoes
On 04/09/2019 18.28, Uwe Kleine-König wrote: > On 9/4/19 6:19 PM, Andy Shevchenko wrote: >> On Sat, Aug 31, 2019 at 12:48 AM Rasmus Villemoes >> wrote: >>> >> >>> +/* >>> + * Ensure these tables to not accidentally become gigantic if some >>> + * huge errno makes it in. On most architectures, the

<    3   4   5   6   7   8   9   10   11   >