Re: [PATCH v3 01/11] dt-bindings: clock: Add Actions S900 clock bindings

2018-02-10 Thread Manivannan Sadhasivam
Hi Philippe, On 10 February 2018 at 13:06, Philippe Ombredanne wrote: > Dear Manivannan, > > On Sat, Feb 10, 2018 at 3:41 AM, Manivannan Sadhasivam > wrote: >> Add Actions Semi S900 clock bindings. >> >> Signed-off-by: Manivannan Sadhasivam >> Acked-by: Rob Herring > > > >> diff --git a/inclu

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-10 Thread Ulf Magnusson
On Sat, Feb 10, 2018 at 08:49:24AM +0100, Ulf Magnusson wrote: > On Sat, Feb 10, 2018 at 04:12:13PM +0900, Masahiro Yamada wrote: > > 2018-02-10 14:48 GMT+09:00 Ulf Magnusson : > > > On Fri, Feb 09, 2018 at 12:46:54PM -0800, Kees Cook wrote: > > >> On Fri, Feb 9, 2018 at 4:46 AM, Ulf Magnusson >

Re: [PATCH v1] PCI: Make PCI_SCAN_ALL_PCIE_DEVS work for Root as well as Downstream Ports

2018-02-10 Thread Christian Zigotzky
Hi All, The AmigaOne X1000 doesn’t boot anymore since the PCI updates. I have seen, that the PCI updates are different to the updates below. The code below works but the latest not. Is there a problem with the latest PCI updates currently? Thanks, Christian Sent from my iPhone On 2. Dec 2017,

