[PATCH] printk-rb: fix test module macro usage

2019-08-19 Thread John Ogness
DECLARE_PRINTKRB() now requires a wait queue argument, used by the blocking reader interface. Signed-off-by: John Ogness --- For RFCv4 the macro prototype changed. The fixup for the test module didn't make it into the series. kernel/printk/test_prb.c | 5 - 1 file changed, 4

Re: [PATCH v3 bpf-next 2/4] libbpf: Add helpers to extract perf fd from bpf_link

2019-08-19 Thread Daniel Xu
On Mon, Aug 19, 2019, at 10:45 AM, Andrii Nakryiko wrote: > On Fri, Aug 16, 2019 at 3:32 PM Daniel Xu wrote: > > > > It is sometimes necessary to perform ioctl's on the underlying perf fd. > > There is not currently a way to extract the fd given a bpf_link, so add a > > a pair of casting and

Re: general protection fault in tls_setsockopt

2019-08-19 Thread Jakub Kicinski
On Tue, 16 Jul 2019 16:58:06 -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:a131c2bf Merge tag 'acpi-5.3-rc1-2' of git://git.kernel.or.. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1603e9c060 > kernel

[no subject]

2019-08-19 Thread İshak BURAKGAZI
היי, מחכה לשמוע מכם בדוא"ל ששלחתי אליכם קודם וההצעה שלי לגבי הפיקדון הזה כאן בטורקיה, אנא נסה לחזור אלי. בברכה אישק

