Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-19 Thread David Howells
Alan Jenkins wrote: > If I close() the mount FD "mfd", and then do "mount --move . /mnt", my > printk() shows MNT_UMOUNT has been set. ( I guess fchdir() works more like > openat(... , O_PATH) than dup() ). Then unmounting /mnt hangs, as I would > expect from my previous test. Okay, I think the

[PATCH v1 1/2] x86/hyperv: get spinlock retry number on Hyper-V

2018-10-19 Thread Yi Sun
EBX of Implementation Recommendations MSR (0x4004) indicates recommended number of attempts to retry a spinlock failure before notifying the hypervisor about the failures. 0x indicates never to retry. Signed-off-by: Yi Sun Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemmin

Re: [PATCH 09/15] Platform: OLPC: add a regulator for the DCON

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > All OLPC ECs are able to turn the power to the DCON on an off. Use the > regulator framework to expose the functionality. > +static int olpc_ec_set_dcon_power(struct olpc_ec_priv *ec, bool state) > +{ > + unsigned char ec_byte = stat

Business opportunity

2018-10-19 Thread Ali Traore
Dear Sir/Madam, I am contacting you with regards of information concerning an important estate. Looking forward to hearing from you for more details. Regards, Ali Traore

[PATCH v1 2/2] x86/hyperv: make HvNotifyLongSpinWait hypercall

2018-10-19 Thread Yi Sun
The HvNotifyLongSpinWait hypercall (HVCALL_NOTIFY_LONG_SPIN_WAIT) is used by a guest OS to notify the hypervisor that the calling virtual processor is attempting to acquire a resource that is potentially held by another virtual processor within the same Virtual Machine. This scheduling hint improve

[PATCH v1 0/2] Enable HvNotifyLongSpinWait for Hyper-V

2018-10-19 Thread Yi Sun
The HvNotifyLongSpinWait hypercall is used by a guest OS to notify the hypervisor that the calling virtual processor is attempting to acquire a resource that is potentially held by another virtual processor within the same Virtual Machine. This scheduling hint improves the scalability of VMs with m

Re: [PATCH 11/15] x86, olpc: Use a correct version when making up a battery node

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > The XO-1 and XO-1.5 batteries apparently differ in an ability to report > ambient temperature. Add a different compatible string to the 1.5 > battery. > +int olpc_dt_compatible_match(phandle node, const char *compat) > { > char bu

Re: [PATCH 12/15] power: supply: olpc_battery: Use DT to get battery version

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > Avoid using the x86 OLPC platform specific call to get the board > version. It won't work on FDT-based ARM MMP2 platform. > > Signed-off-by: Lubomir Rintel > --- > drivers/power/supply/olpc_battery.c | 10 +++--- > 1 file changed, 7 i

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-19 Thread Adam Ford
On Wed, Oct 17, 2018 at 3:01 AM jacopo mondi wrote: > > Hi Adam, Seve, > > On Tue, Oct 16, 2018 at 05:13:24PM -0700, Steve Longerbeam wrote: > > Hi Adam, > > > > > > On 10/16/18 12:46 PM, Adam Ford wrote: > > >On Thu, Sep 20, 2018 at 9:58 AM jacopo mondi wrote: > > >>Hi imx6 people, > > >> > > >>

Re: [PATCH v3 3/4] arm64: implement live patching

2018-10-19 Thread Torsten Duwe
On Fri, Oct 19, 2018 at 01:59:01PM +0200, Miroslav Benes wrote: > > Torsten, could you include the outcome to your patch set once we settle on > it? Thanks. Absolutely! Whether as patch 4/4 or on its own and I refer to it -- we'll figure it out. Torsten

[PATCH] intel_th: Fix a missing-check bug

2018-10-19 Thread Wenwen Wang
In msc_data_sz(), the 'valid_dw' field of the msc block descriptor 'bdesc' is firstly checked to see whether the descriptor has a valid data width. If yes, i.e., 'bdesc->valid_dw' is not 0, the data size of this descriptor will be returned. It is worth noting that the data size is calculated from '

Re: [PATCH 13/15] power: supply: olpc_battery: Move priv data to a struct

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:24 PM Lubomir Rintel wrote: > > The global variables for private data are not too nice. I'd like some > more, and that would clutter the global name space even further. > Good change! Reviewed-by: Andy Shevchenko > Signed-off-by: Lubomir Rintel > --- > drivers/power/

Re: [PATCH 14/15] power: supply: olpc_battery: Avoid using platform_info

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:24 PM Lubomir Rintel wrote: > > This wouldn't work on the DT-based ARM platform. Let's read the EC version > directly from the EC driver instead. > > This makes the driver no longer x86 specific. > > Signed-off-by: Lubomir Rintel > --- > drivers/power/supply/Kconfig

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-10-19 Thread Steven Rostedt
On Fri, 19 Oct 2018 12:24:05 +0530 Sai Prakash Ranjan wrote: > >> Anyone see any problems here? > > > > This seems sane to me, he says in the other thread that he put 'notrace' to > > the msm serial functions (which AIUI should prevent ftrace instrumentation) > > and he still sees the issue. >

Re: [PATCH v3 3/4] arm64: implement live patching

2018-10-19 Thread Ard Biesheuvel
On 18 October 2018 at 20:58, Jessica Yu wrote: > +++ Miroslav Benes [17/10/18 15:39 +0200]: > >> On Mon, 1 Oct 2018, Torsten Duwe wrote: >> >>> Based on ftrace with regs, do the usual thing. Also allocate a >>> task flag for whatever consistency handling will be used. >>> Watch out for interaction

Re: [PATCH 15/15] power: supply: olpc_battery: Add OLPC XO 1.75 support

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:24 PM Lubomir Rintel wrote: > > The battery and the protocol are essentially the same as OLPC XO 1.5, > but the responses from the EC are LSB first. > > Signed-off-by: Lubomir Rintel > --- > drivers/power/supply/olpc_battery.c | 23 ++- > 1 file chan

I am michelled johnson from U S A i wish to have a communication with you

2018-10-19 Thread Michelled Johnson
-- michelledjohnson...@gmail.com

Re: [PATCH 0/15] Add support for OLPC XO 1.75 Embedded Controller

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > Hi. > > This patchset adds support for the Embedded Controller on an OLPC XO > 1.75 machine. OLPC XO 1.75 is a MMP2 based ARM laptop. It plugs into > the existing OLPC platform infrastructure, currently used by the x86 > based models. > > T

Re: [PATCH 4.4 00/48] 4.4.162-stable review

2018-10-19 Thread Rafael David Tinoco
On Thu, Oct 18, 2018 at 2:54 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.162 release. > There are 48 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH V3] MAINTAINERS: intel_telemetry: Update maintainers info

2018-10-19 Thread Andy Shevchenko
On Tue, Oct 16, 2018 at 6:51 PM Andy Shevchenko wrote: > > On Fri, Oct 12, 2018 at 7:46 PM Joe Perches wrote: > > > > On Fri, 2018-10-12 at 09:28 -0700, David E. Box wrote: > > > Remove Souvik who has left this role. Add Rajneesh and David who work > > > jointly on telemetry updates for new platf

Re: [PATCH V3] MAINTAINERS: intel_telemetry: Update maintainers info

2018-10-19 Thread Andy Shevchenko
On Fri, Oct 12, 2018 at 7:29 PM David E. Box wrote: > > Remove Souvik who has left this role. Add Rajneesh and David who work > jointly on telemetry updates for new platforms. > Pushed to my reviewing and testing queue, thanks! > Signed-off-by: David E. Box > Signed-off-by: Rajneesh Bhardwaj >

Re: [RFC PATCH net-next 2/4] net: 8021q: vlan_core: allow use list of vlans for real device

2018-10-19 Thread Ivan Khoronzhuk
On Fri, Oct 19, 2018 at 01:22:20PM +0200, Bjørn Mork wrote: Ivan Khoronzhuk writes: @@ -236,6 +239,13 @@ __vlan_find_dev_deep_rcu(struct net_device *real_dev, return NULL; } +static inline int +vlan_for_each(struct net_device *dev, + int (*action)(struct net_device *dev,

[PATCH] x86/mm: kill stray kernel fault handling comment

2018-10-19 Thread Dave Hansen
I originally tried to send this a couple days ago, but does not appear to have made it to LKML. Sorry if it's a duplicate. -- From: Dave Hansen I originally had matching user and kernel comments, but the kernel one got improved. Some errant conflict resolution kicked the commment somewhere

[PATCH] x86/kvm/nVMX: tweak shadow fields

2018-10-19 Thread Vitaly Kuznetsov
It seems we have some leftovers from times when 'unrestricted guest' wasn't exposed to L1. Stop shadowing GUEST_CS_{BASE,LIMIT,AR_SELECTOR} and GUEST_ES_BASE, shadow GUEST_SS_AR_BYTES as it was found that some hypervisors (e.g. Hyper-V without Enlightened VMCS) access it pretty often. Suggested-by

Re: [PATCH v1 2/2] x86/hyperv: make HvNotifyLongSpinWait hypercall

2018-10-19 Thread Juergen Gross
On 19/10/2018 15:13, Yi Sun wrote: > The HvNotifyLongSpinWait hypercall (HVCALL_NOTIFY_LONG_SPIN_WAIT) > is used by a guest OS to notify the hypervisor that the calling > virtual processor is attempting to acquire a resource that is > potentially held by another virtual processor within the same >

[PATCH] md: fix memleak for mempool

2018-10-19 Thread Jack Wang
From: Jack Wang I noticed kmemleak report memory leak when run create/stop md in a loop, backtrace: [<1ca975e7>] mempool_create_node+0x86/0xd0 [<95576bcd>] md_run+0x1057/0x1410 [md_mod] [<7b45c5fc>] do_md_run+0x15/0x130 [md_mod] [<1ede9ec0>] md_ioctl+0x1f49/0x25d0

[PATCH v1 1/1] mmc: dw_mmc-bluefield: simplify the probe() function

2018-10-19 Thread Liming Sun
This commit removes the unnecessary of-node check since the dw_mci_bluefield_match[] structure has only one entry. Signed-off-by: Liming Sun --- drivers/mmc/host/dw_mmc-bluefield.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-bluefield.c

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-10-19 Thread Andy Lutomirski
> On Oct 19, 2018, at 1:33 AM, Peter Zijlstra wrote: > >> On Fri, Oct 19, 2018 at 01:08:23AM +, Nadav Amit wrote: >> Consider for example do_int3(), and see my inlined comments: >> >> dotraplinkage void notrace do_int3(struct pt_regs *regs, long error_code) >> { >>... >>ist_enter(

Re: [PATCH] genirq: Fix race on spurious interrupt detection

2018-10-19 Thread Thomas Gleixner
On Thu, 18 Oct 2018, Lukas Wunner wrote: > Commit 1e77d0a1ed74 ("genirq: Sanitize spurious interrupt detection of > threaded irqs") made detection of spurious interrupts work for threaded > handlers by: > > a) incrementing a counter every time the thread returns IRQ_HANDLED, and > b) checking whet

Re: [PATCH v2 1/5] orangefs: fix request_mask misuse

2018-10-19 Thread Andreas Dilger
On Oct 19, 2018, at 6:20 AM, Miklos Szeredi wrote: > > Orangefs only handles STATX_BASIC_STATS in its getattr implementation, so > mask off all other flags. Not doing so results in statx(2) forcing a > refresh of cached attributes on any other requested flag (i.e. STATX_BTIME > currently) due to

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-10-19 Thread Josh Poimboeuf
On Fri, Oct 19, 2018 at 02:16:19PM +0200, Miroslav Benes wrote: > On Thu, 18 Oct 2018, Josh Poimboeuf wrote: > > > On Thu, Oct 18, 2018 at 04:54:56PM +0200, Petr Mladek wrote: > > > On Mon 2018-10-15 18:01:43, Miroslav Benes wrote: > > > > On Fri, 12 Oct 2018, Petr Mladek wrote: > > > > > > > > >

[PATCH] selftests/kvm: add missing executables to .gitignore

2018-10-19 Thread Anders Roxell
Fixes: 18178ff86217 ("KVM: selftests: add Enlightened VMCS test") Signed-off-by: Anders Roxell --- tools/testing/selftests/kvm/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/kvm/.gitignore b/tools/testing/selftests/kvm/.gitignore index 552b0d9a49f4..6210ba

[PATCH v2 6/5] statx: add STATX_RESULT_MASK flag

2018-10-19 Thread Miklos Szeredi
This request_mask flag indicates that the caller is interested in the result_mask. At the moment all ->getattr() callers discard the result mask except sys_statx(). FUSE needs this, because it uses legacy inode initialization, that doesn't return a result_mask, so needs a refresh when caller asks

[PATCH] mmc: atmel-mci: do not assume idle after atmci_request_end

2018-10-19 Thread Jonas Danielsson
On our AT91SAM9260 board we use the same sdio bus for wifi and for the sd card slot. This caused the atmel-mci to give the following splat on the serial console: [ cut here ] WARNING: CPU: 0 PID: 538 at drivers/mmc/host/atmel-mci.c:859 atmci_send_command+0x24/0x44 Mo

Re: [PATCH] md: fix memleak for mempool

2018-10-19 Thread Xiao Ni
- Original Message - > From: "Jack Wang" > To: s...@fb.com, linux-r...@vger.kernel.org > Cc: x...@redhat.com, linux-kernel@vger.kernel.org, "Jack Wang" > > Sent: Friday, October 19, 2018 10:21:31 PM > Subject: [PATCH] md: fix memleak for mempool > > From: Jack Wang > > I noticed km

Re: [RESEND PATCH v6 2/4] mm: move is_kernel_rodata() to asm-generic/sections.h

2018-10-19 Thread Bartosz Golaszewski
wt., 16 paź 2018 o 12:53 Greg Kroah-Hartman napisał(a): > > On Sun, Oct 14, 2018 at 05:20:08PM +0200, Bartosz Golaszewski wrote: > > Export this routine so that we can use it later in devm_kstrdup_const() > > and devm_kfree(). > > > > Signed-off-by: Bartosz Golaszewski > > Reviewed-by: Bjorn Ande

Re: [PATCH v5 11/17] arm64: docs: document pointer authentication

2018-10-19 Thread Kristina Martsenko
On 19/10/2018 12:35, Catalin Marinas wrote: > On Tue, Oct 16, 2018 at 05:14:39PM +0100, Kristina Martsenko wrote: >> On 05/10/2018 10:04, Ramana Radhakrishnan wrote: >>> On 05/10/2018 09:47, Kristina Martsenko wrote: +Virtualization +-- + +Pointer authentication is n

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-10-19 Thread Alexei Starovoitov
On Fri, Oct 19, 2018 at 1:22 AM Peter Zijlstra wrote: > > On Thu, Oct 18, 2018 at 10:00:53PM -0700, Alexei Starovoitov wrote: > > > > > > > > > > > Another example is __BPF_PROG_RUN_ARRAY(), which also uses > > > > preempt_enable_no_resched(). > > > > > > Alexei, I think this code is just wrong. >

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-10-19 Thread Sai Prakash Ranjan
On 10/19/2018 7:21 PM, Steven Rostedt wrote: On Fri, 19 Oct 2018 12:24:05 +0530 Sai Prakash Ranjan wrote: Anyone see any problems here? This seems sane to me, he says in the other thread that he put 'notrace' to the msm serial functions (which AIUI should prevent ftrace instrumentation) and

Re: [RFC 00/60] Coscheduling for Linux

2018-10-19 Thread Frederic Weisbecker
On Fri, Oct 19, 2018 at 01:40:03PM +0200, Jan H. Schönherr wrote: > On 17/10/2018 04.09, Frederic Weisbecker wrote: > > On Fri, Sep 07, 2018 at 11:39:47PM +0200, Jan H. Schönherr wrote: > >> C) How does it work? > >> > [...] > >> For each task-group, the user can select at whic

Re: [PATCH v3 2/9] dt-bindings: ti-lmu: Remove LM3697

2018-10-19 Thread Tony Lindgren
* Dan Murphy [181019 11:42]: > On 10/18/2018 05:10 PM, Pavel Machek wrote: > > > > Now... this is what I've suggested before. If you don't agree, you may > > want to contact Tony Lindgren, IIRC he works for TI, too, and might be > > willing to help. > > I will ping Tony just to close the loop. I

Re: [PATCH v4] PCI/AER: Enable error reporting for all ports

2018-10-19 Thread Keith Busch
On Thu, Oct 18, 2018 at 08:11:35PM -0500, Bjorn Helgaas wrote: > On Thu, Oct 18, 2018 at 05:03:13PM -0600, Keith Busch wrote: > > On Thu, Oct 18, 2018 at 03:53:58PM -0500, Bjorn Helgaas wrote: > > > Change the AER service driver so it binds to *all* PCIe Ports, > > > including Switch Upstream and D

Re: [RFC v4 PATCH 2/5] mm/__free_one_page: skip merge for order-0 page unless compaction failed

2018-10-19 Thread Daniel Jordan
On Fri, Oct 19, 2018 at 09:54:35AM +0100, Mel Gorman wrote: > On Fri, Oct 19, 2018 at 01:57:03PM +0800, Aaron Lu wrote: > > > > > > I don't think this is the right way of thinking about it because it's > > > possible to have the system split in such a way so that the migration > > > scanner only e

[PATCH] mcb: fix a missing-check bug

2018-10-19 Thread Wenwen Wang
In chameleon_parse_cells(), to parse each cell, the descriptor type 'dtype' is acquired from the IO memory region pointed by 'p' through readl() in get_next_dtype(). Then 'dtype' is checked to see whether it is CHAMELEON_DTYPE_GENERAL. If yes, chameleon_parse_gdd() is invoked to parse Chameleon gen

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-10-19 Thread Steven Rostedt
On Fri, 19 Oct 2018 20:18:19 +0530 Sai Prakash Ranjan wrote: > > You said that if you add 'ftrace_filter=msm_read' to the command line, > > it still crashes? > > > > So only tracing that function we have an issue, right? > > > > Tracing msm_read does cause the crash, but that is not the onl

Re: [PATCH v3 3/4] arm64: implement live patching

2018-10-19 Thread Miroslav Benes
> >If I am not mistaken, we do not care for arch.init.plt in livepatch. Is > >that correct? > > I do not believe patching of __init functions is supported (right?) So > we do not need to keep arch.init.plt alive post-module-load. I think we can do that. Theoretically. I'm not sure if it is actu

[PATCH] ARM: dts: imx6ul: ccimx6ulsom: Add support for wireless SOM variant

2018-10-19 Thread Alex Gonzalez
The wireless variants of the ConnecCore 6UL SOM include a Qualcomm QCA6564 wireless chip with dual WiFi and Bluetooth. Both the ConnectCore 6UL SBC Express and Pro boards fit a wireless SOM. The Wifi is connected through the SDIO interface on usdhc1 and the Bluetooth is connected via uart1. Sign

[PATCH] ARM: dts: imx6ul: ccimx6ulsom: Add support for wireless SOM variant

2018-10-19 Thread Alex Gonzalez
The wireless variants of the ConnecCore 6UL SOM include a Qualcomm QCA6564 wireless chip with dual WiFi and Bluetooth. The QCA6564 uses the out-of-tree driver at: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-2.0/ Blueooth uses the HCI H4 UART driver. Alex Gon

Re: [RFC 00/60] Coscheduling for Linux

2018-10-19 Thread Rik van Riel
On Fri, 2018-10-19 at 13:40 +0200, Jan H. Schönherr wrote: > > Now, it would be possible to "invent" relocatable cpusets to address > that > issue ("I want affinity restricted to a core, I don't care which"), > but > then, the current way how cpuset affinity is enforced doesn't scale > for > makin

Re: [PATCH v3 3/4] arm64: implement live patching

2018-10-19 Thread Miroslav Benes
> >> Ad relocations. I checked that everything in struct mod_arch_specific > >> stays after the module is load. Both core and init get SHF_ALLOC set > >> (mod->arch.core.plt->sh_flags in module_frob_arch_sections(). It is > >> important because apply_relocate_add() may use those sections > >> thr

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-19 Thread Marc Zyngier
Hi Lokesh, On 18/10/18 16:40, Lokesh Vutla wrote: > Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator > which is an interrupt controller that does the following: > - Converts events to interrupts that can be understood by > an interrupt router. > - Allows for multiplexing of e

Re: [PATCH] genirq: Fix race on spurious interrupt detection

2018-10-19 Thread Lukas Wunner
On Fri, Oct 19, 2018 at 04:31:30PM +0200, Thomas Gleixner wrote: > On Thu, 18 Oct 2018, Lukas Wunner wrote: > > Commit 1e77d0a1ed74 ("genirq: Sanitize spurious interrupt detection of > > threaded irqs") made detection of spurious interrupts work for threaded > > handlers by: > > > > a) incrementin

Re: TSC to Mono-raw Drift

2018-10-19 Thread Thomas Gleixner
Christopher, Please Cc LKML on such issues in the future. On Mon, 15 Oct 2018, Christopher Hall wrote: Leaving context around for new readers: > Problem Statement: > > The TSC clocksource mult/shift values are derived from CPUID[15H], but the > monotonic raw clock value is not equal to TSC in

Re: [PATCH] genirq: Fix race on spurious interrupt detection

2018-10-19 Thread Thomas Gleixner
On Fri, 19 Oct 2018, Lukas Wunner wrote: > On Fri, Oct 19, 2018 at 04:31:30PM +0200, Thomas Gleixner wrote: > > I doubt that this can happen in reality, so I'd rather reword that > > paragraph slightly: > > > > In theory high CPU load and in the presence of higher priority tasks, the > > numbe

Re: [PATCH V2] perf arm64: Fix generate system call table failed with /tmp mounted with noexec

2018-10-19 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 19, 2018 at 11:22:38AM -0400, Sébastien Boisvert escreveu: > > > On 2018-10-18 10:16 p.m., Hongxu Jia wrote: > > When /tmp is mounted with noexec, mksyscalltbl fails. > > [snip] > > |perf-1.0/tools/perf/arch/arm64/entry/syscalls//mksyscalltbl: > > /tmp/create-table-6VGPSt: Permission

RE: [PATCH 1/2] dt-bindings: phy: Document cadence Sierra PHY bindings

2018-10-19 Thread Alan Douglas
On 15 October 2018 20:09, Rob Herring wrote: > On Wed, Oct 03, 2018 at 05:02:25PM +0100, Alan Douglas wrote: > > Add DT binding documentation for Sierra PHY. The PHY supports > > a number of different protocols, including PCIe and USB. > > > > The PHY lanes may be configured as single or multi-lan

Re: [PATCH V2] perf arm64: Fix generate system call table failed with /tmp mounted with noexec

2018-10-19 Thread Sébastien Boisvert
On 2018-10-18 10:16 p.m., Hongxu Jia wrote: > When /tmp is mounted with noexec, mksyscalltbl fails. > [snip] > |perf-1.0/tools/perf/arch/arm64/entry/syscalls//mksyscalltbl: > /tmp/create-table-6VGPSt: Permission denied > [snip] > > Add variable TMPDIR as prefix dir of the temporary file, if it

Re: [PATCH RFC 1/1] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-10-19 Thread Lina Iyer
Hi folks, On Wed, Oct 10 2018 at 18:30 -0600, Lina Iyer wrote: QCOM SoC's that have Power Domain Controller (PDC) chip in the always-on domain can wakeup the SoC, when interrupts and GPIOs are routed to its interrupt controller. Only select GPIOs that are deemed wakeup capable are routed to spec

Re: [RFC 00/60] Coscheduling for Linux

2018-10-19 Thread Frederic Weisbecker
On Fri, Oct 19, 2018 at 11:16:49AM -0400, Rik van Riel wrote: > On Fri, 2018-10-19 at 13:40 +0200, Jan H. Schönherr wrote: > > > > Now, it would be possible to "invent" relocatable cpusets to address > > that > > issue ("I want affinity restricted to a core, I don't care which"), > > but > > then,

[tip:irq/core] genirq: Fix race on spurious interrupt detection

2018-10-19 Thread tip-bot for Lukas Wunner
Commit-ID: 746a923b863a1065ef77324e1e43f19b1a3eab5c Gitweb: https://git.kernel.org/tip/746a923b863a1065ef77324e1e43f19b1a3eab5c Author: Lukas Wunner AuthorDate: Thu, 18 Oct 2018 15:15:05 +0200 Committer: Thomas Gleixner CommitDate: Fri, 19 Oct 2018 17:31:00 +0200 genirq: Fix race on sp

Re: [PATCH v2 2/5] uapi: deprecate STATX_ALL

2018-10-19 Thread David Howells
Miklos Szeredi wrote: > +/* > + * This is deprecated, and shall remain the same value in the future. To > avoid > + * confusion please use the equivalent (STATX_BASIC_STATS | STATX_BTIME) > + * instead. > + */ > +#define STATX_ALL0x0fffU The comment is misleading. STATX_ALL is

Re: [PATCH v2 3/5] statx: add STATX_ATTRIBUTES flag

2018-10-19 Thread David Howells
Miklos Szeredi wrote: > FUSE will want to know if stx_attributes is interesting or not, because > there's a non-zero cost of retreiving it. > > This just a "want" flag, since stx_attributes_mask already indicates > whether we "got" stx_attributes or not. > > Signed-off-by: Miklos Szeredi > Cc:

Re: [PATCH v5 07/17] arm64: add basic pointer authentication support

2018-10-19 Thread Kees Cook
On Fri, Oct 19, 2018 at 4:24 AM, Will Deacon wrote: > [+Cyrill Gorcunov for CRIU stuff] > > On Fri, Oct 19, 2018 at 12:15:43PM +0100, Catalin Marinas wrote: >> On Fri, Oct 05, 2018 at 09:47:44AM +0100, Kristina Martsenko wrote: >> > diff --git a/arch/arm64/include/asm/pointer_auth.h >> > b/arch/a

Re: [RFC PATCH v2 0/8] lru_lock scalability and SMP list functions

2018-10-19 Thread Daniel Jordan
On Fri, Oct 19, 2018 at 01:35:11PM +0200, Vlastimil Babka wrote: > On 9/11/18 2:42 AM, Daniel Jordan wrote: > > On large systems, lru_lock can become heavily contended in memory-intensive > > workloads such as decision support, applications that manage their memory > > manually by allocating and fr

Re: [PATCH v2 4/5] statx: don't clear STATX_ATIME on SB_RDONLY

2018-10-19 Thread David Howells
Miklos Szeredi wrote: > IS_NOATIME(inode) is defined as __IS_FLG(inode, SB_RDONLY|SB_NOATIME), so > generic_fillattr() will clear STATX_ATIME from the result_mask if the super > block is marked read only. > > This was probably not the intention, so fix to only clear STATX_ATIME if > the fs doesn

Re: [PATCH V2] perf arm64: Fix generate system call table failed with /tmp mounted with noexec

2018-10-19 Thread Hongxu Jia
On 2018/10/19 下午11:30, Arnaldo Carvalho de Melo wrote: Exactly. So, to move forward, just send a new patch specifically for this part, i.e. the removal of the harmless but unneeded extra slash, the other part I already took care of. Got it, I will send a new patch for the removal of the harmle

Re: [PATCH v2 2/5] uapi: deprecate STATX_ALL

2018-10-19 Thread Miklos Szeredi
On Fri, Oct 19, 2018 at 5:35 PM, David Howells wrote: > Miklos Szeredi wrote: > >> +/* >> + * This is deprecated, and shall remain the same value in the future. To >> avoid >> + * confusion please use the equivalent (STATX_BASIC_STATS | STATX_BTIME) >> + * instead. >> + */ >> +#define STATX_ALL

Re: [PATCH v2 5/5] nfs: don't clear STATX_ATIME from result_mask

2018-10-19 Thread David Howells
Miklos Szeredi wrote: > As per statx(2) man page only clear out flags that are unsupported by the > fs or have an unrepresentable value. Atime is supported by NFS as long as > it's supported on the server. > > So the STATX_ATIME flag should not be cleared in the result_mask if the > operation w

Re: [PATCH 4.18 00/53] 4.18.16-stable review

2018-10-19 Thread Greg Kroah-Hartman
On Fri, Oct 19, 2018 at 09:43:30AM -0300, Rafael David Tinoco wrote: > On Thu, Oct 18, 2018 at 2:53 PM, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.18.16 release. > > There are 53 patches in this series, all will be posted as a response > > to this one.

Re: CRC errors between mvneta and macb

2018-10-19 Thread Willy Tarreau
On Fri, Oct 19, 2018 at 05:15:03PM +0200, Richard Genoud wrote: > When there's a CRC error, the TXCLK has its polarity inverted... > That's a clue ! > > But this TXCLK (25MHz) is not used on the g35-ek. > Only the REFCLK/XT2 (50MHz) is used to synchronise the PHY and the macb. > So I guess that th

Re: [RFC 00/60] Coscheduling for Linux

2018-10-19 Thread Rik van Riel
On Fri, 2018-10-19 at 17:33 +0200, Frederic Weisbecker wrote: > On Fri, Oct 19, 2018 at 11:16:49AM -0400, Rik van Riel wrote: > > On Fri, 2018-10-19 at 13:40 +0200, Jan H. Schönherr wrote: > > > > > > Now, it would be possible to "invent" relocatable cpusets to > > > address > > > that > > > issue

Re: [PATCH] coresight: tmc: Fix bad register address for CLAIM

2018-10-19 Thread Mathieu Poirier
On Thu, 18 Oct 2018 at 22:56, Leo Yan wrote: > > Commit 4d3ebd3658d8 ("coreisght: tmc: Claim device before use") uses > CLAIM tag to validate if the device is available, it needs to pass > the device base address to access related registers. > > In the function tmc_etb_disable_hw() it wrongly pass

Re: [PATCH v2 2/5] uapi: deprecate STATX_ALL

2018-10-19 Thread David Howells
Miklos Szeredi wrote: > What is misleading about this? The manpage says: STATX_ALL [All currently available fields] > If you feel confused by this comment, then maybe I should just drop that part. I think that would be better. Don't try to give it a definition. David

Re: [PATCH 4.9 00/35] 4.9.135-stable review

2018-10-19 Thread Guenter Roeck
On Thu, Oct 18, 2018 at 07:54:29PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.135 release. > There are 35 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 4.14 00/41] 4.14.78-stable review

2018-10-19 Thread Guenter Roeck
On Thu, Oct 18, 2018 at 07:54:15PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.78 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH v5 2/3] clk: meson: add DT documentation for emmc clock controller