[PATCHv2 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-10 Thread Sergey Senozhatsky
Not every object can be share its zspage with other objects, e.g. when the object is as big as zspage or nearly as big a zspage. For such objects zsmalloc has a so called huge class - every object which belongs to huge class consumes the entire zspage (which consists of a physical page). On x86_64,

Re: [PATCH BUGFIX V3] block, bfq: add requeue-request hook

2018-02-10 Thread Oleksandr Natalenko
Hi. On pátek 9. února 2018 18:29:39 CET Mike Galbraith wrote: > On Fri, 2018-02-09 at 14:21 +0100, Oleksandr Natalenko wrote: > > In addition to this I think it should be worth considering CC'ing Greg > > to pull this fix into 4.15 stable tree. > > This isn't one he can cherry-pick, some munging

Re: [PATCH] ia64: fix build failure with CONFIG_SWIOTLB

2018-02-10 Thread Christoph Hellwig
Thanks, I'll send this along to Linus with other dma-mapping fixes.

Re: Adjustments for a lot of function implementations

2018-02-10 Thread SF Markus Elfring
>> Do any contributors get into the mood to take another look at software >> updates >> from my selection of change possibilities in a more constructive way? >> >> Do you need any additional development resources? > > One last time: either post per-driver patches with all the cleanups for a > dr

Re: [PATCH 5/6] ARM: dts: tegra: apalis-tk1: copyright period, spurious newlines

2018-02-10 Thread Marcel Ziswiler
On February 10, 2018 8:07:58 AM GMT+01:00, Philippe Ombredanne wrote: >Marcel, > >On Sat, Feb 10, 2018 at 2:38 AM, Marcel Ziswiler >wrote: >> From: Marcel Ziswiler >> >> Update the copyright period and get rid of some spurious newlines. >> >> Signed-off-by: Marcel Ziswiler >> >> --- >> >> a

Re: [PATCH v2 4/7] dt-bindings: tegra: Add missing chips and NVIDIA boards

2018-02-10 Thread Mikko Perttunen
On 02/10/2018 12:49 AM, Rob Herring wrote: On Tue, Feb 06, 2018 at 09:22:34AM +0200, Mikko Perttunen wrote: Add compatibility strings for supported but undocumented Tegra chips (Tegra114/124/132/210/186/194) and reference boards. Signed-off-by: Mikko Perttunen --- Notes: v2: - add p

Re: [PATCH 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-10 Thread Marcus Folkesson
Hi, On Fri, Feb 09, 2018 at 02:52:00PM -0800, Guenter Roeck wrote: > On Fri, Feb 09, 2018 at 08:27:24PM +0100, Marcus Folkesson wrote: > > watchdog_init_timeout() will allways pick timeout_param since it > > defaults to a valid timeout. > > > > Following best practice described in > > Documentati

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-10 Thread Ulf Magnusson
On Sat, Feb 10, 2018 at 09:05:56AM +0100, Ulf Magnusson wrote: > On Sat, Feb 10, 2018 at 08:49:24AM +0100, Ulf Magnusson wrote: > > On Sat, Feb 10, 2018 at 04:12:13PM +0900, Masahiro Yamada wrote: > > > 2018-02-10 14:48 GMT+09:00 Ulf Magnusson : > > > > On Fri, Feb 09, 2018 at 12:46:54PM -0800, Kee

[PATCH v2 0/2] acpi: document sysfs interfaces

2018-02-10 Thread Aishwarya Pant
Patchset contains documentation for two acpi drivers- dock and dptf. Description was collected from git history and reading through code. This might be useful for tracking changes in the ABI. Changes in v2: - Split up multiple attribute definitions Aishwarya Pant (2): acpi/dptf: document sysfs

[PATCH v2 1/2] acpi/dptf: document sysfs atttributes

2018-02-10 Thread Aishwarya Pant
The descriptions have been collected from git commit logs and reading through code. Signed-off-by: Aishwarya Pant --- Changes in v2: - Split up attribute definitions Documentation/ABI/testing/sysfs-platform-dptf | 40 +++ 1 file changed, 40 insertions(+) create mode 100

[PATCH v2 2/2] acpi/dock: document sysfs interface

2018-02-10 Thread Aishwarya Pant
Description has been collected from git commit history and reading through code. Signed-off-by: Aishwarya Pant --- Changes in v2: - Split up attribute definitions .../ABI/testing/sysfs-devices-platform-dock| 39 ++ 1 file changed, 39 insertions(+) create mode 100644

Re: [PATCH 1/3] auxdisplay: charlcd: fix hex literal ranges for graphics command

2018-02-10 Thread Miguel Ojeda
On Sat, Feb 10, 2018 at 12:50 AM, Robert Abel wrote: > The graphics command expects 16 hexadecimal literals, but would allow > characters in range [0-9a-zA-Z] instead of [0-9a-fA-F]. > > Signed-off-by: Robert Abel > --- > drivers/auxdisplay/charlcd.c | 4 ++-- > 1 file changed, 2 insertions(+),

Re: [PATCH 1/3] X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs

2018-02-10 Thread David Woodhouse
On Fri, 2018-02-09 at 15:15 -0800, Jim Mattson wrote: > On Thu, Feb 8, 2018 at 2:53 PM, KarimAllah Ahmed wrote: > > > > These two variables should check whether SPEC_CTRL and PRED_CMD are > > supposed to be passed through to L2 guests or not. While > > msr_write_intercepted_l01 would return 'true

Re: [PATCH 00/31 v2] PTI support for x86_32

2018-02-10 Thread Adam Borowski
On Fri, Feb 09, 2018 at 08:11:12PM +0100, Joerg Roedel wrote: > On Fri, Feb 09, 2018 at 05:47:43PM +, Andy Lutomirski wrote: > > One thing worth noting is that performance of this whole series is > > going to be abysmal due to the complete lack of 32-bit PCID. Maybe > > any kernel built with t

[PATCH v2 2/7] watchdog: sunxi: allow setting timeout in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. By following best practice described in Documentation/watchdog/watchdog-kernel-api.txt, it also let us to set timout-sec property in devicetree. Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roec

[PATCH v2 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. Following best practice described in Documentation/watchdog/watchdog-kernel-api.txt to make use of the parameter logic. Signed-off-by: Marcus Folkesson --- v2: - Set .timeout in coh901327_wdt s

[PATCH v2 5/7] watchdog: mtk: allow setting timeout in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. By following best practice described in Documentation/watchdog/watchdog-kernel-api.txt, it also let us to set timout-sec property in devicetree. Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roec

Re: [PATCH 1/3] auxdisplay: charlcd: fix hex literal ranges for graphics command

2018-02-10 Thread Willy Tarreau
Hi Miguel, On Sat, Feb 10, 2018 at 09:58:44AM +0100, Miguel Ojeda wrote: > On Sat, Feb 10, 2018 at 12:50 AM, Robert Abel wrote: > > The graphics command expects 16 hexadecimal literals, but would allow > > characters in range [0-9a-zA-Z] instead of [0-9a-fA-F]. > > > > Signed-off-by: Robert Abel

[PATCH v2 4/7] watchdog: pnx4008: make use of timeout-secs provided in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. Following best practice described in Documentation/watchdog/watchdog-kernel-api.txt to make use of the parameter logic. Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roeck --- drivers/watchdog/

[PATCH v2 3/7] watchdog: sirfsoc: allow setting timeout in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. By following best practice described in Documentation/watchdog/watchdog-kernel-api.txt, it also let us to set timout-sec property in devicetree. Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roec

[PATCH v2 6/7] watchdog: meson: allow setting timeout in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. By following best practice described in Documentation/watchdog/watchdog-kernel-api.txt, it also let us to set timout-sec property in devicetree. Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roec

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-10 Thread Ulf Magnusson
On Sat, Feb 10, 2018 at 09:55:19AM +0100, Ulf Magnusson wrote: > On Sat, Feb 10, 2018 at 09:05:56AM +0100, Ulf Magnusson wrote: > > On Sat, Feb 10, 2018 at 08:49:24AM +0100, Ulf Magnusson wrote: > > > On Sat, Feb 10, 2018 at 04:12:13PM +0900, Masahiro Yamada wrote: > > > > 2018-02-10 14:48 GMT+09:0

[PATCH v2 1/7] watchdog: sama5d4: make use of timeout-secs provided in devicetree

2018-02-10 Thread Marcus Folkesson
watchdog_init_timeout() will allways pick timeout_param since it defaults to a valid timeout. Following best practice described in Documentation/watchdog/watchdog-kernel-api.txt to make use of the parameter logic. Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roeck --- drivers/watchdog/

[PATCH] watchdog: coh901327: make license text and module licence match

2018-02-10 Thread Marcus Folkesson
Licence text is specifying "GPLv2" but the MODULE_LICENSE is set to "GPLv2 or later". See include/linux/module.h: "GPL" [GNU Public License v2 or later] "GPL v2"[GNU Public License v2] When on it, add SPDX identifier tag. Signed-off-by: Marcus Fo

Re: [PATCH 2/3] auxdisplay: charlcd: use null character instead of zero literal to terminate strings

2018-02-10 Thread Miguel Ojeda
On Sat, Feb 10, 2018 at 12:50 AM, Robert Abel wrote: > Using '\0' instead of plain 0 makes the intent clearer that this is indeed a > string and not a series of integers. > > Signed-off-by: Robert Abel > --- > drivers/auxdisplay/charlcd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH 1/3] auxdisplay: charlcd: fix hex literal ranges for graphics command

2018-02-10 Thread Miguel Ojeda
On Sat, Feb 10, 2018 at 10:20 AM, Willy Tarreau wrote: > Hi Miguel, > > On Sat, Feb 10, 2018 at 09:58:44AM +0100, Miguel Ojeda wrote: >> On Sat, Feb 10, 2018 at 12:50 AM, Robert Abel wrote: >> > The graphics command expects 16 hexadecimal literals, but would allow >> > characters in range [0-9a-

Re: [PATCH v4 3/3] mtd: nand: vf610: check mtd_device_register() return code

2018-02-10 Thread Stefan Agner
On 09.02.2018 23:28, Alexey Khoroshilov wrote: > vf610_nfc_probe() misses error handling of mtd_device_register(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Looks good to me, and seems to work fine, thanks for fixing this! For the

Re: [PATCH 3/3] auxdisplay: charlcd: replace octal literal with form-feed escape sequence

2018-02-10 Thread Miguel Ojeda
On Sat, Feb 10, 2018 at 12:50 AM, Robert Abel wrote: > There is no need to resort to octal escape sequence for the form feed > character when an established escape sequence exists. > > Signed-off-by: Robert Abel > --- > drivers/auxdisplay/charlcd.c | 2 +- > 1 file changed, 1 insertion(+), 1 de

[PATCH] MAINTAINERS: auxdisplay: remove obsolete webpages

2018-02-10 Thread Miguel Ojeda
Cc: Randy Dunlap Signed-off-by: Miguel Ojeda --- MAINTAINERS | 8 1 file changed, 8 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e6c26cb47d02..01e302f7967e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2484,8 +2484,6 @@ F:kernel/audit* AUXILIARY DISPLAY DRIVERS

[PATCH v2] watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()

2018-02-10 Thread Alexey Khoroshilov
If devm_reset_control_get_exclusive() fails, asm9260_wdt_probe() returns immediately. But clks has been already enabled at that point, so it is required to disable them or to move the code around. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --

[PATCH] staging: android: ion: Add requested allocation alignment

2018-02-10 Thread Alexey Skidanov
Current ion defined allocation ioctl doesn't allow to specify the requested allocation alignment. CMA heap allocates buffers aligned on buffer size page order. Sometimes, the alignment requirement is less restrictive. In such cases, providing specific alignment may reduce the external memory fragm

Re: [PATCH 3/6] sched/isolation: Isolate workqueues when "nohz_full=" is set

2018-02-10 Thread Frederic Weisbecker
On Fri, Feb 09, 2018 at 07:55:44AM +0100, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > - flags = HK_FLAG_TICK | HK_FLAG_TIMER | HK_FLAG_RCU | HK_FLAG_MISC; > > + flags = HK_FLAG_TICK | HK_FLAG_WQ | HK_FLAG_TIMER | > > + HK_FLAG_RCU | HK_FLAG_MISC; > > > - cpumask_co

Re: [PATCH 0/6] isolation: 1Hz residual tick offloading v5

2018-02-10 Thread Frederic Weisbecker
On Fri, Feb 09, 2018 at 08:00:06AM +0100, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > sched/isolation: Residual 1Hz scheduler tick offload > > sched/isolation: Tick offload documentation > > Please try to start each title with a verb. > > [ ... and preferably not by p

Re: [PATCH 4/6] sched/isolation: Residual 1Hz scheduler tick offload

2018-02-10 Thread Frederic Weisbecker
On Fri, Feb 09, 2018 at 08:16:12AM +0100, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > When a CPU runs in full dynticks mode, a 1Hz tick remains in order to > > keep the scheduler stats alive. However this residual tick is a burden > > for bare metal tasks that can't stand any inter

[PATCH] z3fold: limit use of stale list for allocation

2018-02-10 Thread Vitaly Wool
Currently if z3fold couldn't find an unbuddied page it would first try to pull a page off the stale list. The problem with this approach is that we can't 100% guarantee that the page is not processed by the workqueue thread at the same time unless we run cancel_work_sync() on it, which we can't do

[PATCH v2 1/3] Input: gpio-keys - add support for wakeup event action

2018-02-10 Thread Jeffy Chen
Add support for specifying event actions to trigger wakeup when using the gpio-keys input device as a wakeup source. This would allow the device to configure when to wakeup the system. For example a gpio-keys input device for pen insert, may only want to wakeup the system when ejecting the pen. S

[PATCH v2 0/3] gpio-keys: Add support for specifying wakeup event action

2018-02-10 Thread Jeffy Chen
On chromebook kevin, we are using gpio-keys for pen insert event. But we only want it to wakeup the system when ejecting the pen. So we may need to change the interrupt trigger type during suspending. Changes in v2: Specify wakeup event action instead of irq trigger type as Brian suggested. Jef

Re: [PATCH v2 5/7] watchdog: mtk: allow setting timeout in devicetree

2018-02-10 Thread Sean Wang
Hi, Marcus The changes you made for dt-bindings and driver should be put into separate patches. And the property timeout-sec seems to be generic enough to all devices, so why not add a common document to describe it and allow those devices to refer to, like other dt-bindings for other kinds of d

[PATCH v2 2/3] Input: gpio-keys - allow setting wakeup event action in DT

2018-02-10 Thread Jeffy Chen
Allow specifying event actions to trigger wakeup when using the gpio-keys input device as a wakeup source. Signed-off-by: Jeffy Chen --- Changes in v2: Specify wakeup event action instead of irq trigger type as Brian suggested. Documentation/devicetree/bindings/input/gpio-keys.txt | 8

[PATCH v2 3/3] arm64: dts: rockchip: Avoid wakeup when inserting the pen

2018-02-10 Thread Jeffy Chen
Add wakeup event action for Pen Insert gpio key, to avoid wakeup when inserting the pen. Signed-off-by: Jeffy Chen --- Changes in v2: Specify wakeup event action instead of irq trigger type as Brian suggested. arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 2 ++ 1 file changed, 2 insertio

Re: kernel BUG at net/core/skbuff.c:LINE! (3)

2018-02-10 Thread Xin Long
On Fri, Feb 2, 2018 at 3:21 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > b2fe5fa68642860e7de76167c3111623aa0d5de1 (Wed Jan 31 22:31:10 2018 +) > Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next > > Unfortunately, I don't have any reproduc

Re: [RFC 00/12] KVM/X86: Introduce a new guest mapping API

2018-02-10 Thread KarimAllah Ahmed
On 02/05/2018 08:26 PM, Mihai Donțu wrote: On Mon, 2018-02-05 at 19:47 +0100, KarimAllah Ahmed wrote: Guest memory can either be directly managed by the kernel (i.e. have a "struct page") or they can simply live outside kernel control (i.e. do not have a "struct page"). KVM mostly support these

[PATCH] x86/Kconfig: Further simplify the NR_CPUS config

2018-02-10 Thread Ingo Molnar
* Randy Dunlap wrote: > From: Randy Dunlap > > Clean up and simplify the X86 NR_CPUS Kconfig symbol/option by > introducing RANGE_BEGIN_CPUS, RANGE_END_CPUS, and DEF_CONFIG_CPUS. > Then combine some default values when their conditionals can be > reduced. > > Also move the X86_BIGSMP kconfig

Re: [PATCH] x86/Kconfig: Further simplify the NR_CPUS config

2018-02-10 Thread Ingo Molnar
* Ingo Molnar wrote: > => > Subject: x86/Kconfig: Further simplify the NR_CPUS config > From: Ingo Molnar > Date: Sat Feb 10 11:51:57 CET 2018 > > Clean up various aspects of the x86 CONFIG_NR_CPUS configuration switches: > > - Rename the three CONFIG_NR_CPUS related v

Re: [PATCH for 4.16] membarrier-sync-core: Document architecture support

2018-02-10 Thread Ingo Molnar
* Mathieu Desnoyers wrote: > Ensure we gather architecture requirements about each architecture > supporting the "sync_core" membarrier command in a single file under > Documentation/features. > > Signed-off-by: Mathieu Desnoyers > Cc: Ingo Molnar > Cc: Thomas Gleixner > Cc: Peter Zijlstra (

update spectre v2 microcodes blacklist

2018-02-10 Thread Alexander Sergeyev
Hello, Intel released an updated microcode revision guidance [1] (8 Feb). The link is available in press-release [2], but it's quite easy to miss. Some microcode revisions that were blacklisted before are now tested and pronounced production-ready: Lines with “***” were previously recommend

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-10 Thread Lin Xiulei
2018-02-09 18:11 GMT+08:00 Peter Zijlstra : > On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: >> From: "leilei.lin" >> >> Do not install cgroup event into the CPU context and schedule it >> if the cgroup is not running on this CPU >> >> While there is no task of cgroup running

Re: [PATCH v2 5/7] watchdog: mtk: allow setting timeout in devicetree

2018-02-10 Thread Marcus Folkesson
Hello Sean, On Sat, Feb 10, 2018 at 07:10:02PM +0800, Sean Wang wrote: > > Hi, Marcus > > The changes you made for dt-bindings and driver should be put into > separate patches. I actually thought about it but chose to have it in the same patch because I did not see any direct advantage to separ

Re: [PATCH v3] Fix loading of module radeonfb on PowerMac

2018-02-10 Thread Mathieu Malaterre
Hi, On Thu, Feb 8, 2018 at 2:28 PM, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, January 31, 2018 08:51:23 PM Mathieu Malaterre wrote: >> Bartlomiej, >> >> On Wed, Jan 31, 2018 at 12:57 PM, Bartlomiej Zolnierkiewicz >> wrote: >> > On Tuesday, January 30, 2018 02:14:10 PM Mathieu Malaterre w

[PATCH v4 1/5] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-10 Thread Christophe Leroy
bitmap_or() and bitmap_andnot() can work properly with dst identical to src1 or src2. There is no need of an intermediate result bitmap that is copied back to dst in a second step. Signed-off-by: Christophe Leroy Reviewed-by: Aneesh Kumar K.V --- v2: New in v2 v3: patch moved up front of the s

[PATCH v4 3/5] powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx

2018-02-10 Thread Christophe Leroy
On the 8xx, the page size is set in the PMD entry and applies to all pages of the page table pointed by the said PMD entry. When an app has some regular pages allocated (e.g. see below) and tries to mmap() a huge page at a hint address covered by the same PMD entry, the kernel accepts the hint all

[PATCH v4 2/5] powerpc/mm/slice: Enhance for supporting PPC32

2018-02-10 Thread Christophe Leroy
In preparation for the following patch which will fix an issue on the 8xx by re-using the 'slices', this patch enhances the 'slices' implementation to support 32 bits CPUs. On PPC32, the address space is limited to 4Gbytes, hence only the low slices will be used. This patch moves "slices" functio

[PATCH v4 4/5] powerpc/mm/slice: Allow up to 64 low slices

2018-02-10 Thread Christophe Leroy
While the implementation of the "slices" address space allows a significant amount of high slices, it limits the number of low slices to 16 due to the use of a single u64 low_slices_psize element in struct mm_context_t On the 8xx, the minimum slice size is the size of the area covered by a single

[PATCH v4 5/5] powerpc/8xx: Increase number of slices to 64

2018-02-10 Thread Christophe Leroy
On the 8xx, the minimum slice size is the size of the area covered by a single PMD entry, ie 4M in 4K pages mode and 64M in 16K pages mode. This patch increases the number of slices from 16 to 64 on the 8xx. Signed-off-by: Christophe Leroy --- v4: New arch/powerpc/include/asm/nohash/32/slice

Re: [PATCH v3 4/5] powerpc/mm: Allow up to 64 low slices

2018-02-10 Thread Christophe LEROY
Le 29/01/2018 à 07:29, Aneesh Kumar K.V a écrit : Christophe Leroy writes: While the implementation of the "slices" address space allows a significant amount of high slices, it limits the number of low slices to 16 due to the use of a single u64 low_slices_psize element in struct mm_context_

Re: [PATCH] gpu/drm/udl: Replace struct_mutex with driver private lock

2018-02-10 Thread Shreeya Patel
On Fri, 2018-02-09 at 12:18 +, Chris Wilson wrote: > Quoting Shreeya Patel (2018-02-09 12:10:56) > > > > dev->struct_mutex is the Big DRM Lock and the only bit where > > it’s mandatory is serializing GEM buffer object destruction. > > Which unfortunately means drivers have to keep track of tha

[PATCH] mm: Reset zero swap page to empty_zero_page for reading swap fault.

2018-02-10 Thread zhouxianrong
Reset zero swap page to empty_zero_page for reading swap fault. for now zram driver could tell us which page is zero page and so it introduces PG_zero to flag the zeroed page. When reading swap fault happens it directly maps the fault address to empty_zero_page rather than the original swap page.

Re: [PATCH] ath9k: turn on btcoex_enable as default

2018-02-10 Thread Kai Heng Feng
> On 9 Feb 2018, at 3:16 PM, Kalle Valo wrote: > Sure, but we have to make sure that we don't create regressions on > existing systems. For example, did you test this with any system which > don't support btcoex? (just asking, haven't tested this myself) No not really, but I will definitely test

Re: [PATCH] ath9k: turn on btcoex_enable as default

2018-02-10 Thread Felix Fietkau
On 2018-02-10 14:56, Kai Heng Feng wrote: > >> On 9 Feb 2018, at 3:16 PM, Kalle Valo wrote: >> Sure, but we have to make sure that we don't create regressions on >> existing systems. For example, did you test this with any system which >> don't support btcoex? (just asking, haven't tested this my

Re: [PATCH V3 1/5] perf/x86/intel: fix event update for auto-reload

2018-02-10 Thread Peter Zijlstra
On Fri, Feb 09, 2018 at 10:49:35AM -0500, Liang, Kan wrote: > > > On 2/9/2018 9:09 AM, Peter Zijlstra wrote: > > On Tue, Feb 06, 2018 at 12:58:23PM -0500, Liang, Kan wrote: > > > > > > > > > > With the exception of handling 'empty' buffers, I ended up with the > > > > below. Please try again. >

Re: [RFC perf] perf: try schedule more hw events, even when previous groups failed

2018-02-10 Thread Peter Zijlstra
On Thu, Feb 08, 2018 at 03:59:48PM -0800, Song Liu wrote: > Please share your comments and suggestions on this. Like I said last time: No, we're not going to do this. Find that thread if you want more detail.

[PATCH v2] auxdisplay: img-ascii-lcd: kconfig: Remove MIPS_SEAD3 reference

2018-02-10 Thread Ulf Magnusson
Commit 3f5f0a4475e1 ("MIPS: generic: Convert SEAD-3 to a generic board") removed the MIPS_SEAD3 symbol and moved the setting of IMG_ASCII_LCD to the board-sead-3.config defconfig file, but IMG_ASCII_LCD still references the removed MIPS_SEAD3 symbol. Remove the reference. Discovered with the http

Re: [PATCH 16/20] auxdisplay: img-ascii-lcd: Remove MIPS_SEAD3 dep.

2018-02-10 Thread Ulf Magnusson
On Thu, Feb 08, 2018 at 05:35:30PM +, James Hogan wrote: > On 5 February 2018 at 01:21, Ulf Magnusson wrote: > > The MIPS_SEAD3 symbol was removed in commit 64601cb1343f ("leds: Remove > > SEAD-3 > > driver"). > > > > Remove the MIPS_SEAD3 dependency from IMG_ASCII_LCD. > > Its not a depende

Re: [PATCH v2 1/7] watchdog: sama5d4: make use of timeout-secs provided in devicetree

2018-02-10 Thread Alexandre Belloni
On 10/02/2018 at 10:19:05 +0100, Marcus Folkesson wrote: > watchdog_init_timeout() will allways pick timeout_param since it > defaults to a valid timeout. > > Following best practice described in > Documentation/watchdog/watchdog-kernel-api.txt to make use of > the parameter logic. > > Signed-off

Re: [PATCH v4 1/5] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-10 Thread Nicholas Piggin
On Sat, 10 Feb 2018 13:54:25 +0100 (CET) Christophe Leroy wrote: > bitmap_or() and bitmap_andnot() can work properly with dst identical > to src1 or src2. There is no need of an intermediate result bitmap > that is copied back to dst in a second step. Everyone seems to be working on the slice co

[GIT PULL] KVM updates for Linux 4.16-rc1

2018-02-10 Thread Radim Krčmář
Linus, I apologize for complications with this pull request that was delayed due to a sickness. While I was bedridden, we've had a conflict with x86/pti that was not resolved properly in next and it was a tricky one, so I have manually merged msr-bitmaps topic branch into this pull request to hop

Re: [PATCH 5/6] ARM: dts: tegra: apalis-tk1: copyright period, spurious newlines

2018-02-10 Thread Philippe Ombredanne
On Sat, Feb 10, 2018 at 9:40 AM, Marcel Ziswiler wrote: > Yes, I'm already in the process of preparing a separate patch set fixing this > across all Toradex files. However I'm running this through our legal as well > first to make absolutely sure it's all proper. That's the way to go and thank y

Re: [PATCH 0/3] Fix broken bananapi m2 devicetree/regulators

2018-02-10 Thread Sergey Suloev
On 02/09/2018 08:52 PM, Philipp Rossak wrote: This patchseries fixes the bananapi m1 devicetree, to be able to boot again. The first two patches update/improve the devicetree and the last patch adds all missing regulators. Regards, Philipp Philipp Rossak (3): arm: dts: sun6i: a31s: bpi-m2: u

Re: Software evolution around “checkpatch.pl”?

2018-02-10 Thread Jonathan Cameron
On Tue, 6 Feb 2018 09:45:48 +0100 SF Markus Elfring wrote: > > Check patch is dumb and often gives false positives. > > Would you like to improve this software situation anyhow? While it would be great to improve checkpatches false positive rate, it's very nature as a string matcher makes thi

[PATCH] x86/MCE: Cast rIP to respective width before printing

2018-02-10 Thread Borislav Petkov
From: Borislav Petkov 7b6061627eb8 ("x86: do not use print_symbol()") got rid of print_symbol() uses in favor of passing a %pS format specifier to printk() in order to print "symbolic direct pointers with offset". We use this to print the RIP as part of the MCE record. And %pS requires a void *.

Re: [PATCH] watchdog: coh901327: make license text and module licence match

2018-02-10 Thread Philippe Ombredanne
On Sat, Feb 10, 2018 at 10:27 AM, Marcus Folkesson wrote: > Licence text is specifying "GPLv2" but the MODULE_LICENSE is set to "GPLv2 > or later". > > See include/linux/module.h: > "GPL" [GNU Public License v2 or later] > "GPL v2"[GNU Public Licen

Re: [PATCH v4 1/5] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-10 Thread Christophe LEROY
Le 10/02/2018 à 15:43, Nicholas Piggin a écrit : On Sat, 10 Feb 2018 13:54:25 +0100 (CET) Christophe Leroy wrote: bitmap_or() and bitmap_andnot() can work properly with dst identical to src1 or src2. There is no need of an intermediate result bitmap that is copied back to dst in a second ste

Re: Software evolution around “checkpatch.pl”?

2018-02-10 Thread Joe Perches
On Sat, 2018-02-10 at 14:53 +, Jonathan Cameron wrote: > While it would be great to improve checkpatches false > positive rate, it's very nature as a string matcher makes > this hard. true. what are the false positives you see?

RE: [PATCH 09/31] x86/entry/32: Leave the kernel via trampoline stack

2018-02-10 Thread David Laight
From: Denys Vlasenko > Sent: 09 February 2018 17:17 > On 02/09/2018 06:05 PM, Linus Torvalds wrote: > > On Fri, Feb 9, 2018 at 1:25 AM, Joerg Roedel wrote: > >> + > >> + /* Copy over the stack-frame */ > >> + cld > >> + rep movsb > > > > Ugh. This is going to be horrendous. Maybe

[PATCH] MAINTAINERS: add Freescale pin controllers

2018-02-10 Thread Stefan Agner
Add Dong Aisheng, Fabio Estevam, Shawn Guo and myself as maintainer and Sascha as reviewer. Signed-off-by: Stefan Agner --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 82ad0eabce4f..fb672dfc519d 100644 --- a/MAINTAINERS +++ b/MAINT

Re: [PATCH] watchdog: coh901327: make license text and module licence match

2018-02-10 Thread Guenter Roeck
On 02/10/2018 01:27 AM, Marcus Folkesson wrote: Licence text is specifying "GPLv2" but the MODULE_LICENSE is set to "GPLv2 or later". See include/linux/module.h: "GPL" [GNU Public License v2 or later] "GPL v2" [GNU Public License v2] When on it, add

With Due Respect !!!

2018-02-10 Thread Dr Musa Zongo
Hi friend I am a banker in ADB BANK. I want to transfer an abandoned $19.5Million to your Bank account. 40/percent will be your share. No risk involved but keep it as secret. Contact me for more details. And also acknowledge receipt of this message in acceptance of my mutual business endeavour by

RE: [PATCH 09/31] x86/entry/32: Leave the kernel via trampoline stack

2018-02-10 Thread David Laight
From: Linus Torvalds > Sent: 09 February 2018 19:49 ... > I think the instruction scheduling ends up basically breaking around > microcoded instructions, which is why you'll get something like 12+n > cycles for "rep movs" on some uarchs, but at that point it's probably > mostly in the noise compare

Re: [PATCH v1] PCI: Make PCI_SCAN_ALL_PCIE_DEVS work for Root as well as Downstream Ports

2018-02-10 Thread Bjorn Helgaas
On Sat, Feb 10, 2018 at 09:05:40AM +0100, Christian Zigotzky wrote: > Hi All, > > The AmigaOne X1000 doesn’t boot anymore since the PCI updates. I > have seen, that the PCI updates are different to the updates below. > The code below works but the latest not. Is there a problem with the > latest P

Re: [RFC PATCH] iio: adc: ti-ads1015: Refactor code to support SPI

2018-02-10 Thread Jonathan Cameron
On Fri, 9 Feb 2018 19:38:11 +0200 Georgiana Chelu wrote: > We want to add support for ads1118 which uses SPI interface. > In order to do that we first refactor existing code into a core > part (bus independent) and an I2C part for current supported > devices. > > Next patch will introduce suppo

Re: [PATCH] soc: imx: gpc: de-register power domains only if initialized

2018-02-10 Thread Stefan Agner
On 07.01.2018 14:49, Stefan Agner wrote: > If power domain information are missing in the device tree, no > power domains get initialized. However, imx_gpc_remove tries to > remove power domains always in the old DT binding case. Only > remove power domains when imx_gpc_probe initialized them in >

Re: [PATCH 4.9 00/92] 4.9.81-stable review

2018-02-10 Thread Guenter Roeck
On 02/09/2018 05:38 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.81 release. There are 92 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 should be ma

Re: [PATCH 4.14 00/22] 4.14.19-stable review

2018-02-10 Thread Guenter Roeck
On 02/09/2018 05:39 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.19 release. There are 22 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 should be m

RFC: build config via DT names

2018-02-10 Thread Enrico Weigelt, metux IT consult
Hi folks, I've regularily have the task of configuring a kernel for a given DT. To make this a little bit easier, I'd like to do this automatically. The tuff task here is getting a mapping between dt compatible strings and corresponding CONFIG_* flags. Automatically extracting it from the source

Re: Software evolution around “checkpatch.pl”?

2018-02-10 Thread Jonathan Cameron
On Sat, 10 Feb 2018 06:59:43 -0800 Joe Perches wrote: > On Sat, 2018-02-10 at 14:53 +, Jonathan Cameron wrote: > > While it would be great to improve checkpatches false > > positive rate, it's very nature as a string matcher makes > > this hard. > > true. > > what are the false positives

[PATCH] seq_file: remove redundant assignment of index to m->index

2018-02-10 Thread Donglin Peng
There are two redundant assignments in the traverse() function, because the while loop will break after these two assignments, and after that the variable index will be assigned to m->index again. Signed-off-by: Peng Donglin --- fs/seq_file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/

Re: [kbuild-all] arch/x86/tools/insn_decoder_test: warning: ffffffff810005ac: 0f ff e9 ud0 %ecx, %ebp

2018-02-10 Thread Masami Hiramatsu
Hi, On Fri, 9 Feb 2018 00:30:20 + "Hao, Shun" wrote: > Thanks Masami, so that explains why a lot of these warnings come out just > after > we upgrading to gcc-7.3 (now the objdump version is 2.30). > Currently we've already ignore these warnings and won't send this report. Anyway, it mu

Re: [PATCH 4.15 00/23] 4.15.3-stable review

2018-02-10 Thread Guenter Roeck
On 02/09/2018 05:39 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.15.3 release. There are 23 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 should be ma

Re: [PATCH 2/3] arm64: dts: rockchip: add cdn-dp node for rk3399.

2018-02-10 Thread Heiko Stuebner
Hi Enric, Am Mittwoch, 7. Februar 2018, 17:31:49 CET schrieb Enric Balletbo i Serra: > From: Chris Zhong > > Add a node for the cdn DP controller which is embedded in the rk3399 > SoC. > > Signed-off-by: Chris Zhong > Signed-off-by: Enric Balletbo i Serra > --- > arch/arm64/boot/dts/rockchip

[PATCH] staging: vt6656: Fix "Possible unnecessary 'out of memory' message" checkpatch.pl warning

2018-02-10 Thread Dileep Sankhla
Signed-off-by: Dileep Sankhla --- drivers/staging/vt6656/usbpipe.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 273176386a51..5bbc56f8779e 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/

Re: [PATCH] soc: imx: gpc: de-register power domains only if initialized

2018-02-10 Thread Fabio Estevam
On Sun, Jan 7, 2018 at 11:49 AM, Stefan Agner wrote: > If power domain information are missing in the device tree, no > power domains get initialized. However, imx_gpc_remove tries to > remove power domains always in the old DT binding case. Only > remove power domains when imx_gpc_probe initializ

Re: [PATCH] cpufreq: imx6q: support frequencies >528MHz for i.MX6UL/ULL

2018-02-10 Thread Fabio Estevam
Hi Anson, On Thu, Jan 18, 2018 at 9:58 PM, Stefan Agner wrote: > Depending on SKU i.MX6UL/i.MX6ULL support frequencies up to 900MHz. > Use PLL1 sys clock for all operating points higher than 528MHz. > > Note: For higher operating points VDD_SOC_IN needs to be 125mV > higher than the ARM set-point

Re: [PATCH] MAINTAINERS: add Freescale pin controllers

2018-02-10 Thread Fabio Estevam
On Sat, Feb 10, 2018 at 1:32 PM, Stefan Agner wrote: > Add Dong Aisheng, Fabio Estevam, Shawn Guo and myself as maintainer > and Sascha as reviewer. > > Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam

Hello we need to Building Charity Foundation In your country

2018-02-10 Thread Mrs. Magreth Lambert
Hello we need to Building Charity Foundation In your country so get back to us for more information. Best Regards, Mrs. Magreth Lambert, (United Nation Charity Foundation) Region Director Africa Countries: Link: Http://Www.Unatogo.Org Email:mrs.magrethlam...@gmail.com

Re: [PATCH 1/2] xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling

2018-02-10 Thread Boris Ostrovsky
On 02/07/2018 05:22 PM, Simon Gaiser wrote: Commit fd8aa9095a95 ("xen: optimize xenbus driver for multiple concurrent xenstore accesses") made a subtle change to the semantic of xenbus_dev_request_and_reply() and xenbus_transaction_end(). Before on an error response to XS_TRANSACTION_END xenbu

Re: [PATCH 2/2] xen: xenbus: WARN_ON XS_TRANSACTION_{START,END} misuse

2018-02-10 Thread Boris Ostrovsky
On 02/07/2018 05:22 PM, Simon Gaiser wrote: As the previous commit shows it's quite easy to confuse the transaction reference counting by ending a transaction twice. So at least try to detect and report it. Signed-off-by: Simon Gaiser --- drivers/xen/xenbus/xenbus_xs.c | 9 + 1 fil

[PATCH] p9caps: add Plan9 capability devices

2018-02-10 Thread Enrico Weigelt, metux IT consult
From: "Enrico Weigelt, metux IT consult" This driver implements the Plan9 capability devices, used for switching user id via capability tokens. https://9p.io/sys/doc/auth.html --- drivers/staging/Kconfig | 2 + drivers/staging/Makefile| 1 + drivers/staging/p9caps/Kconfig |

  1   2   3   4   5   >