Re: [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'

2019-08-19 Thread Thomas Gleixner
On Tue, 20 Aug 2019, kbuild test robot wrote: > > All errors (new ones prefixed by >>): > >In file included from :0:0: Huch? What kind of weird include chain is that? > >> include/linux/sched/types.h:16:2: error: unknown type name 'u64' > u64utime; > ^~~ >

Re: [PATCH v2] nvme: allow 64-bit results in passthru commands

2019-08-19 Thread Keith Busch
On Mon, Aug 19, 2019 at 02:17:44PM -0700, Sagi Grimberg wrote: > > - On 16 Aug, 2019, at 15:16, Christoph Hellwig h...@lst.de wrote: > > Sorry for not replying to the earlier version, and thanks for doing > > this work. > > > > I wonder if instead of using our own

Re: [PATCH v3] nvme: Add quirk for LiteON CL1 devices running FW 22301111

2019-08-19 Thread Sagi Grimberg
Jens, can you please rebase for-linus so we have the needed dependency: 4eaefe8c621c6195c91044396ed8060c179f7aae I just did as part of adding a new patch, being pushed out shortly. Thanks

Re: [PATCH] ACPI / PCI: fix a memory leak bug

2019-08-19 Thread Bjorn Helgaas
The subject line should give a clue about where the leak is, e.g., ACPI / PCI: fix acpi_pci_irq_enable() memory leak On Thu, Aug 15, 2019 at 11:33:22PM -0500, Wenwen Wang wrote: > In acpi_pci_irq_enable(), 'entry' is allocated by invoking > acpi_pci_irq_lookup(). However, it is not deallocated

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

2019-08-19 Thread Jakub Kicinski
On Fri, 06 Jul 2018 00:36:02 -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:1a84d7fdb5fc Merge branch 'mlxsw-Add-resource-scale-tests' > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17dec75c40 > kernel

Re: KASAN: slab-out-of-bounds Read in tls_write_space

2019-08-19 Thread Jakub Kicinski
On Tue, 25 Sep 2018 16:54:03 -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:bd4d08daeb95 Merge branch 'net-dsa-b53-SGMII-modes-fixes' > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=110b6a1a40 > kernel config:

Re: [PATCH] Partially revert "mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones"

2019-08-19 Thread Roman Gushchin
On Sun, Aug 18, 2019 at 08:30:15AM +0800, Yafang Shao wrote: > On Sun, Aug 18, 2019 at 3:14 AM Roman Gushchin wrote: > > > > On Sat, Aug 17, 2019 at 11:33:57AM +0800, Yafang Shao wrote: > > > On Sat, Aug 17, 2019 at 8:47 AM Roman Gushchin wrote: > > > > > > > > Commit 766a4c19d880

Re: Long standing kernel warning: perfevents: irq loop stuck!

2019-08-19 Thread Josh Hunt
On Mon, Aug 12, 2019 at 12:42 PM Josh Hunt wrote: > > On Mon, Aug 12, 2019 at 12:34 PM Thomas Gleixner wrote: > > > > On Mon, 12 Aug 2019, Josh Hunt wrote: > > > On Mon, Aug 12, 2019 at 10:55 AM Thomas Gleixner > > > wrote: > > > > > > > > On Mon, 12 Aug 2019, Josh Hunt wrote: > > > > > Was

Re: [PATCH] irqchip/irq-ingenic-tcu: Fix COMPILE_TEST building

2019-08-19 Thread Paul Burton
Hello, YueHaibing wrote: > While do COMPILE_TEST building, if GENERIC_IRQ_CHIP is > not selected, it fails: > > drivers/irqchip/irq-ingenic-tcu.o: In function `ingenic_tcu_intc_cascade': > irq-ingenic-tcu.c:(.text+0x13f): undefined reference to > `irq_get_domain_generic_chip' >

Re: [PATCH] MIPS: Octeon: Fix a typo in #define OCTOEN_SERIAL_LEN

2019-08-19 Thread Paul Burton
Hello, Christophe JAILLET wrote: > It should be OCTEON_SERIAL_LEN. > Update the #define and use it accordingly Applied to mips-next. > commit 3becd97e032a > https://git.kernel.org/mips/c/3becd97e032a > > Signed-off-by: Christophe JAILLET > Signed-off-by: Paul Burton Thanks, Paul [ This

Re: [PATCH bpf-next v2 3/3] samples: bpf: syscal_nrs: use mmap2 if defined

2019-08-19 Thread Jonathan Lemon
On 15 Aug 2019, at 5:13, Ivan Khoronzhuk wrote: > For arm32 xdp sockets mmap2 is preferred, so use it if it's defined. > Declaration of __NR_mmap can be skipped and it breaks build. > > Signed-off-by: Ivan Khoronzhuk Acked-by: Jonathan Lemon > --- > samples/bpf/syscall_nrs.c | 6 ++

Re: [PATCH v2] nvme: allow 64-bit results in passthru commands

2019-08-19 Thread Sagi Grimberg
- On 16 Aug, 2019, at 15:16, Christoph Hellwig h...@lst.de wrote: Sorry for not replying to the earlier version, and thanks for doing this work. I wonder if instead of using our own structure we'd just use a full nvme SQE for the input and CQE for that output. Even if we reserve a few

Re: [PATCH] led: triggers: Fix a memory leak bug

2019-08-19 Thread Pavel Machek
On Mon 2019-08-19 15:41:42, Wenwen Wang wrote: > In led_trigger_set(), 'event' is allocated in kasprintf(). However, it is > not deallocated in the following execution if the label 'err_activate' or > 'err_add_groups' is entered, leading to memory leaks. To fix this issue, > free 'event' before

Re: INFO: task hung in tls_sw_free_resources_tx

2019-08-19 Thread Jakub Kicinski
On Tue, 04 Dec 2018 00:48:02 -0800, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:6915bf3b002b net: phy: don't allow __set_phy_supported to .. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=177085a340 > kernel

[tip:WIP.timers/core 27/68] include/linux/rcupdate.h:644:9: sparse: sparse: context imbalance in 'timer_wait_running' - unexpected unlock

2019-08-19 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.timers/core head: b16101077cbc7e0dde91e7ffb258ce1f979b commit: e51f39feec02940feeb0914ef9ff8fe5e05965c1 [27/68] posix-timer: Use a callback for cancel synchronization reproduce: # apt-get install

[tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'

2019-08-19 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.timers/core head: b16101077cbc7e0dde91e7ffb258ce1f979b commit: 83083078874a3b1b29b8171714455b469a17b8ab [49/68] sched: Move struct task_cputime to types.h config: sparc64-allmodconfig (attached as .config)

Re: [PATCH V5 0/9] Fixes for vhost metadata acceleration

2019-08-19 Thread Michael S. Tsirkin
On Tue, Aug 13, 2019 at 04:12:49PM +0800, Jason Wang wrote: > > On 2019/8/12 下午5:49, Michael S. Tsirkin wrote: > > On Mon, Aug 12, 2019 at 10:44:51AM +0800, Jason Wang wrote: > > > On 2019/8/11 上午1:52, Michael S. Tsirkin wrote: > > > > On Fri, Aug 09, 2019 at 01:48:42AM -0400, Jason Wang wrote: >

Re: [PATCH] x86/apic: reset LDR in clear_local_APIC

2019-08-19 Thread Thomas Gleixner
Bandan, On Wed, 14 Aug 2019, Bandan Das wrote: > On a 32 bit RHEL6 guest with greater than 8 cpus, the > kdump kernel hangs when calibrating apic. This happens > because when apic initializes bigsmp, it also initializes LDR > even though it probably wouldn't be used. 'It probably wouldn't be

Re: [PATCH] afs: Move comments after /* fallthrough */

2019-08-19 Thread David Howells
Joe Perches wrote: > /* extract the FID array and its count in two steps */ > - /* fall through */ > + fallthrough; > case 1: Okay, that doesn't look too bad. I thought you might be going to combine it with the case inside a macro in some

Re: [RFC PATCH v2 2/3] mm/gup: introduce FOLL_PIN flag for get_user_pages()

2019-08-19 Thread John Hubbard
On 8/16/19 7:36 PM, John Hubbard wrote: On 8/16/19 7:24 PM, jhubb...@nvidia.com wrote: From: John Hubbard DKIM-Signature: v a a-sha256; claxed/relaxed; d idia.com; s; t66008674; bhMai0va6k/z2enpQJ4Nfvbj5WByFxGAO1JwdIBbXioh

Re: [rcu:test 8/35] ERROR: "tick_nohz_full_running" [kernel/rcu/rcutorture.ko] undefined!

2019-08-19 Thread Paul E. McKenney
On Tue, Aug 20, 2019 at 02:43:32AM +0800, kbuild test robot wrote: > tree: > https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > test > head: b0e7c384ed8a8b5be17376a00e6f22e2d89456b9 > commit: 14569aa16daa1cd7610624a500ed2750fe341351 [8/35] rcutorture: Force on

RE: [PATCH] net/ncsi: add control packet payload to NC-SI commands from netlink

2019-08-19 Thread Ben Wei
Hi Justin, > Hi Ben, > > I have similar fix locally with different approach as the command handler may > have some expectation for those byes. > We can use NCSI_PKT_CMD_OEM handler as it only copies data based on the > payload length. Great! Yes I was thinking the same, we just need some way

Re: [PATCH v3 0/3] genirq/vfio: Introduce update_irq_devid and optimize VFIO irq ops

2019-08-19 Thread Alex Williamson
On Thu, 15 Aug 2019 21:02:58 +0800 Ben Luo wrote: > Currently, VFIO takes a lot of free-then-request-irq actions whenever > a VM (with device passthru via VFIO) sets irq affinity or mask/unmask > irq. Those actions only change the cookie data of irqaction or even > change nothing. The

Re: [PATCH 14/15] drivers: thermal: tsens: Create function to return sign-extended temperature

2019-08-19 Thread Amit Kucheria
On Sat, Aug 17, 2019 at 9:46 AM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-07-25 15:18:49) > > diff --git a/drivers/thermal/qcom/tsens-common.c > > b/drivers/thermal/qcom/tsens-common.c > > index 7ab2e740a1da..13a875b99094 100644 > > --- a/drivers/thermal/qcom/tsens-common.c > > +++

Re: [PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-08-19 Thread Saravana Kannan
On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand wrote: > > On 8/15/19 6:50 PM, Saravana Kannan wrote: > > On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand wrote: > >> > >> On 7/23/19 5:10 PM, Saravana Kannan wrote: > >>> Add device-links after the devices are created (but before they are > >>> probed)

Re: Kernel 5.2.8 - au0828 - Tuner Is Busy

2019-08-19 Thread shuah
On 8/16/19 7:15 PM, Nathan Royce wrote: On Fri, Aug 16, 2019 at 1:42 PM Greg Kroah-Hartman wrote: If you revert that one commit, does things start working again? thanks, greg k-h Hey Greg, I just got finished building it after running "$ git revert 812658d88d26" and verifying it reverted by

[RESEND PATCHv4 1/3] fpga: altera-cvp: Discover Vendor Specific offset

2019-08-19 Thread thor . thayer
From: Thor Thayer Newer Intel FPGAs have different Vendor Specific offsets than legacy parts. Use PCI discovery to find the CvP registers. Since the register positions remain the same, change the hard coded address to a more flexible way of indexing registers from the offset. Adding new PCI read

[RESEND PATCHv4 3/3] fpga: altera-cvp: Add Stratix10 (V2) Support

2019-08-19 Thread thor . thayer
From: Thor Thayer Add Stratix10 specific functions that use a credit mechanism to throttle data to the CvP FIFOs. Add a private structure with function pointers for V1 vs V2 functions. Signed-off-by: Thor Thayer --- v2 Remove inline function declaration Reverse Christmas Tree format for

[RESEND PATCHv4 2/3] fpga: altera-cvp: Preparation for V2 parts.

2019-08-19 Thread thor . thayer
From: Thor Thayer In preparation for adding newer V2 parts that use a FIFO, reorganize altera_cvp_chk_error() and change the write function to block based. V2 parts have a block size matching the FIFO while older V1 parts write a 32 bit word at a time. Signed-off-by: Thor Thayer --- v2 Remove

[RESEND PATCHv4 0/3] fpga: altera-cvp: Add Stratix10 Support

2019-08-19 Thread thor . thayer
From: Thor Thayer Newer versions (V2) of Altera/Intel FPGAs CvP have different PCI Vendor Specific Capability offsets than the older (V1) Altera/FPGAs. Most of the CvP registers and their bitfields remain the same between both the older parts and the newer parts. This patchset implements

[PATCH] led: triggers: Fix a memory leak bug

2019-08-19 Thread Wenwen Wang
In led_trigger_set(), 'event' is allocated in kasprintf(). However, it is not deallocated in the following execution if the label 'err_activate' or 'err_add_groups' is entered, leading to memory leaks. To fix this issue, free 'event' before returning the error. Signed-off-by: Wenwen Wang ---

[PATCH v2] ALSA: hda/ca0132 - Add new SBZ quirk

2019-08-19 Thread Paweł Rekowski
This patch adds a new PCI subsys ID for the SBZ, as found and tested by me and some reddit users. Signed-off-by: Paweł Rekowski --- sound/pci/hda/patch_ca0132.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index

Re: [PATCH v3 0/8] PM / ACPI: sleep: Additional changes related to suspend-to-idle

2019-08-19 Thread Rafael J. Wysocki
On Mon, Aug 19, 2019 at 5:47 PM Kristian Klausen wrote: > > On 19.08.2019 11.05, Rafael J. Wysocki wrote: > > On Monday, August 19, 2019 9:59:02 AM CEST Rafael J. Wysocki wrote: > >> On Fri, Aug 16, 2019 at 10:26 PM Kristian Klausen > >> wrote: > >>> On 02.08.2019 12.33, Rafael J. Wysocki

Re: [PATCH] powerpc/vdso32: Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE

2019-08-19 Thread Christophe Leroy
Hi, Le 19/08/2019 à 18:37, Nathan Lynch a écrit : Hi, Christophe Leroy writes: Benchmark from vdsotest: I assume you also ran the verification/correctness parts of vdsotest...? :-) I did run vdsotest-all. I guess it runs the verifications too ? Christophe

Re: [patch 42/44] posix-cpu-timers: Move state tracking to struct posix_cputimers

2019-08-19 Thread Thomas Gleixner
On Mon, 19 Aug 2019, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > > > Put it where it belongs and cleanup the ifdeffery in fork completely. > > s/cleanup > /clean up > > > * posix_cputimers - Container for posix CPU timer related data > > * @expiries:

Re: [PATCH 10/14] serial: tegra: add support to use 8 bytes trigger

2019-08-19 Thread Jon Hunter
On 12/08/2019 12:28, Krishna Yarlagadda wrote: > From: Shardar Shariff Md > > Add support to use 8 bytes trigger for Tegra186 SOC. > > Signed-off-by: Shardar Shariff Md > Signed-off-by: Krishna Yarlagadda > --- > drivers/tty/serial/serial-tegra.c | 13 +++-- > 1 file changed, 11

Re: [patch 38/44] posix-cpu-timers: Respect INFINITY for hard RTTIME limit

2019-08-19 Thread Thomas Gleixner
On Mon, 19 Aug 2019, Ingo Molnar wrote: > * Thomas Gleixner wrote: > > > The RTIME limit expiry code does not check the hard RTTIME limit for > > INFINITY, i.e. being disabled. Add it. > > > > Signed-off-by: Thomas Gleixner > > --- > > kernel/time/posix-cpu-timers.c |2 +- > > 1 file

Re: [PATCH 2/3] selftest: firmware: Add request_firmware_into_buf tests

2019-08-19 Thread shuah
On 8/18/19 11:24 PM, Luis Chamberlain wrote: On Thu, Aug 15, 2019 at 05:09:44PM -0700, Scott Branden wrote: Add tests cases for checking request_firmware_into_buf api. API was introduced into kernel with no testing present previously. Signed-off-by: Scott Branden Acked-by: Luis Chamberlain

Re: [PATCH 1/3] test_firmware: add support for request_firmware_into_buf

2019-08-19 Thread shuah
On 8/18/19 11:24 PM, Luis Chamberlain wrote: On Thu, Aug 15, 2019 at 05:09:43PM -0700, Scott Branden wrote: Add test config into_buf to allow request_firmware_into_buf to be called instead of request_firmware/request_firmware_direct. The number of parameters differ calling

[PATCH v3 2/6] perf/util/svghelper: Replace MAX_NR_CPUS with env->nr_cpus_online

2019-08-19 Thread Kyle Meyer
env->nr_cpus_online, the number of CPUs online during a record session, can be used as a dynamic alternative for MAX_NR_CPUS in svg_build_topology_map. The value of env->nr_cpus_online can be passed into str_to_bitmap, scan_core_topology, and svg_build_topology_map to replace MAX_NR_CPUS as well.

[PATCH v2 0/3] vmstats/vmevents flushing

2019-08-19 Thread Roman Gushchin
This is v2 of the patchset (v1 has been sent as a set of separate patches). Kbuild test robot reported build issues: memcg_flush_percpu_vmstats() and memcg_flush_percpu_vmevents() were accidentally placed under CONFIG_MEMCG_KMEM, and caused !CONFIG_MEMCG_KMEM build to fail. V2 contains a trivial

[PATCH v2 3/3] mm: memcontrol: flush percpu vmevents before releasing memcg

2019-08-19 Thread Roman Gushchin
Similar to vmstats, percpu caching of local vmevents leads to an accumulation of errors on non-leaf levels. This happens because some leftovers may remain in percpu caches, so that they are never propagated up by the cgroup tree and just disappear into nonexistence with on releasing of the memory

[PATCH v2 1/3] mm: memcontrol: flush percpu vmstats before releasing memcg

2019-08-19 Thread Roman Gushchin
Percpu caching of local vmstats with the conditional propagation by the cgroup tree leads to an accumulation of errors on non-leaf levels. Let's imagine two nested memory cgroups A and A/B. Say, a process belonging to A/B allocates 100 pagecache pages on the CPU 0. The percpu cache will spill 3

[PATCH v3 6/6] perf/util/header: Replace MAX_NR_CPUS with cpu__max_cpu

2019-08-19 Thread Kyle Meyer
The function cpu__max_cpu returns the possible number of CPUs as defined in the sysfs and can be used as an alternative for MAX_NR_CPUS in write_cache. MAX_CACHES is replaced by cpu__max_cpu() * MAX_CACHE_LVL. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander

[PATCH v3 5/6] perf/util/machine: Replace MAX_NR_CPUS with nr_cpus_online

2019-08-19 Thread Kyle Meyer
nr_cpus_online, the number of CPUs online during a record session, can be used as a dynamic alternative for MAX_NR_CPUS in __machine__synthesize_threads and machine__set_current_tid. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc:

[PATCH v2 2/3] mm: memcontrol: flush percpu slab vmstats on kmem offlining

2019-08-19 Thread Roman Gushchin
I've noticed that the "slab" value in memory.stat is sometimes 0, even if some children memory cgroups have a non-zero "slab" value. The following investigation showed that this is the result of the kmem_cache reparenting in combination with the per-cpu batching of slab vmstats. At the offlining

[PATCH v3 4/6] perf/util/session: Replace MAX_NR_CPUS with nr_cpus_online

2019-08-19 Thread Kyle Meyer
nr_cpus_online, the number of CPUs online during a record session, can be used as a dynamic alternative for MAX_NR_CPUS in perf_session__cpu_bitmap. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc:

[PATCH v3 3/6] perf/util/stat: Replace MAX_NR_CPUS with cpu__max_cpu

2019-08-19 Thread Kyle Meyer
The function cpu__max_cpu returns the possible number of CPUs as defined in the sysfs and can be used as an alternative for MAX_NR_CPUS in zero_per_pkg and check_per_pkg. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim

[PATCH v3 1/6] perf: Refactor svg_build_topology_map

2019-08-19 Thread Kyle Meyer
Exchange the parameters of svg_build_topology_map with struct perf_env *env and adjust the function accordingly. This patch should not change any behavior, it is merely refactoring for the following patch. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin

[PATCH v3 0/6] perf: Replace MAX_NR_CPUS with dynamic alternatives

2019-08-19 Thread Kyle Meyer
The purpose of this patch series is to replace MAX_NR_CPUS with a dynamic value throughout perf wherever possible using nr_cpus_online, the number of CPUs online during a record session, and cpu__max_cpu, the possible number of CPUs as defined in the sysfs. MAX_NR_CPUS is still used by

Re: WARNING in kmem_cache_alloc_trace

2019-08-19 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in yurex_write/usb_submit_urb [ cut here ] URB c866c77d submitted while active WARNING: CPU: 1 PID: 2816 at drivers/usb/core/urb.c:362 usb_submit_urb+0x10c1/0x13b0

RE: [PATCH v2 2/7] EDAC/amd64: Recognize DRAM device type with EDAC_CTL_CAP

2019-08-19 Thread Ghannam, Yazen
> -Original Message- > From: linux-edac-ow...@vger.kernel.org On > Behalf Of Borislav Petkov > Sent: Friday, August 2, 2019 2:42 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 2/7] EDAC/amd64: Recognize DRAM device type

