[PATCH v2 0/2] Documentation and driver of logicoreIP

2017-12-07 Thread Dhaval Shah
1st patch provide Device Tree binding document for logicoreIP 2nd patch provide the xlnx_vcu logicoreIP driver, Kconfig changes and Makefile changes for the driver. Dhaval Shah (2): Documentation: devicetree: Add DT bindings to xlnx_vcu driver misc: Add Xilinx ZYNQMP VCU logicoreIP init

Re: [PATCH 2/3] bluetooth: hci_ll: add constant for vendor-specific command

2017-12-07 Thread Marcel Holtmann
Hi David, >>> This adds a #define for the vendor-specific HCI command to set the >>> baudrate instead of using the bare 0xff36 multiple times. >>> >>> Signed-off-by: David Lechner >>> --- >>> drivers/bluetooth/hci_ll.c | 10 -- >>> 1 file changed, 8 insertions(+), 2

Re: Multiple oom_reaper BUGs: unmap_page_range racing with exit_mmap

2017-12-07 Thread David Rientjes
On Thu, 7 Dec 2017, Michal Hocko wrote: > yes. I will fold the following in if this turned out to really address > David's issue. But I suspect this will be the case considering the NULL > pmd in the report which would suggest racing with free_pgtable... > I'm backporting and testing the

Re: [PATCH v2 net-next 3/4] bpftool: implement prog load command

2017-12-07 Thread Jakub Kicinski
On Thu, 7 Dec 2017 18:39:08 +, Roman Gushchin wrote: > Add the prog load command to load a bpf program from a specified > binary file and pin it to bpffs. > > Usage description and examples are given in the corresponding man > page. > > Syntax: > $ bpftool prog load SOURCE_FILE FILE > >

Re: [PATCH v4 1/4] uinput: Use monotonic times for uinput timestamps.

2017-12-07 Thread Arnd Bergmann
On Thu, Dec 7, 2017 at 7:13 PM, Deepa Dinamani wrote: > struct timeval which is part of struct input_event to > maintain the event times is not y2038 safe. > > Real time timestamps are also not ideal for input_event > as this time can go backwards as noted in the patch >

Re: [PATCH v2 2/6] dt: bindings: lp8860: Update DT label binding

2017-12-07 Thread Rob Herring
On Tue, Dec 05, 2017 at 02:43:23PM -0600, Dan Murphy wrote: > Update the lp8860 label binding to the LED > standard as documented in > > Documentation/devicetree/bindings/leds/common.txt > > Signed-off-by: Dan Murphy > --- > > v2 - Added reg to child node and made it required >

Re: [PATCH] clk: qcom: gcc-msm8996: always enable aggre0_noc gdsc

2017-12-07 Thread Stephen Boyd
On 12/07, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > bus clks which depend on this gdsc are marked as critical, > so this patch flags this gdsc ALWAYS_ON so that bus clks status > does not get stuck at on or off. > > Signed-off-by:

Re: [PATCH v2 2/6] dt: bindings: lp8860: Update DT label binding

2017-12-07 Thread Dan Murphy
Rob On 12/07/2017 04:45 PM, Rob Herring wrote: > On Tue, Dec 05, 2017 at 02:43:23PM -0600, Dan Murphy wrote: >> Update the lp8860 label binding to the LED >> standard as documented in >> >> Documentation/devicetree/bindings/leds/common.txt >> >> Signed-off-by: Dan Murphy >> ---

Re: [PATCH v2 1/6] dt: bindings: lp8860: Update bindings for lp8860

2017-12-07 Thread Dan Murphy
Rob On 12/07/2017 04:43 PM, Rob Herring wrote: > On Tue, Dec 05, 2017 at 02:43:22PM -0600, Dan Murphy wrote: >> Update the lp8860 bindings to fix various issues >> found. Add address-cells and size-cells, rename >> enable-gpio to enable-gpios, update the node name >> to the device name and

Re: [PATCH v2 1/6] dt: bindings: lp8860: Update bindings for lp8860

2017-12-07 Thread Dan Murphy
Rob Thanks On 12/07/2017 04:42 PM, Rob Herring wrote: > gOn Tue, Dec 05, 2017 at 02:43:22PM -0600, Dan Murphy wrote: >> Update the lp8860 bindings to fix various issues >> found. Add address-cells and size-cells, rename >> enable-gpio to enable-gpios, update the node name >> to the device name

Re: [PATCH v6 2/2] dt-bindings: add eeprom "no-read-rollover" property

2017-12-07 Thread Rob Herring
On Thu, Dec 7, 2017 at 1:26 PM, Sven Van Asbroeck wrote: > Adds an optional property for at24 eeproms. > This parameterless property indicates that the multi-address eeprom > does not automatically roll over reads to the next slave address. > > Signed-off-by: Sven Van Asbroeck

[PATCH v6 net-next,mips 1/7] dt-bindings: Add Cavium Octeon Common Ethernet Interface.