2018-10-19 Thread Jianxin Pan
On 2018/10/19 1:08, Stephen Boyd wrote: > Quoting Jianxin Pan (2018-10-17 22:07:24) >> diff --git a/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt >> b/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt >> new file mode 100644 >> index 000..9e6d343 >> --- /dev/null >> +

Re: [PATCH 4.18 00/53] 4.18.16-stable review

2018-10-19 Thread Guenter Roeck
On Thu, Oct 18, 2018 at 07:53:53PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.16 release. > There are 53 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

[PATCH] perf arm64 Makefile: remove harmless but unneeded extra slash

2018-10-19 Thread Hongxu Jia
Fixes: 2b5882435606 ("perf arm64: Generate system call table from asm/unistd.h") Signed-off-by: Hongxu Jia --- tools/perf/arch/arm64/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/arch/arm64/Makefile b/tools/perf/arch/arm64/Makefile index dbef716..bc2a284

Re: [PATCH v2 5/5] nfs: don't clear STATX_ATIME from result_mask

2018-10-19 Thread Trond Myklebust
On Fri, 2018-10-19 at 14:20 +0200, Miklos Szeredi wrote: > As per statx(2) man page only clear out flags that are unsupported by > the > fs or have an unrepresentable value. Atime is supported by NFS as > long as > it's supported on the server. > > So the STATX_ATIME flag should not be cleared in

