[PATCH] trace/uprobes: fix output issue with address randomization

2017-12-15 Thread Thomas Richter
Commit ad67b74d2469 ("printk: hash addresses printed with %p") changed %p to hash pointers in order to avoid leaking kernel addresses. This breaks the tool perf probe. To set a uprobe on a function named inet_pton in libc library, obtain the address of the symbol inet_pton using command nm and

[PATCH] spi: atmel: fixed spin_lock usage inside atmel_spi_remove

2017-12-15 Thread Radu Pirea
The only part of atmel_spi_remove which needs to be atomic is hardware reset. atmel_spi_stop_dma calls dma_terminate_all and this needs interrupts enabled. atmel_spi_release_dma calls dma_release_channel and dma_release_channel locks a mutex inside of spin_lock. So the call of these functions

[PATCH 2/3] sched/fair: Correct obsolete comment about cpufreq_update_util

2017-12-15 Thread Joel Fernandes
Since the remote cpufreq callback work, the cpufreq_update_util call can happen from remote CPUs. The comment about local CPUs is thus obsolete. Update it accordingly. Reviewed-by: Viresh Kumar Signed-off-by: Joel Fernandes --- kernel/sched/fair.c |

[PATCH 3/3] sched/fair: remove impossible condition from find_idlest_group_cpu

2017-12-15 Thread Joel Fernandes
find_idlest_group_cpu goes through CPUs of a group previous selected by find_idlest_group. find_idlest_group returns NULL if the local group is the selected one and doesn't execute find_idlest_group_cpu if the group to which 'cpu' belongs to is chosen. So we're always guaranteed to call

[PATCH 2/2] kconfig: drop 'boolean' keyword

2017-12-15 Thread Masahiro Yamada
No more users of this keyword. Drop it according to the notice by commit 6341e62b212a ("kconfig: use bool instead of boolean for type definition attributes"). Signed-off-by: Masahiro Yamada --- scripts/kconfig/confdata.c | 2 +- scripts/kconfig/kconf_id.c | 1 -

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Geert Uytterhoeven
On Fri, Dec 15, 2017 at 3:27 PM, Will Deacon wrote: > On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: >> On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: >> > The two important differences here seem to be >> > >> > 1) Staging the

Re: [PATCH net-next] net: dsa: bcm_sf2: Update compatible string for 7278B0

2017-12-15 Thread David Miller
From: Florian Fainelli Date: Thu, 14 Dec 2017 17:59:40 -0800 > Update the compatible string and Device Tree binding document for > 7278B0. > > Signed-off-by: Florian Fainelli Applied.

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Geert Uytterhoeven
Hi Will, On Fri, Dec 15, 2017 at 3:27 PM, Will Deacon wrote: > On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: >> On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: >> > The two important differences here seem to be >> > >> > 1)

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Will Deacon
On Fri, Dec 15, 2017 at 04:59:28PM +0100, Geert Uytterhoeven wrote: > On Fri, Dec 15, 2017 at 3:27 PM, Will Deacon wrote: > > On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: > >> On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: >

Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-15 Thread kbuild test robot
Hi Boris, I love your patch! Yet something to improve: [auto build test ERROR on xen-tip/linux-next] [also build test ERROR on v4.15-rc3 next-20171215] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [intel-sgx-kernel-dev] [PATCH v5 06/11] intel_sgx: driver for Intel Software Guard Extensions

2017-12-15 Thread Jarkko Sakkinen
On Wed, Dec 13, 2017 at 11:18:29PM +, Christopherson, Sean J wrote: > Resurrecting this thread now that I have a system with launch control > and have been able to measure the performance impact... > > Regenerating the EINIT token every time adds somewhere in the vicinity > of ~5% overhead to

Re: [v7, 3/3] ARM: dts: imx6qdl.dtsi/imx6ul.dtsi: add "fsl, imx6q-snvs-lpgpr" node

2017-12-15 Thread Stefan Wahren
Hi Maciej, Am 11.12.2017 um 23:31 schrieb Maciej S. Szmigiero: On 20.06.2017 09:09, Oleksij Rempel wrote: This node is for Low Power General Purpose Register which can be used as Non-Volatile Storage. Signed-off-by: Oleksij Rempel ---

Re: 答复: [PATCH v6] mfd: Add support for RTS5250S power saving

2017-12-15 Thread Bjorn Helgaas
On Fri, Dec 15, 2017 at 09:42:45AM +, 冯锐 wrote: > > [+cc Hans, Dave, linux-pci] > > > > On Thu, Sep 07, 2017 at 04:26:39PM +0800, rui_f...@realsil.com.cn wrote: > > > From: Rui Feng > > > > I wish this had been posted to linux-pci before being merged. > > > > I'm