2017-12-07 Thread David Daney
From: Carlos Munoz Add bindings for Common Ethernet Interface (BGX) block. Acked-by: Rob Herring Signed-off-by: Carlos Munoz Signed-off-by: Steven J. Hill Signed-off-by: David Daney ---

[PATCH v6 net-next,mips 3/7] MIPS: Octeon: Automatically provision CVMSEG space.

2017-12-07 Thread David Daney
Remove CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE and automatically calculate the amount of CVMSEG space needed. 1st 128-bytes: Use by IOBDMA 2nd 128-bytes: Reserved by kernel for scratch/TLS emulation. 3rd 128-bytes: OCTEON-III LMTLINE New config variable CONFIG_CAVIUM_OCTEON_EXTRA_CVMSEG provisions

Re: [PATCH v5 2/4] clk: meson-axg: add clocks dt-bindings required header

2017-12-07 Thread Yixun Lan
On 12/08/17 06:10, Rob Herring wrote: > On Thu, Dec 07, 2017 at 05:52:58PM +0800, Yixun Lan wrote: >> From: Qiufang Dai >> >> Add the required header for the clocks ID dt-bindings >> exported from various subsystem in the Meson-AXG SoC. >> >> Signed-off-by: Qiufang Dai

Re: [PATCH v3 15/16] iommu: introduce page response function

2017-12-07 Thread Jacob Pan
On Thu, 7 Dec 2017 12:56:55 + Jean-Philippe Brucker wrote: > On 06/12/17 19:25, Jacob Pan wrote: > [...] > >> For SMMUv3, the stall buffer may be shared between devices on > >> some implementations, in which case the guest could prevent other > >> devices to

[git pull] drm fixes for v4.15-rc3

2017-12-07 Thread Dave Airlie
Hi Linus, FYI, I'm on holidays for next week, it's normally a time of the dev cycle where anything urgent happens so things should tick along nicely. I'll have some email access but no serious hw. This pull is a bit larger than I'd like but a large bunch of it is license fixes, AMD wanted to fix

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Jonathan Corbet
On Fri, 8 Dec 2017 08:21:09 +1100 "Tobin C. Harding" wrote: > Unless I'm a proper wombat that entry is not in the mainline MAINTAINERS > file. Um...from current git... DOCUMENTATION M: Jonathan Corbet L: linux-...@vger.kernel.org S: Maintained F:

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Joe Perches
On Fri, 2017-12-08 at 08:21 +1100, Tobin C. Harding wrote: > On Thu, Dec 07, 2017 at 01:52:56PM -0700, Jonathan Corbet wrote: > > On Fri, 8 Dec 2017 07:44:34 +1100 > > "Tobin C. Harding" wrote: > > > > > Where is Jon's tree hosted please, I don't see it on kernel.org > > > > From

Re: [PATCH V6 3/7] device property: Introduce a common API to fetch device match data