Re: [PATCH RFC 1/1] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-10-19 Thread Marc Zyngier
Hi Lina, On 19/10/18 16:32, Lina Iyer wrote: > Hi folks, > > On Wed, Oct 10 2018 at 18:30 -0600, Lina Iyer wrote: >> QCOM SoC's that have Power Domain Controller (PDC) chip in the always-on >> domain can wakeup the SoC, when interrupts and GPIOs are routed to its >> interrupt controller. Only sel

KASAN: use-after-free Read in kobject_put

2018-10-19 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:fa520c47eaa1 fscache: Fix out of bound read in long cookie.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15f664f640 kernel config: https://syzkaller.appspot.com/x/.config?x=b3f55cb3dfcc6c33 da

[PATCH 1/1] ASoC: cs42l51: fix mclk support

2018-10-19 Thread Olivier Moysan
Fixes: 5e8d63a726f8 ("ASoC: cs42l51: add mclk support") The MCLK clock is made optional for cs42l51 codec. However, ASoC DAPM clock supply widget, expects the clock to be defined unconditionally. Register MCLK DAPM conditionally in codec driver, depending on clock presence in DT. Signed-off-by: O

[Bug] altera_cvp registers a PCI device (Altera/Intel FPGA) without verifying that it supports CVP

2018-10-19 Thread Andreas Puhm
Hello, I hope the following information is descriptive enough. If this is no the case, I will provide further details. Full description: The altera_cvp probe function only checks, if the Altera/Intel PCI device configuration sp