[GIT PULL] overlayfs fixes for 4.15-rc4

2017-12-15 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus - fix incomplete syncing of filesystem - fix regression in readdir on ovl over 9p - only following redirects when needed - misc fixes and cleanups Thanks, Miklos --- Amir Goldstein

Re: [PATCH] drm/tegra: mark t186 display hub PM functions __maybe_unused

2017-12-15 Thread Dmitry Osipenko
On 15.12.2017 16:33, Thierry Reding wrote: > On Fri, Dec 15, 2017 at 01:51:52PM +0100, Arnd Bergmann wrote: >> The newly introduced driver has optional suspend/resume functions, >> causing a warning when CONFIG_PM is disabled: >> >> drivers/gpu/drm/tegra/hub.c:749:12: error:

[PATCH] kconfig: display recursive dependency resolution hint just once

2017-12-15 Thread Masahiro Yamada
Commit 1c199f2878f6 ("kbuild: document recursive dependency limitation / resolution") probably intended to show a hint along with "recursive dependency detected!" error, but it missed to add {...} guard, and the hint is displayed in every loop of the dep_stack traverse, annoyingly. This error was

Re: [PATCH] arm64: rockchip: enable Rockchip IO domain support

2017-12-15 Thread Heiko Stübner
Am Freitag, 15. Dezember 2017, 13:20:10 CET schrieb Klaus Goger: > Make sure the IO domain support is active. This requires to enable > Adaptive Voltage Scaling class support too. > > Without Rockchip IO domain support the internal level shifter on the RK3399 > will be misconfigured if used in

Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-15 Thread Juergen Gross
On 15/12/17 15:58, Boris Ostrovsky wrote: > On 12/15/2017 09:47 AM, Juergen Gross wrote: >> On 15/12/17 15:24, Boris Ostrovsky wrote: > + > + hostmem_resource->start = max_addr; > + hostmem_resource->end = entry->addr + entry->size; > + for (; i < memmap.nr_entries; i++) { > +

Re: [PATCH] arm64: defconfig: Select schedutil as default cpufreq governor

2017-12-15 Thread Catalin Marinas
On Thu, Nov 16, 2017 at 11:51:36AM +0530, Viresh Kumar wrote: > Currently performance governor is getting selected by default, which is > surely not a very good choice as its pretty much power hungry. > > Select schedutil instead. And why do we care about this in defconfig? People deploying

Re: [GIT PULL] x86 fixes

2017-12-15 Thread Andy Lutomirski
On Fri, Dec 15, 2017 at 7:43 AM, Ingo Molnar wrote: > Linus, > > - two 5-level paging related fixes Which reminds me: can you grab this one, too? https://lkml.kernel.org/r/24c898b4f44fdf8c22d93703850fb384ef87cfdc.1513035461.git.l...@kernel.org

Re: [PATCH v4 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-15 Thread David Miller
From: Philippe Ombredanne Date: Fri, 15 Dec 2017 11:28:15 +0100 > Salil, > > On Thu, Dec 14, 2017 at 7:03 PM, Salil Mehta wrote: >> This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem >> 3) >> Virtual Function Ethernet

[GIT PULL] locking fixes

2017-12-15 Thread Ingo Molnar
Linus, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: 92ccc262e485781ff4c0fb3b7c77a619282df49a tools/lib/lockdep: Add missing declaration of 'pr_cont()' Misc fixes: - Fix a S390

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

2017-12-15 Thread Juergen Gross
On 13/12/17 00:42, Maran Wilson wrote: > 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

Re: [RFC][PATCHv6 00/12] printk: introduce printing kernel thread

2017-12-15 Thread Steven Rostedt
On Thu, 14 Dec 2017 23:39:36 +0900 Sergey Senozhatsky wrote: > On (12/14/17 15:27), Petr Mladek wrote: > > > > Therefore I tend to give Steven's solution a chance before this > > combined approach. > > > > have you seen this

Re: rsi_91x: Failed to read status register on failed authentication

2017-12-15 Thread Alexey Brodkin
Hi Amitkumar, On Wed, 2017-12-06 at 12:43 +0530, Amitkumar Karwar wrote: > On Tue, Dec 5, 2017 at 9:41 PM, Alexey Brodkin > wrote: > > Hi Amit, > > > > I'm seeing quite a strange behavior of RedPine module. > > It connects perfectly fine to one of access points but

[PATCH 0/3] RapidIO: Tsi721-DMA: Adjustments for five function implementations

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 17:28:32 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in tsi721_alloc_chan_resources() Delete an

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-15 Thread Bruno Wolff III
On Fri, Dec 15, 2017 at 22:02:20 +0800, weiping zhang wrote: Yes, please help reproduce this issue include my debug patch. Reproduce means we can see WARN_ON in device_add_disk caused by failure of bdi_register_owner. I'm not sure why yet, but I'm only getting the

Re: [PATCH 18/25] arm: am3/am4/dra7/omap: dts: Remove leading 0x and 0s from bindings notation

2017-12-15 Thread Tony Lindgren
* Mathieu Malaterre [171215 04:49]: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_format): Node

