Re: [RFC PATCH 1/5] bpf: Put perf_events check ahead of bpf prog

2015-07-01 Thread Wangnan (F)
On 2015/7/2 11:50, Alexei Starovoitov wrote: On 6/30/15 7:57 PM, He Kuang wrote: When we add a kprobe point and record events by perf, the execution path of all threads on each cpu will enter this point, but perf may only record events on a particular thread or cpu at this kprobe point, a

Re: smp_store_mb() oddity..

2015-07-01 Thread Heiko Carstens
On Wed, Jul 01, 2015 at 07:17:55PM +0200, Peter Zijlstra wrote: > --- > Subject: locking/arch: Make smp_store_mb() use smp_mb() > > Linus noticed that there were a few smp_store_mb() implementations that > used mb(), which is inconsistent with the new naming. > > Since all smp_store_mb() users

[PATCH RESEND] powerpc/numa: initialize distance lookup table from drconf path

2015-07-01 Thread Nikunj A Dadhania
In some situations, a NUMA guest that supports ibm,dynamic-memory-reconfiguration node will end up having flat NUMA distances between nodes. This is because of two problems in the current code. 1) Different representations of associativity lists. There is an assumption about the associativity

linux-next: Tree for Jul 2

2015-07-01 Thread Stephen Rothwell
Hi all, Please do not add any v4.3 related material to your linux-next included branches until after v4.2-rc1 is released. Changes since 20150701: The kbuild tree gained a conflict against Linus' tree. I dropped a patch from the akpm tree since the commit it was fixing has been removed. Non

ARC build -O3 (was Re: subtle side effect of commit a1c48bb160f836)

2015-07-01 Thread Vineet Gupta
On Wednesday 01 July 2015 08:49 PM, Michal Marek wrote: > On Wed, Jun 24, 2015 at 05:50:16PM +0530, Vineet Gupta wrote: >> On Thursday 18 June 2015 04:02 PM, Vineet Gupta wrote: >>> On Thursday 18 June 2015 03:44 PM, Michal Marek wrote: Uh, this is not what I meant. KCFLAGS is a *user*

Re: [PATCH v2] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Krzysztof Kozlowski
On 02.07.2015 13:58, Jisheng Zhang wrote: > Dear Krzysztof, > > On Thu, 2 Jul 2015 12:59:44 +0900 > Krzysztof Kozlowski wrote: > >> 2015-07-02 11:14 GMT+09:00 Jisheng Zhang : >>> It is not needed after booting, this patch moves the arm_cpuidle_init() >>> function to the __init section. >>> >>>

[PATCH 06/10] crypto: omap-aes: gcm: Handle inputs properly

2015-07-01 Thread Lokesh Vutla
Its not necessary that assoc data and plain text is passed always. Add these checks before processing the input. Signed-off-by: Lokesh Vutla --- drivers/crypto/omap-aes-gcm.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git

[PATCH 10/10] crypto: tcrypt: Added speed tests for Async AEAD crypto alogrithms

2015-07-01 Thread Lokesh Vutla
Adding simple speed tests for a range of block sizes for Async AEAD crypto algorithms. Signed-off-by: Lokesh Vutla --- crypto/tcrypt.c | 233 +++ crypto/tcrypt.h |1 + 2 files changed, 234 insertions(+) diff --git a/crypto/tcrypt.c

[PATCH 03/10] crypto: aead: Add aead_request_cast() api

2015-07-01 Thread Lokesh Vutla
Add aead_request_cast() api to get pointer to aead_request from cryto_async_request. Signed-off-by: Lokesh Vutla --- include/linux/crypto.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 10df5d2..20fac3d 100644 ---

[PATCH 04/10] crypto: omap-aes: Use BIT() macro

2015-07-01 Thread Lokesh Vutla
Use BIT()/GENMASK() macros for all register definitions instead of hand-writing bit masks. Signed-off-by: Lokesh Vutla --- drivers/crypto/omap-aes.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/crypto/omap-aes.c

[PATCH 05/10] crypto: omap-aes: Add support for GCM mode

2015-07-01 Thread Lokesh Vutla
OMAP AES hw supports aes gcm mode. Adding support for GCM mode in omap-aes driver. Signed-off-by: Lokesh Vutla --- drivers/crypto/Makefile |3 +- drivers/crypto/omap-aes-gcm.c | 304 + drivers/crypto/omap-aes.c | 238

[PATCH 08/10] crypto: omap-aes: gmc: Add algo info

2015-07-01 Thread Lokesh Vutla
Now the driver supports gcm mode, add omap-aes-gcm algo info to omap-aes driver. Signed-off-by: Lokesh Vutla --- drivers/crypto/omap-aes.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index e5e9a19..11f3850

[PATCH 07/10] crypto: omap-aes: gcm: Add support for unaligned lengths

2015-07-01 Thread Lokesh Vutla
Check if the inputs are not aligned, if not process the input before starting the hw acceleration. Similarly after completition of hw acceleration. Signed-off-by: Lokesh Vutla --- drivers/crypto/omap-aes-gcm.c | 82 + 1 file changed, 74 insertions(+), 8

