Re: crash binary for latest unreleased kernel

2018-01-28 Thread Joe Smith
Thanks a lot, Mike. Following your suggestions worked Regards, On Sun, Jan 28, 2018 at 2:00 AM, Mike Galbraith wrote: > On Sun, 2018-01-28 at 10:20 +0100, Mike Galbraith wrote: >> On Sun, 2018-01-28 at 00:37 -0800, Joe Smith wrote: >> > I happen to look at the patches for the crash binary a

You Won!!

2018-01-28 Thread Oxfam International
Your e-mail won you donation of one million dollar: reply back for details.

Re: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread Konrad Rzeszutek Wilk
On January 28, 2018 2:29:10 PM EST, KarimAllah Ahmed wrote: >Add direct access to MSR_IA32_SPEC_CTRL for guests. This is needed for >guests >that will only mitigate Spectre V2 through IBRS+IBPB and will not be >using a >retpoline+IBPB based approach. > >To avoid the overhead of atomically saving a

Re: [PATCH 3/3] syscalls: Add a bit of documentation to __SYSCALL_DEFINE

2018-01-28 Thread Al Viro
On Sun, Jan 28, 2018 at 11:15:15AM -0800, Linus Torvalds wrote: > Is that "long long" part of the example on purpose? Because that's > likely the only really nasty part about any ptregs wrapper: some > arguments aren't _one_ register, they are two. And "long long" is the > simplest example, even th

[PATCH] net: ethernet: i40e: remove i40e_fcoe files

2018-01-28 Thread Corentin Labbe
i40e_fcoe support was removed via commit 9eed69a9147c ("i40e: Drop FCoE code from core driver files") But this left files in place but uncompilable. Let's finish the cleaning. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/intel/i40e/i40e_fcoe.c | 1571 --- drive

Re: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread David Woodhouse
On Sun, 2018-01-28 at 15:21 -0500, Konrad Rzeszutek Wilk wrote: > >To avoid the overhead of atomically saving and restoring the > >MSR_IA32_SPEC_CTRL > >for guests that do not actually use the MSR, only add_atomic_switch_msr when > >a > >non-zero is written to it. > > > We tried this and found

Re: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread Andy Lutomirski
> On Jan 28, 2018, at 12:21 PM, Konrad Rzeszutek Wilk > wrote: > >> On January 28, 2018 2:29:10 PM EST, KarimAllah Ahmed >> wrote: >> Add direct access to MSR_IA32_SPEC_CTRL for guests. This is needed for >> guests >> that will only mitigate Spectre V2 through IBRS+IBPB and will not be >> usi

Re: [PATCH 3/3] syscalls: Add a bit of documentation to __SYSCALL_DEFINE

2018-01-28 Thread Linus Torvalds
On Sun, Jan 28, 2018 at 12:21 PM, Al Viro wrote: > > ... and have more of that logics arch-dependent than one might expect; > it's *not* just "split each 64bit argument into a pair of 32bit ones, > combine in the body". Right. The paired registers tend to have special arch-specific rules, making

[PATCH v5 07/11] PCI: cadence: Add host driver for Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in host mode. Signed-off-by: Cyrille Pitchen --- MAINTAINERS | 7 + drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-cadence-host.c | 397 +++

