[PATCH 1/5] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-03-15 Thread Sascha Hauer
From: James Liao This patch adds common clock support for Mediatek SoCs, including plls, muxes and clock gates. Signed-off-by: James Liao Signed-off-by: Henry Chen Signed-off-by: Sascha Hauer --- drivers/clk/Makefile| 1 + drivers/clk/mediatek/Makefile | 1 + drivers/clk/me

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2015-03-15 Thread Jaehoon Chung
Hi, Doug. On 03/14/2015 05:27 AM, Doug Anderson wrote: > Hi, > > On Fri, Mar 13, 2015 at 4:30 AM, Jaehoon Chung wrote: >> Hi, Doug. >> >> On 03/11/2015 12:48 AM, Doug Anderson wrote: >>> The dw_mmc driver enables HLE errors as part of DW_MCI_ERROR_FLAGS but >>> nothing in the interrupt handler a

[PATCH 2/5] clk: mediatek: Add reset controller support

2015-03-15 Thread Sascha Hauer
The pericfg and infracfg units also provide reset lines to several other SoC internal units. Add support for the reset controller. Signed-off-by: Sascha Hauer --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mtk.h | 10 + drivers/clk/mediatek/reset.c | 99 +++

[PATCH 5/5] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers

2015-03-15 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 23 + .../bindings/arm/mediatek/mediatek,infracfg.txt| 30 ++ .../bindings/arm/mediatek/mediatek,pericfg.txt | 30 ++ .../bindings/arm/mediatek/medi

[PATCH 4/5] clk: mediatek: Add basic clocks for Mediatek MT8173.

2015-03-15 Thread Sascha Hauer
From: James Liao This patch adds basic clocks for MT8173, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao Signed-off-by: Henry Chen Signed-off-by: Sascha Hauer --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt8173.c

[PATCH 3/5] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-15 Thread Sascha Hauer
From: James Liao This patch adds basic clocks for MT8135, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao Signed-off-by: Henry Chen Signed-off-by: Sascha Hauer --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt8135.c

[PATCH v7]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-15 Thread Sascha Hauer
The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at: git://git.pengutronix.de/git/imx/linux-2.6.git tags/v4.0-clk-mediatek-v7 for you to fetch changes up to 147dc836b1206e8118509229594d

Re: [Xen-devel] [PATCH v4] xen-scsiback: define a pr_fmt macro with xen-pvscsi

2015-03-15 Thread Juergen Gross
On 03/10/2015 09:49 PM, Tao Chen wrote: Add the {xen-pvscsi: } prefix in pr_fmt and remove DPRINTK, then replace all DPRINTK with pr_debug. Also fixed up some comments just as eliminate redundant whitespace and format the code. These will make the code easier to read. Signed-off-by: Tao Chen

[PATCH 4/4] perf kmem: Support sort keys on page analysis

2015-03-15 Thread Namhyung Kim
Add new sort keys for page: page, order, mtype, gfp - existing 'bytes', 'hit' and 'callsite' sort keys also work for page. Note that -s/--sort option should be preceded by either of --slab or --page option to determine where the sort keys applies. Now it properly groups and sorts allocation stats

[PATCHSET 0/4] perf kmem: Implement page allocation analysis (v2)

2015-03-15 Thread Namhyung Kim
Hello, Currently perf kmem command only analyzes SLAB memory allocation. And I'd like to introduce page allocation analysis also. Users can use --slab and/or --page option to select it. If none of these options are used, it does slab allocation analysis for backward compatibility. * changes

[PATCH 2/4] perf kmem: Analyze page allocator events also

2015-03-15 Thread Namhyung Kim
The perf kmem command records and analyze kernel memory allocation only for SLAB objects. This patch implement a simple page allocator analyzer using kmem:mm_page_alloc and kmem:mm_page_free events. It adds two new options of --slab and --page. The --slab option is for analyzing SLAB allocator a

[PATCH 1/4] perf kmem: Print big numbers using thousands' group

2015-03-15 Thread Namhyung Kim
Like perf stat, this makes easy to read the numbers on stat like below: # perf kmem stat SUMMARY === Total bytes requested: 9,770,900 Total bytes allocated: 9,782,712 Total bytes wasted on internal fragmentation: 11,812 Internal fragmentation: 0.120744% Cross CPU allocations:

Re: linux panic on 4.0.0-rc4

2015-03-15 Thread Pranith Kumar
On Mon, Mar 16, 2015 at 1:11 AM, Pranith Kumar wrote: > Hello, > > I have a power mac mini 32-bit system. > ... > You can see the panic message here: http://imgur.com/s1lH15g. (there > is no log and I have no serial console). There was some debug code in there when it hit. The actual hang seems t

Re: [PATCH 3/5] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-15 Thread Sascha Hauer
On Fri, Mar 13, 2015 at 03:44:30PM +0800, Henry Chen wrote: > On Sun, 2015-02-22 at 12:49 +0100, Sascha Hauer wrote: > > +#define PLL(_id, _name, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, > > _pd_reg, _pd_shift, _tuner_reg, _pcw_reg, _pcw_shift) { \ > > + .id = _id,