Re: general protection fault in show_timer

2017-12-15 Thread Thomas Gleixner
On Thu, 14 Dec 2017, Eric Biggers wrote: > On Thu, Dec 14, 2017 at 04:34:12PM +0100, Thomas Gleixner wrote: > > On Thu, 14 Dec 2017, Dmitry Vyukov wrote: > > > On Thu, Dec 14, 2017 at 3:26 PM, Thomas Gleixner > > > wrote: > > > > On Tue, 12 Dec 2017, Greg KH wrote: > > > >>

[PATCH 03/10] perf tools: Add processing of coresight metadata

2017-12-15 Thread Mathieu Poirier
From: Tor Jeremiassen The auxtrace_info section contains metadata that describes the number of trace capable CPUs, their ETM version and trace configuration, including trace id values. This information is required by the trace decoder in order to properly decode the compressed trace

[PATCH 01/10] perf tools: Integrating the CoreSight decoding library

2017-12-15 Thread Mathieu Poirier
The Open CoreSight Decoding Library (openCSD) is a free and open library to decode traces collected by the CoreSight hardware infrastructure. This patch adds the required mechanic to recognise the presence of the openCSD library on a system and set up miscellaneous flags to be used in the

[PATCH 05/10] perf tools: Add support for decoding CoreSight trace data

2017-12-15 Thread Mathieu Poirier
Adding functionality to create a CoreSight trace decoder capable of decoding trace data pushed by a client application. Co-authored-by: Tor Jeremiassen Signed-off-by: Mathieu Poirier --- tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 119

[RFC][PATCH v2] Add primitives for manipulating bitfields both in host- and fixed-endian.

2017-12-15 Thread Al Viro
[Folks, please review and comment; if no objections show up, into -next it goes] The following primitives are defined in linux/bitfield.h: * u32 le32_get_bits(__le32 val, u32 field) extracts the contents of the bitfield specified by @field in little-endian 32bit object @val and converts it

[PATCH v11 2/3] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-12-15 Thread Aleksandar Markovic
From: Miodrag Dinic Add device driver for a virtual programmable interrupt controller The virtual PIC is designed as a device tree-based interrupt controller. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic

[PATCH v11 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-12-15 Thread Aleksandar Markovic
From: Miodrag Dinic Provide amendments to the MIPS generic platform framework so that the new generic-based board Ranchu can be chosen to be built. The Ranchu board is intended to be used by Android emulator. The name "Ranchu" originates from Android development

Re: [RFC PATCH for 4.16 02/21] rseq: Introduce restartable sequences system call (v12)

2017-12-15 Thread Mathieu Desnoyers
- On Dec 15, 2017, at 10:05 AM, Chris Lameter c...@linux.com wrote: > On Thu, 14 Dec 2017, Peter Zijlstra wrote: > >> > But my company has extensive user space code that maintains a lot of >> > counters and does other tricks to get full performance out of the >> > hardware. Such a mechanism

[PATCH] init/main.c: simplify repair_env_string

2017-12-15 Thread Michal Suchanek
Quoting characters are now removed from the parameter so value always follows directly after the NUL terminating parameter name. Signed-off-by: Michal Suchanek --- init/main.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) Since the previous "[PATCH v9

Re: [PATCH] usbip: vhci-hcd: return correct port ENABLE status

2017-12-15 Thread Shuah Khan
On 12/15/2017 01:44 AM, Zhang, Pei wrote: > Add maintainers > > * * > BRs, > Pei Zhang > Please resend the patch to include everybody get_maintainers.pl lists. thanks, -- Shuah

Re: [PATCH 4.14 00/52] 4.14.7-stable review