RE: [PATCH] net/ncsi: add control packet payload to NC-SI commands from netlink

2019-08-19 Thread Justin.Lee1
Hi Ben, I have similar fix locally with different approach as the command handler may have some expectation for those byes. We can use NCSI_PKT_CMD_OEM handler as it only copies data based on the payload length. diff --git a/net/ncsi/ncsi-cmd.c b/net/ncsi/ncsi-cmd.c index 5c3fad8..3b01f65

Re: [patch 40/44] posix-cpu-timers: Remove pointless comparisions

2019-08-19 Thread Ingo Molnar
title: s/comparisions /comparisons Thanks, Ingo

Re: [patch 38/44] posix-cpu-timers: Respect INFINITY for hard RTTIME limit

2019-08-19 Thread Ingo Molnar
* Thomas Gleixner wrote: > The RTIME limit expiry code does not check the hard RTTIME limit for > INFINITY, i.e. being disabled. Add it. > > Signed-off-by: Thomas Gleixner > --- > kernel/time/posix-cpu-timers.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > ---

[PATCH v2] merge_config.sh: Check error codes from make

2019-08-19 Thread Mark Brown
When we execute make after merging the configurations we ignore any errors it produces causing whatever is running merge_config.sh to be unaware of any failures. This issue was noticed by Guillaume Tucker while looking at problems with testing of clang only builds in KernelCI which caused Kbuild

