Re: [PATCH] kprobes: avoid the kprobe being re-registered

2017-10-26 Thread zhouchengming
On 2017/10/26 22:39, Masami Hiramatsu wrote: On Thu, 26 Oct 2017 20:11:25 +0800 Zhou Chengming wrote: Old code use check_kprobe_rereg() to check if the kprobe has been registered already, but check_kprobe_rereg() will release the kprobe_mutex then, so maybe two paths will pass the check and re

[PATCH] staging: ccree: Fix lines longer than 80 characters

2017-10-26 Thread Stephen Brennan
Simply break down some long lines and tab-indent them. Signed-off-by: Stephen Brennan --- I'm learning the patch submission process, and this is my first patch. I know it's trivial but I'm just trying to get my feet wet. Thanks in advance for taking the time to review this! drivers/staging/ccre

Re: [PATCH] staging: ccree: Fix lines longer than 80 characters

2017-10-26 Thread Stephen Brennan
Apologies for the noise, this was the wrong patch. Please ignore this.

[PATCH v2] kprobes: avoid the kprobe being re-registered

2017-10-26 Thread Zhou Chengming
Changes from v1: - We should put the modifies of the kprobe after the re-reg check. - And then the address_safe check. - When check_kprobe_address_safe() return fail, the *probed_mod should be set to NULL, and no module refcount held. Old code use check_kprobe_rereg() to check if the kprobe has

[PATCH] staging: ccree: Fix indentation in ssi_buffer_mgr.c

2017-10-26 Thread Stephen Brennan
In particular, fixes some over-indented if statement bodies as well as a couple lines indented with spaces. checkpatch.pl now reports no warnings on this file other than 80 character warnings. Signed-off-by: Stephen Brennan --- Hello again, hoping these indentation issues are a bit more actionabl

Re: [PATCH] ARM: Fix csum_partial_copy_from_user() stack mismatch

2017-10-26 Thread 黄吕强
Hi Russell, The bug was introduced by the commit a5e090acbf545c0a3b04080f8a488b17ec41fe02 Author: Russell King Date: Wed Aug 19 20:40:41 2015 +0100 ARM: software-based priviledged-no-access support Provide a software-based implementation of the priviledged no access support f

Re: [RFC PATCH v8 4/7] of/irq: Adjust of pci irq parsing for multiple interrupts

2017-10-26 Thread jeffy
Hi Rob, On 10/27/2017 04:02 AM, Rob Herring wrote: Why do you need this patch? You're moving the wakeup handling from the PCI device to the bridge. The bridge device is not PCI interrupts, but a platform device so this function doesn't matter. because it's possible we have multiple PCI device

[PATCH v2] cpuidle: ladder: Add per CPU PM QoS resume latency support

2017-10-26 Thread Ramesh Thomas
Individual CPUs may have special requirements to not enter deep idle states. For example, a CPU running real time applications would not want to enter deep idle states to avoid latency impacts. At the same time other CPUs that do not have such a requirement could allow deep idle states to save powe

Re: [RFC PATCH v8 7/7] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-10-26 Thread jeffy
Hi Sinan, Thanks for your reply. On 10/26/2017 11:16 PM, Sinan Kaya wrote: If the intention is to push this to pci directory, this code needs to be made platform agnostic by splitting into two pieces. I think you can make this code common by abstracting the IRQ number and have some generic cod

Re: [PATCH] f2fs: fix to keep backward compatibility of flexible inline xattr feature

2017-10-26 Thread Chao Yu
On 2017/10/26 22:05, Jaegeuk Kim wrote: > On 10/26, Chao Yu wrote: >> On 2017/10/26 19:52, Jaegeuk Kim wrote: >>> On 10/26, Chao Yu wrote: Hi Jaegeuk, On 2017/10/26 18:02, Jaegeuk Kim wrote: > Hi Chao, > > On 10/26, Jaegeuk Kim wrote: >> On 10/26, Chao Yu wrote: >

Re: [PATCH] platform/x86: dell-uart-backlight: new backlight driver for DELL AIO

2017-10-26 Thread AceLan Kao
Hi Mario, 2017-10-26 23:54 GMT+08:00 : >> -Original Message- >> From: platform-driver-x86-ow...@vger.kernel.org [mailto:platform-driver-x86- >> ow...@vger.kernel.org] On Behalf Of AceLan Kao >> Sent: Thursday, October 26, 2017 2:54 AM >> To: Darren Hart ; Andy Shevchenko >> ; linux-kernel

Re: [PATCH] platform/x86: dell-uart-backlight: new backlight driver for DELL AIO

2017-10-26 Thread AceLan Kao
Hi Alex, 2017-10-27 0:10 GMT+08:00 Alan Cox : > >> > +static int __init dell_uart_bl_init(void) >> > +{ >> > + ftty = filp_open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_NDELAY, 0); >> > > You have no idea what name is assigned. This doesn't work. Yes, I did. The port is defined in BIOS as PNP0501 uar