2017-12-15 Thread Greg Kroah-Hartman
On Fri, Dec 15, 2017 at 02:12:10PM -0700, Shuah Khan wrote: > On 12/15/2017 02:51 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.7 release. > > There are 52 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 1/2] dt-bindings: Add Infineon TLV493D-A1B6

2017-12-15 Thread Rob Herring
On Sun, Dec 10, 2017 at 12:25:06AM +0100, Andreas Färber wrote: > The Infineon TLV493D-A1B6 is an I2C-based 3D Magnetic Sensor. > > Cc: Marius Tarcatu > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/trivial-devices.txt |

[PATCH] Fix parse_args cycle limit check.

2017-12-15 Thread Michal Suchanek
Actually args are supposed to be renamed to next so both and args hold the previous argument so both can be passed to the callback. This additionla patch should fix up the rename. --- kernel/params.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v2] arm: kirkwood: dts: Use lower case for bindings notation

2017-12-15 Thread Andrew Lunn
On Fri, Dec 15, 2017 at 06:07:11PM +0100, Mathieu Malaterre wrote: > Improve the DTS files using lower case to fix the following dtc warnings: > > Warning (simple_bus_reg): Node /XXX@ simple-bus unit address format > error, expected "" > > Converted using the following command: > > find .

Re: [patch v2 2/2] mm, oom: avoid reaping only for mm's with blockable invalidate callbacks

2017-12-15 Thread David Rientjes
On Fri, 15 Dec 2017, Michal Hocko wrote: > > This uses the new annotation to determine if an mm has mmu notifiers with > > blockable invalidate range callbacks to avoid oom reaping. Otherwise, the > > callbacks are used around unmap_page_range(). > > Do you have any example where this helped?

Re: [PATCH 0/4] ARC: Set initial core pll output frequency via DTS

2017-12-15 Thread Vineet Gupta
On 12/09/2017 05:59 AM, Eugeniy Paltsev wrote: Set initial core pll output frequency on HSDK and AXS103 via "assigned-clock-rates" property in device tree. It will be applied at the core pll driver probing. Eugeniy Paltsev (4): ARC: [plat-hsdk]: Set initial core pll output frequency ARC:

Re: [PATCH 1/5] dt-bindings: pinctrl: Add st,stm32f769-pinctrl compatible to stm32-pinctrl

2017-12-15 Thread Rob Herring
On Mon, Dec 11, 2017 at 09:54:31AM +0100, Alexandre Torgue wrote: > Add new compatible for stm32f769 MCU. > > Signed-off-by: Alexandre Torgue Reviewed-by: Rob Herring

[PATCH] Optimize final quote removal.

2017-12-15 Thread Michal Suchanek
This is additional patch that avoids the memmove when processing the quote on the end of the parameter. --- lib/cmdline.c | 9 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/cmdline.c b/lib/cmdline.c index c5335a79a177..b1d8a0dc60fc

[PATCH] net: phy: xgene: disable clk on error paths

2017-12-15 Thread Alexey Khoroshilov
There are several error paths in xgene_mdio_probe(), where clk is left undisabled. The patch fixes them. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/phy/mdio-xgene.c | 21 +++-- 1 file

[GIT PULL] Please pull NFS client bugfixes for 4.15

2017-12-15 Thread Anna Schumaker
Hi Linus, The following changes since commit eb5b46faa693470681ec7c28cc2436edd1571198: SUNRPC: Handle ENETDOWN errors (2017-11-30 11:52:52 -0500) are available in the Git repository at: git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.15-3 for you to fetch changes up to

Re: [PATCH v2 1/5] dt-bindings: rtc: add bindings for i.MX53 SRTC

2017-12-15 Thread Rob Herring
On Mon, Dec 11, 2017 at 1:08 AM, Patrick Brünn wrote: >>From: Rob Herring [mailto:r...@kernel.org] >>Sent: Mittwoch, 6. Dezember 2017 22:55 >>On Tue, Dec 05, 2017 at 03:06:42PM +0100, linux-kernel-...@beckhoff.com >>wrote: >>> From: Patrick Bruenn

Re: [PATCH v4 1/3] i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy

2017-12-15 Thread Bartosz Golaszewski
2017-12-15 18:43 GMT+01:00 Heiner Kallweit : > Currently i2c_new_device and i2c_new_dummy return just NULL in error > case although they have more error details internally. Therefore move > the functionality into new functions returning detailed errors and > add wrappers for

[PATCH v5 21/78] xarray: Add ability to store errno values

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox While the radix tree offers no ability to store IS_ERR pointers, documenting that the XArray does not led to some concern. Here is a sanctioned way to store errnos in the XArray. I'm concerned that it will confuse people who can't tell the

