Re: [PATCH i2c-next v3 2/3] i2c: aspeed: Add 'aspeed,timeout' DT property reading code

2018-09-27 Thread Jae Hyun Yoo
Hi Joel, On 9/26/2018 8:11 PM, Joel Stanley wrote: On Thu, 27 Sep 2018 at 01:58, Jae Hyun Yoo wrote: +/* Timeout */ +#define ASPEED_I2C_BUS_TIMEOUT_US_DEFAULT (5 * 1000 * 1000) The 5 seconds time out is way too long. On a system that doesn't have functional i2c, this holds up b

Re: [PATCH v5 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Rob Herring
On Tue, Sep 25, 2018 at 06:52:29PM -0700, Guenter Roeck wrote: > Hi Nicolin, > > On 09/25/2018 03:59 PM, Nicolin Chen wrote: > > Texas Instruments INA3221 is a triple-channel shunt and bus > > voltage monitor. This patch adds a DT binding doc for it. > > > > Signed-off-by: Nicolin Chen > > --- >

Re: [PATCH v5 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Rob Herring
On Tue, Sep 25, 2018 at 03:59:29PM -0700, Nicolin Chen wrote: > Texas Instruments INA3221 is a triple-channel shunt and bus > voltage monitor. This patch adds a DT binding doc for it. > > Signed-off-by: Nicolin Chen > --- > Changelog > v4->v5: > * Replaced "input-id" with "reg" and added address

Re: [PATCH 07/12] drm/sun4i: sun6i_mipi_dsi: Fix TCON DRQ set bits

2018-09-27 Thread Jagan Teki
On Thu, Sep 27, 2018 at 10:28 PM Maxime Ripard wrote: > > On Thu, Sep 27, 2018 at 05:18:45PM +0530, Jagan Teki wrote: > > TCON DRQ set bits for non-burst DSI mode can computed via > > horizontal front porch instead of front porch + sync timings. > > > > Since there no documentation for TCON_DRQ_RE

[PATCH] mm: Introduce new function vm_insert_kmem_page

2018-09-27 Thread Souptick Joarder
vm_insert_kmem_page is similar to vm_insert_page and will be used by drivers to map kernel (kmalloc/vmalloc/pages) allocated memory to user vma. Previously vm_insert_page is used for both page fault handlers and outside page fault handlers context. When vm_insert_page is used in page fault handler

Re: sdhci driver card-detect is broken because gpiolib can't fallback to _CRS?

2018-09-27 Thread Rajat Jain
On Thu, Sep 27, 2018 at 12:26 AM Andy Shevchenko wrote: > > On Wed, Sep 26, 2018 at 10:26 PM Rajat Jain wrote: > > On Wed, Sep 26, 2018 at 1:42 AM Andy Shevchenko > > wrote: > > > On Wed, Sep 26, 2018 at 10:49 AM Mika Westerberg > > > wrote: > > > > > Or you can use con_id= everywhere and suppl

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

2018-09-27 Thread Cong Wang
On Thu, Sep 27, 2018 at 1:11 AM Dmitry Vyukov wrote: > > Would a stack trace for call_rcu be helpful here? I have this idea for > a long time, but never get around to implementing it: > https://bugzilla.kernel.org/show_bug.cgi?id=198437 Yes. Generally speaking, showing backtrace of call_rcu() or

[PATCH net-next 0/7] rtnetlink: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH net-next 7/7] rtnetlink: enable RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH net-next 5/7] phonet: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH net-next 1/7] rtnetlink: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH net-next 6/7] selinux: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

Re: [PATCH 4.14 49/64] drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation

2018-09-27 Thread Jon Hunter
Hi Greg, Lyude, On 27/09/18 10:04, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Lyude Paul > > commit 3c499ea0c662e2f38aafbd4f516b08aab8cfa0e5 upstream. > > As pointed out by Daniel Vetter, we should

[PATCH net-next 4/7] decnet: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH net-next 3/7] ipv6: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH net-next 2/7] ipv4: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
Various userspace programs (e.g. iproute2) have sent RTM_GETADDR requests with struct ifinfomsg. This is wrong and should have been struct ifaddrmsg all along as mandated by the manpages. However, dump requests so far didn't parse the netlink message that was sent and succeeded even when a wrong st

[PATCH v2] reset: Exclusive resets must be dedicated to a single hardware block

2018-09-27 Thread Geert Uytterhoeven
In some SoCs multiple hardware blocks may share a reset control. The reset control API for shared resets will only assert such a reset when the drivers for all hardware blocks agree. The exclusive reset control API still allows to assert such a reset, but that impacts all other hardware blocks shar

Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-09-27 Thread Scott Branden
On 18-09-27 10:31 AM, Florian Fainelli wrote: On 09/27/2018 10:27 AM, Rob Herring wrote: On Thu, Sep 27, 2018 at 09:06:41PM +0530, Srinath Mannam wrote: From: Pramod Kumar Add binding document for supported thermal implementation in Stingray. Signed-off-by: Pramod Kumar Signed-off-by: Sr