Re: [PATCH 1/5] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-03-15 Thread Sascha Hauer
On Fri, Mar 13, 2015 at 05:46:32PM +0100, Matthias Brugger wrote: > > > On 22/02/15 12:49, Sascha Hauer wrote: > > From: James Liao > > > diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h > > new file mode 100644 > > index 000..c7c0d35 > > --- /dev/null > > +++ b/

[PATCH 3/4] perf kmem: Implement stat --page --caller

2015-03-15 Thread Namhyung Kim
It perf kmem support caller statistics for page. Unlike slab case, the tracepoints in page allocator don't provide callsite info. So it records with callchain and extracts callsite info. Note that the callchain contains several memory allocation functions which has no meaning for users. So skip

Re: [PATCH 3/5] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-15 Thread Sascha Hauer
On Mon, Mar 16, 2015 at 12:27:20AM +0800, Daniel Kurtz wrote: > Hi Sascha, > > Drive-by review... > > On Sun, Feb 22, 2015 at 7:49 PM, Sascha Hauer wrote: > > From: James Liao > > > > This patch adds basic clocks for MT8135, including TOPCKGEN, PLLs, > > INFRA and PERI clocks. > > > > Signed-of

Re: [PATCH v4] x86, kaslr: Access the correct kaslr_enabled variable

2015-03-15 Thread Baoquan He
On 03/15/15 at 10:04pm, Yinghai Lu wrote: > On Sun, Mar 15, 2015 at 8:28 PM, Baoquan He wrote: > > On 03/15/15 at 12:49am, Yinghai Lu wrote: > > > > It's good to check the ret value as Boris suggested. However it could > > fail since early_memremap self fail, e.g slot not found. In this case > > m

linux-next: manual merge of the kdbus tree with the arm-soc tree