[PATCH 09/10] crypto: omap-aes: gcm: Add support for PIO mode

2015-07-01 Thread Lokesh Vutla
Add support for PIO mode for GCM mode. Signed-off-by: Lokesh Vutla --- drivers/crypto/omap-aes-gcm.c | 10 ++ drivers/crypto/omap-aes.c | 24 ++-- drivers/crypto/omap-aes.h |3 ++- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git

[PATCH 02/10] crypto: omap-aes: Fix configuring of AES mode

2015-07-01 Thread Lokesh Vutla
AES_CTRL_REG is used to configure AES mode. Before configuring any mode we need to make sure all other modes are reset or else driver will misbehave. So mask all modes before configuring any AES mode. Signed-off-by: Lokesh Vutla --- drivers/crypto/omap-aes.c | 13 + 1 file

[PATCH 01/10] crypto: omap-aes: Add support for lengths not aligned with AES_BLOCK_SIZE

2015-07-01 Thread Lokesh Vutla
OMAP AES driver returns an error if the data is not aligned with AES_BLOCK_SIZE bytes. But OMAP AES hw allows data input upto 1 byte aligned, but still zeros are to be appended and complete AES_BLOCK_SIZE has to be written. And correct length has to be passed in LENGTH field. Adding support for

[PATCH 00/10] crypto: omap-aes: Add support for GCM mode

2015-07-01 Thread Lokesh Vutla
This series does some basic cleanup and adds support for AES GCM mode for omap aes driver. Also adds a test case for async aead algos. Tested on BeagelBoneBlack: http://pastebin.ubuntu.com/11808341/ Lokesh Vutla (10): crypto: omap-aes: Add support for lengths not aligned with

[PATCH 3/4] phy: berlin-usb: fix divider for BG2

2015-07-01 Thread Thomas Hebb
The USB PLL divider set by the marvell,berlin2-usb-phy compatible is not correct for BG2. We couldn't change it before because BG2Q incorrectly used the same compatible string. Now that BG2Q's compatible is fixed, change BG2's divider to the correct value. Signed-off-by: Thomas Hebb ---

[PATCH 4/4] phy: berlin-usb: rename table copied from SATA PHY

2015-07-01 Thread Thomas Hebb
We're not in a SATA PHY driver, so the of_match table shouldn't have "sata" in its name. Signed-off-by: Thomas Hebb Suggested-by: Sebastian Hesselbarth --- drivers/phy/phy-berlin-usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/phy/phy-berlin-usb.c

[PATCH 2/4] ARM: dts: berlin: change BG2Q's USB PHY compatible

2015-07-01 Thread Thomas Hebb
Currently, BG2Q shares a compatible with BG2. This is incorrect, since BG2 and BG2Q use different USB PLL dividers. In reality, BG2Q shares a divider with BG2CD. Change BG2Q's USB PHY compatible string to reflect that. Signed-off-by: Thomas Hebb --- arch/arm/boot/dts/berlin2q.dtsi | 6 +++--- 1

[PATCH 1/4] phy: berlin-usb: fix divider for BG2CD

2015-07-01 Thread Thomas Hebb
The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right value. Signed-off-by: Thomas Hebb Cc: sta...@vger.kernel.org --- drivers/phy/phy-berlin-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 0/4] phy: berlin-usb: PLL divider fixes

