[RFC v2 24/26] KVM: x86/asi: Populate the KVM ASI page-table

2019-07-11 Thread Alexandre Chartre
Add mappings to the KVM ASI page-table so that KVM can run with its address space isolation without faulting too much. Signed-off-by: Alexandre Chartre --- arch/x86/kvm/vmx/isolation.c | 155 - arch/x86/kvm/vmx/vmx.c |1 - arch/x86/kvm/vmx/vmx.h

[RFC v2 08/26] mm/asi: Functions to populate an ASI page-table from a VA range

2019-07-11 Thread Alexandre Chartre
Provide functions to copy page-table entries from the kernel page-table to an ASI page-table for a specified VA range. These functions are based on the copy_pxx_range() functions defined in mm/memory.c. A difference is that a level parameter can be specified to indicate the page-table level (PGD, P

[RFC v2 22/26] KVM: x86/asi: Introduce address_space_isolation module parameter

2019-07-11 Thread Alexandre Chartre
From: Liran Alon Add the address_space_isolation parameter to the kvm module. When set to true, KVM #VMExit handlers run in isolated address space which maps only KVM required code and per-VM information instead of entire kernel address space. This mechanism is meant to mitigate memory-leak sid

[RFC v2 16/26] mm/asi: Option to map current task into ASI

2019-07-11 Thread Alexandre Chartre
Add an option to map the current task into an ASI page-table. The task is mapped when entering isolation and unmapped on abort/exit. Signed-off-by: Alexandre Chartre --- arch/x86/include/asm/asi.h |2 ++ arch/x86/mm/asi.c | 25 + arch/x86/mm/asi_pagetable

[RFC v2 25/26] KVM: x86/asi: Switch to KVM address space on entry to guest

2019-07-11 Thread Alexandre Chartre
From: Liran Alon Switch to KVM address space on entry to guest. Most of KVM #VMExit handlers will run in KVM isolated address space and switch back to host address space only before accessing sensitive data. Sensitive data is defined as either host data or other VM data. Currently, we switch bac

[RFC v2 00/27] Kernel Address Space Isolation

2019-07-11 Thread Alexandre Chartre
Hi, This is version 2 of the "KVM Address Space Isolation" RFC. The code has been completely changed compared to v1 and it now provides a generic kernel framework which provides Address Space Isolation; and KVM is now a simple consumer of that framework. That's why the RFC title has been changed f

[RFC v2 12/26] mm/asi: Function to copy page-table entries for percpu buffer

2019-07-11 Thread Alexandre Chartre
Provide functions to copy page-table entries from the kernel page-table to an ASI page-table for a percpu buffer. A percpu buffer have a different VA range for each cpu and all them have to be copied. Signed-off-by: Alexandre Chartre --- arch/x86/include/asm/asi.h |6 ++ arch/x86/mm/asi

[RFC v2 10/26] mm/asi: Keep track of VA ranges mapped in ASI page-table

2019-07-11 Thread Alexandre Chartre
Add functions to keep track of VA ranges mapped in an ASI page-table. This will be used when unmapping to ensure the same range is unmapped, at the same page-table level. This is also be used to handle mapping and unmapping of overlapping VA ranges. Signed-off-by: Alexandre Chartre --- arch/x86/

[RFC v2 21/26] mm/asi: Make functions to read cr3/cr4 ASI aware

2019-07-11 Thread Alexandre Chartre
When address space isolation is active, cpu_tlbstate isn't necessarily mapped in the ASI page-table, this would cause ASI to fault. Instead of just mapping cpu_tlbstate, update __get_current_cr3_fast() and cr4_read_shadow() by caching the cr3/cr4 values in the ASI session when ASI is active. Note

[RFC v2 17/26] rcu: Move tree.h static forward declarations to tree.c

2019-07-11 Thread Alexandre Chartre
tree.h has static forward declarations for inline function declared in tree_plugin.h and tree_stall.h. These forward declarations prevent including tree.h into a file different from tree.c Signed-off-by: Alexandre Chartre --- kernel/rcu/tree.c | 54 +

[RFC v2 19/26] mm/asi: Add option to map RCU data

2019-07-11 Thread Alexandre Chartre
Add an option to map RCU data when creating an ASI. This will map the percpu rcu_data (which is not exported by the kernel), and allow ASI to use RCU without faulting. Signed-off-by: Alexandre Chartre --- arch/x86/include/asm/asi.h |1 + arch/x86/mm/asi.c |4 2 files change

[RFC v2 26/26] KVM: x86/asi: Map KVM memslots and IO buses into KVM ASI

2019-07-11 Thread Alexandre Chartre
Map KVM memslots and IO buses into KVM ASI. Mapping is checking on each KVM ASI enter because they can change. Signed-off-by: Alexandre Chartre --- arch/x86/kvm/x86.c | 36 +++- include/linux/kvm_host.h |2 ++ 2 files changed, 37 insertions(+), 1 delet

[RFC v2 02/26] mm/asi: Abort isolation on interrupt, exception and context switch

2019-07-11 Thread Alexandre Chartre
Address space isolation should be aborted if there is an interrupt, an exception or a context switch. Interrupt/exception handlers and context switch code need to run with the full kernel address space. Address space isolation is aborted by restoring the original CR3 value used before entering addr

[RFC v2 04/26] mm/asi: Functions to track buffers allocated for an ASI page-table

2019-07-11 Thread Alexandre Chartre
Add functions to track buffers allocated for an ASI page-table. An ASI page-table can have direct references to the kernel page table, at different levels (PGD, P4D, PUD, PMD). When freeing an ASI page-table, we should make sure that we free parts actually allocated for the ASI page-table, and not

[PATCH v2] printk: Do not lose last line in kmsg buffer dump

2019-07-11 Thread Vincent Whitchurch
kmsg_dump_get_buffer() is supposed to select all the youngest log messages which fit into the provided buffer. It determines the correct start index by using msg_print_text() with a NULL buffer to calculate the size of each entry. However, when performing the actual writes, msg_print_text() only

Re: [GIT PULL] dlm updates for 5.3

2019-07-11 Thread David Teigland
On Wed, Jul 10, 2019 at 09:05:21PM -0700, Linus Torvalds wrote: > If wait_event_interruptible() returns -ERESTARTSYS, it means that we > have a signal pending. > > And if we have a signal pending, then you can't go back and call > wait_event_interruptible() in a loop, because the signal will > *co

Re: [PATCH v3 2/4] media: uapi: Add VP8 stateless decoder API

2019-07-11 Thread Hans Verkuil
Hi Ezequiel, Just a few small points: On 7/5/19 4:50 PM, Ezequiel Garcia wrote: > From: Pawel Osciak > > Add the parsed VP8 frame pixel format and controls, to be used > with the new stateless decoder API for VP8 to provide parameters > for accelerator (aka stateless) codecs. > > Reviewed-by:

[PATCH] vfio: platform: reset: add support for XHCI reset hook

2019-07-11 Thread Gregory CLEMENT
The VFIO reset hook is called every time a platform device is passed to a guest or removed from a guest. When the XHCI device is unbound from the host, the host driver disables the XHCI clocks/phys/regulators so when the device is passed to the guest it becomes dis-functional. This initial implem

Re: Re: Re: linux-next: build failure after merge of the net-next tree

2019-07-11 Thread Jason Gunthorpe
On Thu, Jul 11, 2019 at 12:29:21PM +, Bernard Metzler wrote: > > >To: "Bernard Metzler" > >From: "Jason Gunthorpe" > >Date: 07/11/2019 01:53PM > >Cc: "Leon Romanovsky" , "Stephen Rothwell" > >, "Doug Ledford" , "David > >Miller" , "Networking" , > >"Linux Next Mailing List" , "Linux Kernel >

Re: [PATCH v2 0/2] minor fixes for perf cs-etm

2019-07-11 Thread Yuehaibing
Arnaldo, can you pick this? On 2019/6/4 16:50, Yuehaibing wrote: > Hi, > > Friendly ping: > > Arnaldo, will you take this serial? > > On 2019/3/21 10:31, Yue Haibing wrote: >> From: YueHaibing >> >> v2: >> - patch 1 fix commilt log >> - patch 2 use correct Fixes tag >> >> This patch series f

Re: [PATCH v3 03/14] mbox: qcom: replace integer with valid macro

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Use the correct macro when registering the platform device. > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson > --- > drivers/mailbox/qcom-apcs-ipc-m

Re: [RFC PATCH, x86]: Disable CPA cache flush for selfsnoop targets

2019-07-11 Thread Andy Lutomirski
On Thu, Jul 11, 2019 at 1:13 AM Uros Bizjak wrote: > > Recent patch [1] disabled a self-snoop feature on a list of processor > models with a known errata, so we are confident that the feature > should work on remaining models also for other purposes than to speed > up MTRR programming. > > I would

Re: Coccinelle: Checking of_node_put() calls with SmPL

2019-07-11 Thread Tyrel Datwyler
On 07/10/2019 11:35 PM, wen.yan...@zte.com.cn wrote: >>> we developed a coccinelle script to detect such problems. >> >> Would you find the implementation of the function “dt_init_idle_driver” >> suspicious according to discussed source code search patterns? >> https://git.kernel.org/pub/scm/linux/

Re: [RFC v2 00/27] Kernel Address Space Isolation

2019-07-11 Thread Alexandre Chartre
And I've just noticed that I've messed up the subject of the cover letter. There are 26 patches, not 27. So it should have been 00/26 not 00/27. Sorry about that. alex. On 7/11/19 4:25 PM, Alexandre Chartre wrote: Hi, This is version 2 of the "KVM Address Space Isolation" RFC. The code has

Re: [PATCH v3 02/14] mbox: qcom: add APCS child device for QCS404

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > There is clock controller functionality in the APCS hardware block of > qcs404 devices similar to msm8916. > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz > --- > drivers/mailbox/

Re: [PATCH v3 04/14] dt-bindings: mailbox: qcom: Add clock-name optional property

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > When the APCS clock is registered (platform dependent), it retrieves > its parent names from hardcoded values in the driver. > > The following commit allows the DT node to provide such clock names to > the platform data based clock driver

[PATCH 5/8] dt-bindings: PCI: Add Amazon's Annapurna Labs PCIe host bridge binding

2019-07-11 Thread Jonathan Chocron
Document Amazon's Annapurna Labs PCIe host bridge. Signed-off-by: Jonathan Chocron --- .../devicetree/bindings/pci/pcie-al.txt | 45 +++ MAINTAINERS | 1 + 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bind

Re: [PATCH v3 6/6] x86/entry/64: Remove TRACE_IRQS_*_DEBUG

2019-07-11 Thread Andy Lutomirski
On Thu, Jul 11, 2019 at 4:51 AM Peter Zijlstra wrote: > > Since INT3/#BP no longer runs on an IST, this workaround is no longer > required. > > Tested by running lockdep+ftrace as described in the initial commit: > > 5963e317b1e9 ("ftrace/x86: Do not change stacks in DEBUG when calling > lockde

[v3,1/2] rtc/fsl: add FTM alarm driver as the wakeup source

2019-07-11 Thread Biwen Li
For the paltforms including LS1012A, LS1021A, LS1028A, LS1043A, LS1046A, LS1088A, LS208xA that has the FlexTimer module, implementing alarm functions within RTC subsystem to wakeup the system when system going to sleep (work with RCPM driver). Signed-off-by: Biwen Li --- Change in v3: - a

Re: [PATCH v4] builddeb: generate multi-arch friendly linux-libc-dev package

2019-07-11 Thread Masahiro Yamada
On Tue, Jul 9, 2019 at 4:44 PM Cedric Hombourger wrote: > > Debian-based distributions place libc header files in a machine > specific directory (/usr/include/) instead of > /usr/include/asm to support installation of the linux-libc-dev > package from multiple architectures. Move headers installed

Re: [PATCH -next] rdma/siw: remove set but not used variable 's'

2019-07-11 Thread Jason Gunthorpe
On Thu, Jul 11, 2019 at 03:12:13PM +0800, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/sw/siw/siw_cm.c: In function siw_cm_llp_state_change: > drivers/infiniband/sw/siw/siw_cm.c:1278:17: warning: variable s set but not > used [-Wunused-but-set-variable

Re: [PATCH -next] rdma/siw: Add missing dependencies on LIBCRC32C and DMA_VIRT_OPS

2019-07-11 Thread Jason Gunthorpe
On Wed, Jul 10, 2019 at 03:39:30PM +0200, Geert Uytterhoeven wrote: > If LIBCRC32C and DMA_VIRT_OPS are not enabled: > > drivers/infiniband/sw/siw/siw_main.o: In function `siw_newlink': > siw_main.c:(.text+0x35c): undefined reference to `dma_virt_ops' > drivers/infiniband/sw/siw/siw_qp

Re: [PATCH 1/5] random: remove unnecessary unlikely()

2019-07-11 Thread Frank Lee
ping...

[PATCH 0/8] Amazon's Annapurna Labs DT-based PCIe host controller driver

2019-07-11 Thread Jonathan Chocron
This series adds support for Amazon's Annapurna Labs DT-based PCIe host controller driver. Additionally, it adds 3 quirks (ACS, VPD and MSI-X) and 2 generic DWC patches. Regarding the 2nd DWC patch (PCI flags support), do you think this should be done in the context of a host-bridge driver at all

[v3 2/2] Documentation: dt: binding: rtc: add binding for ftm alarm driver

2019-07-11 Thread Biwen Li
The patch adds binding for ftm alarm driver Signed-off-by: Biwen Li --- Change in v3: - remove reg-names property - correct cells number Change in v2: - replace ls1043a with ls1088a as example - add rcpm node and fsl,rcpm-wakeup property .../devicetree/bindings/

Re: [PATCH] arm64/kexec: Use consistent convention of initializing 'kxec_buf.mem' with KEXEC_BUF_MEM_UNKNOWN

2019-07-11 Thread Matthias Brugger
On 11/07/2019 13:57, Bhupesh Sharma wrote: > With commit b6664ba42f14 ("s390, kexec_file: drop arch_kexec_mem_walk()"), > we introduced the KEXEC_BUF_MEM_UNKNOWN macro. If kexec_buf.mem is set > to this value, kexec_locate_mem_hole() will try to allocate free memory. > > While other arch(s) lik

[PATCH 1/8] PCI: Add Amazon's Annapurna Labs vendor ID

2019-07-11 Thread Jonathan Chocron
Add Amazon's Annapurna Labs vendor ID to pci_ids.h. Signed-off-by: Jonathan Chocron --- 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 0dd239f11e91..ed350fd522c6 100644 --- a/include/linux/pci_ids.h +++ b/incl

Re: [PATCH -next] RDMA/core: fix -Wunused-const-variable warnings

2019-07-11 Thread Jason Gunthorpe
On Thu, Jul 11, 2019 at 09:55:56AM -0400, Qian Cai wrote: > The linux-next commit "linux/dim: Implement RDMA adaptive moderation > (DIM)" [1] introduced a few compilation warnings. > > In file included from ./include/rdma/ib_verbs.h:64, > from ./include/linux/mlx5/device.h:37, >

[PATCH 2/8] PCI: Add ACS quirk for Amazon Annapurna Labs root ports

2019-07-11 Thread Jonathan Chocron
From: Ali Saidi The Amazon's Annapurna Labs root ports don't advertise an ACS capability, but they don't allow peer-to-peer transactions and do validate bus numbers through the SMMU. Additionally, it's not possible for one RP to pass traffic to another RP. Signed-off-by: Ali Saidi Signed-off-by

[PATCH 3/8] PCI/VPD: Add VPD release quirk for Amazon Annapurna Labs host bridge

2019-07-11 Thread Jonathan Chocron
The Amazon Annapurna Labs pcie host bridge exposes the VPD capability, but there is no actual support for it. The reason for not using the already existing quirk_blacklist_vpd() is that, although this fails pci_vpd_read/write, the 'vpd' sysfs entry still exists. When running lspci -vv, for example

[PATCH 4/8] PCI: Add quirk to disable MSI support for Amazon's Annapurna Labs host bridge

2019-07-11 Thread Jonathan Chocron
On some platforms, the host bridge exposes an MSI-X capability but doesn't actually support it. This causes a crash during initialization by the pcieport driver, since it tries to configure the MSI-X capability. Signed-off-by: Jonathan Chocron --- drivers/pci/quirks.c | 8 1 file change

[PATCH 6/8] PCI: al: Add support for DW based driver type

2019-07-11 Thread Jonathan Chocron
This driver is DT based and utilizes the DesignWare APIs. It allows using a smaller ECAM range for a larger bus range - usually an entire bus uses 1MB of address space, but the driver can use it for a larger number of buses. All link initializations are handled by the boot FW. Signed-off-by: Jona

[PATCH 7/8] PCI: dw: Add validation that PCIe core is set to correct mode

2019-07-11 Thread Jonathan Chocron
Some PCIe controllers can be set to either Host or EP according to some early boot FW. To make sure there is no discrepancy (e.g. FW configured the port to EP mode while the DT specifies it as a host bridge or vice versa), a check has been added for each mode. Signed-off-by: Jonathan Chocron ---

Re: [PATCH v3 05/14] clk: qcom: apcs-msm8916: get parent clock names from DT

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Allow accessing the parent clock names required for the driver > operation by using the device tree node. > > This permits extending the driver to other platforms without having to > modify its source code. > > For backwards compatibilit

[PATCH v2 00/24] erofs: promote erofs from staging

2019-07-11 Thread Gao Xiang
Changelog from v1: o resend the whole filesystem into a patchset suggested by Greg; o code is more cleaner, especially for decompression frontend. --8<-- Hi, EROFS file system has been in Linux-staging for about a year. It has been proved to be stable enough to move out of staging by 1

[PATCH 8/8] PCI: dw: Add support for PCI_PROBE_ONLY/PCI_REASSIGN_ALL_BUS flags

2019-07-11 Thread Jonathan Chocron
This basically aligns the usage of PCI_PROBE_ONLY and PCI_REASSIGN_ALL_BUS in dw_pcie_host_init() with the logic in pci_host_common_probe(). Now it will be possible to control via the devicetree whether to just probe the PCI bus (in cases where FW already configured it) or to fully configure it.

Re: [RFC][PATCH v11 0/2] mm: Support for page hinting

2019-07-11 Thread Alexander Duyck
On Thu, Jul 11, 2019 at 4:31 AM Nitesh Narayan Lal wrote: > > > On 7/10/19 7:40 PM, Alexander Duyck wrote: > > On Wed, Jul 10, 2019 at 12:52 PM Nitesh Narayan Lal > > wrote: > > > > The results up here were redundant with what is below so I am just > > dropping them. I would suggest only includi

[PATCH v2 19/24] erofs: add erofs_allocpage()

2019-07-11 Thread Gao Xiang
This patch introduces an temporary _on-stack_ page pool to reuse the freed page directly as much as it can for better performance and release all pages at a time, it also slightly reduces the possibility of the potential memory allocation failure. Signed-off-by: Gao Xiang --- fs/erofs/internal.h

Re: [PATCH] rcu: Make jiffies_till_sched_qs writable

2019-07-11 Thread Paul E. McKenney
On Thu, Jul 11, 2019 at 09:08:49AM -0400, Joel Fernandes wrote: > On Thu, Jul 11, 2019 at 05:30:52AM -0700, Paul E. McKenney wrote: > > On Wed, Jul 10, 2019 at 10:20:25AM +0900, Byungchul Park wrote: > > > On Tue, Jul 09, 2019 at 05:41:02AM -0700, Paul E. McKenney wrote: > > > > > Hi Paul, > > > >

Re: [RFC][PATCH v11 0/2] mm: Support for page hinting

2019-07-11 Thread Nitesh Narayan Lal
On 7/11/19 10:58 AM, Alexander Duyck wrote: > On Thu, Jul 11, 2019 at 4:31 AM Nitesh Narayan Lal wrote: >> >> On 7/10/19 7:40 PM, Alexander Duyck wrote: >>> On Wed, Jul 10, 2019 at 12:52 PM Nitesh Narayan Lal >>> wrote: >>> >>> The results up here were redundant with what is below so I am just

Re: [PATCH v3 06/14] clk: qcom: hfpll: get parent clock names from DT

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Allow accessing the parent clock name required for the driver > operation using the device tree node. > > This permits extending the driver to other platforms without having to > modify its source code. > > For backwards compatibility le

Re: [PATCH v3 07/14] clk: qcom: hfpll: register as clock provider

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Make the output of the high frequency pll a clock provider. > On the QCS404 this PLL controls cpu frequency scaling. > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz > Acked-by: Ste

[PATCH 2/2] staging: most: remove redundant print statement when kfifo_alloc fails

2019-07-11 Thread Keyur Patel
This print statement is redundant as kfifo_alloc just calls kmalloc_array and without the __GFP_NOWARN flag, already does a dump_stack(). Signed-off-by: Keyur Patel --- drivers/staging/most/cdev/cdev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/most/

Re: [GIT PULL] x86/topology changes for v5.3

2019-07-11 Thread Kees Cook
On Thu, Jul 11, 2019 at 10:01:34AM +0200, Peter Zijlstra wrote: > On Thu, Jul 11, 2019 at 07:11:19AM +, Nadav Amit wrote: > > > On Jul 10, 2019, at 7:22 AM, Jiri Kosina wrote: > > > > > > On Wed, 10 Jul 2019, Peter Zijlstra wrote: > > > > > >> If we mark the key as RO after init, and then tr

Re: [RFC][PATCH v11 0/2] mm: Support for page hinting

2019-07-11 Thread Alexander Duyck
On Thu, Jul 11, 2019 at 8:04 AM Nitesh Narayan Lal wrote: > > > On 7/11/19 10:58 AM, Alexander Duyck wrote: > > On Thu, Jul 11, 2019 at 4:31 AM Nitesh Narayan Lal > > wrote: > >> > >> On 7/10/19 7:40 PM, Alexander Duyck wrote: > >>> On Wed, Jul 10, 2019 at 12:52 PM Nitesh Narayan Lal > >>> wro

[PATCH v2 4/4] arm64: dts: marvell: armada-ap806: add smmu support

2019-07-11 Thread Gregory CLEMENT
Add IOMMU node for Marvell AP806 based SoCs. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi inde

[PATCH] clk: imx: Remove unused clk based API

2019-07-11 Thread Abel Vesa
Now that the i.MX6 and i.MX7 clock drivers have been switched to clk_hw based, we can remove the clk based API that is not used by any i.MX clock driver. The following APIs are going away now: - imx_clk_busy_divider - imx_clk_busy_mux - imx_clk_fixup_divider - imx_clk_fixup_mux - imx_clk_mux_ldb -

Re: [PATCH v2 2/2] udf: support 2048-byte spacing of VRS descriptors on 4K media

2019-07-11 Thread Jan Kara
On Thu 11-07-19 08:38:52, Steven J. Magnani wrote: > Some UDF creators (specifically Microsoft, but perhaps others) mishandle > the ECMA-167 corner case that requires descriptors within a Volume > Recognition Sequence to be placed at 4096-byte intervals on media where > the block size is 4K. Inst

Re: [PATCH v3 08/14] clk: qcom: hfpll: CLK_IGNORE_UNUSED

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > When COMMON_CLK_DISABLED_UNUSED is set, in an effort to save power and > to keep the software model of the clock in line with reality, the > framework transverses the clock tree and disables those clocks that > were enabled by the firmware

Re: [RFC][PATCH v11 0/2] mm: Support for page hinting

2019-07-11 Thread Nitesh Narayan Lal
On 7/11/19 11:08 AM, Alexander Duyck wrote: > On Thu, Jul 11, 2019 at 8:04 AM Nitesh Narayan Lal wrote: >> >> On 7/11/19 10:58 AM, Alexander Duyck wrote: >>> On Thu, Jul 11, 2019 at 4:31 AM Nitesh Narayan Lal >>> wrote: On 7/10/19 7:40 PM, Alexander Duyck wrote: > On Wed, Jul 10, 2019

Re: [PATCH v3 09/14] arm64: dts: qcom: msm8916: Add the clocks for the APCS mux/divider

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Specify the clocks that feed the APCS mux/divider instead of using > default hardcoded values in the source code. > > The driver still supports the previous bindings; however with this > update it we allow the msm8916 to access the parent

Re: [PATCH v3 10/14] arm64: dts: qcom: qcs404: Add OPP table

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Add a CPU OPP table to qcs404 > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++

Re: [PATCH v3 11/14] arm64: dts: qcom: qcs404: Add HFPLL node

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > The high frequency pll functionality is required to enable CPU > frequency scaling operation. > Reviewed-by: Bjorn Andersson > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz > ---

[GIT PULL] chrome-platform changes for v5.3

2019-07-11 Thread Benson Leung
Hi Linus, The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v5.3 for you to fet

Re: [RFC][Patch v11 1/2] mm: page_hinting: core infrastructure

2019-07-11 Thread Nitesh Narayan Lal
On 7/10/19 4:45 PM, Dave Hansen wrote: > On 7/10/19 12:51 PM, Nitesh Narayan Lal wrote: >> +struct zone_free_area { >> +unsigned long *bitmap; >> +unsigned long base_pfn; >> +unsigned long end_pfn; >> +atomic_t free_pages; >> +unsigned long nbits; >> +} free_area[MAX_NR_ZONES]

Re: [PATCH v4 1/4] mm: introduce MADV_COLD

2019-07-11 Thread Johannes Weiner
On Thu, Jul 11, 2019 at 10:25:25AM +0900, Minchan Kim wrote: > When a process expects no accesses to a certain memory range, it could > give a hint to kernel that the pages can be reclaimed when memory pressure > happens but data should be preserved for future use. This could reduce > workingset e

Re: [PATCH] dax: Fix missed PMD wakeups

2019-07-11 Thread Matthew Wilcox
On Thu, Jul 11, 2019 at 07:13:50AM -0700, Matthew Wilcox wrote: > However, the XA_RETRY_ENTRY might be a good choice. It doesn't normally > appear in an XArray (it may appear if you're looking at a deleted node, > but since we're holding the lock, we can't see deleted nodes). Updated patch (also

Re: [PATCH v3 14/14] arm64: defconfig: Enable HFPLL

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > The high frequency pll is required on compatible Qualcomm SoCs to > support the CPU frequency scaling feature. > Reviewed-by: Bjorn Andersson > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Rami

Re: [PATCH v3 12/14] arm64: dts: qcom: qcs404: Add the clocks for APCS mux/divider

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Specify the clocks that feed the APCS mux/divider instead of using > default hardcoded values in the source code. > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjor

Re: [PATCH v3 13/14] arm64: dts: qcom: qcs404: Add DVFS support

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Support dynamic voltage and frequency scaling on qcs404. > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz I agree with Niklas on the possibility of squashing this with the opp tabl

Re: [PATCH v3 01/14] clk: qcom: gcc: limit GPLL0_AO_OUT operating frequency

2019-07-11 Thread Bjorn Andersson
On Tue 25 Jun 09:47 PDT 2019, Jorge Ramirez-Ortiz wrote: > Limit the GPLL0_AO_OUT_MAIN operating frequency as per its hardware > specifications. > > Co-developed-by: Niklas Cassel > Signed-off-by: Niklas Cassel > Signed-off-by: Jorge Ramirez-Ortiz > Acked-by: Stephen Boyd Reviewed-by: Bjorn

Re: [RFC PATCH 3/6] sched/dl: Try better placement even for deadline tasks that do not block

2019-07-11 Thread Dietmar Eggemann
On 7/11/19 2:00 PM, Peter Zijlstra wrote: > On Thu, Jul 11, 2019 at 01:17:17PM +0200, Dietmar Eggemann wrote: >> On 7/9/19 3:42 PM, Peter Zijlstra wrote: > > That is, we only do those callbacks from: > > schedule_tail() > __schedule() > rt_mutex_setprio() > __sched_

Re: [PATCH 1/2] soc: qcom: llcc: Rename llcc-sdm845 to llcc-plat

2019-07-11 Thread Bjorn Andersson
On Thu 11 Jul 04:03 PDT 2019, Vivek Gautam wrote: > To avoid adding files for each future supported SoCs rename > the file to a generic name - llcc-plat, so that llcc configuration > tables for other SoCs can be added in the same driver. > We've had a generic LLCC Kconfig option and then a speci

Re: [PATCH v2] tracing: Add verbose gfp_flag printing to synthetic events

2019-07-11 Thread Tom Zanussi
Hi Zhengjun, The patch itself looks fine to me, but could you please create a v3 with a couple changes to the commit message? I noticed you dropped your original commit message - please add it back and combine with part of mine, as below. Also, please keep your original Subject line ('[PATCH] tr

[ANNOUNCE] v5.2-rt1

2019-07-11 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v5.2-rt1 patch set. Changes since v5.0.21-rt16: - Rebase to v5.2 First release in the v5.2 series. I had in testing for the last few days and did not notice anything unusual. Known issues - rcutorture is currently broken on -RT. Reported by Ju

Re: [PATCH 5/8] dt-bindings: PCI: Add Amazon's Annapurna Labs PCIe host bridge binding

2019-07-11 Thread Chocron, Jonathan
On Thu, 2019-07-11 at 10:32 +0100, Lorenzo Pieralisi wrote: > On Thu, Jul 11, 2019 at 10:12:35AM +0300, Shenhar, Talel wrote: > > > > On 7/10/2019 7:45 PM, Jonathan Chocron wrote: > > > Document Amazon's Annapurna Labs PCIe host bridge. > > > > That is the way! (best to keep same wordings (Amazon

Re: [PATCH v2 0/2] minor fixes for perf cs-etm

2019-07-11 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 11, 2019 at 10:33:09PM +0800, Yuehaibing escreveu: > > Arnaldo, can you pick this? Thanks, and sorry for the delay, fell thru the cracks. - Arnaldo

[PATCH 02/12] remoteproc: qcom: Add secure PIL support

2019-07-11 Thread Gokul Sriram Palanisamy
IPQ8074 uses secure PIL. Hence, adding the support for the same. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- drivers/remoteproc/qcom_q6v5_wcss.c | 37 + 1 file changed, 37 insertions(+) diff --git a/

[PATCH 05/12] remoteproc: qcom: Update regmap offsets for halt register

2019-07-11 Thread Gokul Sriram Palanisamy
Fixed issue in reading halt-regs parameter from device-tree. Also adding a flag to check for bcr reset which is not required for ipq8074. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- drivers/remoteproc/qcom_q6v5_wcss.c | 28 ++-- 1 file changed,

[PATCH 00/12] remoteproc: qcom: q6v5-wcss: Add support for secure pil

2019-07-11 Thread Gokul Sriram Palanisamy
IPQ8074 needs support for secure pil as well. Also, currently only unified firmware is supported. IPQ8074 supports split firmware for q6 and m3, so adding support for that. Gokul Sriram Palanisamy (12): remoteproc: qcom: Add PRNG proxy clock remoteproc: qcom: Add secure PIL support remotepro

[PATCH 04/12] remoteproc: qcom: Add ssr subdevice identifier

2019-07-11 Thread Gokul Sriram Palanisamy
Add name for ssr subdevice on IPQ8074 SoC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- drivers/remoteproc/qcom_q6v5_wcss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_q6v5_wcss.c b/drivers/remoteproc/qco

[PATCH 01/12] remoteproc: qcom: Add PRNG proxy clock

2019-07-11 Thread Gokul Sriram Palanisamy
PRNG clock is needed by the secure PIL, support for the same is added in subsequent patches. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- drivers/remoteproc/qcom_q6v5_wcss.c | 63 +++-- 1 file changed, 46

[PATCH 08/12] dt-bindings: mailbox: qom: Add ipq8074 APPS compatible

2019-07-11 Thread Gokul Sriram Palanisamy
Add mailbox support required in IPQ8074 SoCs. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-g

[PATCH 06/12] dt-bindings: clock: qcom: Add reset for WCSSAON

2019-07-11 Thread Gokul Sriram Palanisamy
Add binding for WCSSAON reset required for Q6v5 reset on IPQ8074 SoC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- include/dt-bindings/clock/qcom,gcc-ipq8074.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock

[PATCH 03/12] remoteproc: qcom: Add support for split q6 + m3 wlan firmware

2019-07-11 Thread Gokul Sriram Palanisamy
IPQ8074 supports split firmware for q6 and m3 as well. So add support for loading the m3 firmware before q6. Now the drivers works fine for both split and unified firmwares. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- drivers/remoteproc

[PATCH 12/12] arm64: dts: qcom: Enable Q6v5 WCSS for ipq8074 SoC

2019-07-11 Thread Gokul Sriram Palanisamy
Enable remoteproc WCSS PIL driver with glink and ssr subdevices. Also configures shared memory and enables smp2p and mailboxes required for IPC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 125 +++

[PATCH 09/12] mailbox: qcom: Add support for IPQ8074 APCS

2019-07-11 Thread Gokul Sriram Palanisamy
Add support of IPQ8074 with IPC register offset as 8. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbo

[PATCH 10/12] dt-bindings: firmware: qcom: Add compatible for IPQ8074 SoC

2019-07-11 Thread Gokul Sriram Palanisamy
Add compatible for IPQ8074 support. This does not need clocks for scm calls. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/firmwa

[PATCH 07/12] clk: qcom: Add WCSSAON reset

2019-07-11 Thread Gokul Sriram Palanisamy
Add WCSSAON reset required for Q6v5 on IPQ8074 SoC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- drivers/clk/qcom/gcc-ipq8074.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-ipq8074.c b/drivers/clk/qcom/gcc-ipq

[PATCH 11/12] arm64: dts: Add support for scm on IPQ8074 SoCs

2019-07-11 Thread Gokul Sriram Palanisamy
Enables scm support, clock is not needed for enabling scm interface. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts

Re: [RFC][Patch v11 1/2] mm: page_hinting: core infrastructure

2019-07-11 Thread Nitesh Narayan Lal
On 7/11/19 11:25 AM, Nitesh Narayan Lal wrote: > On 7/10/19 4:45 PM, Dave Hansen wrote: >> On 7/10/19 12:51 PM, Nitesh Narayan Lal wrote: >>> +struct zone_free_area { >>> + unsigned long *bitmap; >>> + unsigned long base_pfn; >>> + unsigned long end_pfn; >>> + atomic_t free_pages; >>> +

Re: [RFC PATCH v2 0/3] An alternative __vdso_sgx_enter_enclave() to allow enclave/host parameter passing using untrusted stack

2019-07-11 Thread Sean Christopherson
On Thu, Jul 11, 2019 at 12:38:09PM +0300, Jarkko Sakkinen wrote: > On Wed, Jul 10, 2019 at 04:37:41PM -0700, Xing, Cedric wrote: > > We are not judging which vessel is better (or the best) among all possible > > vessels. We are trying to enable more vessels. Every vessel has its pros and > > cons s

Noticia importante

2019-07-11 Thread Administrador web
Estimado usuario de correo electrónico, En nuestro mejor esfuerzo por brindar un excelente servicio a todos nuestros usuarios, planeamos realizar una actualización del sistema, el proceso tomará alrededor de 30 minutos. Este mensaje ha estado transmitido por algún tiempo y aconsejamos a los usu

Re: [PATCH v20 22/28] x86/traps: Attempt to fixup exceptions in vDSO before signaling

2019-07-11 Thread Sean Christopherson
On Thu, Jun 27, 2019 at 01:32:58PM -0700, Xing, Cedric wrote: > Just a reminder that #DB/#BP shall be treated differently because they are > used by debuggers. So instead of branching to the fixup address, the kernel > shall just signal the process. More importantly, doing fixup on #DB and #BP si

Noticia importante

2019-07-11 Thread Administrador web
Estimado usuario de correo electrónico, En nuestro mejor esfuerzo por brindar un excelente servicio a todos nuestros usuarios, planeamos realizar una actualización del sistema, el proceso tomará alrededor de 30 minutos. Este mensaje ha estado transmitido por algún tiempo y aconsejamos a los usu

Re: [PATCH v2 2/2] udf: support 2048-byte spacing of VRS descriptors on 4K media

2019-07-11 Thread Steve Magnani
On 7/11/19 10:04 AM, Jan Kara wrote: Thanks for the patches! I've added them to my tree and somewhat simplified the logic since we don't really care about nsr 2 vs 3 or whether we actually saw BEA or not. Everything seems to work fine for me but I'd appreciate if you could doublecheck - the resul

Re: [PATCH v20 22/28] x86/traps: Attempt to fixup exceptions in vDSO before signaling

2019-07-11 Thread Sean Christopherson
On Tue, Jun 25, 2019 at 06:43:41PM +0300, Jarkko Sakkinen wrote: > Is there any obvious reason why #PF fixup is in its own patch and the > rest are collected to the same patch? I would not find it confusing if > there was one patch per exception but really don't get this division. I split them due

Re: [PATCH 2/2] soc: qcom: llcc-plat: Make the driver more generic

2019-07-11 Thread Bjorn Andersson
On Thu 11 Jul 04:03 PDT 2019, Vivek Gautam wrote: > - Remove 'sdm845' from names, and use 'plat' instead. > - Move SCT_ENTRY macro to header file. > - Create a new config structure to asssign to of-match-data. > I interpret the intention of these two patches as that you want to add some new plat

[PATCH v3] tpm: tpm_ibm_vtpm: Fix unallocated banks

2019-07-11 Thread Nayna Jain
The nr_allocated_banks and allocated banks are initialized as part of tpm_chip_register. Currently, this is done as part of auto startup function. However, some drivers, like the ibm vtpm driver, do not run auto startup during initialization. This results in uninitialized memory issue and causes a

Noticia importante

2019-07-11 Thread Administrador web
Estimado usuario de correo electrónico, En nuestro mejor esfuerzo por brindar un excelente servicio a todos nuestros usuarios, planeamos realizar una actualización del sistema, el proceso tomará alrededor de 30 minutos. Este mensaje ha estado transmitido por algún tiempo y aconsejamos a los usu

  1   2   3   4   5   6   7   >