Re: [PATCH] MAINTAINERS: thermal: Remove Eduardo's git tree

2017-10-26 Thread Zhang Rui
CC Eduardo. On Thu, 2017-10-26 at 19:06 +0200, Daniel Lezcano wrote: > On 26/10/2017 18:59, Florian Fainelli wrote: > > > > On 09/24/2017 02:18 PM, Florian Fainelli wrote: > > > > > > Eduardo's git tree at: > > > git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc- > > > thermal.git

[PATCH 3/3] KVM: MMU: consider host cache type in MMIO pfn check

2017-10-26 Thread Haozhong Zhang
By default, KVM treats a reserved page as for MMIO purpose, and maps it to guest with UC memory type. However, some reserved pages are not for MMIO, such as pages of DAX device (e.g., /dev/daxX.Y). Mapping them with UC memory type will harm the performance. In order to exclude those cases, we che

[PATCH 0/3] KVM: MMU: fix kvm_is_mmio_pfn()

2017-10-26 Thread Haozhong Zhang
[I just copy the commit message from patch 3] By default, KVM treats a reserved page as for MMIO purpose, and maps it to guest with UC memory type. However, some reserved pages are not for MMIO, such as pages of DAX device (e.g., /dev/daxX.Y). Mapping them with UC memory type will harm the perfor

[PATCH 2/3] KVM: add converters between pfn_t and kvm_pfn_t

2017-10-26 Thread Haozhong Zhang
Signed-off-by: Haozhong Zhang --- include/linux/kvm_host.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 6882538eda32..759fe498c89e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -67,6 +67,9 @@ #define KV

[PATCH 1/3] x86/mm: expose track_pfn_insert()

2017-10-26 Thread Haozhong Zhang
KVM MMU will use it to get the cache mode of the host pfn. Signed-off-by: Haozhong Zhang --- arch/x86/mm/pat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index fe7d57a8fb60..cab593ea8956 100644 --- a/arch/x86/mm/pat.c +++ b/arch/x86/mm/pat.c @@ -998

Re: WARNING in refcount_sub_and_test

2017-10-26 Thread ChunYu Wang
Maybe I have just made some mistakes on understanding the reproduction methods, will try it again. Thanks, - ChunYu On Thu, Oct 26, 2017 at 10:49 PM, Dmitry Vyukov wrote: > On Thu, Oct 26, 2017 at 10:53 AM, ChunYu Wang wrote: >> Hi all, >> >> I am failed to reproduce it on target kernel with th

Re: [RFC PATCH v8 1/7] dt-bindings: PCI: Add definition of PCIe WAKE# irq and PCI irq

2017-10-26 Thread Brian Norris
On Thu, Oct 26, 2017 at 09:28:34PM +0800, Jeffy Chen wrote: > Add optional interrupts for PCIe WAKE# pin and PCI interrupt pin. > > Signed-off-by: Jeffy Chen > --- > > Changes in v8: > Add optional "pci", and rewrite commit message. > > Changes in v7: None > Changes in v6: None > Changes in v5:

[PATCH v3 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation

2017-10-26 Thread Eric Long
This patch adds the documentation for Spreadtrum watchdog driver. Signed-off-by: Eric Long Acked-by: Rob Herring --- Changes since v2: - Add acked tag from Rob. Changes since v1: - No updates. --- .../devicetree/bindings/watchdog/sprd-wdt.txt | 19 +++ 1 file changed, 1

[PATCH v3 2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-26 Thread Eric Long
This patch adds the watchdog driver for Spreadtrum SC9860 platform. Signed-off-by: Eric Long --- Change since v2: - Rename all the macors, add SPRD tag at the head of the macro names. - Rename SPRD_WDT_CLK as SPRD_WTC_CNT_STEP. - Remove the code which check timeout value at the wrong place. -

[PATCH] pci: Add a acs_disable option for pci kernel parameter

2017-10-26 Thread sbates
From: Stephen Bates On some servers the BIOS sets up ACS on any valid pci_dev in the system. The kernel has no way of backing this out since the kernel only turns ACS capabilities on. This patch adds a new boot option to the pci kernel parameter called "acs_disable" that will disable ACS. This i

Re: [PATCH] maintainers: drop Chris Wright from pvops

2017-10-26 Thread Rusty Russell
Chris CC'd: He wasn't that hard to find. (linkedin says he's CTO of RedHat now. I feel like an underachiever!) Cheers, Rusty. Juergen Gross writes: > Mails to chr...@sous-sol.org are not deliverable since several months. > Drop him as PARAVIRT_OPS maintainer. > > Signed-off-by: Juergen Gross

[PATCH 06/12] housekeeping: Rename is_housekeeping_cpu to housekeeping_cpu

2017-10-26 Thread Frederic Weisbecker
To keep a proper housekeeping namespace. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Linus Torvalds Cc: Luiz Capitulino Cc: Mike Galbraith Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Cc: Wanpeng Li --- include/linux/sc

[PATCH 02/12] watchdog: Use housekeeping_cpumask() instead of ad-hoc version

2017-10-26 Thread Frederic Weisbecker
While trying to disable the watchog on nohz_full CPUs, the watchdog implements an ad-hoc version of housekeeping_cpumask(). Lets replace those re-invented lines. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Linus Torvalds Cc: Luiz Capitulino Cc: Mike Galbrait

[PATCH 10/12] housekeeping: Move isolcpus to housekeeping

2017-10-26 Thread Frederic Weisbecker
We want to centralize the isolation features on the housekeeping subsystem and scheduler domain isolation is a significant part of it. No intended behaviour change, we just reuse the housekeeping cpumask and core code. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Rik van Riel Cc: P

[PATCH 04/12] housekeeping: Make housekeeping cpumask private

2017-10-26 Thread Frederic Weisbecker
Nobody needs to access this detail. housekeeping_cpumask() already takes care about it. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Linus Torvalds Cc: Luiz Capitulino Cc: Mike Galbraith Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas

[PATCH 08/12] housekeeping: Introduce housekeeping flags

2017-10-26 Thread Frederic Weisbecker
Before we implement isolcpus under housekeeping, we need the isolation features to be more finegrained. For example some people want nohz_full without the full scheduler isolation, others want full scheduler isolation without nohz_full. So let's cut all these isolation features piecewise, at the r

[PATCH 09/12] housekeeping: Handle the nohz_full= parameter

2017-10-26 Thread Frederic Weisbecker
We want to centralize the isolation management from the housekeeping subsystem. Therefore we need to handle the nohz_full= parameter from there. Since nohz_full= so far has involved unbound timers, watchdog, RCU and tilegx NAPI isolation, we keep that default behaviour. nohz_full= is deemed to be

[PATCH 11/12] housekeeping: Add basic isolcpus flags

2017-10-26 Thread Frederic Weisbecker
Add flags to control nohz and domain isolations from "isolcpus=", in order to centralize the isolation features to a common interface. Domain isolation remains the default so not to break the existing isolcpus boot paramater behaviour. Further flags in the future may include 0hz (1hz tick offload)

[PATCH 12/12] housekeeping: Document isolcpus flags

2017-10-26 Thread Frederic Weisbecker
Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Rik van Riel Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Mike Galbraith Cc: Ingo Molnar Cc: Christoph Lameter Cc: Paul E. McKenney Cc: Wanpeng Li Cc: Luiz Capitulino --- Documentation/admin-guide/kernel-parameters.txt | 35

[PATCH 07/12] housekeeping: Move it under its own config, independent from NO_HZ

2017-10-26 Thread Frederic Weisbecker
Split housekeeping config from CONFIG_NO_HZ_FULL. This way we finally separate the isolation code from nohz. Although a dependency to CONFIG_NO_HZ_FULL remains for now until the housekeeping code doesn't deal anymore with nohz internals directly. Signed-off-by: Frederic Weisbecker Cc: Chris Metc

[PATCH 05/12] housekeeping: Use its own static key

2017-10-26 Thread Frederic Weisbecker
Housekeeping code still depends on nohz_full static key. Since we want to decouple housekeeping from nohz, let's create a housekeeping own static key. It's mostly relevant for calls to is_housekeeping_cpu() from the scheduler. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph La

[PATCH 03/12] housekeeping: Provide a dynamic off-case to housekeeping_any_cpu()

2017-10-26 Thread Frederic Weisbecker
housekeeping_any_cpu() doesn't handle correctly the case where CONFIG_NO_HZ_FULL=y and no CPU is in nohz_full mode. So far no caller needs this but let's prepare to avoid any future surprise. Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Linus Torvalds Cc: Luiz

drivers/misc/vmw_vmci/vmci_queue_pair.o: warning: objtool: vmci_qp_alloc()+0xd3: sibling call from callable instruction with modified stack frame

2017-10-26 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 15f859ae5c43c7f0a064ed92d33f7a5bc5de6de0 commit: 81d387190039c14edac8de2b3ec789beb899afd9 x86/kconfig: Consolidate unwinders into multiple choice selection date: 3 months ago config: x86_64-randconfig-v0-1

[PATCH 4/4] m68k/mac: Add mutual exclusion for IOP interrupt polling

2017-10-26 Thread Finn Thain
The IOP interrupt handler iop_ism_irq() is used by the adb-iop driver to poll for ADB request completion. Unfortunately, it is not re-entrant. Fix the race condition by adding an iop_ism_irq_poll() function with suitable mutual exclusion. Tested-by: Stan Johnson Signed-off-by: Finn Thain Cc: Ben

[PATCH 0/4] m68k/mac: Various cleanups and fixes

2017-10-26 Thread Finn Thain
Finn Thain (4): m68k/mac: More printk modernization m68k/mac: Disentangle VIA and OSS initialization m68k/mac: Disentangle VIA/RBV and NuBus initialization m68k/mac: Add mutual exclusion for IOP interrupt polling arch/m68k/include/asm/mac_iop.h | 1 + arch/m68k/mac/baboon.c |

Re: [PATCH RESEND] f2fs: support soft block reservation

2017-10-26 Thread Chao Yu
On 2017/10/26 22:44, Jaegeuk Kim wrote: > On 10/26, Chao Yu wrote: >> On 2017/10/26 17:07, Jaegeuk Kim wrote: >>> On 10/26, Chao Yu wrote: From: Yunlong Song It supports to extend reserved_blocks sysfs interface to be soft threshold, which allows user configure it exceeding cur

[PATCH 2/4] m68k/mac: Disentangle VIA and OSS initialization

2017-10-26 Thread Finn Thain
macintosh_config->via_type is meaningless on Mac IIfx (i.e. the only model with OSS chip), so skip the via_type switch statement. Call oss_init() before via_init() because it is more important and because that is the right place to initialize the oss_present flag. On this model, bringing forward

[PATCH 1/4] m68k/mac: More printk modernization

2017-10-26 Thread Finn Thain
Log message fragments used to be printed on one line but now get split up. Fix this. Also, suppress log spam that merely prints known pointer values. Tested-by: Stan Johnson Signed-off-by: Finn Thain --- arch/m68k/mac/baboon.c | 2 +- arch/m68k/mac/iop.c| 4 ++-- arch/m68k/mac/psc.c|

[PATCH 3/4] m68k/mac: Disentangle VIA/RBV and NuBus initialization

2017-10-26 Thread Finn Thain
The Nubus subsystem should not be concerned with differences between VIA, RBV and OSS platforms. It should be portable across Macs and PowerMacs. This goal has implications for the initialization code relating to bus locking and slot interrupts. During Nubus initialization, bus transactions are "u

[GIT PULL] Housekeeping subsystem v6

2017-10-26 Thread Frederic Weisbecker
Ingo, Please pull the core/isolation-v7 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git core/isolation-v7 HEAD: 69dc2180d1f17ff1f861c7231f4a07423c30842a Changes since last take: * Move kernel/housekeeping.c to kernel/sched/isolatio

[PATCH 01/12] housekeeping: Move housekeeping related code to its own file

2017-10-26 Thread Frederic Weisbecker
The housekeeping code is currently tied to the nohz code. As we are planning to make housekeeping independant from it, start with moving the relevant code to its own file. Acked-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Linus Torvalds

RE: [PATCH v4] Add /proc/PID/smaps support for DAX

2017-10-26 Thread Du, Fan
>-Original Message- >From: Hansen, Dave >Sent: Thursday, October 26, 2017 10:03 PM >To: Du, Fan ; a...@linux-foundation.org; h...@lst.de; >Williams, Dan J ; mho...@kernel.org >Cc: linux-kernel@vger.kernel.org >Subject: Re: [PATCH v4] Add /proc/PID/smaps support for DAX > >I'm honestly not

RE: [PATCH v4] Add /proc/PID/smaps support for DAX

2017-10-26 Thread Du, Fan
>-Original Message- >From: linux-kernel-ow...@vger.kernel.org >[mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Dan Williams >Sent: Thursday, October 26, 2017 5:17 PM >To: Du, Fan >Cc: Andrew Morton ; Christoph Hellwig >; Hansen, Dave ; Michal Hocko >; linux-kernel@vger.kernel.or

[PATCH net-next] stmmac: copy unicast mac address to MAC registers

2017-10-26 Thread Bhadram Varka
Currently stmmac driver not copying the valid ethernet MAC address to MAC registers. This patch takes care of updating the MAC register with MAC address. Signed-off-by: Bhadram Varka --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 16 +++- 1 file changed, 15 insertions(+), 1

Re: [PATCH v9 00/10] net: stmmac: dwmac-sun8i: Handle integrated PHY

2017-10-26 Thread David Miller
From: Corentin Labbe Date: Tue, 24 Oct 2017 19:57:04 +0200 > The first 7 patch should go via the sunxi tree, the last three via > the net tree. I've applied the last 3 patches to net-next.

Re: [PATCH] thunderbolt: Drop sequence number check from tb_xdomain_match()

2017-10-26 Thread David Miller
From: Mika Westerberg Date: Wed, 25 Oct 2017 12:27:34 +0300 > Commit 9a03c3d398c1 ("thunderbolt: Fix a couple right shifting to zero > bugs") revealed an issue that was previously hidden because we never > actually compared received XDomain message sequence numbers properly. > The idea with these

Re: [PATCH net] tuntap: properly align skb->head before building skb

2017-10-26 Thread Jason Wang
On 2017年10月26日 22:11, Eric Dumazet wrote: On Thu, Oct 26, 2017 at 5:15 AM, Jason Wang wrote: An unaligned alloc_frag->offset caused by previous allocation will result an unaligned skb->head. This will lead unaligned skb_shared_info and then unaligned dataref which requires to be aligned for a

Re:Re: [PATCH] power: supply: 88pm860x_battery array_soc first number is in mV

2017-10-26 Thread 刘稳
At 2017-10-26 12:41:18, "Joe Perches" wrote: >On Thu, 2017-10-26 at 13:21 +0800, winton.liu wrote: >> Fix wrong comments of array_soc description. >> First number is mV not mAh. >[] >> diff --git a/drivers/power/supply/88pm860x_battery.c >> b/drivers/power/supply/88pm860x_battery.c >[]

[PATCH V2 net] tuntap: properly align skb->head before building skb

2017-10-26 Thread Jason Wang
An unaligned alloc_frag->offset caused by previous allocation will result an unaligned skb->head. This will lead unaligned skb_shared_info and then unaligned dataref which requires to be aligned for accessing on some architecture. Fix this by aligning alloc_frag->offset before the frag refilling.

Re: [RFC PATCH v8 1/7] dt-bindings: PCI: Add definition of PCIe WAKE# irq and PCI irq

2017-10-26 Thread jeffy
Hi Brian, On 10/27/2017 10:33 AM, Brian Norris wrote: On Thu, Oct 26, 2017 at 09:28:34PM +0800, Jeffy Chen wrote: Add optional interrupts for PCIe WAKE# pin and PCI interrupt pin. Signed-off-by: Jeffy Chen --- Changes in v8: Add optional "pci", and rewrite commit message. Changes in v7: Non

Re: [PATCH v5 1/5] Documentation: Add device tree binding for Goldfish PIC driver

2017-10-26 Thread Rob Herring
On Fri, Oct 20, 2017 at 04:33:34PM +0200, Aleksandar Markovic wrote: > 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 Fer

Re: [PATCH] drivers/net: hippi: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:51:29 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Jes Sorensen > Cc: linux-hi...@sunsit

Re: [PATCH] drivers/net: netronome: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:51:38 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Jakub Kicinski > Cc: "David S. Miller

Re: [PATCH] drivers/net: can: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:51:14 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Wolfgang Grandegger > Cc: Marc Kleine

Re: [PATCH] drivers/net: nuvoton: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:51:58 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Wan ZongShun > Cc: linux-arm-ker...@l

Re: [PATCH] drivers/net: realtek: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:53:12 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Realtek linux nic maintainers > Cc: "

Re: [PATCH] drivers/net: hamradio/yam: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:51:20 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. Initialization was entirely missing. > > Cc: J

Re: [PATCH] drivers/net: 3com/3c515: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:51:03 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: "David S. Miller" > Cc: Thomas Gleixn

Re: [PATCH] drivers/net: sxgbe: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:53:20 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Byungho An > Cc: Girish K S > Cc: Vi

Re: [PATCH] drivers/net: wan/lmc: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:53:53 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Allen Pais > Cc: "David S. Miller" >

Re: [PATCH v5 3/5] Documentation: Add device tree binding for Goldfish FB driver

2017-10-26 Thread Rob Herring
On Fri, Oct 20, 2017 at 04:33:36PM +0200, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > Add documentation for DT binding of Goldfish FB driver. The compatible > string used by OS for binding the driver is "google,goldfish-fb". > > Signed-off-by: Miodrag Dinic > Signed-off-by: Goran

Re: [PATCH] drivers/net: arcnet: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:54:06 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Michael Grzeschik > Cc: net...@vger.k

Re: [PATCH] drivers/net: wan/sdla: Convert timers to use timer_setup()

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:53:59 -0700 > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Allen Pais > Cc: "David S. Miller" >

Re: [PATCH] drivers/net: wan/dscc4: Remove unused timer

2017-10-26 Thread David Miller
From: Kees Cook Date: Wed, 25 Oct 2017 03:53:42 -0700 > This removes an entirely unused timer, which avoids needing to convert it > to timer_setup(). > > Cc: Francois Romieu > Cc: net...@vger.kernel.org > Signed-off-by: Kees Cook Applied.

[PATCH v4] f2fs: support soft block reservation

2017-10-26 Thread Yunlong Song
It renames reserved_blocks sysfs interface to target_reserved_blocks, and supports to extend it to be soft threshold, which allows user configure it exceeding current available user space. So this patch also introduces a new sysfs interface called current_reserved_blocks to show the current blocks

Re: [PATCH] display: panel: Add Tianma tm070rvhg71 display support (800x480)

2017-10-26 Thread Rob Herring
On Sat, Oct 21, 2017 at 12:10:03AM +0200, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski > --- > .../bindings/display/panel/tianma,tm070rvhg71.txt | 7 ++ > drivers/gpu/drm/panel/panel-simple.c | 27 > ++ > 2 files changed, 34 insertions(+) > cre

Re: [PATCH 3/3] openrisc: dts: Add OpenRISC platform SoC

2017-10-26 Thread Rob Herring
On Sun, Oct 22, 2017 at 11:46:41AM +0900, Stafford Horne wrote: > Add devicetree binding documentation for the OpenRISC platform > opencores,or1ksim. This is the main OpenRISC reference platform > supporting multiple FPGA SoC's. > > This format is based on some of the mips binding docs as we have

Re: [PATCH v3 05/13] irqchip: add initial support for ompic

2017-10-26 Thread Rob Herring
On Sun, Oct 22, 2017 at 12:15:52PM +0900, Stafford Horne wrote: > From: Stefan Kristiansson > > IPI driver for the Open Multi-Processor Interrupt Controller (ompic) as > described in the Multi-core support section of the OpenRISC 1.2 > proposed architecture specification: > > > https://github

Re: [PATCH 01/10 v3] usb: usb251xb: Update usb251xb bindings

2017-10-26 Thread Rob Herring
On Sun, Oct 22, 2017 at 11:38:03PM +0300, Serge Semin wrote: > Since hub usb2517 is going to be supported by the usb251xb driver, > the bindings need to be properly updated. Particularly: > - add "microchip,usb2517" and "microchip,usb2517i" compatible strings. > - add "boolean" description to all t

Re: [PATCH v6 2/9] clk: mediatek: Add dt-bindings for MT2712 clocks

2017-10-26 Thread Rob Herring
On Mon, Oct 23, 2017 at 12:10:33PM +0800, Weiyi Lu wrote: > Add MT2712 clock dt-bindings, include topckgen, apmixedsys, > infracfg, pericfg, mcucfg and subsystem clocks. > > Signed-off-by: Weiyi Lu > --- > include/dt-bindings/clock/mt2712-clk.h | 427 > + > 1 fil

[PATCH v5 3/5] media: atmel-isc: Enable the clocks during probe

2017-10-26 Thread Wenyou Yang
To meet the relationship, enable the HCLOCK and ispck during the device probe, "isc_pck frequency is less than or equal to isc_ispck, and isc_ispck is greater than or equal to HCLOCK." Meanwhile, call the pm_runtime_enable() in the right place. Signed-off-by: Wenyou Yang --- Changes in v5: - Fi

[PATCH v5 2/5] media: atmel-isc: Add prepare and unprepare ops

2017-10-26 Thread Wenyou Yang
A software write operation to the ISC_CLKEN or ISC_CLKDIS register requires double clock domain synchronization and is not permitted when the ISC_SR.SIP is asserted. So add the .prepare and .unprepare ops to make sure the ISC_CLKSR.SIP is unasserted before the write operation to the ISC_CLKEN or IS

Re: [PATCH v4] f2fs: support soft block reservation

2017-10-26 Thread Chao Yu
On 2017/10/27 11:11, Yunlong Song wrote: > It renames reserved_blocks sysfs interface to target_reserved_blocks, > and supports to extend it to be soft threshold, which allows user > configure it exceeding current available user space. So this patch > also introduces a new sysfs interface called cu

[PATCH v5 4/5] media: atmel-isc: Remove unnecessary member

2017-10-26 Thread Wenyou Yang
Remove the memeber *config from the isc_subdev_entity struct, the member is useless afterward. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/media/platform/atmel/atmel-isc.c | 10 ++ 1 file changed, 2 insertions(+

[PATCH v5 0/5] media: atmel-isc: Rework the format list and clock provider

2017-10-26 Thread Wenyou Yang
To improve the readability of code, rework the format list table, split the format array into two. Meanwhile, fix the issue of the clock provider operation and the pm runtime support. Changes in v5: - Fix the clock ID which enters the runtime suspend should be ISC_ISPCK, instead of ISC_MCK for

[PATCH v5 5/5] media: atmel-isc: Rework the format list

2017-10-26 Thread Wenyou Yang
To improve the readability of code, split the format array into two, one for the format description, other for the register configuration. Meanwhile, add the flag member to indicate the format can be achieved from the sensor or be produced by the controller, and rename members related to the regist

[PATCH v5 1/5] media: atmel-isc: Add spin lock for clock enable ops

2017-10-26 Thread Wenyou Yang
Add the spin lock for the clock enable and disable operations. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: None Changes in v3: - Fix the wrong used spinlock. - s/_/- on the subject. Changes in v2: None drivers/media/platform/atmel/atmel-isc.c | 15 ++- 1 fi

[PATCH] media: i2c: Add the ov7740 image sensor driver

2017-10-26 Thread Wenyou Yang
From: Songjun Wu The ov7740 (color) image sensor is a high performance VGA CMOS image snesor, which supports for output formats: RAW RGB and YUV and image sizes: VGA, and QVGA, CIF and any size smaller. Signed-off-by: Songjun Wu Signed-off-by: Wenyou Yang --- .../devicetree/bindings/media/i2

Re: [PATCH 1/3] Documentation: DT: Add Cygnus usb phy binding

2017-10-26 Thread Rob Herring
On Tue, Oct 24, 2017 at 10:07:00AM +0530, Raveendra Padasalagi wrote: > Add devicetree binding document for broadcom's > Cygnus SoC specific usb phy controller driver. "dt-bindings: phy: ..." for the subject please. > > Signed-off-by: Raveendra Padasalagi > --- > .../bindings/phy/brcm,cygnus-u

Re: [PATCH] MAINTAINERS: thermal: Remove Eduardo's git tree

2017-10-26 Thread Eduardo Valentin
Hello Florian, On Fri, Oct 27, 2017 at 10:22:31AM +0800, Zhang Rui wrote: > CC Eduardo. > > On Thu, 2017-10-26 at 19:06 +0200, Daniel Lezcano wrote: > > On 26/10/2017 18:59, Florian Fainelli wrote: > > > > > > On 09/24/2017 02:18 PM, Florian Fainelli wrote: > > > > > > > > Eduardo's git tree at

Re: [RFC 1/3] USB: Add document for usb of Hikey960

2017-10-26 Thread Rob Herring
On Tue, Oct 24, 2017 at 02:06:08PM +0800, Yu Chen wrote: > DT bindings for usb of Hikey960. > > Signed-off-by: Yu Chen > Signed-off-by: Ning Fan > Signed-off-by: Di Yang > Signed-off-by: Rui Li > > --- > .../devicetree/bindings/usb/hisilicon-usb.txt | 38 > ++ > 1 f

[PATCH] panic: add support to update panic_timeout via DT

2017-10-26 Thread Jeetesh Burman
Add support to set 'panic_timeout' value via dtb to have control from device tree. This makes sense when you have multiple platforms support from same defconfig and differentiated only through device tree blob. The patch will check for panic time out value coming from dtb if it exists, otherwise co

RE: [PATCH 2/2] Add /proc/PID/{smaps, numa_maps} support for DAX

2017-10-26 Thread Du, Fan
>-Original Message- >From: linux-kernel-ow...@vger.kernel.org >[mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Dave Hansen >Sent: Thursday, October 26, 2017 10:51 PM >To: Michal Hocko >Cc: Du, Fan ; a...@linux-foundation.org; h...@lst.de; >Williams, Dan J ; linux-kernel@vger.ker

Re: [PATCH] mm/swap: Use page flags to determine LRU list in __activate_page()

2017-10-26 Thread Anshuman Khandual
On 10/23/2017 08:52 AM, Anshuman Khandual wrote: > On 10/19/2017 09:03 PM, Michal Hocko wrote: >> On Thu 19-10-17 20:26:57, Anshuman Khandual wrote: >>> Its already assumed that the PageActive flag is clear on the input >>> page, hence page_lru(page) will pick the base LRU for the page. In >>> the

Re: [PATCH 0/4] Add SimpleFB support for Allwinner H3 SoC

2017-10-26 Thread icenowy
在 2017-09-11 23:55,Icenowy Zheng 写道: This patchset adds devicetree-side support of SimpleFB on Allwinner H3 SoC. The DE2 CCU is initialized and used by the SimpleFB node, in order to furtherly coexist with the DRM code. The first patch adds pipelines for DE2 displays in simplefb-sunxi device tr

[PATCH] ipv6: exthdrs: use swap macro in ipv6_dest_hao

2017-10-26 Thread Gustavo A. R. Silva
make use of the swap macro and remove unnecessary variable tmp_addr. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- net/ipv6/exthdrs.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --g

Re: [PATCH v2] ipv6: esp6: use BUG_ON instead of if condition followed by BUG

2017-10-26 Thread Gustavo A. R. Silva
Quoting Herbert Xu : On Thu, Oct 26, 2017 at 07:51:06AM -0500, Gustavo A. R. Silva wrote: Use BUG_ON instead of if condition followed by BUG in esp_remove_trailer. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva Acked-by: Herbert Xu Thanks! -- G

[PATCH] x86/build: beautify build log of syscall headers

2017-10-26 Thread Masahiro Yamada
This makes the build log look nicer. Before: SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/e

Re: [PATCH] maintainers: drop Chris Wright from pvops

2017-10-26 Thread Chris Wright
(resend w/out html damage that triggers lkml reject) On Thu, Oct 26, 2017 at 3:17 PM, Rusty Russell wrote: > Chris CC'd: He wasn't that hard to find. > > (linkedin says he's CTO of RedHat now. I feel like an underachiever!) > > Cheers, > Rusty. > > Juergen Gross writes: > >> Mails to chr...@sou

Re: [PATCH 1/1] l2tp: cleanup l2tp_tunnel_delete calls

2017-10-26 Thread David Miller
From: Jiri Slaby Date: Wed, 25 Oct 2017 15:57:55 +0200 > l2tp_tunnel_delete does not return anything since commit 62b982eeb458 > ("l2tp: fix race condition in l2tp_tunnel_delete"). But call sites of > l2tp_tunnel_delete still do casts to void to avoid unused return value > warnings. > > Kill th

Re: [PATCH] net: tipc: Convert timers to use timer_setup()

2017-10-26 Thread Kees Cook
On Tue, Oct 24, 2017 at 11:44 AM, Jon Maloy wrote: > NAK. It doesn't sound like a good idea to send this to net. Especially since > one of these timers has already been refactored in net-next. Hi! I'm not sure what you mean about the one timer issue. I don't see any use of timer_setup() in net/t

Re: [PATCH 1/3] Documentation: DT: Add Cygnus usb phy binding

2017-10-26 Thread Raveendra Padasalagi
Hi Rob, On Fri, Oct 27, 2017 at 9:09 AM, Rob Herring wrote: > On Tue, Oct 24, 2017 at 10:07:00AM +0530, Raveendra Padasalagi wrote: >> Add devicetree binding document for broadcom's >> Cygnus SoC specific usb phy controller driver. > > "dt-bindings: phy: ..." for the subject please. Ok. I will u

Re: [PATCH 0/5] Few more FlexRM driver improvements

2017-10-26 Thread Anup Patel
On Tue, Oct 3, 2017 at 10:51 AM, Anup Patel wrote: > This patchset does few more improvements to Broadcom FlexRM mailbox > driver. > > The patches are based on Linux-4.14-rc3 and can also be found at > flexrm-imp2-v1 branch of: > https://github.com/Broadcom/arm64-linux.git > > Anup Patel (4): >

Re: [PATCH v3 1/7] ACPI/PPTT: Add Processor Properties Topology Table parsing

2017-10-26 Thread Tomasz Nowicki
Hi John, On 19.10.2017 12:25, John Garry wrote: On 19/10/2017 06:18, Tomasz Nowicki wrote: Summary: I'm not at all happy with this specification's attempt to leave out pieces of information which make parsing things more deterministic. In this case I'm happy to demote the message level, but n

Re: [PATCH v3 2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-26 Thread Guenter Roeck
On 10/26/2017 07:28 PM, Eric Long wrote: This patch adds the watchdog driver for Spreadtrum SC9860 platform. Signed-off-by: Eric Long --- Change since v2: - Rename all the macors, add SPRD tag at the head of the macro names. - Rename SPRD_WDT_CLK as SPRD_WTC_CNT_STEP. - Remove the code wh

Re: [PATCH v2 0/2] KVM: fixes for the kernel-hardening tree

2017-10-26 Thread Paul Mackerras
On Thu, Oct 26, 2017 at 03:45:45PM +0200, Paolo Bonzini wrote: > Four KVM ioctls (KVM_GET/SET_CPUID2 on x86, KVM_GET/SET_ONE_REG on > ARM and s390) directly access the kvm_vcpu_arch struct. Therefore, the > new usercopy hardening work in linux-next, which forbids copies from and > to slab objects

Re: [PATCH] workqueue: Fix NULL pointer dereference

2017-10-26 Thread Li Bin
Hi, Jiangshan on 2017/10/26 23:55, Lai Jiangshan wrote: > On Tue, Oct 24, 2017 at 9:18 AM, Li Bin wrote: > > I remember that softirq can be invoked when irq_eixt(), > and in this case the current->current_pwq is also NULL > if __queue_work() is called in the soft irq. > > So in_task() might b

Re: [PATCHv4 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-26 Thread Pintu Kumar
Dear Laura, Shuah, Request you to please review the PATCHv4. If you have more comments please let me know. Thanks, Pintu On Tue, Oct 24, 2017 at 4:56 AM, Pintu Agarwal wrote: > This is a test utility to verify ION buffer sharing in user space > between 2 independent processes. > It uses unix do

<    2   3   4   5   6   7   8   >