Re: [PATCH v2 6/5] statx: add STATX_RESULT_MASK flag

2018-10-19 Thread David Howells
Miklos Szeredi wrote: > FUSE needs this, because it uses legacy inode initialization, that doesn't > return a result_mask, so needs a refresh when caller asks for it with > statx(). Can't you just make it up in fuse? Presumably, fuse doesn't support any of the non-basic statx fields either? >

Kannst du mir helfen?

2018-10-19 Thread Mrs. Michelle Richard
Lieber geliebter, Bitte lesen Sie dies langsam und sorgfältig, da es eine der wichtigsten E-Mails sein kann, die Sie jemals bekommen.Ich bin Frau Michelle Richard, ich war mit dem verstorbenen Robert Richard verheiratet.Er arbeitete früher mit Shell Petroleum Development Company London und war auc

[PATCH 1/6] mm/hmm: fix utf8 ...

2018-10-19 Thread jglisse
From: Jérôme Glisse Somehow utf=8 must have been broken. Signed-off-by: Jérôme Glisse Cc: Andrew Morton --- include/linux/hmm.h | 2 +- mm/hmm.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/hmm.h b/include/linux/hmm.h index 4c92e3ba3e16..1ff4

[PATCH 6/6] mm/hmm: invalidate device page table at start of invalidation