Re: [RT PATCH v2] net/xfrm/xfrm_ipcomp: Protect scratch buffer with local_lock

2019-08-19 Thread Steven Rostedt
On Mon, 19 Aug 2019 14:27:31 +0200 Juri Lelli wrote: > The following BUG has been reported while running ipsec tests. Thanks! I'm still in the process of backporting patches to fix some bugs that showed up with the latest merge of upstream stable. I'll add this to the queue to add. -- Steve

RE: [PATCH v2 1/7] EDAC/amd64: Support more than two controllers for chip selects handling

2019-08-19 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov > Sent: Friday, August 2, 2019 1:50 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 1/7] EDAC/amd64: Support more than two controllers for > chip selects handling > > On Tue,

Re: [PATCH v2] vfio_pci: Replace pci_try_reset_function() with __pci_reset_function_locked() to ensure that the pci device configuration space is restored to its original state

2019-08-19 Thread Alex Williamson
On Sat, 17 Aug 2019 19:51:03 +0800 hexin wrote: > In vfio_pci_enable(), save the device's initial configuration information > and then restore the configuration in vfio_pci_disable(). However, the > execution result is not the same. Since the pci_try_reset_function() > function saves the current

Re: [PATCH net-next 1/1] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-19 Thread Heiner Kallweit
On 19.08.2019 19:52, Marco Hartmann wrote: > and call it from phy_config_aneg(). > Here something went wrong. > commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from > calling genphy_config_aneg") introduced a check that aborts > phy_config_aneg() if the phy is a C45 phy. > This

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-08-19 Thread Adam Ford
On Wed, Aug 14, 2019 at 3:56 AM H. Nikolaus Schaller wrote: > > Hi all, > > > Am 17.07.2019 um 12:51 schrieb Merlijn Wajer : > > > > Hi, > > > > On 10/03/2019 08:07, H. Nikolaus Schaller wrote: > >> > >>> Am 10.03.2019 um 00:14 schrieb Merlijn Wajer : > >>> > >>> Hi, > >>> > >>> On 15/02/2019

