Re: [PATCH 3/3] IPI: Avoid to use 2 cache lines for one call_single_data

2017-08-07 Thread Peter Zijlstra
On Sat, Aug 05, 2017 at 08:47:02AM +0800, Huang, Ying wrote: > Yes. That looks good. So you will prepare the final patch? Or you > hope me to do that? I was hoping you'd do it ;-)

Re: [PATCH v2 1/3] KVM: x86: X86_FEATURE_NRIPS is not scattered anymore

2017-08-07 Thread David Hildenbrand
On 05.08.2017 00:12, Radim Krčmář wrote: > bit(X86_FEATURE_NRIPS) is 3 since 2ccd71f1b278 ("x86/cpufeature: Move > some of the scattered feature bits to x86_capability"), so we can > simplify the code. > > Signed-off-by: Radim Krčmář > --- > v2: new, explain why it's ok to use X86_FEATURE_NRIPS (

Re: [PATCH v4 15/17] ASoC: cs47l35: Add codec driver for Cirrus Logic CS47L35

2017-08-07 Thread Richard Fitzgerald
On Sun, 2017-07-30 at 07:01 +0800, kbuild test robot wrote: > Hi Richard, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.13-rc2 next-20170728] > [cannot apply to ljones-mfd/for-mfd-next asoc/for-next] > [if your patch is applied to the wrong git tree, please drop us a n

Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls [v2]

2017-08-07 Thread Daniel Vetter
On Sun, Aug 6, 2017 at 5:32 AM, Keith Packard wrote: > Daniel Vetter writes: > >> Since I missed all the details Michel spotted, so I'll defer to his r-b. >> Also, before merging we need the userspace user. Do we have e.g. >> -modesetting patch for this, fully reviewed&ready for merging, just as

Re: hotplug support for arch/arc/plat-eznps platform

2017-08-07 Thread Peter Zijlstra
On Sun, Aug 06, 2017 at 05:53:37AM +, Ofer Levi(SW) wrote: > I'm adding hot-plug support for the above arch and ran into performance issue > with execution of > partition_sched_domains () - About 0.5 sec per cpu, which is unacceptable > with the arch supported 4k cpus. > To my limited under

Re: [PATCH v2 2/3] KVM: x86: generalize guest_cpuid_has_ helpers

2017-08-07 Thread David Hildenbrand
On 05.08.2017 00:12, Radim Krčmář wrote: > This patch turns guest_cpuid_has_XYZ(cpuid) into guest_cpuid_has(cpuid, > X86_FEATURE_XYZ), which gets rid of many very similar helpers. > > When seeing a X86_FEATURE_*, we can know which cpuid it belongs to, but > this information isn't in common code, s

[PATCH v3] f2fs: support journalled quota

2017-08-07 Thread Chao Yu
This patch supports to enable f2fs to accept quota information through mount option: - {usr,grp,prj}jquota= - jqfmt= Then, in ->mount flow, we can recover quota file during log replaying, by this, journelled quota can be supported. Signed-off-by: Chao Yu --- v3: - add missing quota initializatio

Re: [PATCH v2 3/3] KVM: x86: use general helpers for some cpuid manipulation

2017-08-07 Thread David Hildenbrand
On 05.08.2017 00:12, Radim Krčmář wrote: > Add guest_cpuid_clear() and use it instead of kvm_find_cpuid_entry(). > Also replace some uses of kvm_find_cpuid_entry() with guest_cpuid_has(). > > Signed-off-by: Radim Krčmář > --- > v2: added __always_inline (Paolo) > --- > arch/x86/kvm/cpuid.h | 9

[PATCH] f2fs: avoid unneeded sync on quota file

2017-08-07 Thread Chao Yu
We only need to sync quota file with appointed quota type instead of all types in f2fs_quota_{on,off}. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 5310bd80f72c..4b292f5dce89 100644 ---

Re: [ANNOUNCE] v4.11.12-rt9

2017-08-07 Thread Mike Galbraith
On Mon, 2017-08-07 at 09:52 +0200, Sebastian Andrzej Siewior wrote: > > can you reproduce that one? I don't see where this TASK_UNINTERRUPTIBLE > is coming from. Yup, x3550 just reproduced nearly instantly. -Mike

Re: [PATCH v6 1/3] perf/core: use rb trees for pinned/flexible groups

2017-08-07 Thread Peter Zijlstra
On Mon, Aug 07, 2017 at 10:17:46AM +0300, Alexey Budankov wrote: > Makes sense. The implementation becomes a bit simpler. The drawbacks > may be several rotations of potentially big tree on the critical path, > instead of updating four pointers in case of the tree of lists. Yes, but like said, i

[RESEND PATCH] bcache: Don't reinvent the wheel but use existing llist API

2017-08-07 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/md/bcache/closure.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 864e673..18

Re: [PATCH v2] f2fs: support journelled quota

2017-08-07 Thread Chao Yu
Hi Jaegeuk, On 2017/8/1 5:04, Jaegeuk Kim wrote: > On 07/30, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2017/7/30 15:35, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> When I add this patch, xfstests/fsstress are giving some weird kernel hang >>> or panic now. Without only this patch, I can't see any problem

[PATCH 1/2] sched/debug: show task state on /proc/sched_debug

2017-08-07 Thread Xie XiuQi
Currently, we print the runnable task in /proc/sched_debug, but there is no task state information. We don't know which task is in runqueue, and which task is in sleep. For the convenience of debugging, in this patch, we add task state in runnable task list, like this: runnable tasks: S

[PATCH 0/2] sched/debug: show task state on /proc/sched_debug

2017-08-07 Thread Xie XiuQi
Currently, we print the runnable task in /proc/sched_debug, but there is no task state information. We don't know which task is in runqueue, and which task is in sleep. For the convenience of debugging, in this patch, we add task state in runnable task list, like this: runnable tasks: S

[PATCH 2/2] sched/debug: intruduce task_state_to_char helper function

2017-08-07 Thread Xie XiuQi
Now we have more than one place to get the task state, so intruduce task_state_to_char helper to save some code. No function changed. Signed-off-by: Xie XiuQi --- include/linux/sched.h | 13 + kernel/sched/core.c | 15 --- kernel/sched/debug.c | 10 +++--- 3 files

Re: [PATCH] ipmi: fix unsigned long underflow

2017-08-07 Thread Weilong Chen
Hi Minyard, I test this patch, it works. Thanks. On 2017/7/30 10:20, miny...@acm.org wrote: From: Corey Minyard When I set the timeout to a specific value such as 500ms, the timeout event will not happen in time due to the overflow in function check_msg_timeout: ... ent->timeout -= t

[RESEND PATCH] mm: Don't reinvent the wheel but use existing llist API

2017-08-07 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- mm/vmalloc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3ca82d4..8c0eb45 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@

Re: [PATCH RESEND] mm: don't zero ballooned pages

2017-08-07 Thread David Hildenbrand
On 03.08.2017 13:59, Wei Wang wrote: > This patch is a revert of 'commit bb01b64cfab7 ("mm/balloon_compaction.c: > enqueue zero page to balloon device")' > > Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and > shouldn't be given to the host ksmd to scan. Therefore, it is not >

Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched

2017-08-07 Thread Peter Zijlstra
On Sun, Aug 06, 2017 at 02:41:41PM +1000, Aleksa Sarai wrote: > It appears as though the addition of the PID namespace did not update > the output code for /proc/*/sched, which resulted in it providing PIDs > that were not self-consistent with the /proc mount. This additionally > made it trivial to

Re: [PATCH] scsi: mpt3sas: Fix memory allocation failure test in 'mpt3sas_base_attach()'

2017-08-07 Thread Christophe JAILLET
Le 07/08/2017 à 10:25, walter harms a écrit : Am 07.08.2017 00:51, schrieb Christophe JAILLET: In the lines above this test, 8 'kzalloc' are performed, but only 7 results are tested. Add the missing one (i.e. '!ioc->port_enable_cmds.reply'). Signed-off-by: Christophe JAILLET --- drivers/sc

[RESEND PATCH] namespace.c: Don't reinvent the wheel but use existing llist API

2017-08-07 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/namespace.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index b5b1259..5cb2229 100644 --- a/fs/namespace.c +++ b/fs/na

[PATCH 0/3] KVM: optimize the kvm_vcpu_on_spin

2017-08-07 Thread Longpeng(Mike)
This is a simple optimization for kvm_vcpu_on_spin, the main idea is described in patch-1's commit msg. I did some tests base on the RFC version, the result shows that it can improves the performance slightly. == Geekbench-3.4.1 == VM1:8U,4G, vcpu(0...7) is 1:1 pinned to pcpu(6...11,18,19)

[PATCH 3/3] KVM: implement spinlock optimization logic for arm/s390

2017-08-07 Thread Longpeng(Mike)
Implements the kvm_arch_vcpu_spin/preempt_in_kernel() for arm/s390, they needn't cache the result. Signed-off-by: Longpeng(Mike) --- arch/s390/kvm/kvm-s390.c | 4 ++-- virt/kvm/arm/arm.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/s390/kvm/kvm-s390.c b/arc

[PATCH 2/3] KVM: X86: implement the logic for spinlock optimization

2017-08-07 Thread Longpeng(Mike)
Implements the kvm_arch_vcpu_spin/preempt_in_kernel(), because get_cpl requires vcpu_load, so we must cache the result(whether the vcpu was preempted when its cpl=0) in kvm_arch_vcpu. Signed-off-by: Longpeng(Mike) --- arch/x86/include/asm/kvm_host.h | 5 + arch/x86/kvm/svm.c |

[RESEND PATCH] fput: Don't reinvent the wheel but use existing llist API

2017-08-07 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park Reviewed-by: Oleg Nesterov --- fs/file_table.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 6d982b5..3209da2 100644 -

[PATCH 1/3] KVM: add spinlock-exiting optimize framework

2017-08-07 Thread Longpeng(Mike)
If the vcpu(me) exit due to request a usermode spinlock, then the spinlock-holder may be preempted in usermode or kernmode. But if the vcpu(me) is in kernmode, then the holder must be preempted in kernmode, so we should choose a vcpu in kernmode as the most eligible candidate. For some architectu

Re: [PATCH 03/14] pinctrl: rockchip: add input schmitt support for rv1108

2017-08-07 Thread Linus Walleij
On Mon, Jul 31, 2017 at 12:10 PM, Andy Yan wrote: > Some pins like i2c SCL/SDA need the schmitt input function > to avoid crosstalk problems. > > Signed-off-by: Andy Yan Patch applied with Heiko's review tag. Yours, Linus Walleij

Re: [PATCH 1/4] PM / s2idle: Rename PM_SUSPEND_FREEZE to PM_SUSPEND_S2IDLE

2017-08-07 Thread Peter Zijlstra
On Sat, Aug 05, 2017 at 02:56:43PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > To make it clear that the symbol in question refers to > suspend-to-idle, rename it from PM_SUSPEND_FREEZE to > PM_SUSPEND_S2IDLE. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/acpi/sleep.c

Re: [PATCH v2 10/23] pinctrl: rockchip: add schmitt input mode support for rv1108

2017-08-07 Thread Linus Walleij
On Wed, Aug 2, 2017 at 10:40 AM, Andy Yan wrote: > Some pins like i2c SCL/SDA need the schmitt input function > to avoid crosstalk problems. > > Signed-off-by: Andy Yan > Reviewed-by: Heiko Stuebner > --- > > Changes in v2: None Already applied v1 with Heiko's ACK so should be fine then. Your

Re: [PATCH 3/3] KVM: implement spinlock optimization logic for arm/s390

2017-08-07 Thread David Hildenbrand
On 07.08.2017 10:44, Longpeng(Mike) wrote: > Implements the kvm_arch_vcpu_spin/preempt_in_kernel() for arm/s390, > they needn't cache the result. > > Signed-off-by: Longpeng(Mike) > --- > arch/s390/kvm/kvm-s390.c | 4 ++-- > virt/kvm/arm/arm.c | 4 ++-- > 2 files changed, 4 insertions(+),

Re: [PATCH 3/3] KVM: implement spinlock optimization logic for arm/s390

2017-08-07 Thread Longpeng (Mike)
On 2017/8/7 16:52, David Hildenbrand wrote: > On 07.08.2017 10:44, Longpeng(Mike) wrote: >> Implements the kvm_arch_vcpu_spin/preempt_in_kernel() for arm/s390, >> they needn't cache the result. >> >> Signed-off-by: Longpeng(Mike) >> --- >> arch/s390/kvm/kvm-s390.c | 4 ++-- >> virt/kvm/arm/arm.

Re: [PATCH v2] drm: dw-hdmi-i2s: add missing company name on Copyright

2017-08-07 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Monday 07 Aug 2017 04:09:41 Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This driver's Copyright is under Renesas Solutions Corp. > This patch updates the year, because this driver was moved > into synopsys folder in 2017. > > Signed-off-b

Re: [PATCH 1/3] KVM: add spinlock-exiting optimize framework

2017-08-07 Thread David Hildenbrand
On 07.08.2017 10:44, Longpeng(Mike) wrote: > If the vcpu(me) exit due to request a usermode spinlock, then > the spinlock-holder may be preempted in usermode or kernmode. > > But if the vcpu(me) is in kernmode, then the holder must be > preempted in kernmode, so we should choose a vcpu in kernmode

Re: [PATCH v4 0/6] Add HiSilicon SoC uncore Performance Monitoring Unit driver

2017-08-07 Thread Zhangshaokun
Hi Mark/Will, Appreciate your comments. Thanks. Shaokun On 2017/7/25 20:10, Shaokun Zhang wrote: > This patchset adds support for HiSilicon SoC uncore PMUs driver. It > includes L3C, Hydra Home Agent (HHA) and DDRC. > > Changes in v4: > * remove redundant code and comments > * reverse the funct

Re: [PATCH] serio: PS2 gpio bit banging driver for the serio bus

2017-08-07 Thread Linus Walleij
On Tue, Aug 1, 2017 at 12:24 AM, Danilo Krummrich wrote: > This driver provides PS2 serio bus support by implementing bit banging > with the GPIO API. The GPIO pins, data and clock, can be configured with > a node in the device tree or by static platform data. > > Writing to a device is supported

RE: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-08-07 Thread David Laight
From: Casey Leedom > Sent: 04 August 2017 21:49 ... > Whenever our Hardware Designers implement new functionality in our hardware, > they almost always put in A. several "knobs" which can control fundamental > parameters of the new Hardware Feature, and B. a mechanism of completely > disabling it

Re: [PATCH 1/3] KVM: add spinlock-exiting optimize framework

2017-08-07 Thread Longpeng (Mike)
On 2017/8/7 16:55, David Hildenbrand wrote: > On 07.08.2017 10:44, Longpeng(Mike) wrote: >> If the vcpu(me) exit due to request a usermode spinlock, then >> the spinlock-holder may be preempted in usermode or kernmode. >> >> But if the vcpu(me) is in kernmode, then the holder must be >> preempte

RE: [PATCH 1/3] dt-bindings: add "size" property.

2017-08-07 Thread Mohandass, Divagar
>-Original Message- >From: Rob Herring [mailto:r...@kernel.org] >Sent: Friday, August 04, 2017 1:58 AM >To: Mohandass, Divagar >Cc: mark.rutl...@arm.com; w...@the-dreams.de; >devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux- >ker...@vger.kernel.org; Mani, Rajmohan >Subject: Re

Re: [PATCH 1/2] gpio: mb86s7x: Handle return value of clk_prepare_enable.

2017-08-07 Thread Linus Walleij
On Tue, Aug 1, 2017 at 8:43 AM, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Patch applied. Yours, Linus Walleij

Re: [ANNOUNCE] v4.11.12-rt9

2017-08-07 Thread Mike Galbraith
On Mon, 2017-08-07 at 09:52 +0200, Sebastian Andrzej Siewior wrote: > > can you reproduce that one? I don't see where this TASK_UNINTERRUPTIBLE > is coming from. Ditto.  Gripe noted where state was set to TASK_RUNNING, which doesn't look particularly wonderful. -Mike

Re: [PATCH 12/29] drm/i915: switch to drm_*{get,put} helpers

2017-08-07 Thread Daniel Vetter
On Thu, Aug 3, 2017 at 5:52 PM, Cihangir Akturk wrote: > On Thu, Aug 03, 2017 at 02:49:03PM +0200, Daniel Vetter wrote: >> On Thu, Aug 03, 2017 at 03:26:01PM +0300, Jani Nikula wrote: >> > On Thu, 03 Aug 2017, Cihangir Akturk wrote: >> > > drm_*_reference() and drm_*_unreference() functions are j

Re: [PATCH] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-08-07 Thread Oliver Neukum
Am Freitag, den 04.08.2017, 17:34 +0800 schrieb Kai-Heng Feng: > The Realtek r8153 ethernet does not work on Genesys Logic hub, no-lpm > quirk can make it work. So can you confirm it works with LPM on another hub? > Since another r8153 dongle at my hand does not have the issue, so add > the quirk

[PATCH v2] phy: ti-pipe3: Use TRM recommended settings for SATA DPLL

2017-08-07 Thread Roger Quadros
The AM572x Technical Reference Manual, SPRUHZ6H, Revised November 2016 [1], shows recommended settings for the SATA DPLL in Table 26-8. DPLL CLKDCOLDO Recommended Settings. Use those settings in the driver. The TRM does not show a value for 20MHz SYS_CLK so we use something close to the 26MHz sett

Re: [PATCH v6 1/3] perf/core: use rb trees for pinned/flexible groups

2017-08-07 Thread Peter Zijlstra
On Mon, Aug 07, 2017 at 10:39:13AM +0200, Peter Zijlstra wrote: > On Mon, Aug 07, 2017 at 10:17:46AM +0300, Alexey Budankov wrote: > > Makes sense. The implementation becomes a bit simpler. The drawbacks > > may be several rotations of potentially big tree on the critical path, > > instead of upd

Re: [PATCH 4/5] gpio: Add support for LMP92001 GPIO

2017-08-07 Thread Linus Walleij
On Tue, Aug 1, 2017 at 11:15 AM, wrote: > From: Abhisit Sangjan That is a bit terse commit message for an entire new driver. Elaborate some please. > +#include #include ONLY please. > +#include > +#include > +#include > +#include Why? Supporting old kernels? We don't do that upstrea

Re: [PATCH v3 5/6] PCI: mediatek: Add new generation controller support

2017-08-07 Thread Honghui Zhang
On Sun, 2017-08-06 at 10:06 +0800, Ryder Lee wrote: > Hi Honghui, > > If you plan to send next version, then I would suggest some minor > changes. > > On Fri, 2017-08-04 at 20:06 +0800, honghui.zh...@mediatek.com wrote: > > +#define PCIE_CRSTB BIT(3) > > +#define PCIE_PERSTB

[PATCH 2/3] dts: arm64: add mailbox binding for hi3660

2017-08-07 Thread Zhong Kaihua
From: Kaihua Zhong Add binding for mailbox driver. Signed-off-by: Leo Yan Signed-off-by: Ruyi Wang Tested-by: Kaihua Zhong --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/d

[PATCH 1/3] driver: mailbox: add support for Hi3660

2017-08-07 Thread Zhong Kaihua
From: Kaihua Zhong Add mailbox driver for Hi3660. Signed-off-by: Leo Yan Signed-off-by: Ruyi Wang Tested-by: Kaihua Zhong --- drivers/mailbox/Kconfig | 6 + drivers/mailbox/Makefile | 2 + drivers/mailbox/hi3660-mailbox.c | 688 +++ 3

[PATCH 3/3] arm64: defconfig: add configs for power management on Hi3660

2017-08-07 Thread Zhong Kaihua
From: Kaihua Zhong Add configs for power management on Hi3660. Signed-off-by: Leo Yan Signed-off-by: Ruyi Wang Tested-by: Kaihua Zhong --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d5

[PATCH 1/2] clk: hisilicon: add stub clock driver for Hi3660

2017-08-07 Thread Zhong Kaihua
From: Kaihua Zhong Add stub clock driver for Hi3660, this patch registers clock node for big and LITTLE clusters and GPU clock. For DDR clock, it's should partially supported but has not been verified yet. Signed-off-by: Kai Zhao Signed-off-by: Leo Yan Signed-off-by: Tao Wang Signed-off-by: R

[PATCH 2/2] dts: arm64: bind stub clock driver for Hi3660

2017-08-07 Thread Zhong Kaihua
From: Kaihua Zhong Add binding to stub clock driver. Signed-off-by: Kai Zhao Signed-off-by: Leo Yan Signed-off-by: Tao Wang Signed-off-by: Ruyi Wang Tested-by: Kaihua Zhong --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64

Re: [RESEND PATCH] staging: vboxvideo: remove dead gamma lut code

2017-08-07 Thread Daniel Vetter
On Fri, Aug 04, 2017 at 12:45:06PM +0200, Peter Rosin wrote: > The redundant fb helpers .load_lut, .gamma_set and .gamma_get are > no longer used. Remove the dead code that was not doing anything > sensible anyway. > > Signed-off-by: Peter Rosin > --- > drivers/staging/vboxvideo/vbox_fb.c | 15

Re: [PATCH 5/5] Documentation: bindings: Add ti,lmp92001

2017-08-07 Thread Linus Walleij
On Tue, Aug 1, 2017 at 11:17 AM, wrote: > + - #gpio-cells : Should be two. The first cell is the pin number and the > + second cell is used to specify the gpio polarity: > +0 = Active high > +1 = Active low Just reference the standard bindings? > +- ti,lmp92001-gpio-dir: bit

[PATCH] paride: Delete an error message for a failed memory allocation in two functions

2017-08-07 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 7 Aug 2017 11:11:34 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Sig

Re: [PATCH 2/3] gpio: Add FT232H CBUS GPIO driver

2017-08-07 Thread Linus Walleij
On Tue, Aug 1, 2017 at 11:24 AM, Johan Hovold wrote: > On Tue, Aug 01, 2017 at 08:49:02AM +0200, Linus Walleij wrote: >> On Thu, Jul 6, 2017 at 10:49 PM, Anatolij Gustschin wrote: >> >> > Add driver for CBUS pins on FT232H. The driver supports setting >> > GPIO direction and getting/setting CBUS

Re: [PATCH v5 2/6] drm/bridge: Add a devm_ allocator for panel bridge.

2017-08-07 Thread Daniel Vetter
On Sat, Aug 05, 2017 at 12:59:07PM +0200, Noralf Trønnes wrote: > (I had to switch to Daniel's Intel address to get this sent) > > Den 05.08.2017 00.19, skrev Ilia Mirkin: > > On Fri, Aug 4, 2017 at 4:43 PM, Eric Anholt wrote: > > > Laurent Pinchart writes: > > > > > > > Hi Eric, > > > > > > >

Re: [PATCH RESEND] mm: don't zero ballooned pages

2017-08-07 Thread Michal Hocko
On Mon 07-08-17 10:44:50, David Hildenbrand wrote: > On 03.08.2017 13:59, Wei Wang wrote: > > This patch is a revert of 'commit bb01b64cfab7 ("mm/balloon_compaction.c: > > enqueue zero page to balloon device")' > > > > Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and > > shoul

Re: [PATCH] hwmon: adt7475: wusbhc: constify attribute_group structures.

2017-08-07 Thread Jean Delvare
Hi Arvind, On lun., 2017-08-07 at 11:49 +0530, Arvind Yadav wrote: > attribute_group are not supposed to change at runtime. All functions > working with attribute_group provided by work with > const attribute_group. So mark the non-const structs as const. Confused by the subject. What is "wusbhc

Re: [PATCH 1/5] edac: synopsys: Add platform specific structures ddrc controller

2017-08-07 Thread Borislav Petkov
On Mon, Aug 07, 2017 at 09:39:57AM +0200, Michal Simek wrote: > > "This patch" in a commit message is tautologically redundant. > > Fixed in v2. You forgot to remove "This patch" in the remaining patches. But please wait with sending v3 until I go through all of them. -- Regards/Gruss, Bori

Re: [PATCH] hwmon: adt7475: wusbhc: constify attribute_group structures.

2017-08-07 Thread Arvind Yadav
Hi, On Monday 07 August 2017 02:55 PM, Jean Delvare wrote: Hi Arvind, On lun., 2017-08-07 at 11:49 +0530, Arvind Yadav wrote: attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const s

Re: [PATCH 1/5] edac: synopsys: Add platform specific structures ddrc controller

2017-08-07 Thread Michal Simek
On 7.8.2017 11:27, Borislav Petkov wrote: > On Mon, Aug 07, 2017 at 09:39:57AM +0200, Michal Simek wrote: >>> "This patch" in a commit message is tautologically redundant. >> >> Fixed in v2. > > You forgot to remove "This patch" in the remaining patches. But please > wait with sending v3 until I g

Re: [PATCH RESEND] mm: don't zero ballooned pages

2017-08-07 Thread Wei Wang
On 08/07/2017 04:44 PM, David Hildenbrand wrote: On 03.08.2017 13:59, Wei Wang wrote: This patch is a revert of 'commit bb01b64cfab7 ("mm/balloon_compaction.c: enqueue zero page to balloon device")' Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and shouldn't be given to the

Re: [PATCH] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-08-07 Thread Kai-Heng Feng
On Mon, Aug 7, 2017 at 5:08 PM, Oliver Neukum wrote: > Am Freitag, den 04.08.2017, 17:34 +0800 schrieb Kai-Heng Feng: >> The Realtek r8153 ethernet does not work on Genesys Logic hub, no-lpm >> quirk can make it work. > > So can you confirm it works with LPM on another hub? Yes, another r8153 don

[PATCH v2] hwmon: adt7475: constify attribute_group structures

2017-08-07 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- change in v2: subject was not correct. Removed 'wusbhc' and '.'. dr

Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters

2017-08-07 Thread Suzuki K Poulose
On 27/07/17 10:08, Jan Glauber wrote: On Thu, Jul 27, 2017 at 07:11:57AM +0200, Borislav Petkov wrote: On Wed, Jul 26, 2017 at 02:02:42PM -0700, David Daney wrote: Also, if a given configuration disables CONFIG_EDAC there is some hackery needed to get the perf portion of the driver included.

Re: [PATCH RESEND] mm: don't zero ballooned pages

2017-08-07 Thread David Hildenbrand
> Maybe it is my absolute lack of familiarity with what the host actually > does with balloon pages but I fail to see why the above matters at all. > ksm will not try to merge sub page units (4k for hugetlb or a large base > page). And if you need to hide the guest contents then the host can > clea

Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev

2017-08-07 Thread Daniel Vetter
On Fri, Aug 04, 2017 at 11:25:24AM -0500, David Lechner wrote: > The fbdev subsystem has a place for physical dimensions (width and height > in mm) that is readable by userspace. Since DRM also knows these > dimensions, pass this information to the fbdev device. > > This has to be done in drm_setu

Re: kvm_intel fails to load on Conroe CPUs running Linux 4.12

2017-08-07 Thread Paolo Bonzini
On 06/08/2017 23:23, Sebastian Rachuj wrote: > On 06.08.2017 23:10, Paolo Bonzini wrote: >> On 05/08/2017 21:26, Sebastian Rachuj wrote: >>> Dear linux developers, >>> >>> since my upgrade from linux 4.11 to linux 4.12 the "kvm_intel" module >>> does not load correctly anymore. "Modprobing" the ker

Re: [PATCH v06 32/36] uapi drm/armada_drm.h: use __u32 and __u64 instead of uint32_t and uint64_t

2017-08-07 Thread Daniel Vetter
On Sun, Aug 06, 2017 at 06:44:23PM +0200, Mikko Rapeli wrote: > These are defined in linux/types.h or drm/drm.h. Fixes > user space compilation errors like: > > drm/armada_drm.h:26:2: error: unknown type name ‘uint32_t’ > uint32_t handle; > ^~~~ > > Signed-off-by: Mikko Rapeli > Cc: Emil

Re: [PATCH v1 07/15] perf, tools: Expression parser enhancements for metrics

2017-08-07 Thread Jiri Olsa
On Mon, Jul 24, 2017 at 04:40:07PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Enhance the expression parser for more complex metric formulas. > > - Support python style IF ELSE operators > - Support MIN/MAX operations > - Support | & ^ operators > - Minor cleanups and fixes > - Add an #SMT_

[PATCH v2 2/2] dt-bindings: ata: add DT bindings for MediaTek SATA controller

2017-08-07 Thread Ryder Lee
Add DT bindings for the onboard SATA controller present on the MediaTek SoCs. Signed-off-by: Ryder Lee --- Documentation/devicetree/bindings/ata/ahci-mtk.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/ahci-mtk.txt diff

Re: [PATCH v1 09/15] perf, tools: Dedup events in expression parsing

2017-08-07 Thread Jiri Olsa
On Mon, Jul 24, 2017 at 04:40:09PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Avoid adding redundant events while parsing an expression. > When we add an "other" event check first if it already exists. hi, got this: [jolsa@krava perf]$ ./perf test expr -v 6: Simple expression parser

[PATCH v2 0/2] Add support for MediaTek AHCI SATA

2017-08-07 Thread Ryder Lee
Hi, This patch series add support for AHCI compatible SATA controller, and it is compliant with the ahci 1.3 and sata 3.0 specification. This driver is slightly different than ahci_platform.c (e.g., reset control, subsystem setting). changes since v2: - according to Commit a53e35db70d1 ("reset: E

[PATCH v4 4/6] irqchip: gic-v3: Use of_cpu_node_to_id helper

2017-08-07 Thread Suzuki K Poulose
Use the new generic helper of_cpu_node_to_id() instead of using our own version to map a device node to logical CPU number. Acked-by: Marc Zyngier Signed-off-by: Suzuki K Poulose --- Changes since V3: - Reflect the change in the helper name and return value. --- drivers/irqchip/irq-gic-v3.c |

[PATCH v4 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-08-07 Thread Suzuki K Poulose
Add support for the Cluster PMU part of the ARM DynamIQ Shared Unit (DSU). The DSU integrates one or more cores with an L3 memory system, control logic, and external interfaces to form a multicore cluster. The PMU allows counting the various events related to L3, SCU etc, along with providing a cyc

[PATCH v4 5/6] dt-bindings: Document devicetree binding for ARM DSU PMU

2017-08-07 Thread Suzuki K Poulose
This patch documents the devicetree bindings for ARM DSU PMU. Cc: Mark Rutland Cc: Will Deacon Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: frowand.l...@gmail.com Signed-off-by: Suzuki K Poulose --- Changes since V3: - Fixed node name in the example, suggested by Rob --- .../devicetree

[PATCH v4 2/6] of: Add helper for mapping device node to logical CPU number

2017-08-07 Thread Suzuki K Poulose
Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible" logical CPU id, which may not be online yet. It is the responsibility of the user to make sur

[PATCH v4 3/6] coresight: of: Use of_cpu_node_to_id helper

2017-08-07 Thread Suzuki K Poulose
Reuse the new generic helper, of_cpu_node_to_id() to map a given CPU phandle to a logical CPU number. Cc: Leo Yan Acked-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes since V3: - Reflect the renaming of the helper and return value changes --- drivers/hwtracing/coresight/of_co

[PATCH v4 0/6] perf: Support for ARM DynamIQ Shared Unit PMU

2017-08-07 Thread Suzuki K Poulose
This series adds support for the PMU in ARM DynamIQ Shared Unit (DSU). The DSU integrates one or more cores with an L3 memory system, control logic, and external interfaces to form a multicore cluster. The PMU allows counting the various events related to L3, SCU etc, using 32bit independent counte

[PATCH v2 1/2] ata: mediatek: add support for MediaTek SATA controller

2017-08-07 Thread Ryder Lee
This adds support the AHCI-compliant Serial ATA controller present on MediaTek SoCs. Signed-off-by: Ryder Lee --- drivers/ata/Kconfig| 10 +++ drivers/ata/Makefile | 1 + drivers/ata/ahci_mtk.c | 196 + 3 files changed, 207 insertions(+)

[PATCH v4 1/6] perf: Export perf_event_update_userpage

2017-08-07 Thread Suzuki K Poulose
Export perf_event_update_userpage() so that PMU driver using them, can be built as modules. Cc: Peter Zilstra Signed-off-by: Suzuki K Poulose --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c b/kernel/events/core.c index 426c2ff..21aad7a 100644 --

Re: [PATCH -mm] mm: Clear to access sub-page last when clearing huge page

2017-08-07 Thread Jan Kara
On Mon 07-08-17 15:21:31, Huang, Ying wrote: > From: Huang Ying > > Huge page helps to reduce TLB miss rate, but it has higher cache > footprint, sometimes this may cause some issue. For example, when > clearing huge page on x86_64 platform, the cache footprint is 2M. But > on a Xeon E5 v3 2699

Re: [PATCH -mm] mm: Clear to access sub-page last when clearing huge page

2017-08-07 Thread Huang, Ying
Jan Kara writes: > On Mon 07-08-17 15:21:31, Huang, Ying wrote: >> From: Huang Ying >> >> Huge page helps to reduce TLB miss rate, but it has higher cache >> footprint, sometimes this may cause some issue. For example, when >> clearing huge page on x86_64 platform, the cache footprint is 2M.

[PATCH] ARM: hisi: Fix typo in comment

2017-08-07 Thread Yunzhi Li
Fix the rc vs. pc typo. There is no a register named rc, I felt confused when I read this assembler command in comment. Signed-off-by: Yunzhi Li --- arch/arm/mach-hisi/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi

Re: [PATCH 0/2] reset: uniphier: UniPhier reset data update for v4.14

2017-08-07 Thread Philipp Zabel
Hi Masahiro, On Sun, 2017-08-06 at 11:44 +0900, Masahiro Yamada wrote: > Hi Philipp, > > Here are UniPhier SoCs updates for v4.14. > > - Remove old SoC support > - Remove useless macros Applied both to the reset/next branch, thank you. regards Philipp

Re: [PATCH v4 05/16] MIPS: math-emu: .: Fix quiet NaN propagation

2017-08-07 Thread Ralf Baechle
On Thu, Jul 27, 2017 at 06:08:48PM +0200, Aleksandar Markovic wrote: This is a mindbogglingly big series of FP fixes. There's always a risk associated with fixes so I'd prefer if they could wait for 4.14. For now I'm going to apply them to my 4.14 branch but let me know if you think they are mor

[PATCH] ARM: hisi: Fix typo in comment

2017-08-07 Thread Yunzhi Li
Fix the rc vs. pc typo. There is no a register named rc, I felt confused when I read this assembler command in comment. Signed-off-by: Yunzhi Li --- arch/arm/mach-hisi/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi

[PATCH 0/5] constify sdhci_pltfm_data and sdhci_ops structures

2017-08-07 Thread Julia Lawall
The sdhci_pltfm_data structures are only passed as the second argument of sdhci_pltfm_init, which is const, while the sdhci_ops structures are only stored in the ops field of a sdhci_pltfm_data structure, which is also const. Thus both kinds of structures can be const as well. Done with the help

[PATCH 4/5] mmc: sdhci-of-arasan: constify sdhci_pltfm_data and sdhci_ops structures

2017-08-07 Thread Julia Lawall
The sdhci_pltfm_data structure is only passed as the second argument of sdhci_pltfm_init, which is const, while the sdhci_ops structure is only stored in the ops field of a sdhci_pltfm_data structure, which is also const. Thus both kinds of structures can be const as well. Done with the help of C

Re: [PATCH -mm] mm: Clear to access sub-page last when clearing huge page

2017-08-07 Thread Kirill A. Shutemov
On Mon, Aug 07, 2017 at 03:21:31PM +0800, Huang, Ying wrote: > From: Huang Ying > > Huge page helps to reduce TLB miss rate, but it has higher cache > footprint, sometimes this may cause some issue. For example, when > clearing huge page on x86_64 platform, the cache footprint is 2M. But > on a

[PATCH 3/5] mmc: sdhci-sirf: constify sdhci_pltfm_data and sdhci_ops structures

2017-08-07 Thread Julia Lawall
The sdhci_pltfm_data structure is only passed as the second argument of sdhci_pltfm_init, which is const, while the sdhci_ops structure is only stored in the ops field of a sdhci_pltfm_data structure, which is also const. Thus both kinds of structures can be const as well. Done with the help of C

[PATCH 5/5] mmc: sdhci-brcmstb: constify sdhci_pltfm_data structures

2017-08-07 Thread Julia Lawall
The sdhci_pltfm_data structure is only passed as the second argument of sdhci_pltfm_init, which is const, so the sdhci_pltfm_data structure can be const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/mmc/host/sdhci-brcmstb.c |2 +- 1 file changed, 1 inse

[PATCH 2/5] mmc: sdhci-bcm-kona: constify sdhci_pltfm_data and sdhci_ops structures

2017-08-07 Thread Julia Lawall
The sdhci_pltfm_data structure is only passed as the second argument of sdhci_pltfm_init, which is const, while the sdhci_ops structure is only stored in the ops field of a sdhci_pltfm_data structure, which is also const. Thus both kinds of structures can be const as well. Done with the help of C

[PATCH 1/5] drivers/mmc/host: constify sdhci_pltfm_data structures

2017-08-07 Thread Julia Lawall
The sdhci_pltfm_data structure is only passed as the second argument of sdhci_pltfm_init, which is const, so the sdhci_pltfm_data structure can be const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/mmc/host/sdhci-pic32.c |2 +- drivers/mmc/host/sdhci-p

Re: [PATCH 06/12] [media] exynos-gsc: constify v4l2_m2m_ops structures

2017-08-07 Thread Sylwester Nawrocki
On 08/06/2017 10:25 AM, Julia Lawall wrote: The v4l2_m2m_ops structures are only passed as the only argument to v4l2_m2m_init, which is declared as const. Thus the v4l2_m2m_ops structures themselves can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Reviewed-by: Syl

Re: [PATCH 11/12] [media] exynos4-is: constify v4l2_m2m_ops structures

2017-08-07 Thread Sylwester Nawrocki
On 08/06/2017 10:25 AM, Julia Lawall wrote: The v4l2_m2m_ops structures are only passed as the only argument to v4l2_m2m_init, which is declared as const. Thus the v4l2_m2m_ops structures themselves can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Reviewed-by: Sy

Re: [PATCH v8 09/14] lockdep: Apply crossrelease to completions

2017-08-07 Thread kbuild test robot
-crossrelease-feature/20170807-172617 config: alpha-allmodconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: [PATCH v5 2/6] drm/bridge: Add a devm_ allocator for panel bridge.

2017-08-07 Thread Laurent Pinchart
Hi Daniel, On Monday 07 Aug 2017 11:25:07 Daniel Vetter wrote: > On Sat, Aug 05, 2017 at 12:59:07PM +0200, Noralf Trønnes wrote: > > Den 05.08.2017 00.19, skrev Ilia Mirkin: > >> On Fri, Aug 4, 2017 at 4:43 PM, Eric Anholt wrote: > >>> Laurent Pinchart writes: > On Tuesday 18 Jul 2017 14:05

Re: [PATCH 03/12] [media] s5p-g2d: constify v4l2_m2m_ops structures

2017-08-07 Thread Sylwester Nawrocki
On 08/06/2017 10:25 AM, Julia Lawall wrote: The v4l2_m2m_ops structures are only passed as the only argument to v4l2_m2m_init, which is declared as const. Thus the v4l2_m2m_ops structures themselves can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Reviewed-by: Sy

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