2018-10-19 Thread jglisse
From: Jérôme Glisse Invalidate device page table at start of invalidation and invalidate in progress CPU page table snapshooting at both start and end of any invalidation. This is helpful when device need to dirty page because the device page table report the page as dirty. Dirtying page must ha

[PATCH 5/6] mm/hmm: use a structure for update callback parameters v2

2018-10-19 Thread jglisse
From: Jérôme Glisse Use a structure to gather all the parameters for the update callback. This make it easier when adding new parameters by avoiding having to update all callback function signature. The hmm_update structure is always associated with a mmu_notifier callbacks so we are not planing

[PATCH 2/6] mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly v3

2018-10-19 Thread jglisse
From: Ralph Campbell Private ZONE_DEVICE pages use a special pte entry and thus are not present. Properly handle this case in map_pte(), it is already handled in check_pte(), the map_pte() part was lost in some rebase most probably. Without this patch the slow migration path can not migrate back

[PATCH 4/6] mm/hmm: properly handle migration pmd v3

2018-10-19 Thread jglisse
From: Jérôme Glisse Before this patch migration pmd entry (!pmd_present()) would have been treated as a bad entry (pmd_bad() returns true on migration pmd entry). The outcome was that device driver would believe that the range covered by the pmd was bad and would either SIGBUS or simply kill all