[PATCH v5 65/78] dax: Convert grab_mapping_entry to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox Signed-off-by: Matthew Wilcox --- fs/dax.c | 98 +--- 1 file changed, 26 insertions(+), 72 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index

[PATCH v5 72/78] xfs: Convert pag_ici_root to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox Rename pag_ici_root to pag_ici_xa and use XArray APIs instead of radix tree APIs. Shorter code, typechecking on tag numbers, better error checking in xfs_reclaim_inode(), and eliminates a call to radix_tree_preload(). Signed-off-by: Matthew Wilcox

[PATCH v5 52/78] btrfs: Convert page cache to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox Signed-off-by: Matthew Wilcox --- fs/btrfs/compression.c | 4 +--- fs/btrfs/extent_io.c | 6 ++ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index

[PATCH v5 37/78] mm: Convert page migration to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox Signed-off-by: Matthew Wilcox --- mm/migrate.c | 41 - 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index 75d19904dd9a..7122fec9b075

[PATCH v5 71/78] xfs: Convert m_perag_tree to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox Getting rid of the m_perag_lock lets us also get rid of the call to radix_tree_preload(). This is a relatively naive conversion; we could improve performance over the radix tree implementation by passing around xa_state pointers instead of indices,

Re: [PATCH v2 07/13] dt-bindings: power: reset: Document ocelot-reset binding

2017-12-15 Thread Alexandre Belloni
On 15/12/2017 at 14:23:32 -0600, Rob Herring wrote: > On Fri, Dec 08, 2017 at 04:46:12PM +0100, Alexandre Belloni wrote: > > Add binding documentation for the Microsemi Ocelot reset block. > > > > Cc: Rob Herring > > Cc: devicet...@vger.kernel.org > > Cc: Sebastian Reichel

[PATCH v5 73/78] xfs: Convert xfs dquot to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox This is a pretty straight-forward conversion. Signed-off-by: Matthew Wilcox --- fs/xfs/xfs_dquot.c | 38 +- fs/xfs/xfs_qm.c| 32 fs/xfs/xfs_qm.h|

Re: [PATCH v2] ARM64: dts: meson-axg: add the SPICC controller

2017-12-15 Thread Neil Armstrong
On 15/12/2017 15:42, Yixun Lan wrote: > From: Sunny Luo > > Add DT info for the SPICC controller which found in > the Amlogic's Meson-AXG SoC. > > Signed-off-by: Sunny Luo > Signed-off-by: Yixun Lan > > --- > Changes int v2

Re: [PATCH net-next] net: dsa: lan9303: lan9303_csr_reg_wait cleanups

2017-12-15 Thread Vivien Didelot
Hi Egil, Egil Hjelmeland writes: > Non-functional cleanups in lan9303_csr_reg_wait(): > - Change type of param 'mask' from int to u32. > - Remove param 'value' (will probably never be used) > - Reduced retries from 1000 to 25, consistent with lan9303_read_wait. >

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-15 Thread Jarkko Sakkinen
On Thu, Dec 14, 2017 at 12:10:52PM -0700, Jason Gunthorpe wrote: > On Thu, Dec 14, 2017 at 08:08:58PM +0100, Javier Martinez Canillas wrote: > > > Although probably reverting the offending commits is the right thing to do > > until a proper solution is proposed. > > Yes, if a fix is not

Applied "regulator: make regulator voltage be an array to support more states" to the regulator tree

2017-12-15 Thread Mark Brown
The patch regulator: make regulator voltage be an array to support more states has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "regulator: added bindings for suspend states" to the regulator tree

2017-12-15 Thread Mark Brown
The patch regulator: added bindings for suspend states has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

[PATCH] x86/mm: Unbreak modules that use the DMA API

2017-12-15 Thread Tom Lendacky
Commit d8aa7eea78a1 ("x86/mm: Add Secure Encrypted Virtualization (SEV) support") changed sme_active() from an inline function that referenced sme_me_mask to a non-inlined function in order to make the sev_enabled variable a static variable. This function was marked EXPORT_SYMBOL_GPL because at

Re: [PATCH] clk: fix spin_lock/unlock imbalance on bad clk_enable() reentrancy