[PATCH v2 2/3] x86/irq: factor out IS_ERR_OR_NULL check from platform-specific handle_irq

2019-08-19 Thread Heiner Kallweit
The code can be simplified a little by factoring out the IS_ERR_OR_NULL check from the platform-specific handle_irq implementations, and by inlining the remaining call to generic_handle_irq_desc for 64bit systems. Signed-off-by: Heiner Kallweit --- v2: - add "likely" to if clause and reorder it

RE: [PATCH v3 0/8] thunderbolt: Intel Ice Lake support

2019-08-19 Thread Mario.Limonciello
> -Original Message- > From: Limonciello, Mario > Sent: Monday, August 19, 2019 1:22 PM > To: 'Mika Westerberg' > Cc: linux-kernel@vger.kernel.org; andreas.noe...@gmail.com; > michael.ja...@intel.com; yehezkel...@gmail.com; r...@rjwysocki.net; > l...@kernel.org; lu...@wunner.de;

[PATCH v2 3/3] x86/irq: slightly improve do_IRQ

2019-08-19 Thread Heiner Kallweit
It's simpler and more intuitive to directly check for VECTOR_UNUSED. Signed-off-by: Heiner Kallweit --- arch/x86/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index f1c8f350d..857b4d7ae 100644 ---

[PATCH v2 1/3] x86/irq: improve definition of VECTOR_SHUTDOWN et al