2015-07-01 Thread Thomas Hebb
The USB PLL dividers currently set by phy-berlin-usb are incorrect for BG2 and BG2CD (i.e. all Berlin variants but BG2Q). This series fixes the divider values for those two chips and additionally corrects the name of the of_match table to no longer contain "sata" (which was presumably mistakenly

Re: [PATCH v2] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Jisheng Zhang
Dear Krzysztof, On Thu, 2 Jul 2015 12:59:44 +0900 Krzysztof Kozlowski wrote: > 2015-07-02 11:14 GMT+09:00 Jisheng Zhang : > > It is not needed after booting, this patch moves the arm_cpuidle_init() > > function to the __init section. > > > > Signed-off-by: Jisheng Zhang > > --- > >

Re: [PATCH v2 1/5] drm/rockchip: vop: optimize virtual stride calculate

2015-07-01 Thread Tomasz Figa
On Fri, Jun 26, 2015 at 7:07 PM, Mark Yao wrote: > vir_stride need number words of the virtual width, and fb->pitches > save bytes_per_pixel, so just div 4 switch to stride. > > Signed-off-by: Mark Yao > --- > Changes in v2: None > > drivers/gpu/drm/rockchip/rockchip_drm_vop.c |2 +- > 1

[lkp] [zswap] c00ed16a9eb: zswap: zpool creation failed

2015-07-01 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit c00ed16a9eb98a7fc076e227bdd95c1451ca1e6e ("zswap: runtime enable/disable") The following new message in kernel log may make end user confusing: [5.296308] zswap: loading

Re: [PATCH v3] video-lp8788: Delete a check before backlight_device_unregister()

2015-07-01 Thread Jingoo Han
> On 2015. 7. 1., at PM 7:30, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Wed, 1 Jul 2015 12:08:31 +0200 > > The backlight_device_unregister() function tests whether its argument > is NULL and then returns immediately. > Thus the test around the call is not needed. > > This

Re: [PATCH 3.14 00/34] 3.14.47-stable review

2015-07-01 Thread Greg Kroah-Hartman
On Wed, Jul 01, 2015 at 07:19:54PM -0700, Guenter Roeck wrote: > On 07/01/2015 11:40 AM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.14.47 release. > >There are 34 patches in this series, all will be posted as a response > >to this one. If anyone has any

Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-07-01 Thread Daniel Kurtz
On Thu, Jul 2, 2015 at 10:52 AM, James Liao wrote: > Hi Daniel, > >> > +Required Properties: >> > + >> > +- compatible: Should be: >> > + - "mediatek,mt8173-imgsys", "syscon" >> > +- #clock-cells: Must be 1 >> > + >> > +The imgsys controller uses the common clk binding from >> >

linux-next: manual merge of the akpm tree with the userns tree

2015-07-01 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: fs/nsfs.c between the userns tree and patch "nsfs: fix for seq_printf() API change" from the akpm tree. The commit ed2ffc74eee8 ("nsfs: Add a show_path method to fix mountinfo") that was being fixed by the akpm tree

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-01 Thread Daniel Kurtz
On Thu, Jul 2, 2015 at 11:06 AM, James Liao wrote: > Hi Daniel, > > On Wed, 2015-07-01 at 19:54 +0800, Daniel Kurtz wrote: >> On Wed, Jul 1, 2015 at 2:49 PM, Sascha Hauer wrote: >> > The problem is not that you use fixed clocks for non software >> > controllable clocks of unknwown rates, but

[PATCH] smpboot.c: move setup_vector_irq after set_cpu_online

2015-07-01 Thread xiao jin
While running cpuhotplug + reboot test, I can easily hit a IPANIC on kernel 3.14. [ 106.107851] BUG: unable to handle kernel NULL pointer dereference at 0040 [ 106.116702] IP: [ 106.118490] [] check_irq_vectors_for_cpu_disable+0x76/0x180 [ 106.126809] PGD 0 [ 106.129110]

running out of tags in 9P (was Re: [git pull] vfs part 2)

2015-07-01 Thread Al Viro
[9p and sunrpc folks added to Cc] On Thu, Jul 02, 2015 at 04:20:42AM +0100, Al Viro wrote: > On Wed, Jul 01, 2015 at 07:44:08PM +0100, Al Viro wrote: > > Mismatched reply could also be a possibility, but only if we end up with > > sending more than one request with the same tag without waiting

Re: [PATCH v2] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Krzysztof Kozlowski
2015-07-02 11:14 GMT+09:00 Jisheng Zhang : > It is not needed after booting, this patch moves the arm_cpuidle_init() > function to the __init section. > > Signed-off-by: Jisheng Zhang > --- > arch/arm64/include/asm/cpuidle.h | 2 +- > arch/arm64/kernel/cpuidle.c | 2 +- > 2 files changed, 2

Re: commit 4066c33d0308f8 breaks booting under KVM

2015-07-01 Thread Gavin Guo
On Mon, Jun 29, 2015 at 10:01 PM, Christoph Lameter wrote: > > On Fri, 26 Jun 2015, Linus Torvalds wrote: > > > Does reverting it fix everything? I'll give people another day or so to see > > if they can see what's wrong, but I guess I'll just revert if no fix end up > > being forthcoming.. > >

failing while writing to disk with BIOS in realmode setup

2015-07-01 Thread Dan Mick
What might I be doing wrong? Why won't this code succeed to write to the (otherwise empty) drive 1 from kernel setup's main? I'm 100% certain this is the code I'm booting (with grub/bzImage); it's as though the intcalls just never happen (or fail for some reason I can't get telemetry on, which

Re: [RFC PATCH 0/5] Make eBPF programs output data to perf event

2015-07-01 Thread Alexei Starovoitov
On 7/1/15 8:38 PM, He Kuang wrote: On 2015/7/2 10:48, Alexei Starovoitov wrote: On 7/1/15 4:58 AM, Peter Zijlstra wrote: But why create a separate trace buffer, it should go into the regular perf buffer. +1 I think +static char __percpu *perf_extra_trace_buf[PERF_NR_CONTEXTS]; is

Re: [RFC PATCH 1/5] bpf: Put perf_events check ahead of bpf prog

2015-07-01 Thread Alexei Starovoitov
On 6/30/15 7:57 PM, He Kuang wrote: When we add a kprobe point and record events by perf, the execution path of all threads on each cpu will enter this point, but perf may only record events on a particular thread or cpu at this kprobe point, a check on call->perf_events list filters out the

Re: [RFC PATCH] powerpc/numa: initialize distance lookup table from drconf path

2015-07-01 Thread Michael Ellerman
On Thu, 2015-07-02 at 08:31 +1000, Anton Blanchard wrote: > Hi Nikunj, > > > > Thanks for the patch. Have we tested that this doesn't regress the > > > non dynamic representation? > > > > Yes, that is tested. And works as expected. > > Great, you can add: > > Acked-by: Anton Blanchard Hi

Re: [RFC PATCH 0/5] Make eBPF programs output data to perf event

2015-07-01 Thread He Kuang
On 2015/7/2 10:48, Alexei Starovoitov wrote: On 7/1/15 4:58 AM, Peter Zijlstra wrote: But why create a separate trace buffer, it should go into the regular perf buffer. +1 I think +static char __percpu *perf_extra_trace_buf[PERF_NR_CONTEXTS]; is redundant. It adds quite a bit of

Re: [patch v2 1/3] mm, oom: organize oom context into struct

2015-07-01 Thread Hillf Danton
> Subject: [patch v2 1/3] mm, oom: organize oom context into struct [patch v2 2/3] mm, oom: organize oom context into struct [patch v2 3/3] mm, oom: organize oom context into struct I am wondering if a redelivery is needed for the same 3 subject lines. Hillf > > There are essential elements to

Re: [PATCH 2/2] ARM: dts: mediatek: add mt6580 basic support

2015-07-01 Thread Mars Cheng
Hi Matthias May I double confirm with you that soc node is MUST removed? If yes, we will upstream dtsi with this format for other new chips. Thanks. On Thu, 2015-06-25 at 08:15 +0800, Mars Cheng wrote: > On Wed, 2015-06-24 at 22:25 +0200, Matthias Brugger wrote: > > On Wednesday, June 24, 2015

[PATCH v2] mfd : t7l66xb: remove unnecessary pdata check

2015-07-01 Thread Maninder Singh
o Making pdata NULL check to (!pdata) as coding standard and all other checks in file. o Removing redundant check of pdata, because we already check for pdata, and also derefernced before this check. Signed-off-by: Maninder Singh --- v2: changing subject line.

Re: [git pull] vfs part 2

2015-07-01 Thread Al Viro
On Wed, Jul 01, 2015 at 07:44:08PM +0100, Al Viro wrote: > Mismatched reply could also be a possibility, but only if we end up with > sending more than one request with the same tag without waiting for response > for the first one. ... and I think I see what's going on. Tags are 16bit. Suppose

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread Paul E. McKenney
On Thu, Jul 02, 2015 at 04:50:45AM +0200, Mike Galbraith wrote: > On Wed, 2015-07-01 at 19:18 -0700, Paul E. McKenney wrote: > > > Does their normal workload trigger the condition that results in the > > expedited grace period? If so, do they use NO_HZ_FULL? > > They're having no trouble that

Re: [PATCH 1/1] mfd: remove unnecessary check

2015-07-01 Thread Maninder Singh
Hello, >>> >> > >>> >> > Signed-off-by: Maninder Singh >>> >> > Reviewed-by: Vaneet Narang >>> >> > --- >>> >> > drivers/mfd/t7l66xb.c |4 ++-- >>> >> > 1 file changed, 2 insertions(+), 2 deletions(-) >>> >> >>> >> Applied, with a properly formatted subject line. >>> > >>> > Should have

Re: [PATCH V2 2/3] hwmon:f71882fg fix f81866a temp/beep setting

2015-07-01 Thread Peter Hung
Hi Guenter, Guenter Roeck 於 2015/7/2 上午 05:04 寫道: Hi Peter, +} else { +size = ARRAY_SIZE(f_temp_beep_attr[0]; TskTsk ... turns out you didn't even compile test this code. How am I supposed to know that it is working ? Sorry, It's my fault. I should

Re: [PATCH 51/51] ext2: enable cgroup writeback support

2015-07-01 Thread Tejun Heo
On Wed, Jul 01, 2015 at 09:29:12PM +0200, Jan Kara wrote: > On Fri 22-05-15 17:14:05, Tejun Heo wrote: > > Writeback now supports cgroup writeback and the generic writeback, > > buffer, libfs, and mpage helpers that ext2 uses are all updated to > > work with cgroup writeback. > > > > This patch

Re: [PATCH 1/1] suspend: delete sys_sync()

2015-07-01 Thread Len Brown
>> The _vast_ majority of systems using Linux suspend today are under >> an Android user-space. Android has no assumption that that suspend to >> mem will necessarily stay suspended for a long time. > > Indeed, however your change was not android-specific, and it is not > "comfortable" on

Re: [PATCH 45/51] writeback: implement wb_wait_for_single_work()

2015-07-01 Thread Tejun Heo
Hello, On Wed, Jul 01, 2015 at 09:07:35PM +0200, Jan Kara wrote: > I don't understand, why is the special handling with single_wait, > single_done necessary. When we fail to allocate work and thus use the > base_work for submission, we can still use the standard completion mechanism > to wait for

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-01 Thread James Liao
Hi Daniel, On Wed, 2015-07-01 at 19:54 +0800, Daniel Kurtz wrote: > On Wed, Jul 1, 2015 at 2:49 PM, Sascha Hauer wrote: > > The problem is not that you use fixed clocks for non software > > controllable clocks of unknwown rates, but that you try to use a single > > clock for all of them and name

Re: [PATCH 44/51] writeback: implement bdi_wait_for_completion()

2015-07-01 Thread Tejun Heo
Hello, Jan. On Wed, Jul 01, 2015 at 06:04:37PM +0200, Jan Kara wrote: > I'd find it better to extend completions to allow doing what you need. It > isn't that special. It seems it would be enough to implement > > void wait_for_completions(struct completion *x, int n); > > where @n is the number

[PATCH] ACPI, Repair of outdated variable

2015-07-01 Thread xiaofeng.yan
variable "value" in struct acpi_pnp_device_id has been changed to "string". Signed-off-by: xiaofeng.yan --- drivers/acpi/acpica/nsdumpdv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsdumpdv.c b/drivers/acpi/acpica/nsdumpdv.c index 7dc367e..1af1af7

Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for spi bus

2015-07-01 Thread Daniel Kurtz
On Mon, Jun 29, 2015 at 9:04 PM, Leilk Liu wrote: > Signed-off-by: Leilk Liu > --- > .../devicetree/bindings/spi/spi-mt65xx.txt | 32 > ++ > 1 file changed, 32 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-mt65xx.txt > > diff --git

Re: [PATCH 44/51] writeback: implement bdi_wait_for_completion()

2015-07-01 Thread Tejun Heo
On Wed, Jul 01, 2015 at 06:09:18PM +0200, Jan Kara wrote: > > @@ -161,17 +178,34 @@ static void wb_queue_work(struct bdi_writeback *wb, > > trace_writeback_queue(wb->bdi, work); > > > > spin_lock_bh(>work_lock); > > - if (!test_bit(WB_registered, >state)) { > > - if

Re: [PATCH 2/2 block/for-linus] writeback: don't drain bdi_writeback_congested on bdi destruction

2015-07-01 Thread Jon Christopherson
On 07/01/2015 07:53 PM, Tejun Heo wrote: 52ebea749aae ("writeback: make backing_dev_info host cgroup-specific bdi_writebacks") made bdi (backing_dev_info) host per-cgroup wb's (bdi_writeback's). As the congested state needs to be per-wb and referenced from blkcg side and multiple wbs, the

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-01 Thread Felipe Balbi
On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote: > On 6/29/2015 2:48 PM, Felipe Balbi wrote: > > Hi again, > > > > On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi wrote: > >> On Thu, May 21, 2015 at 03:46:48PM +0530, Subbaraya Sundeep Bhatta wrote: > >>> We need to return error

Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-07-01 Thread James Liao
Hi Daniel, > > +Required Properties: > > + > > +- compatible: Should be: > > + - "mediatek,mt8173-imgsys", "syscon" > > +- #clock-cells: Must be 1 > > + > > +The imgsys controller uses the common clk binding from > > +Documentation/devicetree/bindings/clock/clock-bindings.txt > > +The

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread Mike Galbraith
On Wed, 2015-07-01 at 19:18 -0700, Paul E. McKenney wrote: > Does their normal workload trigger the condition that results in the > expedited grace period? If so, do they use NO_HZ_FULL? They're having no trouble that I'm aware of, and I definitely would be made aware. They're not currently

Re: [RFC PATCH 0/5] Make eBPF programs output data to perf event

2015-07-01 Thread Alexei Starovoitov
On 7/1/15 4:58 AM, Peter Zijlstra wrote: But why create a separate trace buffer, it should go into the regular perf buffer. +1 I think +static char __percpu *perf_extra_trace_buf[PERF_NR_CONTEXTS]; is redundant. It adds quite a bit of unnecessary complexity to the whole patch set. Also the

Re: [PATCH 41/51] writeback: make wakeup_flusher_threads() handle multiple bdi_writeback's

2015-07-01 Thread Tejun Heo
Hello, On Wed, Jul 01, 2015 at 10:15:28AM +0200, Jan Kara wrote: > I was looking at who uses wakeup_flusher_threads(). There are two usecases: > > 1) sync() - we want to writeback everything > 2) We want to relieve memory pressure by cleaning and subsequently >reclaiming pages. > > Neither

Re: [RFC PATCH] mmc: sprd: add MMC host driver for Spreadtrum SoC

2015-07-01 Thread Chunyan Zhang
On Wed, Jul 1, 2015 at 5:57 PM, Jaehoon Chung wrote: > Hi, > > Is sdhost based on SDHCI controller? > Why don't use sdhci.c? Is there any reason? > > Best Regards, > Jaehoon Chung > Because of base64 code problem of his email server, I'm reporting his reply instead. >From Billows Wu

Re: [PATCH 40/51] writeback: make bdi_start_background_writeback() take bdi_writeback instead of backing_dev_info

2015-07-01 Thread Tejun Heo
On Wed, Jul 01, 2015 at 09:50:09AM +0200, Jan Kara wrote: > Can we add a memcg id of the wb to the tracepoint please? Because just bdi > needn't be enough when debugging stuff... Sure, will add cgroup path to identify the actual wb. css IDs aren't visible to userland. Thanks. -- tejun -- To

Re: [PATCH 39/51] writeback: make writeback_in_progress() take bdi_writeback instead of backing_dev_info

2015-07-01 Thread Tejun Heo
Hello, Jan. On Wed, Jul 01, 2015 at 09:47:08AM +0200, Jan Kara wrote: > BTW: It would have been easier for me to review this if e.g. a move from > bdi to wb parameter was split among less patches. The intermediate state > where some functions call partly bdi and party wb functions is strange and

Re: [PATCH 36/51] writeback: implement bdi_for_each_wb()

2015-07-01 Thread Tejun Heo
On Wed, Jul 01, 2015 at 09:27:57AM +0200, Jan Kara wrote: > > +#define bdi_for_each_wb(wb_cur, bdi, iter, start_blkcg_id) \ > > + for ((iter)->next_id = (start_blkcg_id);\ > > +({ (wb_cur) = !(iter)->next_id++ ? &(bdi)->wb : NULL; }); ) > > + > > This

Re: [PATCH 3.14 00/34] 3.14.47-stable review

2015-07-01 Thread Guenter Roeck
On 07/01/2015 11:40 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.47 release. There are 34 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

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread Paul E. McKenney
On Thu, Jul 02, 2015 at 03:59:55AM +0200, Mike Galbraith wrote: > On Wed, 2015-07-01 at 18:34 -0700, j...@joshtriplett.org wrote: > > On Thu, Jul 02, 2015 at 03:11:24AM +0200, Mike Galbraith wrote: > > > On Wed, 2015-07-01 at 09:17 -0700, Paul E. McKenney wrote: > > > > On Wed, Jul 01, 2015 at

Re: [PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks

2015-07-01 Thread James Liao
Hi Daniel, On Wed, 2015-07-01 at 22:21 +0800, Daniel Kurtz wrote: > To be precise, it is the CLK_TOP clocks that have CLK_APMIXED PLLs as > their parents, so we cannot enable the CLK_TOP critical clocks until > the CLK_APMIXED clocks have all been registered. > > Please add something like the

Re: [PATCH] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Jisheng Zhang
Dear Krzysztof, On Thu, 2 Jul 2015 10:56:47 +0900 Krzysztof Kozlowski wrote: > 2015-07-02 10:33 GMT+09:00 Jisheng Zhang : > > It is not needed after booting, this patch moves the arm_cpuidle_init() > > function to the __init section. > > > > Signed-off-by: Jisheng Zhang > > --- > >

[PATCH v2] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Jisheng Zhang
It is not needed after booting, this patch moves the arm_cpuidle_init() function to the __init section. Signed-off-by: Jisheng Zhang --- arch/arm64/include/asm/cpuidle.h | 2 +- arch/arm64/kernel/cpuidle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RFC][PATCHv4 6/7] zsmalloc: account the number of compacted pages

2015-07-01 Thread Sergey Senozhatsky
On (07/01/15 16:29), Sergey Senozhatsky wrote: > if (putback_zspage(.. src_page)) > pool->num_migrated++; pool->num_migrated += class->pages_per_zspage; Of course. > (c) or we can check src_page fullness (or simply if src_page->inuse == 0) > in __zs_compact() and

Re: [PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks

2015-07-01 Thread Daniel Kurtz
On Wed, Jul 1, 2015 at 10:21 PM, Daniel Kurtz wrote: > Hi James, > > To be precise, it is the CLK_TOP clocks that have CLK_APMIXED PLLs as > their parents, so we cannot enable the CLK_TOP critical clocks until > the CLK_APMIXED clocks have all been registered. > > Please add something like the

Re: [RFC v3 24/24] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2015-07-01 Thread Finn Thain
On Mon, 29 Jun 2015, Geert Uytterhoeven wrote: > On Sun, Jun 28, 2015 at 3:42 AM, Finn Thain > wrote: > > --- linux.orig/arch/m68k/kernel/setup_mm.c 2015-06-28 > > 11:41:27.0 +1000 > > +++ linux/arch/m68k/kernel/setup_mm.c 2015-06-28 11:41:56.0 +1000 > > > @@ -568,3

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-01 Thread James Liao
Hi Sascha, On Wed, 2015-07-01 at 08:49 +0200, Sascha Hauer wrote: > On Tue, Jun 30, 2015 at 05:07:09PM +0800, James Liao wrote: > > There are 4 clocks which are derived from clk_null directly in current > > topckgen implementation: > > > > clkph_mck_o, dpi_ck, usb_syspll_125m, hdmitx_dig_cts

Re: [RESEND v2][GIT PULL] platform-drivers-x86 for 4.2-1

2015-07-01 Thread Linus Torvalds
On Tue, Jun 30, 2015 at 2:24 PM, Darren Hart wrote: > > other: Use acpi_video_unregister_backlight instead of acpi_video_unregister in >serveral drivers. This was very annoying. Why? There were several pointless conflicts, because you and Rafael both applied some of the same patches

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-01 Thread John Youn
On 6/29/2015 2:48 PM, Felipe Balbi wrote: > Hi again, > > On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi wrote: >> On Thu, May 21, 2015 at 03:46:48PM +0530, Subbaraya Sundeep Bhatta wrote: >>> We need to return error to caller if command is not sent to >>> controller succesfully. >>> >>>

Re: [PATCH 33/51] writeback: make bdi_has_dirty_io() take multiple bdi_writeback's into account

2015-07-01 Thread Tejun Heo
Hello, Jan. On Tue, Jun 30, 2015 at 06:48:24PM +0200, Jan Kara wrote: > It looks OK although I find using total write bandwidth to detect whether > any wb has any dirty IO rather hacky. Frankly I'd prefer to just iterate > all wbs from bdi_has_dirty_io() since that isn't performance critical >

Re: [RFC v3 02/24] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-01 Thread Finn Thain
On Mon, 29 Jun 2015, Geert Uytterhoeven wrote: > Hi Finn, > > On Sun, Jun 28, 2015 at 3:42 AM, Finn Thain > wrote: > > Change the vmode calculation from logical OR to bitwise OR, since it > > is obviously wrong. > > Ideally, that should be a separate patch we can put on the fast track. If

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread Mike Galbraith
On Wed, 2015-07-01 at 18:34 -0700, j...@joshtriplett.org wrote: > On Thu, Jul 02, 2015 at 03:11:24AM +0200, Mike Galbraith wrote: > > On Wed, 2015-07-01 at 09:17 -0700, Paul E. McKenney wrote: > > > On Wed, Jul 01, 2015 at 04:17:10PM +0200, Peter Zijlstra wrote: > > > > On Wed, Jul 01, 2015 at

Re: [PATCH] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Krzysztof Kozlowski
2015-07-02 10:33 GMT+09:00 Jisheng Zhang : > It is not needed after booting, this patch moves the arm_cpuidle_init() > function to the __init section. > > Signed-off-by: Jisheng Zhang > --- > arch/arm64/kernel/cpuidle.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This looks good but

RE: [PATCH] Input: wdt87xx_i2c - Add a scaling factor for TOUCH_MAJOR event

2015-07-01 Thread Hn Chen
Hi, Dmitry, Ok, Thanks I really appreciate your help ! BR, Hn.chen -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Thursday, July 02, 2015 2:35 AM To: Hn Chen Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input:

Re: [PATCH 30/51] writeback: implement and use inode_congested()

2015-07-01 Thread Tejun Heo
Hello, On Tue, Jun 30, 2015 at 05:21:05PM +0200, Jan Kara wrote: > Hum, is there any point in supporting NULL inode with inode_congested()? > That would look more like a programming bug than anything... Otherwise the > patch looks good to me so you can add: Those are inherited from the existing

[PATCH v3] kexec: Make a pair of map and unmap reserved pages when kdump fails to start

2015-07-01 Thread Minfei Huang
For some arch, kexec shall map the reserved pages, then use them, when we try to start the kdump service. Now kexec will never unmap the reserved pages, once it fails to continue starting the kdump service. Make a pair of reserved pages in kdump starting path, whatever kexec fails or not.

Payment

2015-07-01 Thread Finance Department
Dear Winner, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146. This compensation funds from the United Nation.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line

Re: [PATCH 28/51] writeback, blkcg: restructure blk_{set|clear}_queue_congested()

2015-07-01 Thread Tejun Heo
Hello, Jan. On Tue, Jun 30, 2015 at 05:02:54PM +0200, Jan Kara wrote: > BTW, I'd prefer if this was merged with the following patch. I was > wondering for a while about the condition at the beginning of > blk_clear_congested() only to learn it gets modified to the one I'd expect > in the

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread josh
On Thu, Jul 02, 2015 at 03:11:24AM +0200, Mike Galbraith wrote: > On Wed, 2015-07-01 at 09:17 -0700, Paul E. McKenney wrote: > > On Wed, Jul 01, 2015 at 04:17:10PM +0200, Peter Zijlstra wrote: > > > On Wed, Jul 01, 2015 at 07:00:31AM -0700, Paul E. McKenney wrote: > > > > > > > That is a bit

[PATCH] arm64: cpuidle: add __init section marker to arm_cpuidle_init

2015-07-01 Thread Jisheng Zhang
It is not needed after booting, this patch moves the arm_cpuidle_init() function to the __init section. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c

Re: [PATCH v5 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-07-01 Thread Pi-Cheng Chen
Hi Alexey, On Thu, Jul 2, 2015 at 5:24 AM, Alexey Klimov wrote: > Hi Pi-Cheng, > > On Wed, Jul 1, 2015 at 5:16 AM, Pi-Cheng Chen > wrote: >> This patch implements MT8173 cpufreq driver. >> >> Signed-off-by: Pi-Cheng Chen >> --- >> drivers/cpufreq/Kconfig.arm | 7 + >>

Re: [PATCH 26/51] writeback: let balance_dirty_pages() work on the matching cgroup bdi_writeback

2015-07-01 Thread Tejun Heo
Hello, Jan. On Tue, Jun 30, 2015 at 04:31:00PM +0200, Jan Kara wrote: ... > > + if (inode_cgwb_enabled(inode)) > > + wb = wb_get_create_current(bdi, GFP_KERNEL); > > + if (!wb) > > + wb = >wb; > > + > > So this effectively adds a radix tree lookup (of wb belonging to

Re: [PATCH 22/51] writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACK

2015-07-01 Thread Tejun Heo
Hello, Jan. On Tue, Jun 30, 2015 at 11:37:51AM +0200, Jan Kara wrote: > Hum, you later changed this to use a per-sb flag instead of a per-fs-type > flag, right? We could do it as well here but OK. The commits were already in stable branch at that point and landed in mainline during this merge

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread Mike Galbraith
On Wed, 2015-07-01 at 09:17 -0700, Paul E. McKenney wrote: > On Wed, Jul 01, 2015 at 04:17:10PM +0200, Peter Zijlstra wrote: > > On Wed, Jul 01, 2015 at 07:00:31AM -0700, Paul E. McKenney wrote: > > > > > That is a bit extreme, Peter. > > > > Of course; but I'm really not seeing people taking

[PATCH 00/48] Make the IRQCHIP_DECLARE macro globally accessible

2015-07-01 Thread Joel Porquet
At the moment the IRQCHIP_DECLARE macro is only declared locally in 'drivers/irqchip/irqchip.h'. That prevents from using it directly in arch/* directories whenever irqchip drivers only exist there, which happens in a few cases (e.g. arc, arm, microblaze and mips). This patch makes the macro to

Re:Re: [PATCH] sched: fix BUG in preempt_notifier

2015-07-01 Thread cfme_admin
This is a better way to solve this bug. Thanks. At 2015-07-01 15:41:28, "Wanpeng Li" wrote: > > >On 7/1/15 2:33 PM, Lidong Chen wrote: >> Signed-off-by: Lidong Chen > >Subject: sched,kvm: Fix KVM preempt_notifier usage > >The preempt-notifier API needs to sleep with the addition of the

[PATCH 2/2 block/for-linus] writeback: don't drain bdi_writeback_congested on bdi destruction

2015-07-01 Thread Tejun Heo
52ebea749aae ("writeback: make backing_dev_info host cgroup-specific bdi_writebacks") made bdi (backing_dev_info) host per-cgroup wb's (bdi_writeback's). As the congested state needs to be per-wb and referenced from blkcg side and multiple wbs, the patch made all non-root cong's

[PATCH 1/2 block/for-linus] writeback: don't embed root bdi_writeback_congested in bdi_writeback

2015-07-01 Thread Tejun Heo
52ebea749aae ("writeback: make backing_dev_info host cgroup-specific bdi_writebacks") made bdi (backing_dev_info) host per-cgroup wb's (bdi_writeback's). As the congested state needs to be per-wb and referenced from blkcg side and multiple wbs, the patch made all non-root cong's

Re: [PATCH] power_supply: rt9455_charger: Properly notify userspace about charging events

2015-07-01 Thread Krzysztof Kozlowski
2015-06-18 1:28 GMT+09:00 Anda-Maria Nicolae : > Do not call power_supply_changed() when CHRVPI interrupt has occurred. What I cannot find here is the answer to: why? I am not familiar with the driver so this is just guessing that you wanted to notify userspace about connected/disconnected

Re: [PATCH 1/3] dell-laptop: Clear buffer before each SMBIOS call

2015-07-01 Thread Darren Hart
On Wed, Jul 01, 2015 at 08:08:19PM +0200, Pali Rohár wrote: > Make sure that before initializing SMBIOS call input buffer does not contain > any garbage (e.g values from previous SMBIOS call). This fix problem with > passing undefined/random parameters to SMBIOS functions. > > Signed-off-by: Pali

[PATCH v6 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250

2015-07-01 Thread Chanwoo Choi
This patch add CPU operating points which include CPU frequency and regulator voltage to use generic cpufreq drivers. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-monk.dts | 4

[PATCH v6 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-01 Thread Chanwoo Choi
This patch add CPU clock configuration data and instantiate the CPU clock type for Exynos3250 to support Samsung specific cpu-clock type. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski ---

[PATCH v6 0/3] cpufreq: Use cpufreq-dt driver for Exynos3250

2015-07-01 Thread Chanwoo Choi
This patchset use cpufreq-dt driver to support Exynos3250 cpufreq and tested it on Exynos3250-based Rinato board. Depends on: - next-20150701 tag (master branch) of linux-next kernel tree - This patch-set is based on Exynos5250 patch-set[1] because two patch-set modify the 'arch/arm/mach-exynos

[PATCH v6 3/3] ARM: exynos: Add exynos3250 compatible to use generic cpufreq driver

2015-07-01 Thread Chanwoo Choi
This patch add exynos3250 compatible string to exynos_cpufreq_matches for supporting generic cpufreq driver on Exynos3250. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/exynos.c | 1 + 1

  1   2   3   4   5   6   7   8   9   10   >