2017-12-15 Thread David Lechner
On 12/12/2017 10:14 PM, David Lechner wrote: On 12/12/2017 05:43 PM, David Lechner wrote: If clk_enable() is called in reentrant way and spin_trylock_irqsave() is not working as expected, it is possible to get a negative enable_refcnt which results in a missed call to spin_unlock_irqrestore().

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2017-12-15 Thread Jeremy Linton
Hi, On 12/13/2017 12:02 PM, Lorenzo Pieralisi wrote: [+Morten, Dietmar] $SUBJECT should be: arm64: topology: rename cluster_id Sure.. On Fri, Dec 01, 2017 at 04:23:28PM -0600, Jeremy Linton wrote: Lets match the name of the arm64 topology field to the kernel macro that uses it.

[PATCH 2/3] rapidio: tsi721_dma: Delete an unnecessary variable initialisation in tsi721_alloc_chan_resources()

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 14:22:44 +0100 The local variable "desc" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring

Re: [patch v2 2/2] mm, oom: avoid reaping only for mm's with blockable invalidate callbacks

2017-12-15 Thread Michal Hocko
On Thu 14-12-17 13:31:00, David Rientjes wrote: > This uses the new annotation to determine if an mm has mmu notifiers with > blockable invalidate range callbacks to avoid oom reaping. Otherwise, the > callbacks are used around unmap_page_range(). Do you have any example where this helped? KVM

[PATCH v11 1/3] Documentation: Add device tree binding for Goldfish PIC driver

2017-12-15 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc

Re: [PATCH] efi: make EFI a menuconfig to ease disabling it all

2017-12-15 Thread Ard Biesheuvel
On 15 December 2017 at 16:19, Matt Fleming wrote: > On Sat, 09 Dec, at 04:52:52PM, Vincent Legoll wrote: >> No need to get into the submenu to disable all related >> config entries. >> >> This makes it easier to disable all EFI config options >> without entering the

[PATCH 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-15 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) which simply allows the device tree to specify where the CPC registers should be mapped. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic

[PATCH] sched: Only migrate tasks due to interrupts on an idle CPU if prev and target CPUs share cache

2017-12-15 Thread Mel Gorman
If waking from an idle CPU due to an interrupt then it's possible that the waker task will be pulled to wake on the current CPU. Unfortunately, depending on the type of interrupt and IRQ configuration, there may not be a strong relationship between the CPU an interrupt was delivered on and the CPU

Re: [alsa-devel] [PATCH 15/27] ALSA: hda - Use timecounter_initialize interface

2017-12-15 Thread Richard Cochran
On Fri, Dec 15, 2017 at 12:10:47PM +0100, Takashi Iwai wrote: > > - struct cyclecounter *cc = _dev->tc.cc; > > - cc->read = azx_cc_read; > > - cc->mask = CLOCKSOURCE_MASK(32); > > - cc->mult = 125; /* saturation after 195 years */ > > - cc->shift = 0; I want to get away from this

[PATCH v4] MIPS: Add noexec=on|off kernel parameter

2017-12-15 Thread Aleksandar Markovic
From: Miodrag Dinic Add a new kernel parameter to override the default behavior related to the decision whether to set up stack as non-executable in function mips_elf_read_implies_exec(). The new parameter is used to control non executable stack and heap, regardless of

[PATCH v2] arm: kirkwood: dts: Use lower case for bindings notation

2017-12-15 Thread Mathieu Malaterre
Improve the DTS files using lower case to fix the following dtc warnings: Warning (simple_bus_reg): Node /XXX@ simple-bus unit address format error, expected "" Converted using the following command: find . -type f \( -iname *.dts -o -iname *.dtsi \) -exec sed -i -e

Re: arm64: unhandled level 0 translation fault

2017-12-15 Thread Dave Martin
On Fri, Dec 15, 2017 at 02:30:00PM +0100, Geert Uytterhoeven wrote: > Hi Dave, > > On Fri, Dec 15, 2017 at 12:23 PM, Dave Martin wrote: > > On Thu, Dec 14, 2017 at 07:08:27PM +0100, Geert Uytterhoeven wrote: > >> On Thu, Dec 14, 2017 at 4:24 PM, Dave P Martin

Re: [PATCH tip 0/3] Improvements of scheduler related Tracepoints

2017-12-15 Thread Alexei Starovoitov
On 12/14/17 11:39 PM, Peter Zijlstra wrote: On Thu, Dec 14, 2017 at 07:16:00PM -0800, Alexei Starovoitov wrote: On 12/14/17 12:49 PM, Peter Zijlstra wrote: On Thu, Dec 14, 2017 at 12:20:41PM -0800, Teng Qin wrote: This set of commits attempts to improve three scheduler related Tracepoints:

Re: [PATCH v2] arm: imx: dts: Remove leading 0x and 0s from bindings notation