2019-08-19 Thread Heiner Kallweit
These values are used with IS_ERR(), so it's more intuitive to define them like a standard PTR_ERR() of a negative errno. Signed-off-by: Heiner Kallweit --- arch/x86/include/asm/hw_irq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/hw_irq.h

[PATCH] storvsc: setup 1:1 mapping between hardware queue and CPU queue

2019-08-19 Thread longli
From: Long Li storvsc doesn't use a dedicated hardware queue for a given CPU queue. When issuing I/O, it selects returning CPU (hardware queue) dynamically based on vmbus channel usage across all channels. This patch sets up a 1:1 mapping between hardware queue and CPU queue, thus avoiding

[PATCH v2 0/3] x86/irq: slightly improve handle_irq

2019-08-19 Thread Heiner Kallweit
When checking something else I stumbled across this code. This patch set simplifies it a little bit. v2: - patch 2: add "likely" to if clause and reorder it - patch 2: For 64bit, remove handle_irq and inline call to generic_handle_irq_desc Heiner Kallweit (3): x86/irq: improve definition of

Re: [PATCH v4 2/2] rcuperf: Add kfree_rcu() performance Tests

2019-08-19 Thread Joel Fernandes
On Wed, Aug 14, 2019 at 03:58:50PM -0700, Paul E. McKenney wrote: > On Wed, Aug 14, 2019 at 12:04:11PM -0400, Joel Fernandes (Google) wrote: > > This test runs kfree_rcu in a loop to measure performance of the new > > kfree_rcu batching functionality. > > kfree_rcu(). Fixed. > > The following

Re: [PATCH v9 20/22] soc/tegra: pmc: Configure deep sleep control settings