Re: [PATCH] rseq/selftests: fix parametrized test with -fpie

2018-09-27 Thread Mathieu Desnoyers
- On Sep 27, 2018, at 9:58 AM, Shuah Khan shuah...@samsung.com wrote: > On 09/27/2018 07:22 AM, Steven Rostedt wrote: >> On Tue, 25 Sep 2018 13:39:36 -0400 (EDT) >> Mathieu Desnoyers wrote: >> >>> - On Sep 18, 2018, at 9:53 AM, Mathieu Desnoyers >>> mathieu.desnoy...@efficios.com wrote:

Re: [PATCH v7 4/6] files: add a replace_fd_files() function

2018-09-27 Thread Tycho Andersen
On Thu, Sep 27, 2018 at 06:49:02PM +0200, Jann Horn wrote: > On Thu, Sep 27, 2018 at 5:11 PM Tycho Andersen wrote: > > Similar to fd_install/__fd_install, we want to be able to replace an fd of > > an arbitrary struct files_struct, not just current's. We'll use this in the > > next patch to implem

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

2018-09-27 Thread Dmitry Vyukov
On Thu, Sep 27, 2018 at 7:50 PM, Cong Wang wrote: > On Thu, Sep 27, 2018 at 1:11 AM Dmitry Vyukov wrote: >> >> Would a stack trace for call_rcu be helpful here? I have this idea for >> a long time, but never get around to implementing it: >> https://bugzilla.kernel.org/show_bug.cgi?id=198437 > >

Re: [PATCH v3] staging: ks7010: Add null pointer check for skb

2018-09-27 Thread Aymen Qader
Retraction: in hindsight I see that with the current usage of this function, there is already a check for the socket buffer so this check is unnecessary. However, I'm not sure if it's considered good practice to keep this check anyway--in any case, ENOMEM isn't the right error to return. On Thu, S

Re: [PATCH] drivers: irqchip: pdc: setup all edge interrupts as rising edge at GIC

2018-09-27 Thread Evan Green
On Thu, Sep 27, 2018 at 10:18 AM Lina Iyer wrote: > > The PDC irqchp can convert a falling edge or level low interrupt to a > rising edge or level high interrupt at the GIC. We just need to setup > the GIC correctly. Set up the interrupt type for the IRQ_TYPE_EDGE_BOTH > as IRQ_TYPE_EDGE_RISING at

[PATCH v2] drm/amd/display: Use proper enums in process_channel_reply