[PATCH 3/6] mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callback

2018-10-19 Thread jglisse
From: Ralph Campbell In hmm_mirror_unregister(), mm->hmm is set to NULL and then mmu_notifier_unregister_no_release() is called. That creates a small window where mmu_notifier can call mmu_notifier_ops with mm->hmm equal to NULL. Fix this by first unregistering mmu notifier callbacks and then set

[PATCH 0/6] HMM updates, improvements and fixes v2

2018-10-19 Thread jglisse
From: Jérôme Glisse [Andrew this is for 4.20, stable fixes as cc to stable] Few fixes that only affect HMM users. Improve the synchronization call back so that we match was other mmu_notifier listener do and add proper support to the new blockable flags in the process. For curious folks here ar

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-19 Thread Rob Herring
On Thu, Oct 18, 2018 at 7:06 PM Frank Rowand wrote: > > On 10/18/18 12:32, Rob Herring wrote: > > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > >> From: Frank Rowand > >> > >> When an overlay is applied or removed, the live devicetree visible in > >> /proc/device-tree/

Applied "ASoC: cs42l51: fix mclk support" to the asoc tree

2018-10-19 Thread Mark Brown
The patch ASoC: cs42l51: fix mclk support has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Applied "regulator: lochnagar: Use a consisent comment style for SPDX header" to the regulator tree