2019-08-19 Thread Dmitry Osipenko
19.08.2019 22:07, Sowjanya Komatineni пишет: > > On 8/19/19 11:20 AM, Sowjanya Komatineni wrote: >> >> On 8/19/19 9:48 AM, Dmitry Osipenko wrote: >>> 16.08.2019 22:42, Sowjanya Komatineni пишет: Tegra210 and prior Tegra chips have deep sleep entry and wakeup related timings which are

Re: [patch 27/44] posix-cpu-timers: Provide array based access to expiry cache

2019-08-19 Thread Ingo Molnar
* Thomas Gleixner wrote: > Using struct task_cputime for the expiry cache is a pretty odd choice and > comes with magic defines to rename the fields for usage in the expiry > cache. > > struct task_cputime is basically a u64 array with 3 members, but it has > distinct members. > > The expiry

Re: [Linux-kernel-mentees][PATCH v6 1/2] sgi-gru: Convert put_page() to put_user_page*()

2019-08-19 Thread John Hubbard
On 8/19/19 12:06 PM, Bharath Vedartham wrote: On Mon, Aug 19, 2019 at 07:56:11AM -0500, Dimitri Sivanich wrote: Reviewed-by: Dimitri Sivanich Thanks! John, would you like to take this patch into your miscellaneous conversions patch set? (+Andrew and Michal, so they know where all this is

[PATCH net-next,v2 4/6] net/mlx5: Add HV VHCA infrastructure

2019-08-19 Thread Haiyang Zhang
From: Eran Ben Elisha HV VHCA is a layer which provides PF to VF communication channel based on HyperV PCI config channel. It implements Mellanox's Inter VHCA control communication protocol. The protocol contains control block in order to pass messages between the PF and VF drivers, and data

[PATCH net-next,v2 5/6] net/mlx5: Add HV VHCA control agent

2019-08-19 Thread Haiyang Zhang
From: Eran Ben Elisha Control agent is responsible over of the control block (ID 0). It should update the PF via this block about every capability change. In addition, upon block 0 invalidate, it should activate all other supported agents with data requests from the PF. Upon agent

[PATCH net-next,v2 3/6] net/mlx5: Add wrappers for HyperV PCIe operations

2019-08-19 Thread Haiyang Zhang
From: Eran Ben Elisha Add wrapper functions for HyperV PCIe read / write / block_invalidate_register operations. This will be used as an infrastructure in the downstream patch for software communication. This will be enabled by default if CONFIG_PCI_HYPERV_INTERFACE is set. Signed-off-by:

[PATCH net-next,v2 6/6] net/mlx5e: Add mlx5e HV VHCA stats agent

2019-08-19 Thread Haiyang Zhang
From: Eran Ben Elisha HV VHCA stats agent is responsible on running a preiodic rx/tx packets/bytes stats update. Currently the supported format is version MLX5_HV_VHCA_STATS_VERSION. Block ID 1 is dedicated for statistics data transfer from the VF to the PF. The reporter fetch the statistics

[PATCH net-next,v2 1/6] PCI: hv: Add a paravirtual backchannel in software

2019-08-19 Thread Haiyang Zhang
From: Dexuan Cui Windows SR-IOV provides a backchannel mechanism in software for communication between a VF driver and a PF driver. These "configuration blocks" are similar in concept to PCI configuration space, but instead of doing reads and writes in 32-bit chunks through a very slow path,

[PATCH net-next,v2 2/6] PCI: hv: Add a Hyper-V PCI interface driver for software backchannel interface

2019-08-19 Thread Haiyang Zhang
This interface driver is a helper driver allows other drivers to have a common interface with the Hyper-V PCI frontend driver. Signed-off-by: Haiyang Zhang Signed-off-by: Saeed Mahameed --- MAINTAINERS | 1 + drivers/pci/Kconfig | 1 +

[PATCH net-next,v2 0/6] Add software backchannel and mlx5e HV VHCA stats

2019-08-19 Thread Haiyang Zhang
This patch set adds paravirtual backchannel in software in pci_hyperv, which is required by the mlx5e driver HV VHCA stats agent. The stats agent is responsible on running a periodic rx/tx packets/bytes stats update. Dexuan Cui (1): PCI: hv: Add a paravirtual backchannel in software Haiyang

Re: [PATCH 1/2] dt-bindings: arm: sunxi: Add compatible for Tanix TX6 board

2019-08-19 Thread Rob Herring
On Fri, Aug 16, 2019 at 3:54 PM Jernej Skrabec wrote: > > Add new Oranth Tanix TX6 board compatible string to the bindings > documentation. > > Signed-off-by: Jernej Skrabec > --- > Documentation/devicetree/bindings/arm/sunxi.yaml | 5 + > 1 file changed, 5 insertions(+) Reviewed-by: Rob

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-08-19 Thread Adam Ford
On Sat, Aug 17, 2019 at 2:03 AM Tony Lindgren wrote: > > * Adam Ford [190816 23:02]: > > On Wed, Aug 14, 2019 at 8:16 AM Tony Lindgren wrote: > > > Well I just posted some sgx interconnect target module patches. We might > > > still have them in v5.4 assuming people manage to review and test

[PATCH 09/21] ASoC: sun4i-i2s: Fix the MCLK and BCLK dividers on newer SoCs

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard From: Marcus Cooper The clock division dividers have changed between the older (A10/A31) and newer (H3, A64, etc) SoCs. While this was addressed through an offset on some SoCs, it was missing some dividers as well, so the support wasn't perfect. Let's introduce a pointer

[PATCH 13/21] ASoC: sun4i-i2s: Fix the LRCK polarity

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The LRCK polarity "normal" polarity in the I2S/TDM specs and in the Allwinner datasheet are not the same. In the case where the i2s controller is being used as the LRCK master, it's pretty clear when looked at under a scope. Let's fix this, and add a comment to clear up as

Re: [PATCH v1 1/2] dt-bindings: phy: intel-emmc-phy: Add new compatible for LGM eMMC PHY

2019-08-19 Thread Rob Herring
On Sun, Aug 18, 2019 at 10:44 PM Ramuthevar,Vadivel MuruganX wrote: > > From: Ramuthevar Vadivel Murugan > > Add a new compatible to use the host controller driver with the > eMMC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- >

[PATCH 12/21] ASoC: sun4i-i2s: Fix LRCK and BCLK polarity offsets on newer SoCs

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The LRCK and BCLK polarity offsets on newer SoCs has been changed, yet the driver didn't take it into account for all of them. This was taken into account for the H3, but not the A83t. This was handled using a reg_field for the H3. However, the value in that field will not

Re: [PATCH v3] gpiolib: Take MUX usage into account

2019-08-19 Thread Stefan Wahren
Am 14.08.19 um 13:00 schrieb Ramon Fried: > From: Stefan Wahren > > The user space like gpioinfo only see the GPIO usage but not the > MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which > pin is free/safe to use. So take the MUX usage of strict pinmux controllers > into

[PATCH 04/21] ASoC: sun4i-i2s: Move the channel configuration to a callback

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The two main generations of our I2S controller require a slightly different channel configuration, mostly because of a quite different register layout and some additional registers being needed on the newer generation. This used to be controlled through a bunch of booleans,

[PATCH 21/21] ASoC: sun4i-i2s: Add support for DSP formats

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard In addition to the I2S format, the controller also supports the DSP_* formats. This requires some extra care on the LRCK period calculation, since the controller, with the PCM formats, require that the value set is no longer the periods of LRCK for a single channel, but for

[PATCH 16/21] ASoC: sun4i-i2s: Fix the LRCK period on A83t

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard Unlike the previous SoCs, the A83t, like the newer ones, need the LRCK bitfield to be set. Let's add it. Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 07/21] ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The BCLK divider should be calculated using the parameters that actually make the BCLK rate: the number of channels, the sampling rate and the sample width. We've been using the oversample_rate previously because in the former SoCs, the BCLK's parent is MCLK, which in turn

[PATCH 10/21] ASoC: sun4i-i2s: RX and TX counter registers are swapped

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The RX and TX counters registers offset have been swapped, fix that. Fixes: fa7c0d13cb26 ("ASoC: sunxi: Add Allwinner A10 Digital Audio driver") Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 20/21] ASoC: sun4i-i2s: Add support for TDM slots

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The i2s controller supports TDM, for up to 8 slots. Let's support the TDM API. Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 40 -- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git