2017-12-15 Thread Fabio Estevam
HI Mathieu, On Fri, Dec 15, 2017 at 3:13 PM, Mathieu Malaterre wrote: > diff --git a/arch/arm/boot/dts/imx6q-display5.dtsi > b/arch/arm/boot/dts/imx6q-display5.dtsi > index 4084de43d4d9..09085fde3341 100644 > --- a/arch/arm/boot/dts/imx6q-display5.dtsi > +++

Re: [PATCH 3/6] cdrom: wait for tray to close

2017-12-15 Thread Michal Suchánek
On Thu, 14 Dec 2017 16:13:52 +0100 Michal Suchanek wrote: > @@ -2312,7 +2328,8 @@ static int cdrom_ioctl_closetray(struct > cdrom_device_info *cdi) > if (!CDROM_CAN(CDC_CLOSE_TRAY)) > return -ENOSYS; > - return cdi->ops->tray_move(cdi, 0); > + > +

Re: [PATCH v2 net-next 1/3] net: dsa: mediatek: add VLAN support for MT7530

2017-12-15 Thread kbuild test robot
Hi Sean, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/sean-wang-mediatek-com/add-VLAN-support-to-DSA-MT7530/20171215-214450 reproduce: # apt-get install sparse make ARCH=x86_64

Re: [PATCH] efi: make EFI a menuconfig to ease disabling it all

2017-12-15 Thread Vincent Legoll
Hello, >> This looks fine to me. Ard? > > Doesn't this break existing configs? Would adding a "default yes" on the new menuconfig be OK. If yes, I'd respin it for a v2 -- Vincent Legoll

Re: [B.A.T.M.A.N.] [RFC v2 2/6] batman-adv: Rename batman-adv.h to batadv_genl.h

2017-12-15 Thread Willem de Bruijn
On Fri, Dec 15, 2017 at 12:18 PM, Sven Eckelmann wrote: > On Freitag, 15. Dezember 2017 11:57:55 CET Willem de Bruijn wrote: >> > No, this is also bad because batman_adv.h is MIT license and packet.h is >> > GPL-2. So what other name would you suggest for packet.h?

Re: [PATCH] kconfig: display recursive dependency resolution hint just once

2017-12-15 Thread Luis R. Rodriguez
On Sat, Dec 16, 2017 at 12:28:42AM +0900, Masahiro Yamada wrote: > Commit 1c199f2878f6 ("kbuild: document recursive dependency limitation > / resolution") probably intended to show a hint along with "recursive > dependency detected!" error, but it missed to add {...} guard, and the > hint is

Re: [PATCH] trace/uprobes: fix output issue with address randomization

2017-12-15 Thread Peter Zijlstra
I'm not in fact the maintainer covering this file.. On Fri, Dec 15, 2017 at 04:36:25PM +0100, Thomas Richter wrote: > Commit ad67b74d2469 ("printk: hash addresses printed with %p") > changed %p to hash pointers in order to avoid leaking > kernel addresses. > > This breaks the tool perf probe. >

Re: ASPM powersupersave change NVMe SSD Samsung 960 PRO capacity to 0 and read-only