2018-09-27 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:315:19: warning: implicit conversion from enumeration type 'enum aux_channel_operation_result' to different enumeration type 'enum aux_transaction_reply' [-Wenum-conversi

Re: [patch V3 09/11] x86/mm/cpa: Optimize same protection check

2018-09-27 Thread Thomas Gleixner
On Fri, 21 Sep 2018, Dave Hansen wrote: > On 09/17/2018 07:29 AM, Thomas Gleixner wrote: > > When the existing mapping is correct and the new requested page protections > > are the same as the existing ones, then further checks can be omitted and > > the > > large page can be preserved. The slow p

Re: [PATCH v2] drm/amd/display: Use proper enums in process_channel_reply

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 11:06:33AM -0700, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:315:19: warning: > implicit conversion from enumeration type 'enum > aux_channel_operation_result

Re: [PATCH v7 3/6] seccomp: add a way to get a listener fd from ptrace

2018-09-27 Thread Tycho Andersen
On Thu, Sep 27, 2018 at 07:35:06PM +0200, Jann Horn wrote: > On Thu, Sep 27, 2018 at 5:11 PM Tycho Andersen wrote: > > > > As an alternative to SECCOMP_FILTER_FLAG_GET_LISTENER, perhaps a ptrace() > > version which can acquire filters is useful. There are at least two reasons > > this is preferabl

Re: [PATCH] rseq/selftests: fix parametrized test with -fpie

2018-09-27 Thread Shuah Khan
On 09/27/2018 12:02 PM, Mathieu Desnoyers wrote: > - On Sep 27, 2018, at 9:58 AM, Shuah Khan shuah...@samsung.com wrote: > >> On 09/27/2018 07:22 AM, Steven Rostedt wrote: >>> On Tue, 25 Sep 2018 13:39:36 -0400 (EDT) >>> Mathieu Desnoyers wrote: >>> - On Sep 18, 2018, at 9:53 AM, Mat

Re: [PATCH v2] drm/amd/display: Use proper enums in process_channel_reply

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 11:08 AM Nathan Chancellor wrote: > > On Thu, Sep 27, 2018 at 11:06:33AM -0700, Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another. > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:315:19: warning: > > implicit

Re: [RFC 00/60] Coscheduling for Linux

2018-09-27 Thread Subhra Mazumdar
On 09/24/2018 08:43 AM, Jan H. Schönherr wrote: On 09/19/2018 11:53 PM, Subhra Mazumdar wrote: Can we have a more generic interface, like specifying a set of task ids to be co-scheduled with a particular level rather than tying this with cgroups? KVMs may not always run with cgroups and there

Re: [PATCH v4 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver

2018-09-27 Thread Rob Herring
On Thu, Sep 20, 2018 at 04:50:48PM +0800, Jianxin Pan wrote: > From: Liang Yang > > Add Amlogic NAND controller dt-bindings for Meson SoC, > Current this driver support GXBB/GXL/AXG platform. > > Signed-off-by: Liang Yang > Signed-off-by: Yixun Lan > --- > .../devicetree/bindings/mtd/amlogic,

Re: [PATCH] rseq/selftests: fix parametrized test with -fpie

2018-09-27 Thread Paul E. McKenney
On Thu, Sep 27, 2018 at 02:02:08PM -0400, Mathieu Desnoyers wrote: > - On Sep 27, 2018, at 9:58 AM, Shuah Khan shuah...@samsung.com wrote: > > > On 09/27/2018 07:22 AM, Steven Rostedt wrote: > >> On Tue, 25 Sep 2018 13:39:36 -0400 (EDT) > >> Mathieu Desnoyers wrote: > >> > >>> - On Sep 1

Re: [PATCH 0/8] add generic builtin command line

2018-09-27 Thread Daniel Walker
On 09/27/2018 10:05 AM, Ard Biesheuvel wrote: On 27 September 2018 at 18:55, Maksym Kokhan wrote: There were series of patches [1] for 4.3.0-rc3, that allowed architectures to use a generic builtin command line. I have rebased these patches on kernel 4.19.0-rc4. Could you please elaborate on

Re: [PATCH] Reduce boot header size with 1 byte

2018-09-27 Thread Brian Gerst
On Thu, Sep 27, 2018 at 9:42 AM wrote: > > From: Alexander F. Rødseth > > Only ah needs to be set to 0 before calling interrupt 0x16 for waiting > for a keypress. > > This patch changes the line that uses xor so that it only zeroes "ah" instead > of "ax". > This saves a byte. > > Signed-off-by:

Re: [PATCH v4 7/7] [media] ad5820: DT new compatible devices

2018-09-27 Thread Rob Herring
On Thu, 20 Sep 2018 22:47:51 +0200, Ricardo Ribalda Delgado wrote: > Document new compatible devices. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Ricardo Ribalda Delgado > --- > Documentation/devicetree/bindings/media/i2c/ad5820.txt | 5 - > 1 file changed, 4 insertions(+), 1 deletio

Re: [PATCH v4 3/7] [media] ad5820: DT new optional field enable-gpios

2018-09-27 Thread Rob Herring
On Thu, Sep 20, 2018 at 10:47:47PM +0200, Ricardo Ribalda Delgado wrote: > Document new enable-gpio field. It can be used to disable the part enable-gpios > without turning down its regulator. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Ricardo Ribalda Delgado > Acked-by: Pavel Machek

[PATCH TRIVIAL v3 1/3] CREDITS: punctuation fix

2018-09-27 Thread Diego Viola
Signed-off-by: Diego Viola --- CREDITS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CREDITS b/CREDITS index 5befd2d71..b82efb36d 100644 --- a/CREDITS +++ b/CREDITS @@ -1473,7 +1473,7 @@ W: http://www.linux-ide.org/ W: http://www.linuxdiskcert.org/ D: Random SMP kernel hac

[PATCH TRIVIAL v3 3/3] Makefile: punctuation fix

2018-09-27 Thread Diego Viola
Signed-off-by: Diego Viola --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0c90c4354..3dd188d52 100644 --- a/Makefile +++ b/Makefile @@ -1099,7 +1099,7 @@ archprepare: archheaders archscripts prepare1 scripts_basic prepare0: archprepare

[PATCH TRIVIAL v3 2/3] MAINTAINERS: punctuation fix

2018-09-27 Thread Diego Viola
Signed-off-by: Diego Viola --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 02a39617e..db46fa83c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -93,7 +93,7 @@ Descriptions of section entries: Supported: Someone is actu

[GIT PULL] Please pull RDMA subsystem changes

2018-09-27 Thread Jason Gunthorpe
Hi Greg, Second rc pull request This has a few fixes for smaller regressions introduced this cycle and the usual various driver oops fixes. There is one long standing race bug in the comp_channel that Steve was able to reproduce, track down and fix. I believe the HFI1 driver regression breakage

Re: [PATCH] rseq/selftests: fix parametrized test with -fpie

2018-09-27 Thread Shuah Khan
On 09/27/2018 12:10 PM, Shuah Khan wrote: > On 09/27/2018 12:02 PM, Mathieu Desnoyers wrote: >> - On Sep 27, 2018, at 9:58 AM, Shuah Khan shuah...@samsung.com wrote: >> >>> On 09/27/2018 07:22 AM, Steven Rostedt wrote: On Tue, 25 Sep 2018 13:39:36 -0400 (EDT) Mathieu Desnoyers wrote:

Re: [PATCH net-next v6 00/23] WireGuard: Secure Network Tunnel

2018-09-27 Thread Eric Biggers
On Tue, Sep 25, 2018 at 04:55:59PM +0200, Jason A. Donenfeld wrote: > > It is intended that this entire patch series enter the kernel through > DaveM's net-next tree. Subsequently, WireGuard patches will go through > DaveM's net-next tree, while Zinc patches will go through Greg KH's tree. > Why

Re: [PATCH resend] proc: restrict kernel stack dumps to root

2018-09-27 Thread Kees Cook
On Thu, Sep 27, 2018 at 8:33 AM, Jann Horn wrote: > Restrict the ability to inspect kernel stacks of arbitrary tasks to root > in order to prevent a local attacker from exploiting racy stack unwinding > to leak kernel task stack contents. > See the added comment for a longer rationale. > > There d

Re: [PATCH 0/2] boot to a mapped device

2018-09-27 Thread Mike Snitzer
On Thu, Sep 27 2018 at 12:36pm -0400, Kees Cook wrote: > On Thu, Sep 27, 2018 at 7:23 AM, Mike Snitzer wrote: > > On Wed, Sep 26 2018 at 3:16am -0400, > > Richard Weinberger wrote: > > > >> Helen, > >> > >> On Wed, Sep 26, 2018 at 7:01 AM Helen Koike > >> wrote: > >> > > >> > This series is

Re: [PATCH] mm: Introduce new function vm_insert_kmem_page

2018-09-27 Thread Michal Hocko
On Thu 27-09-18 23:21:23, Souptick Joarder wrote: > vm_insert_kmem_page is similar to vm_insert_page and will > be used by drivers to map kernel (kmalloc/vmalloc/pages) > allocated memory to user vma. > > Previously vm_insert_page is used for both page fault > handlers and outside page fault handl

Re: [RFC 00/60] Coscheduling for Linux

2018-09-27 Thread Subhra Mazumdar
On 09/26/2018 02:58 AM, Jan H. Schönherr wrote: On 09/17/2018 02:25 PM, Peter Zijlstra wrote: On Fri, Sep 14, 2018 at 06:25:44PM +0200, Jan H. Schönherr wrote: Assuming, there is a cgroup-less solution that can prevent simultaneous execution of tasks on a core, when they're not supposed to.

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-27 Thread Nicolin Chen
Hello Guenter, On Thu, Sep 27, 2018 at 09:05:09AM -0700, Guenter Roeck wrote: > > > Point is that I don't _know_ how this is going to be used, so I'd > > > rather keep it flexible. > > > > Well, taking one step back, I am okay to follow your way if you > > are really firm about it. Just please gi

[PATCH v2] rseq/selftests: fix parametrized test with -fpie

2018-09-27 Thread Mathieu Desnoyers
On x86-64, the parametrized selftest code for rseq crashes with a segmentation fault when compiled with -fpie. This happens when the param_test binary is loaded at an address beyond 32-bit on x86-64. The issue is caused by use of a 32-bit register to hold the address of the loop counter variable.

Re: [PATCH v5 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Nicolin Chen
On Thu, Sep 27, 2018 at 12:44:13PM -0500, Rob Herring wrote: > > +2) child nodes > > + Required properties: > > + - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of > > INA3221 > > + > > + Optional properties: > > + - label: Name of the input source > > + - shunt-resistor-micr

Re: [PATCH v4 06/20] dt-bindings: memory: tegra: Squash tegra20-gart into tegra20-mc

2018-09-27 Thread Rob Herring
On Mon, Sep 24, 2018 at 11:55:30AM +0200, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 03:41:39AM +0300, Dmitry Osipenko wrote: > > Splitting GART and Memory Controller wasn't a good decision that was made > > back in the day. Given that the GART driver wasn't ever been used by > > anything in t

Re: [PATCH v4 06/20] dt-bindings: memory: tegra: Squash tegra20-gart into tegra20-mc

2018-09-27 Thread Rob Herring
On Mon, 24 Sep 2018 03:41:39 +0300, Dmitry Osipenko wrote: > Splitting GART and Memory Controller wasn't a good decision that was made > back in the day. Given that the GART driver wasn't ever been used by > anything in the kernel, we decided that it will be better to correct the > mistakes of the

Re: [PATCH v14 08/19] signal: x86/sgx: Add SIGSEGV siginfo code for SGX EPCM fault

2018-09-27 Thread Eric W. Biederman
Jarkko Sakkinen writes: > From: Sean Christopherson > > The SGX Enclave Page Cache Map (EPCM) is a hardware-managed table > that enforces accesses to an enclave's EPC page in addition to the > software-managed kernel page tables, i.e. the effective permissions > for an EPC page are a logical AND

Re: [PATCH v4 2/2] dt-bindings: pinctrl: qcom: Add SDM660 pinctrl binding

2018-09-27 Thread Rob Herring
On Wed, 26 Sep 2018 17:26:43 +0100, Craig Tatlor wrote: > Add the binding for the TLMM pinctrl block found in the SDM660 platform. > > Signed-off-by: Craig Tatlor > --- > Changes from v3: >Updated for tile structure >change irq field > > .../bindings/pinctrl/qcom,sdm660-pinctrl.txt |

[tip:x86/mm] x86/mm/init32: Mark text and rodata RO in one go

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 2a25dc7c79c92c6cba45c6218c49395173be80bf Gitweb: https://git.kernel.org/tip/2a25dc7c79c92c6cba45c6218c49395173be80bf Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:07 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:37 +0200 x86/mm/init32: Mark

Re: [PATCH] btrfs: list usage cleanup

2018-09-27 Thread Omar Sandoval
On Wed, Sep 26, 2018 at 04:35:45PM +0800, zhong jiang wrote: > Trival cleanup, list_move_tail will implement the same function that > list_del() + list_add_tail() will do. hence just replace them. > > Signed-off-by: zhong jiang > --- > fs/btrfs/send.c | 3 +-- > 1 file changed, 1 insertion(+), 2

[tip:x86/mm] x86/mm/cpa: Split, rename and clean up try_preserve_large_page()

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 8679de0959e65ee7f78db6405a8d23e61665751d Gitweb: https://git.kernel.org/tip/8679de0959e65ee7f78db6405a8d23e61665751d Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:08 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:37 +0200 x86/mm/cpa: Split,

Re: [PATCH v4 1/6] mpt3sas: Introduce mpt3sas_base_pci_device_is_available

2018-09-27 Thread Bjorn Helgaas
[+cc Ben, Russell, Sam, Oliver in case they have pertinent experience from powerpc error handling; thread begins at https://lore.kernel.org/linux-pci/1537935759-14754-1-git-send-email-suganath-prabu.subram...@broadcom.com/] On Thu, Sep 27, 2018 at 09:03:27AM +0200, Lukas Wunner wrote: > On Wed, Se

[tip:x86/mm] x86/mm/cpa: Rework static_protections()

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: afd7969a99e072e6aa0d88511176d4d2f3009fd9 Gitweb: https://git.kernel.org/tip/afd7969a99e072e6aa0d88511176d4d2f3009fd9 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:09 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:37 +0200 x86/mm/cpa: Rework

[tip:x86/mm] x86/mm/cpa: Allow range check for static protections

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 91ee8f5c1f50a1f4096c178a93a8da46ce3f6cc8 Gitweb: https://git.kernel.org/tip/91ee8f5c1f50a1f4096c178a93a8da46ce3f6cc8 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:10 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:37 +0200 x86/mm/cpa: Allow r

[tip:x86/mm] x86/mm/cpa: Add debug mechanism

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 4046460b867f8b041c81c26c09d3bcad6d6e814e Gitweb: https://git.kernel.org/tip/4046460b867f8b041c81c26c09d3bcad6d6e814e Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:11 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:38 +0200 x86/mm/cpa: Add deb

[tip:x86/mm] x86/mm/cpa: Add large page preservation statistics

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 5c280cf6081ff99078e28b51172d78359f194fd9 Gitweb: https://git.kernel.org/tip/5c280cf6081ff99078e28b51172d78359f194fd9 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:12 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:38 +0200 x86/mm/cpa: Add lar

[tip:x86/mm] x86/mm/cpa: Avoid static protection checks on unmap

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 69c31e69df3d2efc4ad7f53d500fdd920d3865a4 Gitweb: https://git.kernel.org/tip/69c31e69df3d2efc4ad7f53d500fdd920d3865a4 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:13 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:38 +0200 x86/mm/cpa: Avoid s

[tip:x86/mm] x86/mm/cpa: Add sanity check for existing mappings

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: f61c5ba2885eabc7bc4b0b2f5232f475216ba446 Gitweb: https://git.kernel.org/tip/f61c5ba2885eabc7bc4b0b2f5232f475216ba446 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:14 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:39 +0200 x86/mm/cpa: Add san

[tip:x86/mm] x86/mm/cpa: Optimize same protection check

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 1c4b406ee89c2c4210f2e19b97d39215f445c316 Gitweb: https://git.kernel.org/tip/1c4b406ee89c2c4210f2e19b97d39215f445c316 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:15 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:39 +0200 x86/mm/cpa: Optimiz

[tip:x86/mm] x86/mm/cpa: Do the range check early

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 9cc9f17a5a0a8564b41b7c5c460e7f078c42d712 Gitweb: https://git.kernel.org/tip/9cc9f17a5a0a8564b41b7c5c460e7f078c42d712 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:16 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:39 +0200 x86/mm/cpa: Do the

[GIT PULL] A Single RISC-V Update for 4.19-rc6

2018-09-27 Thread Palmer Dabbelt
The following changes since commit 6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84: Linux 4.19-rc5 (2018-09-23 19:15:18 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.19-rc6 for you to fetch changes up to

[tip:x86/mm] x86/mm/cpa: Avoid the 4k pages check completely

2018-09-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 585948f4f695b07204702cfee0f828424af32aa7 Gitweb: https://git.kernel.org/tip/585948f4f695b07204702cfee0f828424af32aa7 Author: Thomas Gleixner AuthorDate: Mon, 17 Sep 2018 16:29:17 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:39 +0200 x86/mm/cpa: Avoid t

[tip:x86/mm] x86/mm/cpa: Use flush_tlb_all()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: c6185b1f21a47af94617fde3af7e803817b522a9 Gitweb: https://git.kernel.org/tip/c6185b1f21a47af94617fde3af7e803817b522a9 Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:17 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:40 +0200 x86/mm/cpa: Use flus

[tip:x86/mm] x86/mm/cpa: Move flush_tlb_all()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: c0a759abf5a686a37b9204c13b7e281fe516c8f0 Gitweb: https://git.kernel.org/tip/c0a759abf5a686a37b9204c13b7e281fe516c8f0 Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:18 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:40 +0200 x86/mm/cpa: Move flu

[tip:x86/mm] x86/mm/cpa: Unconditionally avoid WBINDV when we can

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: ddd07b750382adc2b78fdfbec47af8a6e0d8ef37 Gitweb: https://git.kernel.org/tip/ddd07b750382adc2b78fdfbec47af8a6e0d8ef37 Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:19 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:41 +0200 x86/mm/cpa: Uncondit

[tip:x86/mm] x86/mm/cpa: Use flush_tlb_kernel_range()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: a7295fd53c39ce781a9792c9dd2c8747bf274160 Gitweb: https://git.kernel.org/tip/a7295fd53c39ce781a9792c9dd2c8747bf274160 Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:20 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:41 +0200 x86/mm/cpa: Use flus

Re: [PATCH] RDMA/hns: fix spelling mistake "reseved" -> "reserved"

2018-09-27 Thread Jason Gunthorpe
On Thu, Sep 27, 2018 at 02:24:30PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err error message > > Signed-off-by: Colin Ian King > --- > drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Appl

[tip:x86/mm] x86/mm/cpa: Move CLFLUSH test into cpa_flush_range()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: 5f464b33b17219a233af1267c621632225bc7acc Gitweb: https://git.kernel.org/tip/5f464b33b17219a233af1267c621632225bc7acc Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:21 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:41 +0200 x86/mm/cpa: Move CLF

[tip:x86/mm] x86/mm/cpa: Move CLFLUSH test into cpa_flush_array()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: fce2ce9544e9f098ba828442221ce99c2a5ecb0f Gitweb: https://git.kernel.org/tip/fce2ce9544e9f098ba828442221ce99c2a5ecb0f Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:22 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:42 +0200 x86/mm/cpa: Move CLF

[tip:x86/mm] x86/mm/cpa: Factor common code between cpa_flush_*()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: 47e262ac5b84015c4a101ff51767c464fb7497a6 Gitweb: https://git.kernel.org/tip/47e262ac5b84015c4a101ff51767c464fb7497a6 Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:23 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:42 +0200 x86/mm/cpa: Factor c

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Jens Axboe
On 9/27/18 12:52 PM, Sander Eikelenboom wrote: > On 27/09/18 16:26, Jens Axboe wrote: >> On 9/27/18 1:12 AM, Juergen Gross wrote: >>> On 22/09/18 21:55, Boris Ostrovsky wrote: Commit a46b53672b2c ("xen/blkfront: cleanup stale persistent grants") added support for purging persistent grants

[tip:x86/mm] x86/mm/cpa: Optimize __cpa_flush_range()

2018-09-27 Thread tip-bot for Peter Zijlstra
Commit-ID: 7904ba8a66f400182a204893c92098994e22a88d Gitweb: https://git.kernel.org/tip/7904ba8a66f400182a204893c92098994e22a88d Author: Peter Zijlstra AuthorDate: Wed, 19 Sep 2018 10:50:24 +0200 Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 20:39:42 +0200 x86/mm/cpa: Optimize

Re: [PATCH 7/8] mips: convert to generic builtin command line

2018-09-27 Thread Paul Burton
Hi Maksym, On Thu, Sep 27, 2018 at 07:56:57PM +0300, Maksym Kokhan wrote: > -choice > - prompt "Kernel command line type" if !CMDLINE_OVERRIDE > - default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ > - !MIPS_MALTA && \ > -

Re: [PATCH 4.4 00/28] 4.4.159-stable review

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 11:06:24AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.159 release. > There are 28 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.9 00/44] 4.9.130-stable review

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 11:03:49AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.130 release. > There are 44 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: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Sander Eikelenboom
On 27/09/18 16:26, Jens Axboe wrote: > On 9/27/18 1:12 AM, Juergen Gross wrote: >> On 22/09/18 21:55, Boris Ostrovsky wrote: >>> Commit a46b53672b2c ("xen/blkfront: cleanup stale persistent grants") >>> added support for purging persistent grants when they are not in use. As >>> part of the purge,

Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-09-27 Thread Rob Herring
On Thu, Sep 27, 2018 at 11:00:33AM -0700, Scott Branden wrote: > > > On 18-09-27 10:31 AM, Florian Fainelli wrote: > > On 09/27/2018 10:27 AM, Rob Herring wrote: > > > On Thu, Sep 27, 2018 at 09:06:41PM +0530, Srinath Mannam wrote: > > > > From: Pramod Kumar > > > > > > > > Add binding document

Re: [PATCH 4.18 74/88] drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation

2018-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2018 at 03:26:37PM +0200, Holger Hoffstätte wrote: > On 09/27/18 14:37, Greg Kroah-Hartman wrote: > > On Thu, Sep 27, 2018 at 12:43:33PM +0200, Holger Hoffstätte wrote: > > > On 09/27/18 11:03, Greg Kroah-Hartman wrote: > > > > 4.18-stable review patch. If anyone has any objections

[PATCH v2] remoteproc: qcom: pas: Add QCS404 remoteprocs

2018-09-27 Thread Bjorn Andersson
Add compatibles for the three PAS based remote processors found in QCS404. Signed-off-by: Bjorn Andersson --- Changes since v1: - Fixed incorrect sysmon_name, as pointed out by Sibi. .../devicetree/bindings/remoteproc/qcom,adsp.txt | 3 +++ drivers/remoteproc/qcom_adsp_pil.c

Re: [PATCH 4.14 00/64] 4.14.73-stable review

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 11:03:17AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.73 release. > There are 64 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.18 00/88] 4.18.11-stable review

2018-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2018 at 06:05:33PM +0200, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-rc/linux-4.18.y boot: 179 boots: 16 failed, 144 passed with 17 > > offline, 2 untried/unknown (v4.18.10-89-gd5a4d8752d2e) > > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable

Re: [PATCH 4.14 49/64] drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation

2018-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2018 at 07:00:00PM +0100, Jon Hunter wrote: > Hi Greg, Lyude, > > On 27/09/18 10:04, Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Lyude Paul > > > > commit 3c499ea0c662e2f38aa

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Boris Ostrovsky
On 9/27/18 2:56 PM, Jens Axboe wrote: > On 9/27/18 12:52 PM, Sander Eikelenboom wrote: >> On 27/09/18 16:26, Jens Axboe wrote: >>> On 9/27/18 1:12 AM, Juergen Gross wrote: On 22/09/18 21:55, Boris Ostrovsky wrote: > Commit a46b53672b2c ("xen/blkfront: cleanup stale persistent grants")

[tip:x86/urgent] x86/boot: Fix kexec booting failure in the SEV bit detection code

2018-09-27 Thread tip-bot for Kairui Song
Commit-ID: bdec8d7fa55e6f5314ed72e5a0b435d90ff90548 Gitweb: https://git.kernel.org/tip/bdec8d7fa55e6f5314ed72e5a0b435d90ff90548 Author: Kairui Song AuthorDate: Thu, 27 Sep 2018 20:38:45 +0800 Committer: Borislav Petkov CommitDate: Thu, 27 Sep 2018 19:35:03 +0200 x86/boot: Fix kexec boo

Re: [PATCH net-next] net: dsa: b53: Fix build with B53_SRAB enabled and B53_SERDES=m

2018-09-27 Thread Florian Fainelli
On 09/27/2018 03:02 AM, Arnd Bergmann wrote: > When B53_SERDES is a loadable module, a built-in srab driver still > cannot reach it, so the previous fix is incomplete: > > b53_srab.c:(.text+0x3f4): undefined reference to `b53_serdes_init' > drivers/net/dsa/b53/b53_srab.o:(.rodata+0xe64): undefined

Re: [PATCH 1/3] perf report: don't try to map ip to invalid map

2018-09-27 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 26, 2018 at 04:41:23PM +0200, Milian Wolff escreveu: > On Wednesday, September 26, 2018 4:18:19 PM CEST Arnaldo Carvalho de Melo > wrote: > > Em Wed, Sep 26, 2018 at 03:52:05PM +0200, Milian Wolff escreveu: > > > Fixes a crash when the report encounters an address that > > > > > could

Re: [PATCH v4 1/6] mpt3sas: Introduce mpt3sas_base_pci_device_is_available

2018-09-27 Thread Lukas Wunner
On Thu, Sep 27, 2018 at 01:47:46PM -0500, Bjorn Helgaas wrote: > mpt3sas_wait_for_commands_to_complete(...) > { > ... > + if (!mpt3sas_base_pci_device_is_available(ioc)) > +return; > > # In the definitive case, we returned above. If we get here, we > # think the device *mig

Re: [PATCH v3 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2018-09-27 Thread Rob Herring
On Fri, Sep 21, 2018 at 03:52:00PM +0530, Yogesh Gaur wrote: > Add binding file for NXP FlexSPI controller > > Signed-off-by: Yogesh Gaur > --- > Changes for v3: > - None > Changes for v2: > - Incorporated Rob review comments. > > .../devicetree/bindings/spi/spi-nxp-fspi.txt | 42 > +

Re: [PATCH 3/3] perf report: don't crash on invalid inline debug information

2018-09-27 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 26, 2018 at 03:52:07PM +0200, Milian Wolff escreveu: > When the function name for an inline frame is invalid, we must > not try to demangle this symbol, otherwise we crash with: > > #0 0x55895c01 in bfd_demangle () > #1 0x55823262 in demangle_sym (dso=0x55d92b90,

Re: [PATCH 1/3] perf report: don't try to map ip to invalid map

2018-09-27 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 27, 2018 at 02:18:47PM +0530, Sandipan Das escreveu: > > > On 26/09/18 7:22 PM, Milian Wolff wrote: > > Fixes a crash when the report encounters an address that > > could not be associated with an mmaped region: > > > > #0 0x557bdc4a in callchain_srcline (ip= > Cannot access

Re: [PATCH 2/3] perf report: use the offset address to find inline frames

2018-09-27 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 27, 2018 at 06:00:42PM +0200, Jiri Olsa escreveu: > On Wed, Sep 26, 2018 at 03:52:06PM +0200, Milian Wolff wrote: > > To correctly find inlined frames, we have to use the file offset > > instead of the virtual memory address. This was already fixed for > > displaying srcline information

Re: [PATCH v2] rseq/selftests: fix parametrized test with -fpie

2018-09-27 Thread Shuah Khan
On 09/27/2018 12:39 PM, Mathieu Desnoyers wrote: > On x86-64, the parametrized selftest code for rseq crashes with a > segmentation fault when compiled with -fpie. This happens when the > param_test binary is loaded at an address beyond 32-bit on x86-64. > > The issue is caused by use of a 32-bit

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Jens Axboe
On 9/27/18 1:06 PM, Boris Ostrovsky wrote: > On 9/27/18 2:56 PM, Jens Axboe wrote: >> On 9/27/18 12:52 PM, Sander Eikelenboom wrote: >>> On 27/09/18 16:26, Jens Axboe wrote: On 9/27/18 1:12 AM, Juergen Gross wrote: > On 22/09/18 21:55, Boris Ostrovsky wrote: >> Commit a46b53672b2c ("xe

[PATCH 6/5] capability: Repair sidechannel test in ptrace

2018-09-27 Thread Casey Schaufler
From: Casey Schaufler The PTRACE_MODE_SCHED check erroniously returns 0 in all cases. It should be returning -EPERM. This fixes the logic to correct that error. Signed-off-by: Casey Schaufler --- security/commoncap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/secu

Re: [PATCH v11 26/26] s390: doc: detailed specifications for AP virtualization

2018-09-27 Thread Tony Krowiak
On 09/26/2018 06:42 PM, Alex Williamson wrote: On Tue, 25 Sep 2018 19:16:41 -0400 Tony Krowiak wrote: From: Tony Krowiak This patch provides documentation describing the AP architecture and design concepts behind the virtualization of AP devices. It also includes an example of how to configu

<    4   5   6   7   8   9   10   11   12   13   >