[PATCH 11/21] ASoC: sun4i-i2s: Use the actual format width instead of an hardcoded one

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The LRCK period field in the FMT0 register holds the number of LRCK period for one channel in I2S mode. This has been hardcoded to 32, while it really should be the physical width of the format, which creates an improper clock when using a 16bit format, with the i2s

[PATCH 17/21] ASoC: sun4i-i2s: Remove duplicated quirks structure

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The A83t and H3 have the same quirks, so it doesn't make sense to duplicate the quirks structure. Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 21 + 1 file changed, 1 insertion(+), 20 deletions(-) diff --git

[PATCH 08/21] ASoC: sun4i-i2s: Use module clock as BCLK parent on newer SoCs

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard On the first generation of Allwinner SoCs (A10-A31), the i2s controller was using the MCLK as BCLK parent. However, this changed since the introduction of the A83t and BCLK now uses the module clock as its parent. Let's introduce a hook to get the parent rate and use that in

[PATCH 18/21] ASoC: sun4i-i2s: Pass the channels number as an argument

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The channels number have been hardcoded to 2 so far, while the controller supports more than that. Remove the instance where it has been hardcoded to compute the BCLK divider, and pass it through as an argument to ease further support of more channels. Signed-off-by: Maxime

[PATCH 15/21] ASoC: sun4i-i2s: Fix MCLK Enable bit offset on A83t

2019-08-19 Thread Maxime Ripard
From: Maxime Ripard The A83t, unlike previous SoCs, has the MCLK enable bit at the 8th bit of the CLK_DIV register, unlike what is declared in the driver. Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file

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