[PATCH v5 10/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller

2018-01-28 Thread Cyrille Pitchen
This patch documents the DT bindings for the Cadence PCIe controller when configured in endpoint mode. Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644

Re: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread David Woodhouse
On Sun, 2018-01-28 at 12:40 -0800, Andy Lutomirski wrote: > > Do you mean that the host would intercept the guest WRMSR and do > WRMSR itself?  I would suggest that doing so is inconsistent with the > docs.  As specified, doing WRMSR to write 1 to IBRS does *not* > protect the guest. I believe it

[PATCH v5 02/11] PCI: OF: Add generic function to parse and allocate PCI resources

2018-01-28 Thread Cyrille Pitchen
The patch moves the gen_pci_parse_request_of_pci_ranges() function from drivers/pci/host/pci-host-common.c into drivers/pci/of.c to easily share common source code between PCI host drivers. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 49 ++-

[PATCH v5 08/11] PCI: endpoint: Add the function number as argument to EPC ops

2018-01-28 Thread Cyrille Pitchen
This patch updates the prototype of most handlers from 'struct pci_epc_ops' so the EPC library can now support multi-function devices. Signed-off-by: Cyrille Pitchen --- drivers/pci/dwc/pcie-designware-ep.c | 20 + drivers/pci/endpoint/functions/pci-epf-test.c | 41 ++---

[PATCH v5 06/11] dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller

2018-01-28 Thread Cyrille Pitchen
From: Scott Telford This patch adds documentation for the DT bindings of the Cadence PCIe controller when configured in host (Root Complex) mode. Signed-off-by: Scott Telford Signed-off-by: Cyrille Pitchen Reviewed-by: Rob Herring --- .../bindings/pci/cdns,cdns-pcie-host.txt | 60 +

[PATCH v5 09/11] PCI: endpoint: Fix EPF device name to support multi-function devices

2018-01-28 Thread Cyrille Pitchen
Fix the pci_epf_make() function so it can now bind many EPF devices to the same EPF driver. Signed-off-by: Cyrille Pitchen --- drivers/pci/endpoint/pci-ep-cfs.c | 46 +-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/drivers/pci/endpoint/pci-e

[PATCH v5 11/11] PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
This patch adds support to the Cadence PCIe controller in endpoint mode. Since pieces of source code are shared with the host driver (Root Complex mode), we create a new directory under drivers/pci dedicated to the Cadence PCIe controller. The common code is placed into drivers/pci/cadence/pcie-ca

Re: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread Andy Lutomirski
> On Jan 28, 2018, at 12:44 PM, David Woodhouse wrote: > >> On Sun, 2018-01-28 at 12:40 -0800, Andy Lutomirski wrote: >> >> Do you mean that the host would intercept the guest WRMSR and do >> WRMSR itself? I would suggest that doing so is inconsistent with the >> docs. As specified, doing W

Re: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread David Woodhouse
On Sun, 2018-01-28 at 12:53 -0800, Andy Lutomirski wrote: > > > I believe it does. Guest kernel is protected from any guest userspace > > predictions learned before IBRS was last set to 1 in *any* mode, > > including host. > > Hmm, you're probably right. > > I would love to know what awful hack

Re: [PATCH 4/6] MAINTAINERS: Update "ARM/OXNAS platform support" patterns

2018-01-28 Thread Arnd Bergmann
On Sun, Jan 28, 2018 at 2:56 PM, Joe Perches wrote: > commit 9e6c62b05c1b ("ARM: dts: rename oxnas dts files") renamed > the files, update the patterns. > > Signed-off-by: Joe Perches > cc: Daniel Golle > cc: Arnd Bergmann > cc: Neil Armstrong > --- > MAINTAINERS | 4 ++-- > 1 file changed, 2

[PATCH v5 03/11] PCI: generic: fix missing call of pci_free_resource_list()

2018-01-28 Thread Cyrille Pitchen
Call pci_free_resource_list() from pci_host_common_probe() when probing fails, as done inside gen_pci_init() when this later function fails. Signed-off-by: Cyrille Pitchen --- drivers/pci/host/pci-host-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pci-host-common.

[PATCH v5 04/11] PCI: Add generic function to probe PCI host controllers

2018-01-28 Thread Cyrille Pitchen
This patchs moves generic source code from drivers/pci/host/pci-host-common.c into drivers/pci/probe.c. Indeed the extracted lines of code were duplicated by many host controller drivers. Regrouping them into a generic function gives a change to properly share this code without introducing a usele

[PATCH v5 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-28 Thread Cyrille Pitchen
, using the pcitest userspace program. I used the "-D" optional command line parameter to select the proper PCI function. Best regards, Cyrille ChangeLog v4 -> v5: - rebase on today's (20180128) linux-pci/next - add again the endpoint driver - Patch 7: move host driver from driver

[PATCH v5 01/11] PCI: Regroup all PCI related entries into drivers/pci/Makefile

2018-01-28 Thread Cyrille Pitchen
Clean up drivers/Makefile by moving the pci/endpoint and pci/dwc entries from drivers/Makefile into drivers/pci/Makefile. Since we don't want to introduce any dependency between CONFIG_PCI and CONFIG_PCI_ENDPOINT, we now always execute drivers/pci/Makefile. Hence all Makefiles in drivers/pci/ wer

[PATCH v5 05/11] PCI: Add vendor ID for Cadence

2018-01-28 Thread Cyrille Pitchen
This patch adds a new PCI vendor ID for Cadence. Signed-off-by: Cyrille Pitchen --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5db423..eb13e84e1fef 100644 --- a/include/linux/pci_ids.h +++ b/include/

[PATCH v3 char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2018-01-28 Thread Michael Kelley (EOSG)
From: Michael Kelley The 2016 version of Hyper-V offers the option to operate the guest VM per-vcpu stimer's in Direct Mode, which means the timer interupts on its own vector rather than queueing a VMbus message. Direct Mode reduces timer processing overhead in both the hypervisor and the guest,

Re: [v8,02/12] objtool: Allow alternatives to be ignored

2018-01-28 Thread Josh Poimboeuf
On Mon, Jan 22, 2018 at 12:25:22PM -0800, Guenter Roeck wrote: > Hi David, > > On Mon, Jan 22, 2018 at 07:34:04PM +, David Woodhouse wrote: > > On Thu, 2018-01-18 at 11:41 -0800, Guenter Roeck wrote: > > > > > > > Not sure, does your gcc have retpolines?  Give me your .o file and I can > > >

Re: [PATCH] IB/cxgb3: remove cxio_dbg.c

2018-01-28 Thread Jason Gunthorpe
On Sun, Jan 28, 2018 at 08:24:22AM -0800, Joe Perches wrote: > On Sun, 2018-01-28 at 15:11 +, Corentin Labbe wrote: > > cxio_dbg.c is uncompiled since commit 2b540355cd2f ("RDMA/cxgb3: cleanups") > > 10 years after, we could remove it. > > OK, now you could remove the prototypes and probably >

Re: [PATCH 0/3] IB-iSER: Adjustments for three function implementations

2018-01-28 Thread Jason Gunthorpe
On Sun, Jan 28, 2018 at 04:41:16PM +0200, Max Gurtovoy wrote: > > > On 1/27/2018 8:17 PM, SF Markus Elfring wrote: > >From: Markus Elfring > >Date: Sat, 27 Jan 2018 19:02:34 +0100 > > > >Three update suggestions were taken into account > >from static source code analysis. > > > >Markus Elfring (

[tip:perf/core] perf vendor events intel: Update Haswell events to V27

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: ca3a2d055d86e6a731c783f2081deb9b03e36d2e Gitweb: https://git.kernel.org/tip/ca3a2d055d86e6a731c783f2081deb9b03e36d2e Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 04:48:12 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:36:46 -0300 perf vendor eve

Re: [PATCH] IB/mthca: remove mthca_user.h

2018-01-28 Thread Jason Gunthorpe
On Sun, Jan 28, 2018 at 12:39:43PM +, Corentin Labbe wrote: > mthca_user.h is unused since commit 486f60954c71 ("IB/mthca: Move user vendor > structures") > Remove it from tree. > > Signed-off-by: Corentin Labbe > Reviewed-by: Leon Romanovsky > drivers/infiniband/hw/mthca/mthca_user.h | 11

Re: [PATCH] IB/qib: remove qib_keys.c

2018-01-28 Thread Jason Gunthorpe
On Sun, Jan 28, 2018 at 03:08:55PM +, Corentin Labbe wrote: > qib_keys.c was left uncompilable in commit 7c2e11fe2dbe ("IB/qib: Remove qp > and mr functionality from qib") > Since nothing need it, remove it from tree. > > Signed-off-by: Corentin Labbe > drivers/infiniband/hw/qib/qib_keys.c

[tip:perf/core] perf vendor events intel: Update HaswellX events to V19

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: 032c16b296d512d151a3276ab3c53d4a4d65e2ed Gitweb: https://git.kernel.org/tip/032c16b296d512d151a3276ab3c53d4a4d65e2ed Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 04:49:26 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:36:50 -0300 perf vendor eve

[tip:perf/core] perf vendor events intel: Update IvyBridge events to V20

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: c955cd2b04200cae6a00284d6c6cda09c6eeaced Gitweb: https://git.kernel.org/tip/c955cd2b04200cae6a00284d6c6cda09c6eeaced Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 04:50:11 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:36:54 -0300 perf vendor eve

[tip:perf/core] perf vendor events intel: Update IvyTown events to V20

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: 194b6fa41a06273166c5016980a67121bd1460c6 Gitweb: https://git.kernel.org/tip/194b6fa41a06273166c5016980a67121bd1460c6 Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 04:51:14 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:36:58 -0300 perf vendor eve

[tip:perf/core] perf vendor events intel: Update Silvermont events to V14

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: ffaa6f274201cb40721f85a143f6bbd6fc8ef601 Gitweb: https://git.kernel.org/tip/ffaa6f274201cb40721f85a143f6bbd6fc8ef601 Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 04:52:48 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:02 -0300 perf vendor eve

[tip:perf/core] perf vendor events intel: Update IvyBridge files to V20

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: f5b5bdd92f62248fd354e34986b7a49f30159af9 Gitweb: https://git.kernel.org/tip/f5b5bdd92f62248fd354e34986b7a49f30159af9 Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 15:38:00 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:18 -0300 perf vendor eve

[tip:perf/core] perf vendor events intel: Update IvyTown files to V20

2018-01-28 Thread tip-bot for Andi Kleen
Commit-ID: 5b50758c4b5e2b122309ee307bd2ebd7fcd8871f Gitweb: https://git.kernel.org/tip/5b50758c4b5e2b122309ee307bd2ebd7fcd8871f Author: Andi Kleen AuthorDate: Thu, 18 Jan 2018 15:38:33 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:21 -0300 perf vendor eve

RE: [PATCH 1/2 v2] tpm: cmd_ready command can be issued only after granting locality

2018-01-28 Thread Winkler, Tomas
> > On Sun, Jan 28, 2018 at 09:51:00AM +0200, Tomas Winkler wrote: > > > diff --git a/include/linux/tpm.h b/include/linux/tpm.h index > > bcdd3790e94d..06639fb6ab85 100644 > > +++ b/include/linux/tpm.h > > @@ -44,7 +44,7 @@ struct tpm_class_ops { > > bool (*update_timeouts)(struct tpm_chip *

[tip:perf/core] perf tools: Add processing of coresight metadata

2018-01-28 Thread tip-bot for Tor Jeremiassen
Commit-ID: cd8bfd8c973eaff8e15260cf1f02e2b84c9b1cb9 Gitweb: https://git.kernel.org/tip/cd8bfd8c973eaff8e15260cf1f02e2b84c9b1cb9 Author: Tor Jeremiassen AuthorDate: Wed, 17 Jan 2018 10:52:12 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:24 -0300 perf tools

[tip:perf/core] perf tools: Integrating the CoreSight decoding library

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: aa6292f4845e7921fca60b146403ea6682b8f65d Gitweb: https://git.kernel.org/tip/aa6292f4845e7921fca60b146403ea6682b8f65d Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:10 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:23 -0300 perf tools

[tip:perf/core] perf tools: Add initial entry point for decoder CoreSight traces

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: 440a23b34c06104bd92b876b40efa45c2d7a0e27 Gitweb: https://git.kernel.org/tip/440a23b34c06104bd92b876b40efa45c2d7a0e27 Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:11 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:24 -0300 perf tools

[tip:perf/core] perf tools: Add support for decoding CoreSight trace data

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: c9a01a11dfe63e5b981b1fe8c99435e12c758007 Gitweb: https://git.kernel.org/tip/c9a01a11dfe63e5b981b1fe8c99435e12c758007 Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:14 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:25 -0300 perf tools

[tip:perf/core] perf tools: Add decoder mechanic to support dumping trace data

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: 68ffe39028982d08bf382700642ed46cc0539e1b Gitweb: https://git.kernel.org/tip/68ffe39028982d08bf382700642ed46cc0539e1b Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:13 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:25 -0300 perf tools

[tip:perf/core] pert tools: Add queue management functionality

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: 20d9c478b01aa1a652db54c1fe867dc92636bc70 Gitweb: https://git.kernel.org/tip/20d9c478b01aa1a652db54c1fe867dc92636bc70 Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:16 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:26 -0300 pert tools

[tip:perf/core] perf tools: Add functionality to communicate with the openCSD decoder

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: 290598be0e84badee2ce93b32e4146184720b2f4 Gitweb: https://git.kernel.org/tip/290598be0e84badee2ce93b32e4146184720b2f4 Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:15 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:26 -0300 perf tools

linux-next: Signed-off-by missing for commit in the tip tree

2018-01-28 Thread Stephen Rothwell
Hi all, Commit 20ffa1caecca ("x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

[tip:perf/core] perf bpf: Remove misplaced __maybe_unused attribute

2018-01-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 78c436907c94660edc76f499b80dbebbbe6fd572 Gitweb: https://git.kernel.org/tip/78c436907c94660edc76f499b80dbebbbe6fd572 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 22 Jan 2018 10:42:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:28 -0300 p

[tip:perf/core] perf tools: Add full support for CoreSight trace decoding

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: 9f878b29da969e195e106992ea8572da3d244811 Gitweb: https://git.kernel.org/tip/9f878b29da969e195e106992ea8572da3d244811 Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:17 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:27 -0300 perf tools

[tip:perf/core] perf trace: Do not print from time delta for interrupted syscall lines

2018-01-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 522283fec7d3f312224360da48057e923ee22765 Gitweb: https://git.kernel.org/tip/522283fec7d3f312224360da48057e923ee22765 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 22 Jan 2018 11:42:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:29 -0300 p

[tip:perf/core] perf tools: Add mechanic to synthesise CoreSight trace packets

2018-01-28 Thread tip-bot for Mathieu Poirier
Commit-ID: b12235b113cfd7e4a31f0c8bdb0d8e8588ba6683 Gitweb: https://git.kernel.org/tip/b12235b113cfd7e4a31f0c8bdb0d8e8588ba6683 Author: Mathieu Poirier AuthorDate: Wed, 17 Jan 2018 10:52:18 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:27 -0300 perf tools

[tip:perf/core] perf trace: Add --print-sample

2018-01-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 591421e151ddf95e43d690a5c9b291d8e1cb8065 Gitweb: https://git.kernel.org/tip/591421e151ddf95e43d690a5c9b291d8e1cb8065 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 22 Jan 2018 11:38:54 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:29 -0300 p

[tip:perf/core] MAINTAINERS: Adding entry for CoreSight trace decoding

2018-01-28 Thread tip-bot for Tor Jeremiassen
Commit-ID: 8046bf0cd7636e06e65fec3d1b67706db29b19dd Gitweb: https://git.kernel.org/tip/8046bf0cd7636e06e65fec3d1b67706db29b19dd Author: Tor Jeremiassen AuthorDate: Wed, 17 Jan 2018 10:52:19 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:28 -0300 MAINTAINER

[tip:perf/core] perf trace beauty futex: Beautify FUTEX_BITSET_MATCH_ANY

2018-01-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3258abe0991590a182be0a20ef6b79b65fe2c9cd Gitweb: https://git.kernel.org/tip/3258abe0991590a182be0a20ef6b79b65fe2c9cd Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 22 Jan 2018 12:56:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:30 -0300 p

[tip:perf/core] perf evlist: Remove fcntl.h from evlist.h

2018-01-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bafae98e7a95df74ce4529ae96251cb12c86fdf3 Gitweb: https://git.kernel.org/tip/bafae98e7a95df74ce4529ae96251cb12c86fdf3 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 22 Jan 2018 16:42:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:30 -0300 p

[tip:perf/core] perf trace beauty flock: Move to separate object file

2018-01-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c19d0847b2dce3dc4219fa1a21f4ad2256b42d9d Gitweb: https://git.kernel.org/tip/c19d0847b2dce3dc4219fa1a21f4ad2256b42d9d Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 22 Jan 2018 16:50:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 25 Jan 2018 06:37:31 -0300 p

Re: [PATCH 3/6] MAINTAINERS: Update Cortina/Gemini patterns

2018-01-28 Thread Linus Walleij
On Sun, Jan 28, 2018 at 2:56 PM, Joe Perches wrote: > commit 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit > ethernet") > added invalid patterns. Fix it. > > Signed-off-by: Joe Perches > cc: Linus Walleij > cc: Hans Ulli Kroll Lousy me. What a silly typo :( Reviewed-by: Linu

RE: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread Van De Ven, Arjan
> > On Sun, 2018-01-28 at 12:40 -0800, Andy Lutomirski wrote: > > > > Do you mean that the host would intercept the guest WRMSR and do > > WRMSR itself?  I would suggest that doing so is inconsistent with the > > docs.  As specified, doing WRMSR to write 1 to IBRS does *not* > > protect the guest.

Re: possible deadlock in do_ip_getsockopt

2018-01-28 Thread Florian Westphal
syzbot wrote: > syzbot hit the following crash on upstream commit > c4e0ca7fa24137e372d6135fe16e8df8e123f116 (Fri Jan 26 23:10:50 2018 +) > Merge tag 'riscv-for-linus-4.15-maintainers' of > git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux > > So far this crash happened 3 times

Re: [PATCH v5 00/11] PCI: Add support to the Cadence PCIe controller

2018-01-28 Thread Bjorn Helgaas
> > Cyrille > > ChangeLog > > v4 -> v5: > - rebase on today's (20180128) linux-pci/next Don't bother rebasing onto linux-pci/next. If your patches actually *depend* on something that has already been merged onto a PCI topic branch, you should mention that and sa

RE: [PATCH] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-28 Thread David Woodhouse
>> >> On Sun, 2018-01-28 at 12:40 -0800, Andy Lutomirski wrote: >> > >> > Do you mean that the host would intercept the guest WRMSR and do >> > WRMSR itself?  I would suggest that doing so is inconsistent with the >> > docs.  As specified, doing WRMSR to write 1 to IBRS does *not* >> > protect the

Linux 4.15

2018-01-28 Thread Linus Torvalds
After a release cycle that was unusual in so many (bad) ways, this last week was really pleasant. Quiet and small, and no last-minute panics, just small fixes for various issues. I never got a feeling that I'd need to extend things by yet another week, and 4.15 looks fine to me. Half the changes

Re: general protection fault in ip6t_do_table

2018-01-28 Thread Florian Westphal
syzbot wrote: > CPU: 0 PID: 3675 Comm: syzkaller168273 Not tainted 4.15.0-rc9+ #283 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > RIP: 0010:ip6t_do_table+0x12de/0x19d0 net/ipv6/netfilter/ip6_tables.c:360 > RSP: 0018:8801db206c58 EFLAGS: 0001024

[GIT PULL] hwmon updates for v4.16

2018-01-28 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux v4.16 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.16 Thanks, Guenter -- The following changes since commit 30a7acd573899fd8b8ac39236eff6468b195ac7d: Linux 4.15-rc6 (2017-12-3

[PATCH AUTOSEL for 4.14 026/100] pinctrl: sunxi: Fix A80 interrupt pin bank

2018-01-28 Thread Sasha Levin
From: Andre Przywara [ Upstream commit 6ad4cc8d1ac483e0fd33f605fb2788b0ecf51ed4 ] On the A80 the pins on port B can trigger interrupts, and those are assigned to the second interrupt bank. Having two pins assigned to the same interrupt bank/pin combination does not look healthy (instead more lik

[PATCH AUTOSEL for 4.14 001/100] usb: build drivers/usb/common/ when USB_SUPPORT is set

2018-01-28 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit c9d24f78268be444e803fb2bb138a2f598de9c23 ] PHY drivers can use ULPI interfaces when CONFIG_USB (which is host side support) is not enabled, so also build drivers/usb/ when CONFIG_USB_SUPPORT is enabled so that drivers/usb/common/ is built. ERROR: "ulpi_unreg

[PATCH AUTOSEL for 4.14 025/100] gpio: davinci: Assign first bank regs for unbanked case

2018-01-28 Thread Sasha Levin
From: Keerthy [ Upstream commit 7f8e2a85c1b0bd440ffe87be82c79fdc319e8291 ] As per the re-design assign the first bank regs for unbanked irq case. This was missed out in the original patch. Signed-off-by: Keerthy Fixes: b5cf3fd827d2e1 ("gpio: davinci: Redesign driver to accommodate ngpios in o

[PATCH AUTOSEL for 4.14 033/100] i40iw: Correct ARP index mask

2018-01-28 Thread Sasha Levin
From: Mustafa Ismail [ Upstream commit a283cdc4d3670700182c820b59078387f9a01a30 ] The ARP table entry indexes are aliased to 12bits instead of the intended 16bits when uploaded to the QP Context. This will present an issue when the number of connections exceeds 4096 as ARP entries are reused. Fi

[PATCH AUTOSEL for 4.14 054/100] net_sched: red: Avoid devision by zero

2018-01-28 Thread Sasha Levin
From: Nogah Frankel [ Upstream commit 5c472203421ab4f928aa1ae9e1dbcfdd80324148 ] Do not allow delta value to be zero since it is used as a divisor. Fixes: 8af2a218de38 ("sch_red: Adaptative RED AQM") Signed-off-by: Nogah Frankel Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL for 4.14 062/100] btrfs: Fix quota reservation leak on preallocated files

2018-01-28 Thread Sasha Levin
From: Justin Maggard [ Upstream commit b430b7751286b3acff2d324553c8cec4f1e87764 ] Commit c6887cd11149 ("Btrfs: don't do nocow check unless we have to") changed the behavior of __btrfs_buffered_write() so that it first tries to get a data space reservation, and then skips the relatively expensive

[PATCH AUTOSEL for 4.14 060/100] locking/lockdep: Fix possible NULL deref

2018-01-28 Thread Sasha Levin
From: Peter Zijlstra [ Upstream commit 5e351ad106997e06b2dc3da9c6b939b95f67fb88 ] We can't invalidate xhlocks when we've not yet allocated any. Reported-by: Dmitry Vyukov Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.k

[PATCH AUTOSEL for 4.14 087/100] xfrm: Fix stack-out-of-bounds with misconfigured transport mode policies.

2018-01-28 Thread Sasha Levin
From: Steffen Klassert [ Upstream commit 732706afe1cc46ef48493b3d2b69c98f36314ae4 ] On policies with a transport mode template, we pass the addresses from the flowi to xfrm_state_find(), assuming that the IP addresses (and address family) don't change during transformation. Unfortunately our po

[PATCH AUTOSEL for 4.9 20/49] powerpc/perf: Fix oops when grouping different pmu events

2018-01-28 Thread Sasha Levin
From: Ravi Bangoria [ Upstream commit 5aa04b3eb6fca63d2e9827be656dcadc26d54e11 ] When user tries to group imc (In-Memory Collections) event with normal event, (sometime) kernel crashes with following log: Faulting instruction address: 0x [link register ] c010ce88 power

[PATCH AUTOSEL for 4.14 090/100] drm/vc4: Release fence after signalling

2018-01-28 Thread Sasha Levin
From: Stefan Schake [ Upstream commit babc8110057cb9ca542c3c1666cbda4e8ccf9250 ] We were never releasing the initial fence reference that is obtained through dma_fence_init. Link: https://github.com/anholt/linux/issues/122 Fixes: cdec4d361323 ("drm/vc4: Expose dma-buf fences for V3D rendering."

[PATCH AUTOSEL for 4.14 095/100] x86/mm/kmmio: Fix mmiotrace for page unaligned addresses

2018-01-28 Thread Sasha Levin
From: Karol Herbst [ Upstream commit 6d60ce384d1d5ca32b595244db4077a419acc687 ] If something calls ioremap() with an address not aligned to PAGE_SIZE, the returned address might be not aligned as well. This led to a probe registered on exactly the returned address, but the entire page was armed

[PATCH AUTOSEL for 4.14 092/100] usb: dwc3: gadget: Wait longer for controller to end command processing

2018-01-28 Thread Sasha Levin
From: Vincent Pelletier [ Upstream commit 8722e095f5a44d0e409e45c5ddc2ee9cf589c777 ] DWC3_DEPCMD_ENDTRANSFER has been witnessed to require around 600 iterations before controller would become idle again after unplugging the USB cable with AIO reads submitted. Bump timeout from 500 iterations to

[PATCH AUTOSEL for 4.14 091/100] dmaengine: jz4740: disable/unprepare clk if probe fails

2018-01-28 Thread Sasha Levin
From: Tobias Jordan [ Upstream commit eb9436966fdc84cebdf222952a99898ab46d9bb0 ] in error path of jz4740_dma_probe(), call clk_disable_unprepare() to clean up. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 25ce6c35fea0 MIPS: jz4740: Remove custom DMA API Signed-off-by:

[PATCH AUTOSEL for 4.9 41/49] drm/armada: fix leak of crtc structure

2018-01-28 Thread Sasha Levin
From: Russell King [ Upstream commit 33cd3c07a976e11c3c4cc6b0b3db6760ad1590c5 ] Fix the leak of the CRTC structure in the failure paths of armada_drm_crtc_create(). Signed-off-by: Russell King Signed-off-by: Sasha Levin --- drivers/gpu/drm/armada/armada_crtc.c | 25 +

[PATCH AUTOSEL for 4.9 43/49] usb: dwc3: gadget: Wait longer for controller to end command processing

2018-01-28 Thread Sasha Levin
From: Vincent Pelletier [ Upstream commit 8722e095f5a44d0e409e45c5ddc2ee9cf589c777 ] DWC3_DEPCMD_ENDTRANSFER has been witnessed to require around 600 iterations before controller would become idle again after unplugging the USB cable with AIO reads submitted. Bump timeout from 500 iterations to

[PATCH AUTOSEL for 4.9 38/49] ASoC: rockchip: disable clock on error

2018-01-28 Thread Sasha Levin
From: Stefan Potyra [ Upstream commit c7b92172a61b91936be985cb9bc499a4ebc6489b ] Disable the clocks in rk_spdif_probe when an error occurs after one of the clocks has been enabled previously. Found by Linux Driver Verification project (linuxtesting.org). Fixes: f874b80e1571 ASoC: rockchip: Ad

[PATCH AUTOSEL for 3.18 16/25] 509: fix printing uninitialized stack memory when OID is empty

2018-01-28 Thread Sasha Levin
From: Eric Biggers [ Upstream commit 8dfd2f22d3bf3ab7714f7495ad5d897b8845e8c1 ] Callers of sprint_oid() do not check its return value before printing the result. In the case where the OID is zero-length, -EBADMSG was being returned without anything being written to the buffer, resulting in unin

[PATCH AUTOSEL for 4.4 19/36] dccp: CVE-2017-8824: use-after-free in DCCP code

2018-01-28 Thread Sasha Levin
From: Mohamed Ghannam [ Upstream commit 69c64866ce072dea1d1e59a0d61e0f66c0dffb76 ] Whenever the sock object is in DCCP_CLOSED state, dccp_disconnect() must free dccps_hc_tx_ccid and dccps_hc_rx_ccid and set to NULL. Signed-off-by: Mohamed Ghannam Reviewed-by: Eric Dumazet Signed-off-by: David

[PATCH AUTOSEL for 3.18 14/25] dccp: CVE-2017-8824: use-after-free in DCCP code

2018-01-28 Thread Sasha Levin
From: Mohamed Ghannam [ Upstream commit 69c64866ce072dea1d1e59a0d61e0f66c0dffb76 ] Whenever the sock object is in DCCP_CLOSED state, dccp_disconnect() must free dccps_hc_tx_ccid and dccps_hc_rx_ccid and set to NULL. Signed-off-by: Mohamed Ghannam Reviewed-by: Eric Dumazet Signed-off-by: David

[PATCH AUTOSEL for 3.18 24/25] xen: XEN_ACPI_PROCESSOR is Dom0-only

2018-01-28 Thread Sasha Levin
From: Jan Beulich [ Upstream commit c4f9d9cb2c29ff04c6b4bb09b72802d8aedfc7cb ] Add a respective dependency. Signed-off-by: Jan Beulich Reviewed-by: Juergen Gross Signed-off-by: Boris Ostrovsky Signed-off-by: Sasha Levin --- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH AUTOSEL for 3.18 13/25] net_sched: red: Avoid illegal values

2018-01-28 Thread Sasha Levin
From: Nogah Frankel [ Upstream commit 8afa10cbe281b10371fee5a87ab266e48d71a7f9 ] Check the qmin & qmax values doesn't overflow for the given Wlog value. Check that qmin <= qmax. Fixes: a783474591f2 ("[PKT_SCHED]: Generic RED layer") Signed-off-by: Nogah Frankel Signed-off-by: David S. Miller

[PATCH AUTOSEL for 3.18 23/25] x86/mm/kmmio: Fix mmiotrace for page unaligned addresses

2018-01-28 Thread Sasha Levin
From: Karol Herbst [ Upstream commit 6d60ce384d1d5ca32b595244db4077a419acc687 ] If something calls ioremap() with an address not aligned to PAGE_SIZE, the returned address might be not aligned as well. This led to a probe registered on exactly the returned address, but the entire page was armed

[PATCH AUTOSEL for 3.18 09/25] powerpc/perf: Fix oops when grouping different pmu events

2018-01-28 Thread Sasha Levin
From: Ravi Bangoria [ Upstream commit 5aa04b3eb6fca63d2e9827be656dcadc26d54e11 ] When user tries to group imc (In-Memory Collections) event with normal event, (sometime) kernel crashes with following log: Faulting instruction address: 0x [link register ] c010ce88 power

[PATCH AUTOSEL for 3.18 21/25] dmaengine: jz4740: disable/unprepare clk if probe fails

2018-01-28 Thread Sasha Levin
From: Tobias Jordan [ Upstream commit eb9436966fdc84cebdf222952a99898ab46d9bb0 ] in error path of jz4740_dma_probe(), call clk_disable_unprepare() to clean up. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 25ce6c35fea0 MIPS: jz4740: Remove custom DMA API Signed-off-by:

[PATCH AUTOSEL for 3.18 20/25] xfrm: Fix stack-out-of-bounds with misconfigured transport mode policies.

2018-01-28 Thread Sasha Levin
From: Steffen Klassert [ Upstream commit 732706afe1cc46ef48493b3d2b69c98f36314ae4 ] On policies with a transport mode template, we pass the addresses from the flowi to xfrm_state_find(), assuming that the IP addresses (and address family) don't change during transformation. Unfortunately our po

[PATCH AUTOSEL for 3.18 22/25] mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep

2018-01-28 Thread Sasha Levin
From: Dave Young [ Upstream commit 7f6f60a1ba52538c16f26930bfbcfe193d9d746a ] earlyprintk=efi,keep does not work any more with a warning in mm/early_ioremap.c: WARN_ON(system_state != SYSTEM_BOOTING): Boot just hangs because of the earlyprintk within the earlyprintk implementation code itself.

[PATCH AUTOSEL for 3.18 06/25] media: s5k6aa: describe some function parameters

2018-01-28 Thread Sasha Levin
From: Mauro Carvalho Chehab [ Upstream commit 070250a1715cee2297de0d9e7e2cea58be999d37 ] as warned: drivers/media/i2c/s5k6aa.c:429: warning: No description found for parameter 's5k6aa' drivers/media/i2c/s5k6aa.c:679: warning: No description found for parameter 's5k6aa' drivers/media/i2c/

[PATCH AUTOSEL for 3.18 18/25] netfilter: xt_osf: Add missing permission checks

2018-01-28 Thread Sasha Levin
From: Kevin Cernekee [ Upstream commit 916a27901de01446bcf57ecca4783f6cff493309 ] The capability check in nfnetlink_rcv() verifies that the caller has CAP_NET_ADMIN in the namespace that "owns" the netlink socket. However, xt_osf_fingers is shared by all net namespaces on the system. An unprivi

[PATCH AUTOSEL for 3.18 17/25] netfilter: nfnetlink_cthelper: Add missing permission checks

2018-01-28 Thread Sasha Levin
From: Kevin Cernekee [ Upstream commit 4b380c42f7d00a395feede754f0bc2292eebe6e5 ] The capability check in nfnetlink_rcv() verifies that the caller has CAP_NET_ADMIN in the namespace that "owns" the netlink socket. However, nfnl_cthelper_list is shared by all net namespaces on the system. An unp

[PATCH AUTOSEL for 3.18 19/25] spi: sun4i: disable clocks in the remove function

2018-01-28 Thread Sasha Levin
From: Takuo Koguchi [ Upstream commit c810daba0ab5226084a56893a789af427a801146 ] mclk and hclk need to be disabled. Since pm_runtime_disable does not disable the clocks, use pm_runtime_force_suspend instead. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Takuo Ko

[PATCH AUTOSEL for 3.18 15/25] btrfs: Fix possible off-by-one in btrfs_search_path_in_tree

2018-01-28 Thread Sasha Levin
From: Nikolay Borisov [ Upstream commit c8bcbfbd239ed60a6562964b58034ac8a25f4c31 ] The name char array passed to btrfs_search_path_in_tree is of size BTRFS_INO_LOOKUP_PATH_MAX (4080). So the actual accessible char indexes are in the range of [0, 4079]. Currently the code uses the define but this

[PATCH AUTOSEL for 3.18 25/25] hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close

2018-01-28 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit 6e266610eb6553cfb7e7eb5d11914bd01509c406 ] The driver may sleep under a spinlock. The function call path is: rr_close (acquire the spinlock) free_irq --> may sleep To fix it, free_irq is moved to the place without holding the spinlock. This bug is found by

[PATCH AUTOSEL for 4.4 36/36] hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close

2018-01-28 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit 6e266610eb6553cfb7e7eb5d11914bd01509c406 ] The driver may sleep under a spinlock. The function call path is: rr_close (acquire the spinlock) free_irq --> may sleep To fix it, free_irq is moved to the place without holding the spinlock. This bug is found by

[PATCH AUTOSEL for 3.18 10/25] s390/dasd: prevent prefix I/O error

2018-01-28 Thread Sasha Levin
From: Stefan Haberland [ Upstream commit da340f921d3454f1521671c7a5a43ad3331fbe50 ] Prevent that a prefix flag is set based on invalid configuration data. The validity.verify_base flag should only be set for alias devices. Usually the unit address type is either one of base, PAV alias or HyperPA

[PATCH AUTOSEL for 3.18 12/25] net_sched: red: Avoid devision by zero

2018-01-28 Thread Sasha Levin
From: Nogah Frankel [ Upstream commit 5c472203421ab4f928aa1ae9e1dbcfdd80324148 ] Do not allow delta value to be zero since it is used as a divisor. Fixes: 8af2a218de38 ("sch_red: Adaptative RED AQM") Signed-off-by: Nogah Frankel Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL for 3.18 07/25] scripts/kernel-doc: Don't fail with status != 0 if error encountered with -none

2018-01-28 Thread Sasha Levin
From: Will Deacon [ Upstream commit e814bccbafece52a24e152d2395b5d49eef55841 ] My bisect scripts starting running into build failures when trying to compile 4.15-rc1 with the builds failing with things like: drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2078: error: Cannot parse stru

[PATCH AUTOSEL for 3.18 11/25] gianfar: fix a flooded alignment reports because of padding issue.

2018-01-28 Thread Sasha Levin
From: Zumeng Chen [ Upstream commit 58117672943734715bbe7565ac9f062effa524f0 ] According to LS1021A RM, the value of PAL can be set so that the start of the IP header in the receive data buffer is aligned to a 32-bit boundary. Normally, setting PAL = 2 provides minimal padding to ensure such ali

<    1   2   3   4   5   6   >