Re: [PATCH v2] PCI: Remove sysfs resource mmap warning

2017-12-04 Thread Bjorn Helgaas
On Thu, Nov 30, 2017 at 10:35:57AM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > When a process uses sysfs and tries to mmap more space than is available in > a PCI BAR, we emit a warning and a backtrace. The mmap fails anyway, so > the backtrace is mainly for debugging. But in general

Re: [patch 47/60] x86/ldt: Map LDT entries into fixmap

2017-12-04 Thread Andy Lutomirski
On Mon, Dec 4, 2017 at 6:07 AM, Thomas Gleixner wrote: > From: Thomas Gleixner > > LDT is not really commonly used on 64bit so the overhead of populating the > fixmap entries on context switch for the rare LDT syscall users is a > reasonable trade off vs. having extra dynamically managed mapping

Re: [PATCH] pinctrl: gemini: Support drive strength setting

2017-12-04 Thread Rob Herring
On Sat, Dec 02, 2017 at 12:23:09PM +0100, Linus Walleij wrote: > The Gemini pin controller can set drive strength for a few > select groups of pins (not individually). Implement this > for GMAC0 and 1 (ethernet ports), IDE and PCI. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Linus Walleij

Re: [PATCH RFC] stat.2: Document that stat can fail with EINTR

2017-12-04 Thread Matthew Wilcox
On Sat, Dec 02, 2017 at 10:15:33PM -0500, Keno Fischer wrote: > This is exactly the discussion I want to generate, so thank you. > I should point out that I'm not advocating for anything other > than clarity of what kernel behavior user space may assume. I don't think we tend to document short-liv

Re: [patch 19/60] x86/entry/64: Create a per-CPU SYSCALL entry trampoline

2017-12-04 Thread Andy Lutomirski
On Mon, Dec 4, 2017 at 6:07 AM, Thomas Gleixner wrote: > From: Andy Lutomirski > > XXX: Whenever we settle how KERNEL_PAGE_TABLE_ISOLATION gets turned on > and off, we should do the same to this. This is done now :)

Re: [patch 35/60] x86/espfix: Ensure that ESPFIX is visible in user PGD

2017-12-04 Thread Andy Lutomirski
On Mon, Dec 4, 2017 at 6:07 AM, Thomas Gleixner wrote: > From: Dave Hansen > > Clone the ESPFIX alias mapping area so the entry/exit code has access to it > even with the user space page tables. > > [ tglx: Remove the per cpu user mapped oddity ] > > Signed-off-by: Dave Hansen > Signed-off-by: T

boot failure in 4.15-rc2 with afs in the trace