2017-12-07 Thread Sakari Ailus
On Thu, Dec 07, 2017 at 03:17:52PM -0500, Sinan Kaya wrote: > On 12/7/2017 7:40 AM, Sakari Ailus wrote: > > On Tue, Dec 05, 2017 at 12:04:48PM -0500, Sinan Kaya wrote: > >> @@ -101,6 +103,8 @@ struct fwnode_operations { > >>(*graph_get_port_parent)(struct fwnode_handle *fwnode); > >>int

Re: [PATCH] netfilter: fix clusterip_net_exit build regression

2017-12-07 Thread Pablo Neira Ayuso
On Thu, Dec 07, 2017 at 02:26:09PM +0100, Arnd Bergmann wrote: > The added check produces a build error when CONFIG_PROC_FS is > disabled: > > net/ipv4/netfilter/ipt_CLUSTERIP.c: In function 'clusterip_net_exit': > net/ipv4/netfilter/ipt_CLUSTERIP.c:822:28: error: 'cn' undeclared (first use > in

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-07 Thread Jakub Kicinski
On Thu, 7 Dec 2017 18:39:09 +, Roman Gushchin wrote: > This patch adds basic cgroup bpf operations to bpftool: > cgroup list, attach and detach commands. > > Usage is described in the corresponding man pages, > and examples are provided. > > Syntax: > $ bpftool cgroup list CGROUP > $ bpftool

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-07 Thread Dave Chinner
On Thu, Dec 07, 2017 at 11:06:34AM -0500, Theodore Ts'o wrote: > On Wed, Dec 06, 2017 at 06:06:48AM -0800, Matthew Wilcox wrote: > > > Unfortunately for you, I don't find arguments along the lines of > > > "lockdep will save us" at all convincing. lockdep already throws > > > too many false

[PATCH 3/3] doc: add documentation on printing kernel addresses

2017-12-07 Thread Tobin C. Harding
Hashing addresses printed with printk specifier %p was implemented recently. During development a number of issues were raised regarding leaking kernel addresses to userspace. Other documentation was updated but security/self-protection missed out. Add self-protection documentation regarding

Re: [PATCH v8 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver

2017-12-07 Thread Rob Herring
On Tue, Dec 05, 2017 at 02:46:29PM -0600, Dan Murphy wrote: > This adds the devicetree bindings for the LM3692x > I2C LED string driver. > > Acked-by: Pavel Machek > Signed-off-by: Dan Murphy > --- > > v8 - Added address-cells and size-cells as well as child node

Re: PI futexes + lock stealing woes

2017-12-07 Thread Gratian Crisan
Julia Cartwright writes: > On Thu, Dec 07, 2017 at 08:57:59AM -0600, Gratian Crisan wrote: >> >> Peter Zijlstra writes: >> > The below compiles and boots, but is otherwise untested. Could you give >> > it a spin? >> >> Thank you! Yes, I'll start a test now. > > I gave it a spin with my minimal

[PATCH] fs/seq_file: Fix warning of passing zero to 'PTR_ERR'

2017-12-07 Thread Vasyl Gomonovych
p could be NULL and passing into PTR_ERR Signed-off-by: Vasyl Gomonovych --- fs/seq_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index 4be761c..8b700b9 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -262,8

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 04:01:46PM -0700, Jonathan Corbet wrote: > On Thu, 7 Dec 2017 14:50:42 -0800 > Kees Cook wrote: > > > > +These guides contain general information useful when writing kernel code. > > > + > > > +.. toctree:: > > > + :maxdepth: 1 > > > + > > > +

Re: [PATCH net-next v3 0/2] net: thunderx: add support for PTP clock

2017-12-07 Thread Jakub Kicinski
On Wed, 6 Dec 2017 16:30:56 +0300, Aleksey Makarov wrote: > This series adds support for IEEE 1588 Precision Time Protocol > to Cavium ethernet driver. > > The first patch adds support for the Precision Time Protocol Clocks and > Timestamping coprocessor (PTP) found on Cavium processors. > It

Re: [PATCH net-next] net: stmmac: fix broken dma_interrupt handling for multi-queues

2017-12-07 Thread Niklas Cassel
On Thu, Dec 07, 2017 at 11:56:10PM +0100, Niklas Cassel wrote: > Since each DMA channel can be used for rx and tx simultaneously, > the current code should probably be rewritten so that napi_struct is > embedded in a new struct stmmac_channel. > That way, stmmac_poll() can call stmmac_tx_clean()

Re: [PATCH] PM / devfreq: Fix potential NULL pointer dereference in governor_store

2017-12-07 Thread Gustavo A. R. Silva
Quoting MyungJoo Ham : df->governor is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Notice that df->governor is being null checked at line 1004: if (df->governor) {, which implies it might be null. Fix this by

Re: [PATCH] mm: terminate shrink_slab loop if signal is pending

2017-12-07 Thread Suren Baghdasaryan
On Thu, Dec 7, 2017 at 12:34 AM, Michal Hocko wrote: > On Wed 06-12-17 11:20:26, Suren Baghdasaryan wrote: >> Slab shrinkers can be quite time consuming and when signal >> is pending they can delay handling of the signal. If fatal >> signal is pending there is no point in

Traversing XFS mounted VM puts process in D state

2017-12-07 Thread Dinesh Pathak
Hi, We are mounting and traversing one backup of a VM with XFS filesystem. Sometimes during traversing, the process goes into D state and can not be killed. Eventually system needs to IPMI rebooted. This happens once in 100 times. This VM backup is kept on NFS storage. So we first do NFS

[PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC

2017-12-07 Thread Yixun Lan
This is DT part patchset for adding pinctrl support for the Amlogic's Meson-AXG SoC. Changes since v3 at [3] -- rebase to khilman's v4.16/dt64 branch and re-send -- add Rob's Ack Changes since v2 at [2]: -- Resend this patch series due to fail to send patch [2/2] Changes since v1 at

[PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC

2017-12-07 Thread Yixun Lan
From: Xingyu Chen Add new pinctrl DT info for the Amlogic's Meson-AXG SoC. Reviewed-by: Neil Armstrong Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan ---

[PATCH v4 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers

2017-12-07 Thread Yixun Lan
From: Xingyu Chen Add compatibles for Amlogic Meson AXG pin controllers Reviewed-by: Neil Armstrong Acked-by: Rob Herring Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan ---

Re: [PATCH v5 1/2] at24: support eeproms that do not auto-rollover reads.

2017-12-07 Thread Bartosz Golaszewski
2017-12-07 20:02 GMT+01:00 Uwe Kleine-König : > Hello, > > On Thu, Dec 07, 2017 at 05:26:50PM +0100, Bartosz Golaszewski wrote: >> > + if (at24->chip.flags & AT24_FLAG_NO_RDROL) { >> > + bits = (at24->chip.flags & AT24_FLAG_ADDR16) ? 16 : 8; >>

Re: [PATCH v2 2/2] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-07 Thread Philippe Ombredanne
Dear Dhaval, On Thu, Dec 7, 2017 at 10:31 PM, Dhaval Shah wrote: > Xilinx ZYNQMP logicoreIP Init driver is based on the new > LogiCoreIP design created. This driver provides the processing system > and programmable logic isolation. Set the frequency based on the clock >

Re: [kernel-hardening] [PATCH v3 2/2] Protected O_CREAT open in sticky directories

2017-12-07 Thread Solar Designer
On Tue, Dec 05, 2017 at 11:21:00AM +0100, Salvatore Mesoraca wrote: > 2017-11-30 17:30 GMT+01:00 Solar Designer : > > $ strace flock /tmp/lockfile -c cat > > [...] > > open("/tmp/lockfile", O_RDONLY|O_CREAT|O_NOCTTY, 0666) = 3 > > flock(3, LOCK_EX) = 0 > >

Re: [PATCH V6 3/7] device property: Introduce a common API to fetch device match data

2017-12-07 Thread Rafael J. Wysocki
On Thu, Dec 7, 2017 at 11:06 PM, Sakari Ailus wrote: > On Thu, Dec 07, 2017 at 03:17:52PM -0500, Sinan Kaya wrote: >> On 12/7/2017 7:40 AM, Sakari Ailus wrote: >> > On Tue, Dec 05, 2017 at 12:04:48PM -0500, Sinan Kaya wrote: >> >> @@ -101,6 +103,8 @@ struct fwnode_operations

Re: [PATCH v2 1/6] dt: bindings: lp8860: Update bindings for lp8860

2017-12-07 Thread Rob Herring
gOn Tue, Dec 05, 2017 at 02:43:22PM -0600, Dan Murphy wrote: > Update the lp8860 bindings to fix various issues > found. Add address-cells and size-cells, rename > enable-gpio to enable-gpios, update the node name > to the device name and indent the node example. > > Signed-off-by: Dan Murphy

[PATCH 2/5] -march=native: POPCNT support

2017-12-07 Thread Alexey Dobriyan
Mainline kernel can only generate "popcnt rax, rdi" instruction with alternative masquareading as function call. Patch allows to generate all POPCNT variations and inlines hweigth*() family of functions. $ objdump -dr ../obj/vmlinux | grep popcnt 81004f6d: f3 48 0f

[PATCH 5/5] -march=native: MOVBE support

2017-12-07 Thread Alexey Dobriyan
Use MOVBE if it is available. This doesn't save code size as MOVBE seems to be as long as MOV+BSWAP, It is not clear if it saves uop, maybe it will in the future. Do it because it is easy, I guess. --- arch/x86/crypto/des3_ede-asm_64.S | 28 arch/x86/net/bpf_jit.S

[PATCH 4/5] -march=native: REP STOSB

2017-12-07 Thread Alexey Dobriyan
If CPU advertises fast REP STOSB, use it. Inline clear_page() to use only 3 registers across function call not whole shebang as required by ABI. Also, tell gcc to use REP STOSB for memset(), this saves terabytes of .text. Signed-off-by: Alexey Dobriyan --- Makefile

Re: [PATCH] libsas: flush pending destruct work in sas_unregister_domain_devices()

2017-12-07 Thread Cong Wang
On Thu, Dec 7, 2017 at 5:37 AM, John Garry wrote: > On 28/11/2017 17:04, Cong Wang wrote: >> >> I don't understand, the only caller of sas_unregister_domain_devices() >> is sas_deform_port(). >> > > And sas_deform_port() may be called from another worker on the same queue,

Re: [PATCH v2] ubsan: don't handle misaligned address when support unaligned access

2017-12-07 Thread Andrew Morton
On Thu, 7 Dec 2017 16:31:23 +0300 Andrey Ryabinin wrote: > On 12/07/2017 03:49 AM, Andrew Morton wrote: > > (correcting Andrey's email address) > > > > > > From: Ding Tianhong > > Subject: lib/ubsan.c: don't handle misaligned address when

Re: [PATCH v0 1/5] x86_64: march=native support

2017-12-07 Thread H. Peter Anvin
One more thing: you HAVE to make arch/x86/include/asm/required-features.h aware of any features that the kernel unconditionally depend on. Again, using the gcc cpp macros that reflect what bits gcc itself broadcast. However, this is perhaps where CONFIG flags become important, since

Re: [PATCH] PM / devfreq: Fix potential NULL pointer dereference in governor_store

2017-12-07 Thread Gustavo A. R. Silva
Hi Chanwoo, Quoting Chanwoo Choi : On 2017년 12월 07일 05:20, Gustavo A. R. Silva wrote: df->governor is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Notice that df->governor is being null checked at line 1004: if

[PATCH v6 net-next,mips 2/7] MIPS: Octeon: Enable LMTDMA/LMTST operations.

2017-12-07 Thread David Daney
From: Carlos Munoz LMTDMA/LMTST operations move data between cores and I/O devices: * LMTST operations can send an address and a variable length (up to 128 bytes) of data to an I/O device. * LMTDMA operations can send an address and a variable length (up to 128) of data

[PATCH v6 net-next,mips 4/7] staging: octeon: Remove USE_ASYNC_IOBDMA macro.

2017-12-07 Thread David Daney
Previous patch sets USE_ASYNC_IOBDMA to 1 unconditionally. Remove USE_ASYNC_IOBDMA from all if statements. Remove dead code caused by the change. Acked-by: Greg Kroah-Hartman Signed-off-by: David Daney ---

[PATCH v6 net-next,mips 5/7] MIPS: Octeon: Add a global resource manager.

2017-12-07 Thread David Daney
From: Carlos Munoz Add a global resource manager to manage tagged pointers within bootmem allocated memory. This is used by various functional blocks in the Octeon core like the FPA, Ethernet nexus, etc. Signed-off-by: Carlos Munoz Signed-off-by: Steven J.

Re: [PATCH] libsas: flush pending destruct work in sas_unregister_domain_devices()

2017-12-07 Thread Cong Wang
On Thu, Dec 7, 2017 at 4:40 PM, Cong Wang wrote: > On Thu, Dec 7, 2017 at 2:57 PM, Cong Wang wrote: >> On Thu, Dec 7, 2017 at 5:37 AM, John Garry wrote: >>> On 28/11/2017 17:04, Cong Wang wrote: I don't

[PATCH v2 1/2] Documentation: devicetree: Add DT bindings to xlnx_vcu driver

2017-12-07 Thread Dhaval Shah
Add Device Tree binding document for logicoreIP. This logicoreIP provides the isolation between the processing system and programmable logic. Also provides the clock related information. Signed-off-by: Dhaval Shah --- Changes since v2: * Describe the h/w * compatible string

[PATCH v2 2/2] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-07 Thread Dhaval Shah
Xilinx ZYNQMP logicoreIP Init driver is based on the new LogiCoreIP design created. This driver provides the processing system and programmable logic isolation. Set the frequency based on the clock information get from the logicoreIP register set. It is put in drivers/misc as there is no

Re: Timer refuses to expire

2017-12-07 Thread Paul E. McKenney
On Thu, Dec 07, 2017 at 06:56:17AM -0800, Paul E. McKenney wrote: > On Thu, Dec 07, 2017 at 03:03:50PM +0800, Boqun Feng wrote: [ . . . ] > > > What I did instead was to dump out the state of the task that > > > __cpuhp_kick_ap() waits on, please see the patch at the very end of this > > >

Good news to you

2017-12-07 Thread Mrs.Joy Vivian
-- Good news to you We have concluded to effect your payment via Western Union Money Transfer,$8,000 twice daily until the total sum of $2.500,000.00 U.S Dollars we were mandated by the IMF to transfer to you is completely transferred. The International Monetary Fund (IMF) is compensating all

Re: [PATCH] drivers/scsi/qla2xxx: fix double free bug after firmware timeout

2017-12-07 Thread Max Kellermann
On 2017/12/07 21:38, "Madhani, Himanshu" wrote: > NACK > > These calls are asynchronous calls and free should be called by > completion. I don't understand the NACK, and your text doesn't explain it. It only describes a second bug that is orthogonal to mine.

Re: [PATCH v2 4/6] dt: bindings: lp8860: Add trigger binding to the lp8860

2017-12-07 Thread Rob Herring
On Tue, Dec 05, 2017 at 02:43:25PM -0600, Dan Murphy wrote: > Add a default trigger optional node to the child node. > This will allow the driver to set the trigger for a backlight. > > Signed-off-by: Dan Murphy > --- > > v2 - Moved binding changes to first patch in the series.

[RFC PATCH v2 0/2] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-12-07 Thread Maran Wilson
Changes from v1: * Adopted Paolo's suggestion for defining a v2 PVH ABI that includes the e820 map instead of using the second module entry to pass the table. * Cleaned things up a bit to reduce the number of xen vs non-xen special cases. Juergen also had a suggestion to split the

[RFC PATCH v2 1/2] xen/pvh: Add memory map pointer to hvm_start_info struct

2017-12-07 Thread Maran Wilson
The start info structure that is defined as part of the x86/HVM direct boot ABI and used for starting Xen PVH guests would be more versatile if it also included a way to efficiently pass information about the memory map to the guest. That way Xen PVH guests would not be forced to use a hypercall

[RFC PATCH v2 2/2] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-12-07 Thread Maran Wilson
For certain applications it is desirable to rapidly boot a KVM virtual machine. In cases where legacy hardware and software support within the guest is not needed, Qemu should be able to boot directly into the uncompressed Linux kernel binary without the need to run firmware. There already exists

[PATCH net-next] net: stmmac: fix broken dma_interrupt handling for multi-queues

2017-12-07 Thread Niklas Cassel
There is nothing that says that number of TX queues == number of RX queues. E.g. the ARTPEC-6 SoC has 2 TX queues and 1 RX queue. This code is obviously wrong: for (chan = 0; chan < tx_channel_count; chan++) { struct stmmac_rx_queue *rx_q = >rx_queue[chan]; priv->rx_queue has size

Re: [PATCH v3 07/12] dt-bindings: Document the Rockchip MIPI RX D-PHY bindings

2017-12-07 Thread Rob Herring
On Wed, Dec 06, 2017 at 07:19:34PM +0800, Jacob Chen wrote: > From: Jacob Chen > > Add DT bindings documentation for Rockchip MIPI D-PHY RX > > Signed-off-by: Jacob Chen > --- > .../bindings/media/rockchip-mipi-dphy.txt | 71 >

Re: [PATCH] fs/seq_file: Fix warning of passing zero to 'PTR_ERR'

2017-12-07 Thread Al Viro
On Thu, Dec 07, 2017 at 11:23:26PM +, Al Viro wrote: > On Fri, Dec 08, 2017 at 12:03:07AM +0100, Vasyl Gomonovych wrote: > > p could be NULL and passing into PTR_ERR > > > > Signed-off-by: Vasyl Gomonovych > > --- > > fs/seq_file.c | 4 ++-- > > 1 file changed, 2

Re: [PATCH] clk: qcom: gcc-msm8996: always enable aggre0_noc gdsc

2017-12-07 Thread Srinivas Kandagatla
On 07/12/17 22:54, Stephen Boyd wrote: .pwrsts = PWRSTS_OFF_ON, - .flags = VOTABLE, + .flags = VOTABLE | ALWAYS_ON, I dont think this flag has been added yet. Probably this needs to be folded into the other series? I agree, I will wait for Rajendras patches to land in or I

Re: [PATCH v3 2/4] regulator: bindings: Add properties for coupled regulators

2017-12-07 Thread Rob Herring
On Thu, Dec 07, 2017 at 10:46:13AM +0100, Maciej Purski wrote: > Some regulators require keeping their voltage spread below defined > max_spread. > > Add properties to provide information on regulators' coupling. > > Signed-off-by: Maciej Purski > --- >

[RFC PATCH] mm: kasan: suppress soft lockup in slub when !CONFIG_PREEMPT

2017-12-07 Thread Yang Shi
When running stress test with KASAN enabled, the below softlockup may happen occasionally: NMI watchdog: BUG: soft lockup - CPU#7 stuck for 22s! [blogbench:2997] Modules linked in: dm_mod(E) binfmt_misc(E) salsa20_generic(E) salsa20_x86_64(E) camellia_generic(E) camellia_aesni_avx_x86_64(E)

Re: [PATCH 1/3] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Fri, Dec 08, 2017 at 09:27:54AM +1100, Tobin C. Harding wrote: [snip] New comments have come in from Kees Cook in thread for previous version. Please drop this set so Kees's suggestions can be implemented. thanks, Tobin.

Re: [PATCH v3] mm, thp: introduce generic transparent huge page allocation interfaces

2017-12-07 Thread Andrew Morton
On Thu, 7 Dec 2017 18:54:19 +0800 changbin...@intel.com wrote: > From: Changbin Du > > This patch introduced 4 new interfaces to allocate a prepared transparent > huge page. These interfaces merge distributed two-step allocation as simple > single step. And they can

Re: [PATCH v4 1/2] of: documentation: add bindings documentation for TS-7970

2017-12-07 Thread Rob Herring
On Thu, Dec 07, 2017 at 11:05:49AM -0500, Sebastien Bourdelin wrote: > This adds the documentation for the TS-7970 by Technologic Systems. > > Signed-off-by: Sebastien Bourdelin > --- > Changes v3 -> v4: > - rebase on master > > Changes v1 -> v2: >

Re: [PATCH 3.18 00/26] 3.18.87-stable review

2017-12-07 Thread Shuah Khan
On 12/07/2017 05:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.87 release. > There are 26 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. > > Responses

Re: Lockdep is less useful than it was

2017-12-07 Thread Dave Chinner
On Thu, Dec 07, 2017 at 02:38:03PM -0800, Matthew Wilcox wrote: > On Thu, Dec 07, 2017 at 11:06:34AM -0500, Theodore Ts'o wrote: > > The problem is that if it has too many false positives --- and it's > > gotten *way* worse with the completion callback "feature", people will > > just stop using

[PATCH 2/3] module: move finished_loading()

2017-12-07 Thread Luis R. Rodriguez
This has no functional change, just moves a routine earlier as we'll make use of it next. Signed-off-by: Luis R. Rodriguez --- kernel/module.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/kernel/module.c

[PATCH 1/3] module: add an early early_mod_check()

2017-12-07 Thread Luis R. Rodriguez
We technically do a bit of sanity check with a local struct module with pointers set to passed user data first. Only after we do these checks do we embark on allocating a struct module based on the passed information. There's a small set of early checks which help us bail out from processing and

[PATCH] tty: New RISC-V SBI console driver

2017-12-07 Thread Palmer Dabbelt
From: Palmer Dabbelt The RISC-V ISA defines a simple console that is availiable via SBI calls on all systems. This patch adds a driver for this console interface that can act as both a target for early printk and as the system console. The core arch code already enables the

Re: [PATCH] SCSI: run queue if SCSI device queue isn't ready and queue is idle

2017-12-07 Thread Ming Lei
On Thu, Dec 07, 2017 at 09:06:58PM +, Bart Van Assche wrote: > On Wed, 2017-12-06 at 00:28 +0800, Ming Lei wrote: > > On Tue, Dec 05, 2017 at 04:08:20PM +, Bart Van Assche wrote: > > > On Tue, 2017-12-05 at 15:52 +0800, Ming Lei wrote: > > > > diff --git a/drivers/scsi/scsi_lib.c

Re: Timer refuses to expire

2017-12-07 Thread Boqun Feng
On Thu, Dec 07, 2017 at 06:56:17AM -0800, Paul E. McKenney wrote: > On Thu, Dec 07, 2017 at 03:03:50PM +0800, Boqun Feng wrote: > > Hi Paul, > > > > On Wed, Dec 06, 2017 at 02:04:21PM -0800, Paul E. McKenney wrote: > > > On Tue, Dec 05, 2017 at 03:37:44PM -0800, Paul E. McKenney wrote: > > > > On

Re: [PATCH 0/9] media: imx: Add better OF graph support

2017-12-07 Thread Steve Longerbeam
On 12/07/2017 03:23 PM, Steve Longerbeam wrote: Hi Hans, On 12/04/2017 05:44 AM, Hans Verkuil wrote: Of course, any such simplification can also be done after this series has been applied, but I don't know what your thoughts are on this. I do prefer the sub-notifier approach to

Re: [PATCH v3 15/16] iommu: introduce page response function

2017-12-07 Thread Alex Williamson
On Wed, 6 Dec 2017 11:25:21 -0800 Jacob Pan wrote: > On Tue, 5 Dec 2017 17:21:15 + > Jean-Philippe Brucker wrote: > > > Hi Jacob, > > > > On 04/12/17 21:37, Jacob Pan wrote: > > > On Fri, 24 Nov 2017 12:03:50 + > > >

Re: [PATCH v5 1/2] at24: support eeproms that do not auto-rollover reads.

2017-12-07 Thread Uwe Kleine-König
On Thu, Dec 07, 2017 at 10:33:51PM +0100, Bartosz Golaszewski wrote: > 2017-12-07 20:02 GMT+01:00 Uwe Kleine-König : > > Hello, > > > > On Thu, Dec 07, 2017 at 05:26:50PM +0100, Bartosz Golaszewski wrote: > >> > + if (at24->chip.flags & AT24_FLAG_NO_RDROL) { >

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 02:30:53PM -0700, Jonathan Corbet wrote: > On Fri, 8 Dec 2017 08:21:09 +1100 > "Tobin C. Harding" wrote: > > > Unless I'm a proper wombat that entry is not in the mainline MAINTAINERS > > file. > > Um...from current git... Foiled by me automatic Emacs

Re: [RFC v2 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2017-12-07 Thread Rob Herring
On Sun, Dec 03, 2017 at 10:25:35PM -0800, Wendy Liang wrote: > Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block > in ZynqMP SoC used for the communication between various processor > systems. > > Signed-off-by: Wendy Liang > --- >

Lockdep is less useful than it was

2017-12-07 Thread Matthew Wilcox
On Thu, Dec 07, 2017 at 11:06:34AM -0500, Theodore Ts'o wrote: > The problem is that if it has too many false positives --- and it's > gotten *way* worse with the completion callback "feature", people will > just stop using Lockdep as being too annyoing and a waste of developer > time when trying

[PATCH v0 1/5] x86_64: march=native support

2017-12-07 Thread Alexey Dobriyan
Being Gentoo user part of me died every time I compiled kernel with raw -O2 when userspace was running with "-march=native -O2" for years. This patch implements kernel build with "-march=native", at last. So far resulting kernel is good enough to boot in VM. Benchmarks: No serious

Re: [PATCH v2 1/6] dt: bindings: lp8860: Update bindings for lp8860

2017-12-07 Thread Rob Herring
On Tue, Dec 05, 2017 at 02:43:22PM -0600, Dan Murphy wrote: > Update the lp8860 bindings to fix various issues > found. Add address-cells and size-cells, rename > enable-gpio to enable-gpios, update the node name > to the device name and indent the node example. > > Signed-off-by: Dan Murphy

Re: [PATCH 4.4 05/27] x86/efi: Build our own page table structures

2017-12-07 Thread Ben Hutchings
On Mon, 2017-12-04 at 16:59 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Matt Fleming > > commit 67a9108ed4313b85a9c53406d80dc1ae3f8c3e36 upstream. [...] It looks like

[PATCH 3/5] -march=native: REP MOVSB support

2017-12-07 Thread Alexey Dobriyan
If CPU advertises fast REP MOVSB, use it. Inline copy_page() to use only 3 registers across function call not whole shebang as required by ABI. Also, tell gcc to use REP MOVSB for memcpy(), this saves terabytes of .text. Signed-off-by: Alexey Dobriyan --- Makefile

Re: Firmware signing -- Re: [PATCH 00/27] security, efi: Add kernel lockdown

2017-12-07 Thread Luis R. Rodriguez
On Tue, Dec 05, 2017 at 11:27:58AM +0100, Pavel Machek wrote: > Hi! > > > > Our ability to determine that userland hasn't been tampered with > > > depends on the kernel being trustworthy. If userland can upload > > > arbitrary firmware to DMA-capable devices then we can no longer trust > > > the

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Jonathan Corbet
On Thu, 7 Dec 2017 14:50:42 -0800 Kees Cook wrote: > > +These guides contain general information useful when writing kernel code. > > + > > +.. toctree:: > > + :maxdepth: 1 > > + > > + printk-formats > > I actually think this belongs in the kernel core API

Re: [PATCH] fs/seq_file: Fix warning of passing zero to 'PTR_ERR'

2017-12-07 Thread Matthew Wilcox
On Fri, Dec 08, 2017 at 12:03:07AM +0100, Vasyl Gomonovych wrote: > p could be NULL and passing into PTR_ERR What makes you think this is correct? To quote the documentation: The next function to implement is called, amazingly, next(); its job is to move the iterator forward to the next

Re: [PATCH v3 06/12] dt-bindings: Document the Rockchip ISP1 bindings

2017-12-07 Thread Rob Herring
On Wed, Dec 06, 2017 at 07:19:33PM +0800, Jacob Chen wrote: > From: Jacob Chen > > Add DT bindings documentation for Rockchip ISP1 > > Signed-off-by: Jacob Chen > --- > .../devicetree/bindings/media/rockchip-isp1.txt| 57 >

Re: [PATCH v2 5/5] fpga: region: return NOTIFY_STOP if overlay shoud be accepted

2017-12-07 Thread Moritz Fischer
On Wed, Nov 15, 2017 at 02:51:52PM -0600, Alan Tull wrote: > Recent changes to the Device Tree overlay notifier code have changed > how notifier return codes are interpreted, requiring a NOTIFY_STOP to > signal that the overlay should be accepted. This commit makes the > appropriate change to the

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 02:50:42PM -0800, Kees Cook wrote: > On Tue, Dec 5, 2017 at 5:45 PM, Tobin C. Harding wrote: > > Documentation/printk-formats.txt is a candidate for conversion to > > ReStructuredText format. Some effort has already been made to do this > > conversion even

[RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread John Stultz
In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c22 ("ion: Use CMA APIs directly"), the ion_cma_heap code was modified to use the CMA API, but kept the

Re: [PATCH v2 2/2] uio: Introduce UIO driver dt-binding documentation

2017-12-07 Thread Rob Herring
On Thu, Dec 07, 2017 at 03:46:59PM +0100, Andrey Zhizhikin wrote: > Create Documentation portion of UIO driver with Generic Interrupt Handler. > > This patch creates a dt-binding documentation portion of the UIO Driver. > > In addition to definition of standard required properties, new optional

[PATCH v6 net-next,mips 0/7] Cavium OCTEON-III network driver.

2017-12-07 Thread David Daney
We are adding the Cavium OCTEON-III network driver. But since interacting with the input and output queues is done via special CPU local memory, we also need to add support to the MIPS/Octeon architecture code. Aren't SoCs nice in this way? The first five patches add the SoC support needed by

[PATCH v6 net-next,mips 7/7] MAINTAINERS: Add entry for drivers/net/ethernet/cavium/octeon/octeon3-*

2017-12-07 Thread David Daney
Signed-off-by: David Daney --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4007fa2e193e..b4bf5b205380 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3249,6 +3249,12 @@ W: http://www.cavium.com S:

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Kees Cook
On Thu, Dec 7, 2017 at 3:44 PM, Tobin C. Harding wrote: > Cheers Kees. FTR, changes to implement are: > > - Fix the capitalization of 'kernel'. I don't really have an opinion about which way is right. I personally don't capitalize it unless I speak about it as a single thing "The

Re: Timer refuses to expire

2017-12-07 Thread Paul E. McKenney
On Thu, Dec 07, 2017 at 01:45:14PM -0800, Paul E. McKenney wrote: > On Thu, Dec 07, 2017 at 06:56:17AM -0800, Paul E. McKenney wrote: > > On Thu, Dec 07, 2017 at 03:03:50PM +0800, Boqun Feng wrote: > > [ . . . ] > > > > > What I did instead was to dump out the state of the task that > > > >

[PATCH] drm: Update edid-derived drm_display_info fields at edid property set

2017-12-07 Thread Keith Packard
There are a set of values in the drm_display_info structure for each connector which hold information derived from EDID. These are computed in drm_add_display_info. Before this patch, that was only called in drm_add_edid_modes. This meant that they were only set when EDID was present and never

Re: [PATCH] SCSI: run queue if SCSI device queue isn't ready and queue is idle

2017-12-07 Thread Martin K. Petersen
Ming, > Jens, Martin, would any of you mind making this patch in V4.15? Since > it fixes real use cases and this way is exact what we do before > 0df21c86bdbf("scsi: implement .get_budget and .put_budget for blk-mq"). Applied to 4.15/scsi-fixes, thank you! -- Martin K. Petersen Oracle

  1   2   3   4   5   6   7   8   9   10   >