Re: [PATCH v2 1/1] hdac-codec runtime suspended at PM:Suspend.

2018-08-28 Thread Anshuman Gupta
Is this patch not in consideration, there are no review comment for it. this patch fixes an issue with hdac hdmi codec driver. On one of our platform HD audio controller takes arounf 300ms. Below are the snippet of dmesg log. [ 3778.461888] calling :00:0e.0+ @ 3667, parent: pci:00, cb:

Re: [PATCH 1/2] arm64: PCI: Remove node-local allocations when initialising host controller

2018-08-28 Thread Will Deacon
On Tue, Aug 28, 2018 at 04:05:12PM +0100, Punit Agrawal wrote: > Memory for host controller data structures is allocated local to the > node to which the controller is associated with. This has been the > behaviour since support for ACPI was added in > commit 0cb0786bac15 ("ARM64: PCI: Support ACPI

Re: [PATCH] RISC-V: Mask out the F extension on systems without D

2018-08-28 Thread Palmer Dabbelt
On Tue, 28 Aug 2018 00:10:32 PDT (-0700), alan...@andestech.com wrote: Hi Palmer, On Mon, Aug 27, 2018 at 03:03:52PM -0700, Palmer Dabbelt wrote: The RISC-V Linux port doesn't support systems that have the F extension but don't have the D extension -- we actually don't support systems without D

[PATCH v5 0/3]

2018-08-28 Thread Mark Salyzyn
overlayfs: check CAP_DAC_READ_SEARCH before issuing exportfs_decode_fh overlayfs: check CAP_MKNOD before issuing vfs_whiteout Assumption never checked, should fail if the mounter creds are not sufficient. overlayfs: override_creds=off option bypass creator_cred By default, all access to the uppe

[PATCH net-next] genetlink: constify genl_err_attr() argument

2018-08-28 Thread Michal Kubecek
genl_err_attr() sets netlink_ext_ack::bad_attr which is a pointer to const struct nlattr so make the attr argument also const. Signed-off-by: Michal Kubecek --- include/net/genetlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/genetlink.h b/include/net/genet

Re: [PATCH V2] xen: export device state to sysfs

2018-08-28 Thread Boris Ostrovsky
On 08/28/2018 10:56 AM, Joe Jin wrote: > Export device state to sysfs to allow for easier get device state. > > Signed-off-by: Joe Jin > Cc: Boris Ostrovsky > Cc: Juergen Gross > Cc: Konrad Rzeszutek Wilk > --- > Documentation/ABI/stable/sysfs-bus-xen-backend | 9 + > drivers/xen/xenbu

Re: [PATCH] include/linux/compiler*.h: Use feature checking instead of version checks for attributes

2018-08-28 Thread Nick Desaulniers
On Tue, Aug 28, 2018 at 8:04 AM Miguel Ojeda wrote: > > Hi Nick, > > On Mon, Aug 27, 2018 at 7:43 PM, Nick Desaulniers > wrote: > > On Sun, Aug 26, 2018 at 10:58 AM Miguel Ojeda > > wrote: > >> > >> Instead of using version checks per-compiler to define (or not) each > >> attribute, > >> use __

Re: [PATCH v13 07/13] x86/sgx: Add data structures for tracking the EPC pages

2018-08-28 Thread Dave Hansen
>>> extern bool sgx_enabled; >>> extern bool sgx_lc_enabled; >>> +extern struct sgx_epc_bank sgx_epc_banks[SGX_MAX_EPC_BANKS]; >>> + >>> +/* >>> + * enum sgx_epc_page_desc - defines bits and masks for an EPC page's desc >> >> Why are you bothering packing these bits? This seems a rather >> convo

[PATCH v5 2/3] overlayfs: check CAP_MKNOD before issuing vfs_whiteout

2018-08-28 Thread Mark Salyzyn
Assumption never checked, should fail if the mounter creds are not sufficient. Signed-off-by: Mark Salyzyn Cc: Miklos Szeredi Cc: Jonathan Corbet Cc: Vivek Goyal Cc: Eric W. Biederman Cc: Amir Goldstein Cc: Randy Dunlap Cc: Stephen Smalley Cc: linux-unio...@vger.kernel.org Cc: linux-...@vg

Re: [PATCH] MIPS: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Paul Burton
Hi Rob, On Mon, Aug 27, 2018 at 08:52:05PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Ralf Baechle > Cc: Paul Burton > Cc: James Hogan > Cc: John Crispin > Cc: linux-m...

Re: [PATCH v2 2/6] reset: qcom: PDC Global (Power Domain Controller) reset controller

2018-08-28 Thread Matthias Kaehlcke
On Mon, Aug 27, 2018 at 08:02:53PM -0700, Bjorn Andersson wrote: > On Mon 27 Aug 17:22 PDT 2018, Matthias Kaehlcke wrote: > > On Fri, Aug 24, 2018 at 06:48:56PM +0530, Sibi Sankar wrote: > > > diff --git a/drivers/reset/reset-qcom-pdc.c > > > b/drivers/reset/reset-qcom-pdc.c > [..] > > > +struct q

Re: [PATCH v2] objtool: Support multiple rodata sections.

2018-08-28 Thread Josh Poimboeuf
On Fri, Aug 03, 2018 at 07:40:40PM +0100, Allan Xavier wrote: > +static void mark_rodata(struct objtool_file *file) > +{ > + struct section *sec; > + bool found = false; > + static const char *str1 = ".str1."; > + const int str1len = strlen(str1) + 1; > + A comment here would help,

Re: [PATCH] perf: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Will Deacon
On Mon, Aug 27, 2018 at 08:52:39PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Will Deacon > Cc: Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org > Signed-off-by: Rob

Re: [PATCH] include/linux/compiler*.h: Use feature checking instead of version checks for attributes

2018-08-28 Thread Nick Desaulniers
On Tue, Aug 28, 2018 at 8:10 AM Miguel Ojeda wrote: > > Hi Nick, > > On Mon, Aug 27, 2018 at 7:48 PM, Nick Desaulniers > wrote: > > On Mon, Aug 27, 2018 at 10:43 AM Nick Desaulniers > >> > + > >> > +/* > >> > + * Optional attributes: your compiler may or may not support them. > >> > + * > >> > +

Re: [PATCH v2 1/1] hdac-codec runtime suspended at PM:Suspend.

2018-08-28 Thread Takashi Iwai
On Tue, 28 Aug 2018 18:34:15 +0200, Anshuman Gupta wrote: > > Is this patch not in consideration, there are no review comment for it. > this patch fixes an issue with hdac hdmi codec driver. > > On one of our platform HD audio controller takes arounf 300ms. > Below are the snippet of dmesg log.

[PATCH] ARM: dts: imx7s-warp: use SPDX-License-Identifier

2018-08-28 Thread Pierre-Jean Texier
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Pierre-Jean Texier --- arch/arm/boot/dts/imx7s-warp.dts | 39 +-- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/a

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Boris, On 24/08/18 13:01, Borislav Petkov wrote: > On Fri, Aug 24, 2018 at 10:48:24AM +0100, James Morse wrote: >> so edac_raw_mc_handle_error() has no clue where the error happened. (I >> haven't >> read what it does with this information yet). > > See edac_inc_ce_error(), for example - it u

Re: [PATCH] ARM: dts: imx7s-warp: use SPDX-License-Identifier

2018-08-28 Thread Fabio Estevam
On Tue, Aug 28, 2018 at 2:06 PM, Pierre-Jean Texier wrote: > Adopt the SPDX license identifier headers to ease > license compliance management. > > Signed-off-by: Pierre-Jean Texier Reviewed-by: Fabio Estevam

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Fan, On 24/08/18 15:30, wufan wrote: >> Why get avoid the layer stuff? Isn't counting DIMM/memory-devices what >> EDAC_MC_LAYER_SLOT is for? > > Borislav has explained it in his response. Here let me elaborate a little > more. > To use the layer information you need an accurate way to pinpoin

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Tyler, On 24/08/18 16:14, Tyler Baicar wrote: > On Fri, Aug 24, 2018 at 5:48 AM, James Morse wrote: >> On 23/08/18 16:46, Tyler Baicar wrote: >>> On Thu, Aug 23, 2018 at 5:29 AM James Morse wrote: On 19/07/18 19:36, Tyler Baicar wrote: > This seems pretty hacky to me, so if anyone ha

Re: [PATCH v2 1/6] dt-bindings: reset: Add PDC Global binding for SDM845 SoCs

2018-08-28 Thread Matthias Kaehlcke
On Tue, Aug 28, 2018 at 11:38:26AM +0530, si...@codeaurora.org wrote: > Hi Matthias, > Thanks for the review > > On 2018-08-28 06:08, Matthias Kaehlcke wrote: > > Hi Sibi, > > > > On Fri, Aug 24, 2018 at 06:48:55PM +0530, Sibi Sankar wrote: > > > Add PDC Global(Power Domain Controller) binding fo

Re: [PATCH 1/2] x86/mm: add .data..decrypted section to hold shared variables

2018-08-28 Thread Brijesh Singh
On 08/27/2018 05:11 PM, Tom Lendacky wrote: On 08/27/2018 06:24 AM, Brijesh Singh wrote: kvmclock defines few static variables which are shared with hypervisor during the kvmclock initialization. When SEV is active, memory is encrypted with a guest-specific key, and if guest OS wants to shar

[PATCH] PCI: iproc: Remove PAXC slot check to allow VF support

2018-08-28 Thread Ray Jui
From: Jitendra Bhivare Fix previous incorrect logic that limits PAXC slot number to zero only. In order for SRIOV/VF to work, we need to allow the slot number to be greater than zero. Fixes: 46560388c476c ("PCI: iproc: Allow multiple devices except on PAXC") Signed-off-by: Jitendra Bhivare Sign

[PATCH 2/9] mm: workingset: tell cache transitions from workingset thrashing

2018-08-28 Thread Johannes Weiner
Refaults happen during transitions between workingsets as well as in-place thrashing. Knowing the difference between the two has a range of applications, including measuring the impact of memory shortage on the system performance, as well as the ability to smarter balance pressure between the files

[PATCH 7/9] sched: introduce this_rq_lock_irq()

2018-08-28 Thread Johannes Weiner
do_sched_yield() disables IRQs, looks up this_rq() and locks it. The next patch is adding another site with the same pattern, so provide a convenience function for it. Signed-off-by: Johannes Weiner --- kernel/sched/core.c | 4 +--- kernel/sched/sched.h | 12 2 files changed, 13 i

[PATCH 9/9] psi: cgroup support

2018-08-28 Thread Johannes Weiner
On a system that executes multiple cgrouped jobs and independent workloads, we don't just care about the health of the overall system, but also that of individual jobs, so that we can ensure individual job health, fairness between jobs, or prioritize some jobs over others. This patch implements pr

[PATCH 8/9] psi: pressure stall information for CPU, memory, and IO

2018-08-28 Thread Johannes Weiner
When systems are overcommitted and resources become contended, it's hard to tell exactly the impact this has on workload productivity, or how close the system is to lockups and OOM kills. In particular, when machines work multiple jobs concurrently, the impact of overcommit in terms of latency and

[PATCH 1/9] mm: workingset: don't drop refault information prematurely

2018-08-28 Thread Johannes Weiner
From: Johannes Weiner If we keep just enough refault information to match the *current* page cache during reclaim time, we could lose a lot of events when there is only a temporary spike in non-cache memory consumption that pushes out all the cache. Once cache comes back, we won't see those refau

[PATCH 5/9] sched: loadavg: make calc_load_n() public

2018-08-28 Thread Johannes Weiner
It's going to be used in a later patch. Keep the churn separate. Signed-off-by: Johannes Weiner --- include/linux/sched/loadavg.h | 3 + kernel/sched/loadavg.c| 138 +- 2 files changed, 72 insertions(+), 69 deletions(-) diff --git a/include/linux/sched/

[PATCH 4/9] sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD

2018-08-28 Thread Johannes Weiner
There are several definitions of those functions/macros in places that mess with fixed-point load averages. Provide an official version. Signed-off-by: Johannes Weiner --- .../platforms/cell/cpufreq_spudemand.c| 2 +- arch/powerpc/platforms/cell/spufs/sched.c | 9 +++- arch/s39

[PATCH 6/9] sched: sched.h: make rq locking and clock functions available in stats.h

2018-08-28 Thread Johannes Weiner
kernel/sched/sched.h includes "stats.h" half-way through the file. The next patch introduces users of sched.h's rq locking functions and update_rq_clock() in kernel/sched/stats.h. Move those definitions up in the file so they are available in stats.h. Signed-off-by: Johannes Weiner --- kernel/sc

[PATCH 3/9] delayacct: track delays from thrashing cache pages

2018-08-28 Thread Johannes Weiner
Delay accounting already measures the time a task spends in direct reclaim and waiting for swapin, but in low memory situations tasks spend can spend a significant amount of their time waiting on thrashing page cache. This isn't tracked right now. To know the full impact of memory contention on an

[PATCH 0/9] psi: pressure stall information for CPU, memory, and IO v4

2018-08-28 Thread Johannes Weiner
This version 4 of the PSI series incorporates feedback from Peter and fixes two races in the lockless aggregator that Suren found in his testing and which caused the sample calculation to sometimes underflow and record bogusly large samples; details at the bottom of this email. Ove

[PATCH v3 1/4] userfaultfd: selftest: Fix checking of userfaultfd_open() result

2018-08-28 Thread Thiago Jung Bauermann
If the userfaultfd test is run on a kernel with CONFIG_USERFAULTFD=n, it will report that the system call is not available yet go ahead and continue anyway: # ./userfaultfd anon 30 1 nr_pages: 480, nr_pages_per_cpu: 120 userfaultfd syscall not available in this kernel bounces: 0, mode:, re

[PATCH v3 4/4] userfaultfd: selftest: make supported range ioctl verification more robust

2018-08-28 Thread Thiago Jung Bauermann
From: Mike Rapoport When userfaultfd tests runs on older kernel that does not support UFFDIO_ZEROPAGE for shared memory it fails at the ioctl verification. Split out the verification that supported ioctls are superset of the expected ioctls and relax the checks for UFFDIO_ZEROPAGE for shared mem

[PATCH v3 2/4] userfaultfd: selftest: Skip test if userfaultfd() syscall not supported

2018-08-28 Thread Thiago Jung Bauermann
Since there's no point in doing anything in this case, immediately exit the process. And take the opportunity to improve the error message. Before: # ./userfaultfd shmem 10 10 nr_pages: 160, nr_pages_per_cpu: 40 userfaultfd syscall not available in this kernel # echo $? 1 After: #

[PATCH v3 3/4] userfaultfd: selftest: Skip test if a feature isn't supported

2018-08-28 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support some feature it is trying to test, it currently ends with error code 1 which indicates test failure: # ./userfaultfd anon 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, userfaults: 7 59 bounces: 8, mode: poll, user

[PATCH v3 0/4] userfaultfd: selftest: Improve behavior with older kernels

2018-08-28 Thread Thiago Jung Bauermann
Hello, This version of the series is unchanged from v2 except for the last patch which is completely new, and is provided by Mike Rapoport. Original series description: > A tester ran the upstream selftest on a distro kernel and sounded the > alarm when it reported failures for features which ar

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-28 Thread Sai Prakash Ranjan
On 8/28/2018 9:32 PM, Steven Rostedt wrote: On Tue, 28 Aug 2018 18:47:33 +0530 Sai Prakash Ranjan wrote: On 8/27/2018 9:45 PM, Steven Rostedt wrote: On Sat, 25 Aug 2018 12:54:07 +0530 Sai Prakash Ranjan wrote: Ftrace does not trace __raw{read,write}{b,l,w,q}() functions. I am not sure

Re: TLB flushes on fixmap changes

2018-08-28 Thread Nadav Amit
at 1:49 AM, Masami Hiramatsu wrote: > On Mon, 27 Aug 2018 16:01:32 -0700 > Andy Lutomirski wrote: > >> On Mon, Aug 27, 2018 at 3:54 PM, Nadav Amit wrote: >>> at 3:32 PM, Andy Lutomirski wrote: >>> On Mon, Aug 27, 2018 at 2:55 PM, Nadav Amit wrote: > at 1:16 PM, Nadav Amit wrote: >

Re: [PATCH] locking/ww_mutex: fix spelling mistake "cylic" -> "cyclic"

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 12:22:35PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in pr_err error message > > Signed-off-by: Colin Ian King > --- > kernel/locking/test-ww_mutex.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Given that this is pa

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: > Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new > CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command > line option "numa=fake=N" allows users to specify the configuration for > em

MRS.EVELYN FROM UNITED STATE OF AMERICA

2018-08-28 Thread Mrs. Evelyn Easmon
-- Good morning and how are you doing this morning I believe good, My name is Mrs. Evelyn Easmon, a US national, I got in contact with you through online, I'm searching for someone that will assist me to carry out this humanitarian work. Briefly about my situation, I have been diagnosed with Amy

[PATCH] mm: Conveted to use vm_fault_t

2018-08-28 Thread Souptick Joarder
As part of vm_fault_t conversion filemap_page_mkwrite() for NOMMU case was missed. Now converted. Signed-off-by: Souptick Joarder --- mm/filemap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 52517f2..de6fed2 100644 --- a/mm/filemap.c

Re: [PATCH 01/10] cramfs: Convert to use vmf_insert_mixed

2018-08-28 Thread Nicolas Pitre
On Tue, 28 Aug 2018, Matthew Wilcox wrote: > cramfs is the only remaining user of vm_insert_mixed; convert it. > > Signed-off-by: Matthew Wilcox > --- > fs/cramfs/inode.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c > i

Re: [perf] perf_event.h ABI visibility question

2018-08-28 Thread Vince Weaver
On Mon, 27 Aug 2018, Peter Zijlstra wrote: > Something like so then? > > diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h > index eeb787b1c53c..f35eb72739c0 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -144,7 +144,7 @@ e

[PATCH v2 0/3] ARM: NSP updates to support switch interrupts/SFP

2018-08-28 Thread Florian Fainelli
Hi all, This patch series updates the ARM NSP DTS and BCM958625HR in order to support the SFP connected to port 5 on these reference boards. I will be submitting the functional changes to drivers/net/dsa/b53 once net-next opens back up, but this is largely independent from getting these 3 patches

[PATCH v2 3/3] ARM: dts: NSP: Wire up switch interrupts

2018-08-28 Thread Florian Fainelli
The Switch Register Access Block (SRAB) has one interrupt for link state change on each ports (0-5, 7-8) a PHY interrupt, timestamping interrupt and sleep timer interrupts for each management ports (5,7,8). Wire those up so we can utilize them to speed up link resolution. Signed-off-by: Florian Fa

[PATCH v2 2/3] dt-bindings: net: dsa: Document B53 SRAB interrupts and registers

2018-08-28 Thread Florian Fainelli
Document the Broadcom roboswitch Switch Register Access Block interrupt lines and additional register base addresses for port mux configuration and SGMII status/configuration registers. Signed-off-by: Florian Fainelli --- .../devicetree/bindings/net/dsa/b53.txt | 23 +++ 1

[PATCH v2 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-28 Thread Florian Fainelli
Enable the SFP connected to port 5 of the switch and wire up all GPIOs to the SFP cage. Because of a hardware limitation of the i2c controller on the iProc SoCs which prevents large i2c (> 63 bytes) transactions to work, we use the i2c-gpio interface instead, which does not have that limitation. Th

Re: [PATCH v5 5/5] KVM: x86: hyperv: implement PV IPI send hypercalls

2018-08-28 Thread Roman Kagan
On Mon, Aug 27, 2018 at 06:48:58PM +0200, Vitaly Kuznetsov wrote: > Using hypercall for sending IPIs is faster because this allows to specify > any number of vCPUs (even > 64 with sparse CPU set), the whole procedure > will take only one VMEXIT. > > Current Hyper-V TLFS (v5.0b) claims that HvCallS

Re: [PATCH] Properly interpret indirect call in perf annotate.

2018-08-28 Thread Martin Liška
On 08/28/2018 04:18 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Aug 28, 2018 at 11:10:47AM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Aug 27, 2018 at 11:06:21AM +0200, Martin Liška escreveu: On 08/23/2018 04:12 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 23, 2018 at 02:29:34PM +0200

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-28 Thread Grygorii Strashko
On 08/24/2018 01:41 PM, Frederic Weisbecker wrote: > On Fri, Aug 24, 2018 at 11:10:44AM -0500, Grygorii Strashko wrote: >> Yes. i do not see local_softirq_pending messages any more >> >> But one question, just to clarify, after patch "nohz: Fix missing tick >> reprog while interrupting inline t

[PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-28 Thread Rik van Riel
On Mon, 27 Aug 2018 16:04:16 -0700 Andy Lutomirski wrote: > The 0day bot is still chewing on this, but I've tested it a bit locally > and it seems to do the right thing. Hi Andy, the version of the patch below should fix the bug we talked about in email yesterday. It should automatically cover

Re: [PATCH] mm: Conveted to use vm_fault_t

2018-08-28 Thread Souptick Joarder
On Tue, Aug 28, 2018 at 11:18 PM Souptick Joarder wrote: > > As part of vm_fault_t conversion filemap_page_mkwrite() > for NOMMU case was missed. Now converted. > > Signed-off-by: Souptick Joarder cc: Matthew Wilcox > --- > mm/filemap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Shuah Khan
On 08/28/2018 11:40 AM, Will Deacon wrote: > On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: >> Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new >> CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command >> line option "numa=fake=N" al

Re: [PATCH] MAINTAINERS: Move entry for Cirrus Logic Madera codecs

2018-08-28 Thread Joe Perches
On Tue, 2018-08-28 at 17:28 +0200, Miguel Ojeda wrote: > Hi, > > On Tue, Aug 28, 2018 at 3:57 PM, Richard Fitzgerald > wrote: > > Reviewed-by: Richard Fitzgerald > > > > A maintainer for MAINTAINERS would help avoid these problems, which will > > tend to happen when changes to the file go throu

Re: [PATCH 01/13] seq_file: rewrite seq_puts() in terms of seq_write()

2018-08-28 Thread Joe Perches
On Tue, 2018-08-28 at 02:14 +0300, Alexey Dobriyan wrote: > Space savings -- 42 bytes! > > seq_puts71 29 [-42] > > Signed-off-by: Alexey Dobriyan > --- > fs/seq_file.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/fs/seq_file.c b/fs/seq

Re: [PATCH v4 07/16] sched/core: uclamp: extend cpu's cgroup controller

2018-08-28 Thread Randy Dunlap
On 08/28/2018 06:53 AM, Patrick Bellasi wrote: > +config UCLAMP_TASK_GROUP > + bool "Utilization clamping per group of tasks" > + depends on CGROUP_SCHED > + depends on UCLAMP_TASK > + default n > + help > + This feature enables the scheduler to track the clamped utilizati

[PATCH v2] x86/entry/64: wipe KASAN stack shadow before rewind_stack_do_exit()

2018-08-28 Thread Jann Horn
Reset the KASAN shadow state of the task stack before rewinding RSP. Without this, a kernel oops will leave parts of the stack poisoned, and code running under do_exit() can trip over such poisoned regions and cause nonsensical false-positive KASAN reports about stack-out-of-bounds bugs. This patc

Re: regression: broken ppc64le build with CONFIG_KERNEL_XZ=y

2018-08-28 Thread Krzysztof Kozlowski
On Mon, Aug 27, 2018 at 01:30:37PM +0200, Michal Kubecek wrote: > Building 4.19-rc1 kernel with CONFIG_KERNEL_XZ=y fails with this error: > > BOOTCC arch/powerpc/boot/decompress.o > In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:233, > from arch/powerpc/

Re: [PATCH v6 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-08-28 Thread Andrey Smirnov
On Wed, Aug 22, 2018 at 7:05 AM Abel Vesa wrote: > > From: Lucas Stach > > Add driver for the Clock Control Module found on i.MX8MQ. > > This is largely based on the downstream driver from Anson Huang and > Bai Ping at NXP, with only some small adaptions to mainline from me. > > Signed-off-by: Lu

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-08-28 Thread Andrey Smirnov
On Wed, Aug 22, 2018 at 6:52 AM Abel Vesa wrote: > > From: Lucas Stach > > The SCCG is a new PLL type introduced on i.MX8. Add support for this. > The driver currently misses the PLL lock check, as the preliminary > documentation mentions lock configurations, but is quiet about where > to find th

Re: [PATCH 3/8] RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid

2018-08-28 Thread Atish Patra
On 8/27/18 11:58 AM, Palmer Dabbelt wrote: It's a bit confusing exactly what this function does: it actually returns the hartid of an OF processor node, failing with -1 on invalid nodes. I've changed the name to _hartid() in order to make that a bit more clear, as well as adding a comment. Sign

[PATCH 0/4] staging:rtl8192u: Style and a question?

2018-08-28 Thread John Whitmore
This short series of coding style changes clears the remaining checkpatch issues in the files r8180_93cx6.h and dot11d.h. The file dot11d.h does still contain lines over the 80 character limit, but most of these lines are MACRO definitions, and I'm not sure splitting them will add anything to the s

[PATCH 1/4] staging:rtl8192u: Remove unused definitions - Style

2018-08-28 Thread John Whitmore
Remove unused definitions from the file r8180_93cx6.h. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8180_93cx6.h | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/stag

[PATCH 3/4] staging:rtl8192u: Refactor member variable enabled - Style

2018-08-28 Thread John Whitmore
The structure rt_dot11d_info contains a memeber variable 'enabled', which causes a checkpatch issue as it is declared as being of type bool. The type of the variable has been changed to a 'u8', to clear the issue. Additionally to aid searching for the member variable in code it has been renamed fr

[PATCH 4/4] staging:rtl8192u: Rename member pDot11dInfo - Style

2018-08-28 Thread John Whitmore
Rename 'pDot11dInfo', this member variable of the structure ieee80211_device causes a checkpatch issue, CamelCase naming. The member has been renamed 'dot11d_info' to clear this issue. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmor

[PATCH 2/4] staging:rtl8192u: Add required SPDX-License-Identifier - Style

2018-08-28 Thread John Whitmore
Add the required SPDX-License-Identifier to the file r8180_93cx6.h, this clears a checkpatch issue. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8180_93cx6.h | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH 0/1] Fix ADI axi-i2s + Xilinx AXI-DMA capture

2018-08-28 Thread Mark Brown
On Fri, Aug 24, 2018 at 06:04:29PM +0200, Luca Ceresoli wrote: > Hi, > > here is a fix for a nasty audio capture problem when the axi-i2s > output stream is fed to a Xilinx AXI-DMA. Please don't send cover letters for single patches, if there is anything that needs saying put it in the changelog

Re: [PATCH v9 1/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-28 Thread Song Liu
Hi all, What's our plan with this work? Will this be routed via Steven's tree? Thanks, Song On Wed, Aug 22, 2018 at 5:39 AM Srikar Dronamraju wrote: > > * Ravi Bangoria [2018-08-20 10:12:47]: > > > Userspace Statically Defined Tracepoints[1] are dtrace style markers > > inside userspace applic

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-08-28 Thread Andrey Smirnov
On Tue, Aug 28, 2018 at 3:58 AM Abel Vesa wrote: > > On Fri, Aug 24, 2018 at 09:40:11AM +0200, Sascha Hauer wrote: > > +Cc Andrey Smirnov who made me aware of this issue. > > > > On Wed, Aug 22, 2018 at 04:48:21PM +0300, Abel Vesa wrote: > > > From: Lucas Stach > > > > > > The SCCG is a new PLL t

[PATCH] fs: Convert return type int to vm_fault_t

2018-08-28 Thread Souptick Joarder
Return type for fault handlers in ext4 and nilfs are changed to use vm_fault_t. Return type of block_page_mkwrite() is changed from int to vm_fault_t. The function signature of block_page_mkwrite() is changed to add one new parameter int *err. This will provide a way for caller functions to get e

Re: [RFC/PATCH] regulator: Support regulators where voltage ranges are selectable

2018-08-28 Thread Mark Brown
On Mon, Aug 27, 2018 at 03:19:10PM +0300, Matti Vaittinen wrote: > Other than that - I have BD71847 support almost finished - should I > send this change as part of that patch set as these helpers would be > used by the BD71847 patch series? Yes. signature.asc Description: PGP signature

Re: [PATCH 11/13] proc: readdir /proc/*/task

2018-08-28 Thread Alexey Dobriyan
On Tue, Aug 28, 2018 at 12:36:22PM +, Ahmed S. Darwish wrote: > On Tue, Aug 28, 2018 at 02:15:01AM +0300, Alexey Dobriyan wrote: > > --- > > fs/proc/base.c | 8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > Missing description and S-o-b. Further comments below.. > > >

Re: [PATCH 0/1] ASoC: pcm3060: Add codec driver

2018-08-28 Thread Mark Brown
On Tue, Aug 21, 2018 at 06:52:45PM +0200, Kirill Marinushkin wrote: > Hello Mark, > > I am developing sound support for a Linux-based device, with playback and > capture through the TI PCM3060 codec. Please don't send cover letters for single patches, if there is anything that needs saying put it

Re: [PATCH v9 1/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-28 Thread Steven Rostedt
On Tue, 28 Aug 2018 12:07:30 -0700 Song Liu wrote: > Hi all, > > What's our plan with this work? Will this be routed via Steven's tree? > > I can start pulling these in and testing them. Thanks, -- Steve

Re: [PATCH] Staging: One Laptop Per Child: add function argument names

2018-08-28 Thread Arkadiusz Lis
On Mon, Aug 27, 2018 at 07:52:13PM +0200, Greg KH wrote: > On Thu, Aug 09, 2018 at 06:23:59PM +0200, Arkadiusz Lis wrote: > > Add function argument names to pointers to functions > > in struct dcon_platform_data: init, set_dconload and read_status > > This commit removes checkpatch.pl warning. > >

Re: [PATCH 11/13] proc: readdir /proc/*/task

2018-08-28 Thread Alexey Dobriyan
On Tue, Aug 28, 2018 at 01:04:40PM +, Ahmed S. Darwish wrote: > On Tue, Aug 28, 2018 at 12:36:22PM +, Ahmed S. Darwish wrote: > > On Tue, Aug 28, 2018 at 02:15:01AM +0300, Alexey Dobriyan wrote: > > > --- > > > fs/proc/base.c | 8 > > > 1 file changed, 4 insertions(+), 4 deletions

Re: Peer bridge fixup issue under multiple pci domain

2018-08-28 Thread Bjorn Helgaas
[+cc EDAC folks, LKML] On Sat, Aug 25, 2018 at 10:58:57PM +0800, Zihan Yang wrote: > Hi all, > > I'm trying to use multiple pci domain in qemu q35, but I find there > might be some issues in peer bridge fixup. > > In short, pcibios_fixup_peer_bridges function assumes only one pci > domain (0) by

Re: [PATCH] binder: use standard functions to allocate fds

2018-08-28 Thread kbuild test robot
Hi Todd, I love your patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.19-rc1 next-20180828] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH v4 0/2]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-08-28 Thread Kim Phillips
On Tue, 28 Aug 2018 18:44:57 +0300 Alexey Budankov wrote: > Experiment with profiling matrix multiplication code executing 128 > threads on Intel Xeon Phi (KNM) with 272 cores, like below, > demonstrates data loss metrics value of 98%: So I took these two patches for a quick test-drive on intel

Re: [lkp-robot] [tracing] c3bc8fd637: WARNING:at_kernel/rcu/tree.c:#rcu_irq_enter

2018-08-28 Thread Joel Fernandes
On Thu, Aug 23, 2018 at 10:38:39AM +0800, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-6): > > commit: c3bc8fd637a9623f5c507bd18f9677effbddf584 ("tracing: Centralize > preemptirq tracepoints and unify their usage") > https://git.kernel.org/cgit/linux/kernel/git/

Re: [PATCH v3] modules_install: make missing $DEPMOD a warning instead of an error

2018-08-28 Thread Randy Dunlap
On 08/23/2018 09:20 PM, Masahiro Yamada wrote: > Hi Randy, > > > 2018-08-24 3:13 GMT+09:00 Randy Dunlap : >> From: Randy Dunlap >> >> When $DEPMOD is not found, only print a warning instead of exiting >> with an error message and error status. > > > Could you add the motivation of this change

Re: [PATCH] x86/entry/64: wipe KASAN stack shadow in rewind_stack_do_exit()

2018-08-28 Thread Andy Lutomirski
> On Aug 28, 2018, at 4:33 AM, Andrey Ryabinin wrote: > > > > On 08/28/2018 01:38 PM, Jann Horn wrote: > >>> >>> >>> Why this has to be done in the rewind_stack_do_exit()? >>> Are there any problems with calling the kasan_unpoison_task_stack(current) >>> from oops_end(), before the rewin

Re: [PATCH 1/1] ASoC: pcm3060: Add codec driver

2018-08-28 Thread Mark Brown
On Tue, Aug 21, 2018 at 06:52:46PM +0200, Kirill Marinushkin wrote: This looks good apart from a few small stylistic things so I'll apply, please send followup patches fixing these: > +++ b/sound/soc/codecs/pcm3060-i2c.c > @@ -0,0 +1,61 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * PCM306

[PATCH v4] modules_install: make missing $DEPMOD a Warning instead of an Error

2018-08-28 Thread Randy Dunlap
From: Randy Dunlap When $DEPMOD is not found, only print a warning instead of exiting with an error message and error status: Warning: 'make modules_install' requires /sbin/depmod. Please install it. This is probably in the kmod package. Change the Error to a Warning because "not all build host

[PATCH] mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values

2018-08-28 Thread Fabio Estevam
From: Fabio Estevam When trying to read any MC13892 ADC channel on a imx51-babbage board: # cat /sys/class/hwmon/hwmon0/device/in7_input The MC13892 PMIC shutdowns completely. After debugging this issue and comparing the MC13892 and MC13783 initializations done in the vendor kernel, it was not

Re: [PATCH] input: olpc_apsp: remove unused pointer 'np'

2018-08-28 Thread Andi Shyti
Hi Colin, On Tue, Aug 28, 2018 at 03:56:48PM +0100, Colin King wrote: > From: Colin Ian King > > Pointer 'nb' is being assigned but is never used hence it is 'np' here. Other than that, Reviewed-by: Andi Shyti Andi > redundant and can be removed. > > Cleans up clang warning: > warning: var

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread Tyler Baicar
On Tue, Aug 28, 2018 at 1:11 PM, James Morse wrote: > On 24/08/18 16:14, Tyler Baicar wrote: >> On Fri, Aug 24, 2018 at 5:48 AM, James Morse wrote: >>> On 23/08/18 16:46, Tyler Baicar wrote: >>> so edac_raw_mc_handle_error() has no clue where the error happened. (I >>> haven't >>> read what it d

[PATCH] Trivial numbering change in comments.

2018-08-28 Thread Ray Clinton
I'm trying to get my feet wet in kernel dev and while working on a patch I noticed in a lengthy comment block that the number "2" was skipped in a description of the steps of a protocol. This patch is simply correcting this. This is for 4.18.0. It is a very trivial patch, but this is my first actu

Re: [PATCH] riscv: Drop setup_initrd

2018-08-28 Thread Palmer Dabbelt
On Thu, 09 Aug 2018 21:11:40 PDT (-0700), li...@roeck-us.net wrote: setup_initrd() does not appear to serve a practical purpose other than preventing qemu boots with "-initrd" parameter, so let's drop it. Signed-off-by: Guenter Roeck --- arch/riscv/kernel/setup.c | 39 -

Re: [PATCH 8/9] psi: pressure stall information for CPU, memory, and IO

2018-08-28 Thread Randy Dunlap
On 08/28/2018 10:22 AM, Johannes Weiner wrote: > diff --git a/Documentation/accounting/psi.txt > b/Documentation/accounting/psi.txt > new file mode 100644 > index ..51e7ef14142e > --- /dev/null > +++ b/Documentation/accounting/psi.txt > @@ -0,0 +1,64 @@ > +=

[PATCH v3 1/7] x86: refactor kprobes_fault() like kprobe_exceptions_notify()

2018-08-28 Thread Jann Horn
This is an extension of commit b506a9d08bae ("x86: code clarification patch to Kprobes arch code"). As that commit explains, even though kprobe_running() can't be called with preemption enabled, you don't have to disable preemption - if preemption is on, you can't be in a kprobe. Also, use X86_TRA

[PATCH v3 0/7] x86: BUG() on #GP / kernel #PF in uaccess

2018-08-28 Thread Jann Horn
This is the third version of "[RFC PATCH 1/2] x86: WARN() when uaccess helpers fault on kernel addresses". Changes since v2: - patch 1: avoid unnecessary branch on return value and split up the checks (Borislav Petkov) - patch 5: really plumb the error code through to the handlers (Andy) - p

[PATCH v3 4/7] x86: introduce _ASM_EXTABLE_UA for uaccess fixups

2018-08-28 Thread Jann Horn
Currently, most fixups for attempting to access userspace memory are handled using _ASM_EXTABLE, which is also used for various other types of fixups (e.g. safe MSR access, IRET failures, and a bunch of other things). In order to make it possible to add special safety checks to uaccess fixups (in p

[PATCH v3 2/7] x86: inline kprobe_exceptions_notify() into do_general_protection()

2018-08-28 Thread Jann Horn
The opaque plumbing of #GP from do_general_protection() through notify_die() into kprobe_exceptions_notify() makes it hard to understand what's going on. Suggested-by: Andy Lutomirski Signed-off-by: Jann Horn --- arch/x86/kernel/kprobes/core.c | 31 +-- arch/x86/kern

[PATCH v3 3/7] x86: stop calling fixup_exception() from kprobe_fault_handler()

2018-08-28 Thread Jann Horn
This removes the call into exception fixup that was added in commit c28f896634f2 ("[PATCH] kprobes: fix broken fault handling for x86_64"). On X86, kprobe_fault_handler() is called from two places: do_general_protection() (for #GP) and kprobes_fault() (for #PF). In both paths, the fixup_exception(

[PATCH v3 6/7] x86: BUG() when uaccess helpers fault on kernel addresses

2018-08-28 Thread Jann Horn
There have been multiple kernel vulnerabilities that permitted userspace to pass completely unchecked pointers through to userspace accessors: - the waitid() bug - commit 96ca579a1ecc ("waitid(): Add missing access_ok() checks") - the sg/bsg read/write APIs - the infiniband read/write APIs

[PATCH v3 7/7] lkdtm: test copy_to_user() on bad kernel pointer under KERNEL_DS

2018-08-28 Thread Jann Horn
Test whether the kernel WARN()s when, under KERNEL_DS, a bad kernel pointer is used as "userspace" pointer. Should normally be used in "DIRECT" mode. Acked-by: Kees Cook Signed-off-by: Jann Horn --- drivers/misc/lkdtm/core.c | 1 + drivers/misc/lkdtm/lkdtm.h| 1 + drivers/misc/lkdtm/u

<    1   2   3   4   5   6   7   >