2017-12-04 Thread Christoph Hellwig
[1.501264] BUG: unable to handle kernel NULL pointer dereference at 6714cfcb [1.502335] IP: rxrpc_release+0xd5/0x1c0 [1.502865] PGD 0 P4D 0 [1.503210] Oops: [#1] SMP [1.503589] Modules linked in: [1.503898] CPU: 5 PID: 1 Comm: swapper/0 Not tainted 4.15.0-rc2+

[PATCH] ssb: make SSB a menuconfig to ease disabling it all

2017-12-04 Thread Vincent Legoll
No need to get into the submenu to disable all SSB-related config entries. This makes it easier to disable all SSB config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change t

Re: [patch 31/60] x86/mm/kpti: Add mapping helper functions

2017-12-04 Thread Andy Lutomirski
On Mon, Dec 4, 2017 at 6:07 AM, Thomas Gleixner wrote: > From: Dave Hansen > > Add the pagetable helper functions do manage the separate user space page > tables. > > [ tglx: Split out from the big combo kaiser patch ] > +/* > + * Take a PGD location (pgdp) and a pgd value that needs to be set t

[PATCH,v2] ssb: make SSB a menuconfig to ease disabling it all

2017-12-04 Thread Vincent Legoll
Hello, thanks for the feedback, is that better ?

[tip:x86/urgent] x86 / PCI: Make broadcom_postcore_init() check acpi_disabled

2017-12-04 Thread tip-bot for Rafael J. Wysocki
Commit-ID: 2ee90363a838cf41ebf1ad24bad274762e467d8d Gitweb: https://git.kernel.org/tip/2ee90363a838cf41ebf1ad24bad274762e467d8d Author: Rafael J. Wysocki AuthorDate: Fri, 1 Dec 2017 15:08:12 +0100 Committer: Thomas Gleixner CommitDate: Mon, 4 Dec 2017 23:20:35 +0100 x86 / PCI: Make bro

Re: [patch 55/60] x86/mm: Use INVPCID for __native_flush_tlb_single()

2017-12-04 Thread Andy Lutomirski
On Mon, Dec 4, 2017 at 6:08 AM, Thomas Gleixner wrote: > From: Dave Hansen > > This uses INVPCID to shoot down individual lines of the user mapping > instead of marking the entire user map as invalid. This > could/might/possibly be faster. > > This for sure needs tlb_single_page_flush_ceiling to

Re: Linux 4.15-rc2: Regression in resume from ACPI S3

2017-12-04 Thread Rafael J. Wysocki
On Sunday, December 3, 2017 5:22:56 PM CET Linus Torvalds wrote: > It's Sunday, but a few hours earlier than usual, since I'm on the east > coast, three hours ahead of my normal release schedule. > > It's a slightly bigger rc2 than I would have wished for, but this > early in the release process I

Re: [PATCH V5 4/7] OF: properties: Implement get_match_data() callback

2017-12-04 Thread Rob Herring
On Mon, Dec 04, 2017 at 01:05:51PM -0500, Sinan Kaya wrote: > On 12/4/2017 11:23 AM, Rob Herring wrote: > > On Fri, Dec 1, 2017 at 10:27 PM, Sinan Kaya wrote: > >> Now that we have a get_match_data() callback as part of the firmware node, > >> implement the OF specific piece for it. > >> > >> Sign

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

2017-12-04 Thread Sven Van Asbroeck
> If this is truly specific to at24, then vendor prefix would be appropriate, > plus it'd go to an at24 specific binding file. However if it isn't I'd just > remove the above sentence. I guess the latter? Yes, no-read-rollover is truly specific to at24.c, because it applies only to i2c multi-addre

Re: [patch 51/60] x86/mm: Allow flushing for future ASID switches

2017-12-04 Thread Andy Lutomirski
On Mon, Dec 4, 2017 at 6:07 AM, Thomas Gleixner wrote: > From: Dave Hansen > > If changing the page tables in such a way that an invalidation of all > contexts (aka. PCIDs / ASIDs) is required, they can be actively invalidated > by: > > 1. INVPCID for each PCID (works for single pages too). > >

Re: [PATCH v2 09/22] mmc: tmio: use mmc_can_gpio_cd() instead of checking TMIO_MMC_USE_GPIO_CD

2017-12-04 Thread Wolfram Sang
On Sat, Nov 25, 2017 at 01:24:44AM +0900, Masahiro Yamada wrote: > To use a GPIO line for card detection, TMIO_MMC_USE_GPIO_CD is set > by a legacy board (arch/sh/boards/mach-ecovec24). > > For DT platforms, the "cd-gpios" property is a legitimate way for that > in case the IP-builtin card detecti

Re: [PATCH tip/core/rcu 01/21] doc: READ_ONCE() now implies smp_barrier_depends()

2017-12-04 Thread Paul E. McKenney
On Mon, Dec 04, 2017 at 10:54:48PM +0100, Peter Zijlstra wrote: > On Mon, Dec 04, 2017 at 10:52:15AM -0800, Paul E. McKenney wrote: > > On Mon, Dec 04, 2017 at 03:38:56PM +, David Howells wrote: > > > Paul E. McKenney wrote: > > > > > > > - Q = READ_ONCE(P); smp_read_barrier_depends();

Re: [PATCH V5 1/7] Documentation: DT: qcom_hidma: Bump HW revision for the bugfixed HW

2017-12-04 Thread Rob Herring
On Fri, Dec 01, 2017 at 11:27:38PM -0500, Sinan Kaya wrote: > A new version of the HIDMA IP has been released with bug fixes. Bumping the > hardware version to differentiate from others. > > Signed-off-by: Sinan Kaya > --- > Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 4 ++-- > 1

[tip:x86/urgent] x86/microcode/AMD: Add support for fam17h microcode loading

2017-12-04 Thread tip-bot for Tom Lendacky
Commit-ID: 866a79a1c98c5004a410122b06f808152f2fe53c Gitweb: https://git.kernel.org/tip/866a79a1c98c5004a410122b06f808152f2fe53c Author: Tom Lendacky AuthorDate: Thu, 30 Nov 2017 16:46:40 -0600 Committer: Thomas Gleixner CommitDate: Mon, 4 Dec 2017 23:03:29 +0100 x86/microcode/AMD: Add

[tip:x86/urgent] x86/smpboot: Do not use smp_num_siblings in __max_logical_packages calculation

2017-12-04 Thread tip-bot for Prarit Bhargava
Commit-ID: b1cbacc8663a4dce62e4ae501e859c82f4aeb1ca Gitweb: https://git.kernel.org/tip/b1cbacc8663a4dce62e4ae501e859c82f4aeb1ca Author: Prarit Bhargava AuthorDate: Mon, 4 Dec 2017 11:45:21 -0500 Committer: Thomas Gleixner CommitDate: Mon, 4 Dec 2017 23:03:48 +0100 x86/smpboot: Do not u

Regression in e1000e since Kernel 4.14.3

2017-12-04 Thread rwar...@gmx.de
Hallo someone and I got an regression with e1000e since kernel 4.14.3 and it seems there is 4.14.4 on the way without a fix. bug report is here: https://bugzilla.kernel.org/show_bug.cgi?id=198047 -- Greeting Ronald

Re: [PATCH v6 0/9] i2c: document DMA handling and add helpers for it

2017-12-04 Thread Mark Brown
On Sun, Dec 03, 2017 at 08:43:47PM +0100, Wolfram Sang wrote: > > It's a bit different in that it's much more likely that a SPI controller > > will actually do DMA than an I2C one since the speeds are higher and > > there's frequent applications that do large transfers so it's more > > likely that

Re: [PATCH v2 1/5] fpga: region: don't use drvdata in common fpga code

2017-12-04 Thread Alan Tull
On Mon, Dec 4, 2017 at 3:32 PM, Moritz Fischer wrote: > On Wed, Nov 15, 2017 at 02:51:48PM -0600, Alan Tull wrote: >> Part of patchset that changes the following fpga_*_register >> functions to not set drvdata: >> * fpga_region_register. >> * fpga_mgr_register >> * fpga_bridge_register >> >> The r

Re: [PATCH V5 2/7] ACPI / bus: Introduce acpi_get_match_data() function

2017-12-04 Thread Sinan Kaya
On 12/4/2017 4:59 PM, Rafael J. Wysocki wrote: > On Sat, Dec 2, 2017 at 5:27 AM, Sinan Kaya wrote: >> OF has of_device_get_match_data() function to extract driver specific data >> structure. Add a similar function for ACPI. >> >> Signed-off-by: Sinan Kaya > > Haven't I ACKed this already? > > A

Re: [PATCH v3 1/4] uinput: Add ioctl for using monotonic/ boot times

2017-12-04 Thread Dmitry Torokhov
On Mon, Dec 04, 2017 at 01:38:01PM -0800, Deepa Dinamani wrote: > On Mon, Dec 4, 2017 at 1:18 PM, Arnd Bergmann wrote: > > On Mon, Dec 4, 2017 at 9:36 PM, Deepa Dinamani > > wrote: > >> On Mon, Dec 4, 2017 at 6:21 AM, Arnd Bergmann wrote: > >>> On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani >

Re: [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-04 Thread Ivo Sieben
Hi Geert, My 2 cents: 2017-12-04 10:17 GMT+01:00 Geert Uytterhoeven : >> EEPROMs using 9 address bits are common (e.g. M95040, 25AA040/25LC040). >> Do EEPROMs using 17 or 25 address bits, as mentioned in >> include/linux/spi/eeprom.h, really exist? >> Or should we just limit it to a single odd va

Re: [PATCH V5 2/7] ACPI / bus: Introduce acpi_get_match_data() function

2017-12-04 Thread Rafael J. Wysocki
On Sat, Dec 2, 2017 at 5:27 AM, Sinan Kaya wrote: > OF has of_device_get_match_data() function to extract driver specific data > structure. Add a similar function for ACPI. > > Signed-off-by: Sinan Kaya Haven't I ACKed this already? Anyway, please resend the whole series with a CC to linux-acpi

Re: [PATCH tip/core/rcu 01/21] doc: READ_ONCE() now implies smp_barrier_depends()

2017-12-04 Thread Peter Zijlstra
On Mon, Dec 04, 2017 at 10:52:15AM -0800, Paul E. McKenney wrote: > On Mon, Dec 04, 2017 at 03:38:56PM +, David Howells wrote: > > Paul E. McKenney wrote: > > > > > - Q = READ_ONCE(P); smp_read_barrier_depends(); D = READ_ONCE(*Q); > > > + Q = READ_ONCE(P); D = READ_ONCE(*Q); > > > > > >

[PATCH] drm/vmwgfx_kms: Fix potential NULL pointer dereference

2017-12-04 Thread Gustavo A. R. Silva
crtc_state is being null checked in a previous code block, which implies that such pointer might be null. crtc_state is dereferenced in drm_atomic_helper_check_plane_state, hence there is a potential null pointer dereference. Fix this by warning-on and returning -EINVAL in case crtc_state is null

Re: [PATCH 0/4] Move DP phy switch to PHY driver

2017-12-04 Thread Heiko Stübner
Hi, Am Montag, 4. Dezember 2017, 08:08:31 CET schrieb Doug Anderson: > On Sun, Dec 3, 2017 at 11:46 PM, Heiko Stübner wrote: > > Am Montag, 4. Dezember 2017, 10:47:08 CET schrieb Chris Zhong: > >> On 2017年12月02日 05:58, Heiko Stuebner wrote: > >> > Am Freitag, 1. Dezember 2017, 13:42:46 CET schrie

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-04 Thread Tejun Heo
Hello, Kirill. On Tue, Dec 05, 2017 at 12:44:00AM +0300, Kirill Tkhai wrote: > > Can you please explain how this is a fundamental resource which can't > > be controlled otherwise? > > Currently, aio_nr and aio_max_nr are global. In case of containers this > means that a single container may occup

[PULL] Documentation fixes

2017-12-04 Thread Jonathan Corbet
The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the Git repository at: git://git.lwn.net/linux.git tags/docs-4.15-fixes for you to fetch changes up to 9956cfef3409177d9e24ea4b7910148a18073a6f: Docume

Re: [PATCH] doc: update 'unique identifiers'

2017-12-04 Thread Kees Cook
On Mon, Dec 4, 2017 at 1:44 PM, Tobin C. Harding wrote: > On Mon, Dec 04, 2017 at 01:28:45PM -0800, Kees Cook wrote: >> On Mon, Dec 4, 2017 at 1:22 PM, Tobin C. Harding wrote: >> > Advice about what to use as a unique identifier is no longer valid since >> > patch series was merged to hash pointe

Re: [PATCH v10 5/6] dt-bindings: mailbox: qcom: Document the APCS clock binding

2017-12-04 Thread Rob Herring
On Fri, Dec 01, 2017 at 07:02:23PM +0200, Georgi Djakov wrote: > Update the binding documentation for APCS to mention that the APCS > hardware block also expose a clock controller functionality. > > The APCS clock controller is a mux and half-integer divider. It has the > main CPU PLL as an input

Re: [PATCH 1/3] dt-bindings: ARM: Mediatek: Fix ethsys documentation

2017-12-04 Thread Rob Herring
On Fri, Dec 01, 2017 at 01:07:06PM +0100, Matthias Brugger wrote: > The ethsys registers a reset controller, so we need to specify a > reset cell. This patch fixes the documentation. > > Signed-off-by: Matthias Brugger > --- > Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt |

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-04 Thread Kirill Tkhai
On 05.12.2017 00:35, Jeff Moyer wrote: > Kirill Tkhai writes: > >> Hi, Benjamin, >> >> On 04.12.2017 19:52, Benjamin LaHaise wrote: >>> Hi Kirill, >>> >>> On Mon, Dec 04, 2017 at 07:12:51PM +0300, Kirill Tkhai wrote: Hi, this patch set introduces accounting aio_nr and aio_max_nr pe

Re: Writing "+pids" to cgroup.subtree_control flie yields EINVAL

2017-12-04 Thread Tejun Heo
Hello, Michael. On Mon, Dec 04, 2017 at 10:35:13PM +0100, Michael Kerrisk (man-pages) wrote: > I was trying to do some simple testing ot the CPU controller > that is merged into 4.15, and ran immediately into some confusion. > In the root cgroup on a freshly booted 4.150-rc1, I try the following:

[PATCH V3] staging: pi433: rf69.c: Replace macros READ_REG and WRITE_REG with smarter functions

2017-12-04 Thread Marcus Wolf
To increase the readability of the register accesses, the abstraction of the helpers was increased from simple read and write to set bit, clear bit and read modify write bit. Annotation: This patch contains a lot of long lines and camel case var names. These long lines and camel case vars weren't

Re: [PATCH] doc: update 'unique identifiers'

2017-12-04 Thread Tobin C. Harding
On Mon, Dec 04, 2017 at 01:28:45PM -0800, Kees Cook wrote: > On Mon, Dec 4, 2017 at 1:22 PM, Tobin C. Harding wrote: > > Advice about what to use as a unique identifier is no longer valid since > > patch series was merged to hash pointers printed with %p. We can use > > this as a unique identifier

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-04 Thread Kirill Tkhai
Hello, Tejun, On 04.12.2017 23:07, Tejun Heo wrote: > On Mon, Dec 04, 2017 at 07:12:51PM +0300, Kirill Tkhai wrote: >> this patch set introduces accounting aio_nr and aio_max_nr per blkio cgroup. >> It may be used to limit number of aio requests, which are available for >> a cgroup, and could be u

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

2017-12-04 Thread Sakari Ailus
Hi Sven, On Mon, Dec 04, 2017 at 10:36:18AM -0500, Sven Van Asbroeck wrote: > From: Sven Van Asbroeck > > Some multi-address eeproms in the at24 family may not automatically > roll-over reads to the next slave address. On those eeproms, reads > that straddle slave boundaries will not work correc

Re: [PATCH 2/4] dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode

2017-12-04 Thread Rob Herring
On Fri, Dec 01, 2017 at 11:43:09AM +0530, Vignesh R wrote: > Update device tree binding documentation of TI's dra7xx PCI controller > for enabling unaligned mem access as applicable not just in EP mode but > in host mode as well. > > Signed-off-by: Vignesh R > --- > Documentation/devicetree/bind

Re: [PATCH v3 1/4] uinput: Add ioctl for using monotonic/ boot times

2017-12-04 Thread Deepa Dinamani
On Mon, Dec 4, 2017 at 1:18 PM, Arnd Bergmann wrote: > On Mon, Dec 4, 2017 at 9:36 PM, Deepa Dinamani wrote: >> On Mon, Dec 4, 2017 at 6:21 AM, Arnd Bergmann wrote: >>> On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani >>> wrote: struct timeval which is part of struct input_event to mai

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

2017-12-04 Thread Rob Herring
On Fri, Dec 01, 2017 at 09:24:50AM +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 > Signed-off-by: Yixun Lan > --- > include/dt-bindings/clock/axg-clkc

Re: [PATCH v4 0/2] livepatch: Introduce signal and force sysfs attributes

2017-12-04 Thread Jiri Kosina
On Wed, 15 Nov 2017, Miroslav Benes wrote: > Currently, livepatch gradually migrate the system from an unpatched to a > patched state (or vice versa). Each task drops its TIF_PATCH_PENDING > itself when crossing the kernel/user space boundary or it is cleared > using the stack checking approach. I

Re: [PATCH RFC 1/2] dt-bindings: Add vendor prefix for Brava Home

2017-12-04 Thread Rob Herring
On Fri, Dec 01, 2017 at 12:12:13AM +0530, Jagan Teki wrote: > Added 'brava' as a vendor prefix for Brava Home, Inc. > which is consumer electronics and IoT company. > > Signed-off-by: Jagan Teki > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+)

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

2017-12-04 Thread Jacob Pan
On Fri, 24 Nov 2017 12:03:50 + Jean-Philippe Brucker wrote: > On 17/11/17 18:55, Jacob Pan wrote: > > When nested translation is turned on and guest owns the > > first level page tables, device page request can be forwared > > to the guest for handling faults. As the page response returns > >

Writing "+pids" to cgroup.subtree_control flie yields EINVAL

2017-12-04 Thread Michael Kerrisk (man-pages)
Hello Tejun, I was trying to do some simple testing ot the CPU controller that is merged into 4.15, and ran immediately into some confusion. In the root cgroup on a freshly booted 4.150-rc1, I try the following: # pwd /sys/fs/cgroup/unified # echo '+cpu' > cgroup.subtree_control sh: echo: write

Re: [PATCH RFC 2/2] arm64: allwinner: a64: Add Brava Keller initial support

2017-12-04 Thread Rob Herring
On Thu, Nov 30, 2017 at 10:36:55PM +0100, Philippe Ombredanne wrote: > Jagan, > > On Thu, Nov 30, 2017 at 7:42 PM, Jagan Teki wrote: > [] > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-brava-keller.dts > > b/arch/arm64/boot/dts/allwinner/sun50i-a64-brava-keller.dts > > new file mode 1

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-04 Thread Jeff Moyer
Kirill Tkhai writes: > Hi, Benjamin, > > On 04.12.2017 19:52, Benjamin LaHaise wrote: >> Hi Kirill, >> >> On Mon, Dec 04, 2017 at 07:12:51PM +0300, Kirill Tkhai wrote: >>> Hi, >>> >>> this patch set introduces accounting aio_nr and aio_max_nr per blkio cgroup. >>> It may be used to limit number

Re: [PATCH v2 1/5] fpga: region: don't use drvdata in common fpga code

2017-12-04 Thread Moritz Fischer
On Wed, Nov 15, 2017 at 02:51:48PM -0600, Alan Tull wrote: > Part of patchset that changes the following fpga_*_register > functions to not set drvdata: > * fpga_region_register. > * fpga_mgr_register > * fpga_bridge_register > > The rationale is that setting drvdata is fine for DT based devices >

Re: [patch 02/60] x86/unwinder/orc: Dont bail on stack overflow

2017-12-04 Thread Thomas Gleixner
On Mon, 4 Dec 2017, Andy Lutomirski wrote: > Fixlet lost here > > > On Dec 4, 2017, at 6:07 AM, Thomas Gleixner wrote: > > > > regs->sp > > Should be state->sp Fixed. Thanks, tglx

Re: [PATCH] doc: update 'unique identifiers'

2017-12-04 Thread Kees Cook
On Mon, Dec 4, 2017 at 1:22 PM, Tobin C. Harding wrote: > Advice about what to use as a unique identifier is no longer valid since > patch series was merged to hash pointers printed with %p. We can use > this as a unique identifier now. > > Signed-off-by: Tobin C. Harding I don't agree: %p shoul

Re: [PATCH v8 10/13] dt-bindings: Add qcom slimbus controller bindings

2017-12-04 Thread Rob Herring
On Thu, Nov 30, 2017 at 05:41:57PM +, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > This patch add device tree bindings for Qualcomm slimbus controller. > > Signed-off-by: Sagar Dharia > Signed-off-by: Srinivas Kandagatla > --- > .../devicetree/bindings/slimbus/slim-qcom-

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-04 Thread Kirill Tkhai
Hi, Benjamin, On 04.12.2017 19:52, Benjamin LaHaise wrote: > Hi Kirill, > > On Mon, Dec 04, 2017 at 07:12:51PM +0300, Kirill Tkhai wrote: >> Hi, >> >> this patch set introduces accounting aio_nr and aio_max_nr per blkio cgroup. >> It may be used to limit number of aio requests, which are availabl

[patch V4 02/11] LICENSES: Add the GPL 2.0 license

2017-12-04 Thread Thomas Gleixner
Add the full text of the GPL 2.0 license to the LICENSES directory. It was copied directly from the COPYING file in the kernel source tree as it differs from the public available version of the license in various places including the FSF. Philippe did some research on the GPL2.0 history: There

[patch V4 03/11] LICENSES: Add the LGPL 2.0 license

2017-12-04 Thread Thomas Gleixner
Add the full text of the LGPL 2.0 license to the kernel tree. It was copied directly from: https://spdx.org/licenses/LGPL-2.0.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewe

[patch V4 05/11] LICENSES: Add the BSD 2-clause "Simplified" license

2017-12-04 Thread Thomas Gleixner
Add the full text of the BSD 2-clause "Simplified" license to the kernel tree. It was copied directly from: https://spdx.org/licenses/BSD-2-Clause.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by:

[patch V4 04/11] LICENSES: Add the LGPL-2.1 license

2017-12-04 Thread Thomas Gleixner
Add the full text of the LGPL 2.1 license to the kernel tree. It was copied directly from: https://spdx.org/licenses/LGPL-2.1.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewe

[patch V4 00/11] LICENSES: Add documentation and initial License files

2017-12-04 Thread Thomas Gleixner
This is the 4th version of the licensing rules documentation. Changes since v3: - Addressed the review comments - Replaced the GPL-2.0 license text with the one from the kernel COPYING file and added the nice explanation from Philippe to the changelog. - Picked up Reviewed-by tags Thanks

[patch V4 07/11] LICENSES: Add the BSD-3-clause "Clear" license

2017-12-04 Thread Thomas Gleixner
Add the full text of the BSD 3-clause "Clear" License to the kernel tree. It was copied directly from: https://spdx.org/licenses/BSD-3-Clause-Clear.html Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart

[patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-12-04 Thread Thomas Gleixner
Add a file to the Documentation directory to describe how file licenses should be described in all kernel files, using the SPDX identifier, as well as where all licenses should be in the kernel source tree for people to refer to (LICENSES/). Thanks to Kate and Greg for review and editing and Jonas

[patch V4 09/11] LICENSES: Add Linux syscall note exception

2017-12-04 Thread Thomas Gleixner
Copied from the Linux kernel COPYING file. Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg Kroah-Hartman --- LICENSES/exceptions/Linux-syscall-note | 25 +

Re: [PATCH v6 0/9] i2c: document DMA handling and add helpers for it

2017-12-04 Thread Wolfram Sang
On Sat, Nov 04, 2017 at 09:20:00PM +0100, Wolfram Sang wrote: > So, after revisiting old mail threads, taking part in a similar discussion on > the USB list, and implementing a not-convincing solution before, here is what > I > cooked up to document and ease DMA handling for I2C within Linux. Plea

[patch V4 10/11] LICENSES: Add the GPL 1.0 license

2017-12-04 Thread Thomas Gleixner
Add the full text of the GPL 1.0 license to the kernel tree. It was copied directly from: https://spdx.org/licenses/GPL-1.0.html#licenseText Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg Kroah-Hartman --- LICENSES/other/G

[patch V4 06/11] LICENSES: Add the BSD 3-clause "New" or "Revised" License

2017-12-04 Thread Thomas Gleixner
Add the full text of the BSD 3-clause "New" or "Revised" License to the kernel tree. It was copied directly from: https://spdx.org/licenses/BSD-3-Clause.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed

[patch V4 11/11] LICENSES: Add MPL-1.1 license

2017-12-04 Thread Thomas Gleixner
Add the full text of the Mozilla Public License 1.1 to the kernel tree. It was copied directly from: https://spdx.org/licenses/MPL-1.1.html#licenseText Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg Kroah-Hartman --- LICEN

[patch V4 08/11] LICENSES: Add the MIT license

2017-12-04 Thread Thomas Gleixner
Add the full text of the MIT license to the kernel tree. It was copied directly from: https://spdx.org/licenses/MIT.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg

[PATCH] doc: update 'unique identifiers'

2017-12-04 Thread Tobin C. Harding
Advice about what to use as a unique identifier is no longer valid since patch series was merged to hash pointers printed with %p. We can use this as a unique identifier now. Signed-off-by: Tobin C. Harding --- Documentation/security/self-protection.rst | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 0/5] Numerous fixes for LP8860

2017-12-04 Thread Dan Murphy
All After creating a new LED driver for the LM3692x device I went back to the LP8860 driver that I authored and found some updates that need to be applied. First the way the LP8860 retrieved the label from the DT was incorrect as the label should have been from a child node as opposed to the pare

Re: [PATCH 0/3] eeprom: at25: Add DT support for 25lc040

2017-12-04 Thread Rob Herring
On Thu, Nov 30, 2017 at 02:29:43PM +0100, Geert Uytterhoeven wrote: > Hi all, > > Some "atmel,at25" compatible SPI EEPROMs (e.g. Microchip 25lc040) use an > odd number of address bits. This patch series adds support for > instantiating such devices from DT. > > Do EEPROMs using 17 or 25 ad

Re: [PATCH] eeprom: at24: Change nvmem stride to 1

2017-12-04 Thread David Lechner
On 12/04/2017 11:44 AM, Bartosz Golaszewski wrote: I can't find any documentation on what the stride config option does in nvmem, but looking at the code it's only used for alignment checks in nvmem core, so this patch should be ok. Still: I'm wondering if it shouldn't depend on the size of the e

[PATCH 3/5] dt: bindings: lp8860: Add trigger binding to the lp8860

2017-12-04 Thread Dan Murphy
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 cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/leds/leds-lp8860.txt | 13 - 1 file changed, 8 insertions(+), 5 deletio

[PATCH 5/5] leds: lp8860: Various fixes to align with LED framework

2017-12-04 Thread Dan Murphy
Update the driver to conform with the LED framework. Use devm_led_classdev_register Destroy mutex on exit Remove dependency on CONFIG_OF in the driver and move to the Kconfig Update the MODULE_LICENSE to GPL v2 Remove setting of MAX brightness as the LED framework does this. Signed-off-by: Dan Mur

[PATCH 4/5] leds: lp8860: Add DT parsing to retrieve the trigger node

2017-12-04 Thread Dan Murphy
Add the ability to parse the DT and set the default trigger mode for the LED. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp8860.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/leds/leds-lp8860.c b/drivers/leds/leds-lp8860.c index 13d6210cba85..4fed603ee728 100644 --- a/dri

[PATCH 2/5] leds: lp8860: Update the dt parsing for LED labeling

2017-12-04 Thread Dan Murphy
Update the DT parsing for the label node so that the label is retrieved from the device child as opposed to being part of the parent. This will align this driver with the LED binding documentation Documentation/devicetree/bindings/leds/common.txt Signed-off-by: Dan Murphy --- drivers/leds/leds

[PATCH 1/5] dt: bindings: lp8860: Update DT label binding

2017-12-04 Thread Dan Murphy
Update the lp8860 label binding to the LED standard as documented in Documentation/devicetree/bindings/leds/common.txt Signed-off-by: Dan Murphy cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/leds/leds-lp8860.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-)

Re: [PATCH v3 1/4] uinput: Add ioctl for using monotonic/ boot times

2017-12-04 Thread Arnd Bergmann
On Mon, Dec 4, 2017 at 9:36 PM, Deepa Dinamani wrote: > On Mon, Dec 4, 2017 at 6:21 AM, Arnd Bergmann wrote: >> On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani >> wrote: >>> struct timeval which is part of struct input_event to >>> maintain the event times is not y2038 safe. >>> >>> Real time ti

[PATCH] checkpatch: warn for use of %px

2017-12-04 Thread Tobin C. Harding
Usage of the new %px specifier potentially leaks sensitive inforamtion. Printing kernel addresses exposes the kernel layout in memory, this is potentially exploitable. We have tools in the kernel to help us do the right thing. We can have checkpatch warn developers of potential dangers of using %px

Re: [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-04 Thread Rob Herring
On Mon, Dec 04, 2017 at 10:17:47AM +0100, Geert Uytterhoeven wrote: > On Thu, Nov 30, 2017 at 2:29 PM, Geert Uytterhoeven > wrote: > > Certain EEPROMS have a size that is larger than the number of address > > bytes would allow, and store the MSB of the address in bit 3 of the > > instruction byte.

Re: [PATCHv3 1/5] x86/boot/compressed/64: Detect and handle 5-level paging at boot-time

2017-12-04 Thread Kirill A. Shutemov
On Mon, Dec 04, 2017 at 09:29:45PM +0100, Thomas Gleixner wrote: > On Mon, 4 Dec 2017, Kirill A. Shutemov wrote: > > > This patch prepare decompression code to boot-time switching between 4- > > and 5-level paging. > > This is the very wrong reason for tagging this commit stable. > > > > > Sign

Re: [PATCH 4.14 00/95] 4.14.4-stable review

2017-12-04 Thread Tom Gall
> On Dec 4, 2017, at 9:59 AM, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.14.4 release. > There are 95 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: [PATCH] workqueue/hotplug: remove the workaround in rebind_workers()

2017-12-04 Thread Tejun Heo
On Fri, Dec 01, 2017 at 10:23:07PM +0800, Lai Jiangshan wrote: > Sine the cpu/hotplug refactor is done, the hotplug > callbacks are called properly. So the workaround is > useless. > > Signed-off-by: Lai Jiangshan Applied to wq/for-4.16 w/ desc updates. Thanks. -- tejun

Re: KASAN: slab-out-of-bounds Read in strcmp

2017-12-04 Thread Paul Moore
On Mon, Dec 4, 2017 at 11:29 AM, Dmitry Vyukov wrote: > On Mon, Dec 4, 2017 at 2:59 PM, Paul Moore wrote: > Hi Paul, > > We are just rolling in the process. Feedback is much appreciated! > > The idea is that we need to know the title as it will appear in Linus > tree and in other tested trees. It

Re: [PATCH] workqueue/hotplug: simplify workqueue_offline_cpu()

2017-12-04 Thread Tejun Heo
On Fri, Dec 01, 2017 at 10:20:36PM +0800, Lai Jiangshan wrote: > Since the refactor for the cpu/hotplug is done, > workqueue_offline_cpu() is ensured to be run on the > local cpu which is going off. > > Signed-off-by: Lai Jiangshan Applied to wq/for-4.16 w/ minor desc update. Thanks. -- tejun

Re: [PATCH RFC] stat.2: Document that stat can fail with EINTR

2017-12-04 Thread Keno Fischer
Hi Michael, I was hoping to get a clear statement one way or another from the kernel maintainers as to whether an EINTR from stat() is supposed to be allowed kernel behavior (hence the RFC in the subject). If it's not, then I don't think it should be documented, even if there is buggy filesystems

Re: maxcpus confusion

2017-12-04 Thread Heiko Carstens
On Fri, Dec 01, 2017 at 12:58:47PM -0800, Randy Dunlap wrote: > Hi, > > I used "maxcpus=1" on a recent x86 boot (4.15-rc1) and got 4 CPUs (all of > them AFAICT). When I use "nr_cpus=1", I do get a hard limit of one CPU. > > > A few boot log excerpts: > > [0.00] smpboot: Allowing 8 CPUs

Re: [PATCH] leaking_addresses: add support for 32-bit kernel addresses

2017-12-04 Thread Tobin C. Harding
On Mon, Dec 04, 2017 at 03:50:41PM +0530, kaiwan.billimo...@gmail.com wrote: > On Mon, 2017-12-04 at 19:21 +1100, Tobin C. Harding wrote: > > On Mon, Dec 04, 2017 at 10:51:53AM +0530, Kaiwan N Billimoria wrote: > > > > --- > > > diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.

Re: [PATCH RFC] stat.2: Document that stat can fail with EINTR

2017-12-04 Thread Michael Kerrisk (man-pages)
Hello Keno On 12/03/2017 04:15 AM, Keno Fischer wrote: > Resending as plain text (apologies for those receiving it twice, and > those that got > an HTML copy, I'm used to my mail client switching that over > automatically, which > for some reason didn't happen here). > > > This is exactly the di

Re: [PATCH v13 3/5] mfd: Add driver for RAVE Supervisory Processor

2017-12-04 Thread Andrey Smirnov
On Mon, Dec 4, 2017 at 8:11 AM, Andrey Smirnov wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > various bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight Innovations. > > This driver im

[PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-04 Thread Tomasz Kramkowski
This patch rewrites the mouse report fixup used for the DEFT and HUGE ELECOM trackballs in order to make it generic enough to fix other ELECOM mice with similar issues. This patch also uses this new report fixup function to fix the ELECOM EX-G trackball which has 6 physical buttons and a similar is

Re: [PATCH v3 03/21] fpga: mgr: add status for fpga-manager

2017-12-04 Thread Alan Tull
On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: Hi Hao, mgr->status isn't used anywhere except in status_show. So we don't need to add status to the fpga_manager struct. Also don't need the inline function to update it. Just read the status in status_show, if that ops exists. If mops->status

[PATCH 03/10] ASoC: fsl_ssi: Cache pdev->dev pointer

2017-12-04 Thread Nicolin Chen
There should be no trouble to understand dev = pdev->dev. This can save some space to have more print info or save some wrapped lines. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 64 - 1 file changed, 31 insertions(+), 33 deletions(-)

[PATCH 02/10] ASoC: fsl_ssi: Rename fsl_ssi_private to fsl_ssi

2017-12-04 Thread Nicolin Chen
Shorten the private data structure to save some wrapped lines. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 456 +++- 1 file changed, 220 insertions(+), 236 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index

[PATCH 04/10] ASoC: fsl_ssi: Refine all comments

2017-12-04 Thread Nicolin Chen
This patch refines the comments by: 1) Removing all out-of-date comments 2) Removing all not-so-useful comments 3) Unifying the styles of all comments 4) Simplifying over-descriptive comments 5) Adding comments to improve code readablity 6) Moving all register related comments to fsl_ssi.h 7) Addin

[PATCH 06/10] ASoC: fsl_ssi: Refine indentations and wrappings

2017-12-04 Thread Nicolin Chen
This patch just simply unifies the coding style. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 225 ++-- sound/soc/fsl/fsl_ssi.h | 2 +- sound/soc/fsl/fsl_ssi_dbg.c | 3 +- 3 files changed, 113 insertions(+), 117 deletions(-) diff

[PATCH 05/10] ASoC: fsl_ssi: Rename registers and fields macros

2017-12-04 Thread Nicolin Chen
This patch renames CCSR_SSI_xxx to REG_SSI_xxx and SSI_xxx_yyy style. It also slightly reduces the length of them to save some space. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 374 +-- sound/soc/fsl/fsl_ssi.h | 376 +

[PATCH 09/10] ASoC: fsl_ssi: Rename scr_val to scr

2017-12-04 Thread Nicolin Chen
Simplify the variable name. This reduces one over-80-character line. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 10f6b63..55f6a1f 100644 --- a/soun

[PATCH 07/10] ASoC: fsl_ssi: Refine printk outputs

2017-12-04 Thread Nicolin Chen
This patches unifies the error message in the "failed to " format. It also reduces the length of one line and adds spaces to an operator. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sound/soc/fs

<    1   2   3   4   5   6   7   8   9   10   >