2015-03-15 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the kdbus tree got a conflict in Documentation/Makefile between commit c6535e1e0361 ("Documentation: Remove ZBOOT MMC/SDHI utility and docs") from the arm-soc tree and commit 48480f8c402c ("kdbus: add documentation") from the kdbus tree. I fixed it up (see bel

Re: [PATCH v4] x86, kaslr: Access the correct kaslr_enabled variable

2015-03-15 Thread Baoquan He
On 03/15/15 at 09:36pm, Yinghai Lu wrote: > On Sun, Mar 15, 2015 at 8:28 PM, Baoquan He wrote: > > On 03/15/15 at 12:49am, Yinghai Lu wrote: > > It's good to check the ret value as Boris suggested. However it could > > fail since early_memremap self fail, e.g slot not found. In this case > > makin

linux panic on 4.0.0-rc4

2015-03-15 Thread Pranith Kumar
Hello, I have a power mac mini 32-bit system. I am getting a kernel panic with the latest rc kernel. The last kernel which worked on this which I remember booting was 3.19-rc5. You can see the panic message here: http://imgur.com/s1lH15g. (there is no log and I have no serial console). Let me k

Re: [PATCH v10 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-15 Thread Suthikulpanit, Suravee
On 3/12/15, 08:26, "Timur Tabi" wrote: >Hanjun Guo wrote: >> This patch set already tested on multi platforms: >> - AMD Seattle board; >> - Cavium Thunder board; >> - Huawei D02 board; >> - Qualcomm ARM64 platform >> >> This version 10 patch set address some minor comments and collect A

Re: [PATCH v6 0/9] arm64: Add the support for new Exynos5433 SoC

2015-03-15 Thread Chanwoo Choi
Dear Kukjin, Gently Ping! Best Regards Chanwoo Choi On 03/10/2015 10:57 AM, Chanwoo Choi wrote: > This patchset adds new 64-bit Exynos5433 Samsung SoC which contains quad > Cortex-A57 and quad Cortex-A53. It is desigend with the 20nm low power > process. > > Depends on: > - This patch-set has

Re: [PATCH v4] x86, kaslr: Access the correct kaslr_enabled variable

2015-03-15 Thread Yinghai Lu
On Sun, Mar 15, 2015 at 8:28 PM, Baoquan He wrote: > On 03/15/15 at 12:49am, Yinghai Lu wrote: > > It's good to check the ret value as Boris suggested. However it could > fail since early_memremap self fail, e.g slot not found. In this case > making kaslr_enabled true may not be good. It should n

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-15 Thread Archit Taneja
On 03/14/2015 01:15 AM, "Stéphane Viau" wrote: Hi, Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled y

[PATCH 1/1] X86: hyperv: Enable MSR based APIC access

2015-03-15 Thread K. Y. Srinivasan
If the hypervisor supports MSR based access to the APIC registers (EOI, TPR and ICR), implement the MSR based access. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/uapi/asm/hyperv.h |5 +++ arch/x86/kernel/cpu/mshyperv.c | 69 2 files changed

Re: [PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-03-15 Thread Preeti U Murthy
Hi Peter, Ingo, Thomas, Can you please take a look at the conversation on this thread ? This fix is urgent. Regards Preeti U Murthy On 03/02/2015 08:26 PM, Peter Zijlstra wrote: > On Fri, Feb 27, 2015 at 02:19:05PM +0530, Preeti U Murthy wrote: >> The problem reported in the changelog of this pa

Re: [PATCH v4 3/5] staging: rtl8192e: fix coding style errors (macros in parentheses)

2015-03-15 Thread Joe Perches
On Sun, 2015-03-15 at 21:39 +0100, Mateusz Kulikowski wrote: > Fix checkpatch.pl errors 'Macros with complex values should be enclosed in > parentheses'. [] > diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h > b/drivers/staging/rtl8192e/rtl819x_HT.h [] > @@ -78,7 +78,7 @@ enum chnl_op { > }; >

[PATCH 04/13] security/selinux: check for LOOKUP_RCU in _follow_link.

2015-03-15 Thread NeilBrown
Some of dentry_has_perm() is not rcu-safe, so if LOOKUP_RCU is set in selinux_inode_follow_link(), give up with -ECHILD. It is possible that dentry_has_perm could sometimes complete in RCU more, in which case the flag could be propagated further down the stack... Signed-off-by: NeilBrown --- se

[PATCH 13/13] NFS: support LOOKUP_RCU in nfs_follow_link.

2015-03-15 Thread NeilBrown
If the inode is valid and the page has been read in, then we can follow a link in RCU-walk. Signed-off-by: NeilBrown --- fs/nfs/inode.c | 22 ++ fs/nfs/symlink.c | 20 ++-- include/linux/nfs_fs.h |1 + 3 files changed, 41 insertions(+), 2

[PATCH 12/13] XFS: allow follow_link to often succeed in RCU-walk.

2015-03-15 Thread NeilBrown
If LOOKUP_RCU is set, use GFP_ATOMIC rather than GFP_KERNEL, and try to get the ilock without blocking. When these succeed, follow_link() can succeed without dropping out of RCU-walk. Signed-off-by: NeilBrown --- fs/xfs/xfs_ioctl.c |2 +- fs/xfs/xfs_iops.c| 15 ++- fs/xf

[PATCH 11/13] xfs: use RCU to free 'struct xfs_mount'.

2015-03-15 Thread NeilBrown
In order for ->follow_link to be safe in RCU-walk, any data structures accessed need to be freed after an RCU grace period. 'struct xfs_mount' is not currently guaranteed to be delayed sufficiently, so use kfree_rcu() to free it. Signed-off-by: NeilBrown --- fs/xfs/xfs_mount.h |2 ++ fs/xfs

[PATCH 08/13] VFS/namei: enhance follow_link to support RCU-walk.

2015-03-15 Thread NeilBrown
If LOOKUP_RCU is set, follow_link will not take/drop reference counts. Replace cond_resched() with _cond_resched() as the latter is a no-op if rcu_read_lock() is held while the former will give a warning in that case. Signed-off-by: NeilBrown --- fs/namei.c | 19 +-- 1 file ch

[PATCH 03/13] VFS: remove nameidata args from ->follow_link and ->put_link

2015-03-15 Thread NeilBrown
Now that current->nameidata is available, nd_set_link() and nd_get_link() can use that directly, so 'nd' doesn't need to be passed through ->follow_link and ->put_link. ->follow_link gains a 'flags' argument instead which will be useful for adding RCU-walk support. For now, any filesystem which c

[PATCH 09/13] VFS/namei: enable RCU-walk when following symlinks.

2015-03-15 Thread NeilBrown
Now that follow_link handles LOOKUP_RCU, we do not need to 'unlazy_walk' when a symlink is found. Signed-off-by: NeilBrown --- fs/namei.c | 12 1 file changed, 12 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 536e0254f5f1..c9c58cd1af2a 100644 --- a/fs/namei.c +++ b/fs/n

[PATCH 07/13] VFS/namei: abort RCU-walk on symlink if atime needs updating.

2015-03-15 Thread NeilBrown
touch_atime is not RCU-safe, and so cannot be called on an RCU walk. However in situations where RCU-walk makes a difference, the symlink will likely to accessed much more often than it is useful to update the atime. So split out the test of "Does the atime actually need to be updated" into atime

[PATCH 06/13] VFS/namei: new flag to support RCU symlinks: LOOKUP_LINK_RCU.

2015-03-15 Thread NeilBrown
When we support ->follow_link in RCU-walk we will not want to take a reference to the 'struct path *link' passed to follow_link, and correspondingly will not want to drop that reference. As link_path_walk will complete_walk() in the case of an error, and as complete_walk() will clear LOOKUP_RCU, w

[PATCH 10/13] VFS/namei: handle LOOKUP_RCU in page_follow_link_light.

2015-03-15 Thread NeilBrown
If the symlink has already be been read-in, then page_follow_link_light can succeed in RCU-walk mode. page_getlink_rcu() is added to support this. With this many filesystems can follow links in RCU-walk mode when everything is cached. This includes ext?fs and others. If the page is a HighMem pa

[PATCH 05/13] VFS/namei: use terminate_walk when symlink lookup fails.

2015-03-15 Thread NeilBrown
Currently following a symlink never uses rcu-walk, so terminate_walk isn't needed. That will change in a future patch. In preparation, change some path_put_condtional() path_put() sequences to path_to_nameidata() terminate_walk() These sequence are identical when in ref-walk, and correct

[PATCH 02/13] VFS: make all ->follow_link handlers aware for LOOKUP_RCU

2015-03-15 Thread NeilBrown
In preparation for supporting ->follow_link in RCU-walk, make sure all ->follow_link handers which are not atomic will fail if LOOKUP_RCU is set. Later patches will make some of these handle LOOKUP_RCU more gracefully. This is current achieved by introducing a new function "nd_is_rcu" to check if

[PATCH 01/13] VFS: replace {, total_}link_count in task_struct with pointer to nameidata

2015-03-15 Thread NeilBrown
task_struct currently contains two ad-hoc members for use by the VFS: link_count and total_link_count. These are only interesting to fs/namei.c, so exposing them explicitly is poor laying - and has resulted in some questionable code in staging/lustre. This patches replaces those with a single poin

[PATCH 00/13] Support follow_link in RCU-walk. - V2

2015-03-15 Thread NeilBrown
Hi Al, I believe this series addresses all your concerns about my first attempt. The first patch results in nameidata being almost completely localized to namei.c :-) It also highlights out-of-date documentation in automount-support.txt :-( It also exposes (and removes) some ... interesting

Re: [PATCH] ath9k_htc: check seq number instead of cmd id for timeout

2015-03-15 Thread Fred Chou
On 15/03/2015 14:48, Oleksij Rempel wrote: > thank you for your patch. Looks good for me. Did you tested it? Yes. Working all right for two days. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v4] x86, kaslr: Access the correct kaslr_enabled variable

2015-03-15 Thread Yinghai Lu
On Sun, Mar 15, 2015 at 8:28 PM, Baoquan He wrote: > On 03/15/15 at 12:49am, Yinghai Lu wrote: > It's good to check the ret value as Boris suggested. However it could > fail since early_memremap self fail, e.g slot not found. In this case > making kaslr_enabled true may not be good. > > As Minfei

Guten Tag!

2015-03-15 Thread Dr. Henry Cheng Kar-shun
Liebe Freunde, Guten Tag, ich bin Dr. Henry Cheng Kar-meiden ein Direktor der Non unabhängige Non-Vorstand Hang Seng Bank Limited, Hongkong. Ich habe Fonds im Wert von $ 17,500.000.00 heimlich zu sichern (Transfer) auf Ihr Konto in Ihrem Land aus unserer Schwesterbank zu unserem Nutzen. Bitte,

linux-next: manual merge of the irqchip tree with the tegra tree

2015-03-15 Thread Stephen Rothwell
Hi Jason, Today's linux-next merge of the irqchip tree got a conflict in arch/arm/mach-tegra/irq.c between commit 0a63e1e0617f ("ARM: tegra: Fix big-endian issue with IRQ code") from the tegra tree and commit 1a703bffd82e ("ARM: tegra: remove old LIC support") from the irqchip tree. I fixed it up

linux-next: manual merge of the irqchip tree with Linus' tree

2015-03-15 Thread Stephen Rothwell
Hi Jason, Today's linux-next merge of the irqchip tree got a conflict in arch/arm/mach-exynos/suspend.c between commit ace283a04a4a ("ARM: EXYNOS: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC") from Linus' tree and commit be42c9ea7b5f ("ARM: exynos4/5: convert pmu wakeup to stacked domains"

Re: Question on mutex code

2015-03-15 Thread Matthias Bonne
On 03/16/15 00:10, Rabin Vincent wrote: On Sun, Mar 15, 2015 at 11:49:07PM +0200, Matthias Bonne wrote: So the counter is set to 1 before taking the spinlock, which I think might cause the race. Did I miss something? Yes, you miss the fact that __mutex_slowpath_needs_to_unlock() is 0 for the C

Re: [PATCH v4] x86, kaslr: Access the correct kaslr_enabled variable

2015-03-15 Thread Baoquan He
On 03/15/15 at 12:49am, Yinghai Lu wrote: > Index: linux-2.6/arch/x86/kernel/setup.c > === > --- linux-2.6.orig/arch/x86/kernel/setup.c > +++ linux-2.6/arch/x86/kernel/setup.c > @@ -429,7 +429,18 @@ static void __init reserve_initrd(v

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-15 Thread Josh Triplett
On Sun, Mar 15, 2015 at 03:24:19PM -0400, Mathieu Desnoyers wrote: > Here is an implementation of a new system call, sys_membarrier(), which > executes a memory barrier on either all running threads of the current > process (MEMBARRIER_PRIVATE_FLAG) or calls synchronize_sched() to issue > a memory

Re: [RFC v0 PATCH] kvm: powerpc: Allow reuse of vCPU object

2015-03-15 Thread Bharata B Rao
Any feedback on the below patch ? On Mon, Mar 9, 2015 at 11:00 AM, wrote: > From: Bharata B Rao > > Since KVM isn't equipped to handle closure of vcpu fd from userspace(QEMU) > correctly, certain work arounds have to be employed to allow reuse of > vcpu array slot in KVM during cpu hot plug/unp

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-15 Thread Michael Ellerman
On Mon, 2015-03-16 at 14:04 +1100, Michael Ellerman wrote: > On Fri, 2015-03-13 at 15:32 -0600, Shuah Khan wrote: > > On 03/13/2015 11:20 AM, Shuah Khan wrote: > > > On 03/10/2015 10:06 PM, Michael Ellerman wrote: > > >> This adds make install support to selftests. The basic usage is: > > >> > > >>

Re: [PATCH V8 04/10] USB: f81232: implement read IIR/MSR with endpoint

2015-03-15 Thread Peter Hung
Hello, Johan Hovold 於 2015/3/14 下午 08:02 寫道: On Thu, Feb 26, 2015 at 06:02:10PM +0800, Peter Hung wrote: + if (status != sizeof(*val)) { + dev_err(&port->dev, "%s failed status: %d\n", __func__, status); + + if (status == 0) + status = -EI

Re: [PATCH v4] x86, kaslr: Access the correct kaslr_enabled variable

2015-03-15 Thread Minfei Huang
On 03/15/15 at 10:02am, Yinghai Lu wrote: > On Sun, Mar 15, 2015 at 5:18 AM, Minfei Huang wrote: > > On 03/15/15 at 12:49am, Yinghai Lu wrote: > > It confuses me with the virtual address in function parse_kaslr_setup. > > When we are in here(parse_kaslr_setup), we already use the virtual > > addre

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-15 Thread Michael Ellerman
On Fri, 2015-03-13 at 15:32 -0600, Shuah Khan wrote: > On 03/13/2015 11:20 AM, Shuah Khan wrote: > > On 03/10/2015 10:06 PM, Michael Ellerman wrote: > >> This adds make install support to selftests. The basic usage is: > >> > >> $ cd tools/testing/selftests > >> $ make install > >> > >> That instal

[PATCH] USB: ftdi_sio: Added custom PID for Synapse Wireless product

2015-03-15 Thread Doug Goldstein
Synapse Wireless uses the FTDI VID with a custom PID of 0x9090 for their SNAP Stick 200 product. Signed-off-by: Doug Goldstein --- drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio_ids.h | 6 ++ 2 files changed, 7 insertions(+) diff --git a/drivers/usb/serial/ftdi_sio.c b

RE: [PATCH v2.0 0/6] ARM: AT91: pm improvement for 4.1

2015-03-15 Thread Yang, Wenyou
> -Original Message- > From: Ferre, Nicolas > Sent: 2015年3月13日 18:06 > To: Yang, Wenyou; li...@arm.linux.org.uk > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > alexandre.bell...@free-electrons.com; sylvain.roc...@finsecur.com; > p...@axentia.se; sergei.shtyl...

Re: [PATCH V8 02/10] USB: f81232: implement RX bulk-in EP

2015-03-15 Thread Peter Hung
Hello, Johan Hovold 於 2015/3/14 下午 07:48 寫道: On Thu, Feb 26, 2015 at 06:02:08PM +0800, Peter Hung wrote: - if (!urb->actual_length) + if ((urb->actual_length < 2) || (urb->actual_length % 2)) return; Not parsing short data (e.g. not divisible by 2) is OK I guess. Y

[PATCH] staging: lustre: echo_client: Use kernel style spacing

2015-03-15 Thread Yogeswaran Thulasidoss
This patch fixes the code style space issues identified by checkpatch.pl in drivers/staging/lustre/lustre/obdecho/echo_client.c Signed-off-by: Yogeswaran Thulasidoss --- .../staging/lustre/lustre/obdecho/echo_client.c| 32 +++--- 1 file changed, 16 insertions(+), 16 deletion

Re: [PATCH 2/2] selftests/timers: change to use shared logic to run and install tests

2015-03-15 Thread Michael Ellerman
On Fri, 2015-03-13 at 20:14 -0700, John Stultz wrote: > On Fri, Mar 13, 2015 at 3:57 PM, Shuah Khan wrote: > > Change the timers Makefile to make use of shared run and install > > logic in lib.mk. Destructive tests are installed. Regular tests > > are emited to run_kselftest script to match the ru

Re: [PATCH 2/2] selftests/timers: change to use shared logic to run and install tests

2015-03-15 Thread Michael Ellerman
On Sun, 2015-03-15 at 19:42 +1100, Michael Ellerman wrote: > > On 14 March 2015 09:57:51 GMT+11:00, Shuah Khan > wrote: > >Change the timers Makefile to make use of shared run and install > >logic in lib.mk. Destructive tests are installed. Regular tests > >are emited to run_kselftest script to

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2015-03-15 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_display.c between commit 2dccc9898d45 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb") from the drm-intel-fixes tree and commit afd65eb4cc05 ("drm/i915: Ensure plane->state->fb stays in

Re: [PATCH] net/mlx4_core: Add configfs entries for setting device specific parameters [net-next: fix err_cast.cocci warnings

2015-03-15 Thread David Miller
From: kbuild test robot Date: Mon, 16 Mar 2015 02:01:25 +0800 > drivers/net/ethernet/mellanox/mlx4/conf.c:218:9-16: WARNING: ERR_CAST can be > used with pdev > > > Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) > > Generated by: scripts/coccinelle/api/err_cast.cocci > > CC:

Re: [PATCH] perf: report: don't allow empty argument for '-t'.

2015-03-15 Thread Namhyung Kim
On Fri, Mar 13, 2015 at 12:51:54PM +, Wang Nan wrote: > Without this patch, perf report cause segfault if pass "" as '-t': > > $ perf report -t "" > ># To display the perf.data header info, please use --header/--header-only > options. ># ># Samples: 37 of event 'syscalls:sys_e

Re: [RFC/PATCHSET 0/6] perf kmem: Implement page allocation analysis (v1)

2015-03-15 Thread Namhyung Kim
On Thu, Mar 12, 2015 at 11:58:37PM +0900, Namhyung Kim wrote: > On Thu, Mar 12, 2015 at 11:41:19AM +0100, Ingo Molnar wrote: > > So there's one thing that would be useful: to track pages allocated on > > one node, but freed on another. Those kinds of allocation/free > > patterns are especially ex

Re: [PATCH 1/3] MAINTAINERS: mmc: Update filepath to cover all files for sdhci-s3c

2015-03-15 Thread Jaehoon Chung
Hi, Ulf. If Ben is oK, I will want to maintain all files of sdhci-s3c*. (sdhci-s3c is Samsung specific driver code. So i can maintain it.) I think he didn't maintain sdhci-s3c. How about? Best Regards, Jaehoon Chung On 03/13/2015 09:51 PM, Ulf Hansson wrote: > Cc: Ben Dooks > Signed-off-by: Ulf

Re: [RFC/PATCHSET 0/6] perf kmem: Implement page allocation analysis (v1)

2015-03-15 Thread Namhyung Kim
Hi Ingo, On Fri, Mar 13, 2015 at 01:44:20PM +0100, Ingo Molnar wrote: > > * Namhyung Kim wrote: > > > Hi Ingo, > > > > On Thu, Mar 12, 2015 at 04:54:22PM +0100, Ingo Molnar wrote: > > > > > > * Namhyung Kim wrote: > > > > > > > > I.e. something like this (mockup) output: > > > > > > > > >

Re: [PATCH v4 1/4] mmc: dw_mmc: Don't try to enable the CD until we're sure we're not deferring

2015-03-15 Thread Jaehoon Chung
Hi, Heiko. On 03/13/2015 09:10 PM, Heiko Stuebner wrote: > Hi, > > Am Freitag, 13. März 2015, 20:32:43 schrieb Jaehoon Chung: >> Hi Doug, >> >> Will apply. Thanks! > > just to make sure, you'll take patches 1-3 and I'll take the dts change from > patch 4, right? Right. I will check on today a

Re: [PATCH 1/1] perf, tool: partial callgrap and time support in perf record

2015-03-15 Thread Namhyung Kim
Hi Kan, On Fri, Mar 13, 2015 at 02:18:07AM +, kan.li...@intel.com wrote: > From: Kan Liang > > When multiple events are sampled it may not be needed to collect > callgraphs for all of them. The sample sites are usually nearby, and > it's enough to collect the callgraphs on a reference event

linux-next: manual merge of the net-next tree with the net tree

2015-03-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/ipv4/inet_diag.c between commit c8e2c80d7ec0 ("inet_diag: fix possible overflow in inet_diag_dump_one_icsk()") from the net tree and commit a4458343ac59 ("inet_diag: factorize code in new inet_diag_msg_common_fill() helper

Re: [PATCH v2 net-next 0/2] bpf: allow eBPF access skb fields

2015-03-15 Thread David Miller
From: Alexei Starovoitov Date: Fri, 13 Mar 2015 11:57:41 -0700 > Hi All, > > V1->V2: > - refactored field access converter into common helper convert_skb_access() > used in both classic and extended BPF > - added missing build_bug_on for field 'len' > - added comment to uapi/linux/bpf.h as sug

Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-03-15 Thread Yijing Wang
On 2015/3/13 19:31, Liviu Dudau wrote: > On Thu, Mar 12, 2015 at 04:23:06PM -0500, Bjorn Helgaas wrote: >> On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >>> ... >>> Yijing Wang (29): >>> PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >>> PCI: Rip out pci_bus_add_devices()

Re: [PATCH 0/2] serial: 8250_pci: Fintek products patches

2015-03-15 Thread Peter Hung
Hello, Greg KH 於 2015/3/15 下午 05:25 寫道: Why did you cc: the linux-usb@vger mailing list on these? Don't you mean linux-serial@vger? Sorry for my fault. Should I resend it with correct mail-list with V2 ?? or just send this series patches ? Thanks -- With Best Regards, Peter Hung -- To unsub

Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-03-15 Thread Yijing Wang
On 2015/3/13 22:48, Bjorn Helgaas wrote: > On Fri, Mar 13, 2015 at 6:31 AM, Liviu Dudau wrote: >> On Thu, Mar 12, 2015 at 04:23:06PM -0500, Bjorn Helgaas wrote: >>> On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: ... Yijing Wang (29): PCI: Rip out pci_bus_add_devices(

Re: [PATCH v6 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-15 Thread Yijing Wang
>> Currently, if platform does not know the end bus number (not provide the bus >> resource), >> we will update the max bus number returned by pci_scan_child_bus() to the >> bus resource end, >> and I think this is reasonable. I consider to introduce a flag to identify >> the bus resource >> whi

Re: [BUG] perf report: ordered events and flushing bug

2015-03-15 Thread Namhyung Kim
Hi Arnaldo, On Thu, Mar 12, 2015 at 05:50:53PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 12, 2015 at 04:06:46PM -0400, Stephane Eranian escreveu: > > On Thu, Mar 12, 2015 at 3:53 PM, David Ahern wrote: > > > On 3/12/15 1:39 PM, Stephane Eranian wrote: > > >> > > >> What the point of ha

회신: LZ4 : fix the data abort issue.

2015-03-15 Thread Yeon, JeHyeon (Tom)
If the part of the compression data are corrupted, or the compression data is totally fake, the memory access over the limit is possible. This is the log from my system usning lz4 decompression. [6502]data abort, halting [6503]r0 0x r1 0x r2 0xdcea0ffc r3 0xdcea0ffc [6

Linux 4.0-rc4

2015-03-15 Thread Linus Torvalds
Hmm. Nothing particularly strange going on this week either, with perhaps just a slightly larger-than-expected ARM SoC update. So "just" half of the patch is driver updates, with about half of the rest being ARM changes. The rest is the usual random mix of fixes - some other architectures (s390, n

Re: [PATCH] selftests: Fix build failures when invoked from kselftest target

2015-03-15 Thread Michael Ellerman
On Fri, 2015-03-13 at 19:45 -0600, Shuah Khan wrote: > Several tests that rely on implicit build rules fail to build, > when invoked from the main Makefile kselftest target. These > failures are due to --no-builtin-rules and --no-builtin-variables > options set in the inherited MAKEFLAGS. > > --no

Re: [PATCH] code style fix - fixed all spacing issues

2015-03-15 Thread Joe Perches
On Mon, 2015-03-16 at 05:47 +0530, Yogeswaran Thulasidoss wrote: > --- 3 things: o You need to use a better subject line try something like: [PATCH] staging: lustre: echo_client: Use kernel style spacing o There should be some sort of commit message o You didn't add your "Signed-off-by:

[PATCH] staging:sm750fb:Fixed no space and indent warnings

2015-03-15 Thread Ragavendra Nagraj
This patch fixes the no spaces and indent warnings identified by the checkpath.pl script for the entire ddk750_chip.c file by using appropriate tab spaces and indents accordingly. Signed-off-by: Ragavendra Nagraj --- drivers/staging/sm750fb/ddk750_chip.c | 454 -

[PATCH] code style fix - fixed all spacing issues

2015-03-15 Thread Yogeswaran Thulasidoss
--- .../staging/lustre/lustre/obdecho/echo_client.c| 32 +++--- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdecho/echo_client.c b/drivers/staging/lustre/lustre/obdecho/echo_client.c index 566e646..d542e06 100644 --- a/drivers

Re: [PATCH v4 5/5] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-03-15 Thread Ruslan Bilovol
HI Alan, On Fri, Mar 13, 2015 at 4:39 PM, Alan Stern wrote: > On Thu, 12 Mar 2015, Ruslan Bilovol wrote: > >> Change behavior during registration of gadgets and >> gadget drivers in udc-core. Instead of previous >> approach when for successful probe of usb gadget driver >> at least one usb gadget

Re: rcu: frequent rcu lockups

2015-03-15 Thread Paul E. McKenney
On Sun, Mar 15, 2015 at 07:32:32PM -0400, Sasha Levin wrote: > On 03/15/2015 04:43 PM, Paul E. McKenney wrote: > > But I did find a bug that would result in the other warnings, and could > > also result in too-short grace periods, which could in turn result in > > arbitrarily arbitrary misbehavior.

Re: udiskd high CPU usage with 4.0 git

2015-03-15 Thread NeilBrown
On Mon, 09 Mar 2015 16:46:41 +0100 Prakash Punnoor wrote: > On 09.03.2015 00:30, NeilBrown wrote: > > On Sun, 08 Mar 2015 18:14:39 +0100 Prakash Punnoor > > wrote: > > > >> Hi, > >> > >> I noticed the udisks daemon (version 2.1.4) suddenly started using high > >> cpu (one core at 100%) with li

[PATCH] kernfs: handle poll correctly on 'direct_read' files.

2015-03-15 Thread NeilBrown
Kernfs supports two styles of read: direct_read and seqfile_read. The latter supports 'poll' correctly thanks to the update of '->event' in kernfs_seq_show. The former does not as '->event' is never updated on a read. So add an appropriate update in kernfs_file_direct_read(). This was noticed

Re: udiskd high CPU usage with 4.0 git

2015-03-15 Thread NeilBrown
On Sat, 14 Mar 2015 21:16:51 +0100 Torsten Kaiser wrote: > On Mon, Mar 9, 2015 at 12:30 AM, NeilBrown wrote: > > On Sun, 08 Mar 2015 18:14:39 +0100 Prakash Punnoor > > wrote: > > > >> Hi, > >> > >> I noticed the udisks daemon (version 2.1.4) suddenly started using high > >> cpu (one core at 10

Re: [PATCH v2 5/7] clone4: Add a CLONE_AUTOREAP flag to automatically reap the child process

2015-03-15 Thread Josh Triplett
On Sun, Mar 15, 2015 at 08:55:06PM +0100, Oleg Nesterov wrote: > On 03/15, Josh Triplett wrote: > > On Sun, Mar 15, 2015 at 03:52:23PM +0100, Oleg Nesterov wrote: > > > On 03/15, Josh Triplett wrote: > > > > Add a CLONE_AUTOREAP flag to request this behavior unconditionally, > > > > > > Yes, CLONE_

Re: rcu: frequent rcu lockups

2015-03-15 Thread Sasha Levin
On 03/15/2015 04:43 PM, Paul E. McKenney wrote: > But I did find a bug that would result in the other warnings, and could > also result in too-short grace periods, which could in turn result in > arbitrarily arbitrary misbehavior. The patch below, which is also on > its way into -next, should fix

Re: Add kdbus branch to linux-next?

2015-03-15 Thread Stephen Rothwell
Hi Greg, On Sun, 15 Mar 2015 10:34:52 +0100 Greg KH wrote: > > Can you add the: > https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/ kdbus > > tree to linux-next so that it gets the normal amount of testing that > linux-next provides? > > The code has been reworked and rev

Hello

2015-03-15 Thread Sarah Boj
Good day, I believe that you will be anxious to know the kind of business proposition that I have for you. Well, I am soliciting your assistance to be able to transfer a huge amount of money $20,500,000.00 from my bank that is lying idle with no one ever coming to lay claim to it. Let me know i

Re: Question on mutex code

2015-03-15 Thread Davidlohr Bueso
On Sun, 2015-03-15 at 15:18 -0700, Davidlohr Bueso wrote: > Correct, in debug this is most likely true, yet safe because everything ^^^ false, again the same reasoning. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Question on mutex code

2015-03-15 Thread Davidlohr Bueso
On Sun, 2015-03-15 at 23:49 +0200, Matthias Bonne wrote: > On 03/15/15 03:09, Davidlohr Bueso wrote: > > On Sat, 2015-03-14 at 18:03 -0700, Davidlohr Bueso wrote: > >> Good analysis, but not quite accurate for one simple fact: mutex > >> trylocks _only_ use fastpaths (obviously just depend on the c

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Linus Torvalds
On Sun, Mar 15, 2015 at 11:12 AM, Simonas wrote: > While working on stack related code in Rust’s stdandard library, I trigerred > a very odd and amusing issue yesterday. This sounds like a the subtle backporting issue we had where a subtle semantic dependency was missed, and as a result 3.18.6 wa

Re: Question on mutex code

2015-03-15 Thread Rabin Vincent
On Sun, Mar 15, 2015 at 11:49:07PM +0200, Matthias Bonne wrote: > So both mutex_trylock() and mutex_unlock() always use the slow paths. > The slowpath for mutex_unlock() is __mutex_unlock_slowpath(), which > simply calls __mutex_unlock_common_slowpath(), and the latter starts > like this: > >

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-15 Thread Paul E. McKenney
On Sun, Mar 15, 2015 at 03:24:19PM -0400, Mathieu Desnoyers wrote: > Here is an implementation of a new system call, sys_membarrier(), which > executes a memory barrier on either all running threads of the current > process (MEMBARRIER_PRIVATE_FLAG) or calls synchronize_sched() to issue > a memory

[PATCH v4 2/5] ARM: dts: Prepare exynos5410-odroidxu device tree

2015-03-15 Thread Andreas Färber
Derived from exynos5410-smdk5410.dts. Signed-off-by: Andreas Färber --- v1 -> v2 -> v3: Unchanged arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/exynos5410-odroidxu.dts | 78 +++ 2 files changed, 79 insertions(+) create mode 100644 arch/arm/bo

[PATCH v4 3/5] pinctrl: exynos: add exynos5410 SoC specific data

2015-03-15 Thread Andreas Färber
From: Hakjoo Kim Add Samsung EXYNOS5410 SoC specific data to enable pinctrl support for all platforms based on EXYNOS5410. Signed-off-by: Hakjoo Kim [AF: Rebased onto Exynos5260, irq_chip consolidation, const'ification] Signed-off-by: Andreas Färber --- v2 -> v3: * Rebased (.svc, .{g,w}eint_

[PATCH v4 5/5] ARM: dts: Add LEDs to exynos5410-odroidxu

2015-03-15 Thread Andreas Färber
Signed-off-by: Hakjoo Kim Signed-off-by: Andreas Färber --- v2 -> v3: Unchanged v1 -> v2: * Filled in Sob from Hakjoo Kim arch/arm/boot/dts/exynos5410-odroidxu.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/a

[PATCH v4 4/5] ARM: dts: add pinctrl support to Exynos5410

2015-03-15 Thread Andreas Färber
From: Hakjoo Kim Add the required pin configuration support to Exynos5410 using pinctrl interface. Signed-off-by: Hakjoo Kim [AF: Rebased, style changes] Signed-off-by: Andreas Färber --- v2 -> v3: * Added wake-up IRQ controller node (Tomasz Figa) v1 -> v2: * Filled in Sob from Hakjoo Ki

  1   2   3   >