2017-12-15 Thread Rajat Jain
On Thu, Dec 14, 2017 at 4:21 PM, Bjorn Helgaas wrote: > [+cc Rajat, Keith, linux-kernel] > > On Thu, Dec 14, 2017 at 07:47:01PM +0100, Maik Broemme wrote: >> I have a Samsung 960 PRO NVMe SSD (Non-Volatile memory controller: >> Samsung Electronics Co Ltd NVMe SSD Controller

[PATCH] pwm-puv3: Delete an error message for a failed memory allocation in pwm_probe()

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 18:29:49 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-15 Thread Jason Gunthorpe
On Fri, Dec 15, 2017 at 04:56:30PM +0200, Jarkko Sakkinen wrote: > On Thu, Dec 14, 2017 at 12:10:52PM -0700, Jason Gunthorpe wrote: > > On Thu, Dec 14, 2017 at 08:08:58PM +0100, Javier Martinez Canillas wrote: > > > > > Although probably reverting the offending commits is the right thing to do >

Re: [PATCH v5 8/9] arm64: topology: Enable ACPI/PPTT based CPU topology.

2017-12-15 Thread Jeremy Linton
Hi, On 12/13/2017 12:22 PM, Lorenzo Pieralisi wrote: Nit: remove the period in $SUBJECT and capitalize with a coherent policy for the patches touching the same code. Ok, thanks. On Fri, Dec 01, 2017 at 04:23:29PM -0600, Jeremy Linton wrote: Propagate the topology information from the PPTT

Re: [PATCH 4.14 00/52] 4.14.7-stable review

2017-12-15 Thread Guenter Roeck
On Fri, Dec 15, 2017 at 10:51:37AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.7 release. > There are 52 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

Re: [PATCH][next] scsi: arcmsr: remove redundant check for secs < 0

2017-12-15 Thread walter harms
Am 09.12.2017 01:34, schrieb Colin King: > From: Colin Ian King > > The check for secs being less than zero is redundant for two reasons. > Firstly, secs is unsigned so the check is always going to be false. > Secondly, if secs was signed the proceeding calculation of

[PATCH v2 net-next 1/4] tcp: Export to userspace the TCP state names for the trace events

2017-12-15 Thread Yafang Shao
From: "Steven Rostedt (VMware)" The TCP trace events (specifically tcp_set_state), maps emums to symbol names via __print_symbolic(). But this only works for reading trace events from the tracefs trace files. If perf or trace-cmd were to record these events, the event format

[PATCH v2 net-next 2/4] net: tracepoint: replace tcp_set_state tracepoint with sock_set_state tracepoint

2017-12-15 Thread Yafang Shao
As sk_state is a common field for struct sock, so the state transition should not be a TCP specific feature. So I rename tcp_set_state tracepoint to sock_set_state tracepoint with some minor changes and move it into file trace/events/sock.h. Two helpers are introduced to trace sk_state transition

[PATCH v2 net-next 3/4] net: tracepoint: using sock_set_state tracepoint to trace DCCP state transition

2017-12-15 Thread Yafang Shao
With changes in inet_ files, DCCP state transitions are traced with sock_set_state tracepoint. Signed-off-by: Yafang Shao --- net/dccp/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 9d43c1f..2874faf

Re: [PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-15 Thread David Miller
From: Kunihiko Hayashi Date: Thu, 14 Dec 2017 19:05:10 +0900 > +static void ave_desc_write(struct net_device *ndev, enum desc_id id, > +int entry, int offset, u32 val) > +{ > + struct ave_private *priv = netdev_priv(ndev); > + u32

[PATCH v2 net-next 0/4] replace tcp_set_state tracepoint with sock_set_state tracepoint

2017-12-15 Thread Yafang Shao
Hi, According to the discussion in the mail thread https://patchwork.kernel.org/patch/10099243/, tcp_set_state tracepoint is renamed to sock_set_state tracepoint and is moved to include/trace/events/sock.h. Using this new tracepoint to trace TCP/DCCP/SCTP state transition. v1->v2: Steven's

[PATCH v2 net-next 4/4] net: tracepoint: using sock_set_state tracepoint to trace SCTP state transition

2017-12-15 Thread Yafang Shao
With changes in inet_ files, SCTP state transitions are traced with sockt_set_state tracepoint. Signed-off-by: Yafang Shao --- net/sctp/endpointola.c | 2 +- net/sctp/sm_sideeffect.c | 4 ++-- net/sctp/socket.c| 12 ++-- 3 files changed, 9

Re: [PATCH] mm: thp: avoid uninitialized variable use

2017-12-15 Thread Yang Shi
On 12/15/17 4:51 AM, Arnd Bergmann wrote: When the down_read_trylock() fails, 'vma' has not been initialized yet, which gcc now warns about: mm/khugepaged.c: In function 'khugepaged': mm/khugepaged.c:1659:25: error: 'vma' may be used uninitialized in this function

[PATCH] pwm: atmel-tcb: Delete an error message for a failed memory allocation in atmel_tcb_pwm_probe()

2017-12-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Dec 2017 18:55:11 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH v4.1 2/2] livepatch: force transition to finish

2017-12-15 Thread Jason Baron
On 11/22/2017 05:29 AM, Miroslav Benes wrote: > If a task sleeps in a set of patched functions uninterruptedly, it could > block the whole transition indefinitely. Thus it may be useful to clear > its TIF_PATCH_PENDING to allow the process to finish. > > Admin can do that now by writing to force

[PATCH 4/9] bus: ti-sysc: Make omap_hwmod_sysc_fields into sysc_regbits platform data

2017-12-15 Thread Tony Lindgren
We want to be able to configure hwmod sysc data from ti-sysc driver using platform data callbacks. So let's make struct omap_hwmod_sysc_fields into struct sysc_data and have it available for both ti-sysc driver and hwmod code. Note that we can make it use s8 instead of u8 as the hwmod code uses

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