2018-10-19 Thread Mark Brown
The patch regulator: lochnagar: Use a consisent comment style for SPDX header has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in

Re: [PATCH 1/1] ASoC: cs42l51: fix mclk support

2018-10-19 Thread Mark Brown
On Fri, Oct 19, 2018 at 05:56:35PM +0200, Olivier Moysan wrote: > Fixes: 5e8d63a726f8 ("ASoC: cs42l51: add mclk support") > > The MCLK clock is made optional for cs42l51 codec. > However, ASoC DAPM clock supply widget, expects the clock to be defined > unconditionally. > Register MCLK DAPM conditi

Re: [PATCH 06/15] Platform: OLPC: Add XO-1.75 EC driver

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:24 PM Lubomir Rintel wrote: > > It's based off the driver from the OLPC kernel sources. Somewhat > modernized and cleaned up, for better or worse. > > Modified to plug into the olpc-ec driver infrastructure (so that battery > interface and debugfs could be reused) and the

Re: [PATCH v5 3/3] clk: meson: add sub MMC clock controller driver

2018-10-19 Thread Jianxin Pan
On 2018/10/19 1:13, Stephen Boyd wrote: > Quoting Jianxin Pan (2018-10-17 22:07:25) >> diff --git a/drivers/clk/meson/clk-regmap.c b/drivers/clk/meson/clk-regmap.c >> index 305ee30..f96314d 100644 >> --- a/drivers/clk/meson/clk-regmap.c >> +++ b/drivers/clk/meson/clk-regmap.c >> @@ -113,8 +113,25 @

RE: [tip:irq/core] genirq: Fix race on spurious interrupt detection

2018-10-19 Thread David Laight
From: Lukas Wunner > Sent: 19 October 2018 16:34 > > genirq: Fix race on spurious interrupt detection > > Commit 1e77d0a1ed74 ("genirq: Sanitize spurious interrupt detection of > threaded irqs") made detection of spurious interrupts work for threaded > handlers by: > > a) incrementing a counter

Re: [PATCH] selftests/kvm: add missing executables to .gitignore

2018-10-19 Thread Paolo Bonzini
On 19/10/2018 16:38, Anders Roxell wrote: > Fixes: 18178ff86217 ("KVM: selftests: add Enlightened VMCS test") > Signed-off-by: Anders Roxell > --- > tools/testing/selftests/kvm/.gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/kvm/.gitignore > b/tools/t

<    1   2   3   4   5   >