[PATCH] PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding

2015-07-12 Thread Javier Martinez Canillas
The exynos-ppmu driver is only a clock consumer and not a clock provider but its Device Tree binding listed #clock-cells as an optional property. Signed-off-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt | 1 - 1 file changed, 1 deletion(-) di

Re: [PATCH v1 10/10] core: platform: use fwnode_driver_match_device()

2015-07-12 Thread Tomeu Vizoso
On 11 July 2015 at 04:47, Rafael J. Wysocki wrote: > On Friday, July 10, 2015 02:53:53 PM Tomeu Vizoso wrote: >> On 2 July 2015 at 01:46, Rafael J. Wysocki wrote: >> > On Tuesday, June 30, 2015 04:55:08 PM Tomeu Vizoso wrote: >> >> Instead of calling both of_driver_match_device() and >> >> acpi_d

Re: [PATCH 2/2] mpt2sas: Refcount fw_events and fix unsafe list usage

2015-07-12 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-12 Thread Sergey Senozhatsky
On (07/12/15 23:33), Christoph Hellwig wrote: > On Sun, Jul 12, 2015 at 11:47:32AM +0900, Sergey Senozhatsky wrote: > > Yes, but the main difference here is that it seems that shrinker users > > don't tend to treat shrinker registration failures as fatal errors and > > just continue with shrinker f

Re: [PATCH 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage

2015-07-12 Thread Christoph Hellwig
On Sat, Jul 11, 2015 at 09:24:55PM -0700, Calvin Owens wrote: > These objects can be referenced concurrently throughout the driver, we > need a way to make sure threads can't delete them out from under each > other. This patch adds the refcount, and refactors the code to use it. > > Additionally,

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-07-12 Thread Stefan Agner
On 2015-07-12 08:47, maitysancha...@gmail.com wrote: > Hello Jonathan, > > On 15-07-11 18:39:10, Jonathan Cameron wrote: >> On 10/07/15 19:06, maitysancha...@gmail.com wrote: >> > Hello Shawn, >> > >> > On 15-07-10 16:53:24, Shawn Guo wrote: >> >> On Wed, Jun 24, 2015 at 02:03:41PM +0530, Sanchaya

Re: linux 4.2-rc1 broken Nokia N900

2015-07-12 Thread Tony Lindgren
* Pali Rohár [150711 05:07]: > Hello, > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > broken and cause kernel oops... > > Basically wifi, touchscreen and rtc drivers not working... > > Here are some relevant snippets form dmesg: > > [ 13.933959] Unhandled fault: ex

Re: [PATCH v2] xen/blkfront: convert to blk-mq APIs

2015-07-12 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] acpi-cpufreq: Add a miss ifdef CONFIG_X86_ACPI_CPUFREQ_CPB

2015-07-12 Thread Pan Xinhui
hi, Rafeal thanks for your reply. :) On 2015年07月11日 04:44, Rafael J. Wysocki wrote: > Hi, > > On Fri, Jul 10, 2015 at 7:50 AM, Pan Xinhui wrote: >> >> If CONFIG_X86_ACPI_CPUFREQ_CPB has not been defined, the placeholder for >> cpb is not needed. Add ifdef around it. >> >> Signed-off-by:

Re: [PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-12 Thread Christoph Hellwig
On Sun, Jul 12, 2015 at 11:47:32AM +0900, Sergey Senozhatsky wrote: > Yes, but the main difference here is that it seems that shrinker users > don't tend to treat shrinker registration failures as fatal errors and > just continue with shrinker functionality disabled. And it makes sense. > > (copy

Re: [PATCH 2/2] ARM: dts: dra7x-evm: Prevent glitch on DCAN1 pinmux

2015-07-12 Thread Tony Lindgren
* Marc Kleine-Budde [150712 12:22]: > On 07/09/2015 08:34 PM, Marc Kleine-Budde wrote: > > On 07/07/2015 04:27 PM, Roger Quadros wrote: > >> Driver core sets "default" pinmux on on probe and CAN driver > >> sets "sleep" pinmux during register. This causes a small window > >> where the CAN pins are

Re: [PATCH] Doc: pps: Fix file name in pps.txt

2015-07-12 Thread Rodolfo Giometti
On Mon, Jul 13, 2015 at 12:29:11PM +0900, Masanari Iida wrote: > This patch fix a file name of example code. > > Signed-off-by: Masanari Iida Signed-off-by: Rodolfo Giometti -- HCE Engineering e-mail: giome...@hce-engineering.com GNU/Linux Solutions

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-12 Thread Daniel Vetter
On Sun, Jul 12, 2015 at 09:52:51AM -0700, Linus Torvalds wrote: > On Sun, Jul 12, 2015 at 1:03 AM, Jörg Otte wrote: > > > > BUG: unable to handle kernel NULL pointer dereference at 0009 > > IP: [] 0xbd3447bb > > Ugh. Please enable KALLSYMS to get sane symbols. > > But yes, "c

Re: linux-next: build warning after merge of the sound-asoc tree

2015-07-12 Thread Valentin Rothberg
Hi, On Mon, Jul 13, 2015 at 5:23 AM, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > warning: (SND_SOC_ALL_CODECS) selects SND_SOC_STI_SAS which has unmet direct > dependencies (SOUND && !M68K &

Re: [PATCH v2 2/2] drm/rockchip: Drop owner assignment from platform_driver

2015-07-12 Thread Mark yao
On 2015年07月10日 18:37, Krzysztof Kozlowski wrote: platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Split owner removal from rockchip to separate patch (spotted by Mark Yao). --- driver

[PATCH v8 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-12 Thread Jianwei Wang
This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a value that cannot be used as a token in programming languages. Instead

[PATCH v8 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-12 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/ar

[PATCH v8 2/4] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-12 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + MAINTAINERS

[PATCH v8 3/4] arm/dts/ls1021a: Add DCU dts node

2015-07-12 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- .../devicetree/bindings/drm/fsl-dcu/fsl,dcu.txt | 20 MAINTAINERS

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-12 Thread Maarten Lankhorst
Op 12-07-15 om 18:52 schreef Linus Torvalds: > On Sun, Jul 12, 2015 at 1:03 AM, Jörg Otte wrote: >> BUG: unable to handle kernel NULL pointer dereference at 0009 >> IP: [] 0xbd3447bb > Ugh. Please enable KALLSYMS to get sane symbols. > > But yes, "crtc_state->base.active" is at

[GIT] Networking

2015-07-12 Thread David Miller
//git.kernel.org/pub/scm/linux/kernel/git/davem/net for you to fetch changes up to cee9f6d0186a586c8023bc91c8a4cf8a088855e5: Merge tag 'linux-can-fixes-for-4.2-20150712' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-c

Re: [PATCH 28/39] bpf tools: Load a program with different instances using preprocessor

2015-07-12 Thread Wangnan (F)
On 2015/7/9 20:35, Wang Nan wrote: In this patch, caller of libbpf is able to control the loaded programs by installing a preprocessor callback for a BPF program. With preprocessor, different instances can be created from one BPF program. This patch will be used by perf to generate different p

Re: [PATCH v3 0/3] Fixes for MT8173 PLLs

2015-07-12 Thread Sascha Hauer
On Fri, Jul 10, 2015 at 04:39:31PM +0800, James Liao wrote: > Title changed. Previous title is "Add MT8173 MMPLL change rate support" > and can be found in [1]. > > This patchset contains some fixes for changing rate of PLLs, especially > for MMPLL. > > The first 2 patches are common fixes for PL

[RFC 3/3] arm64: ftrace: mcount() should not create a stack frame

2015-07-12 Thread AKASHI Takahiro
Ftrace's stack tracer on arm64 returns wrong information about call stacks: DepthSize Location(50 entries) - 0) 5256 0 notifier_call_chain+0x30/0x94 1) 5256 0 ftrace_call+0x0/0x4 2) 5256 0 notifier_call_chai

[RFC 0/3] arm64: ftrace: fix incorrect output from stack tracer

2015-07-12 Thread AKASHI Takahiro
As reported in the thread below[1], the output from stack tracer using ftrace on arm64 seems to be incorrect due to different reasons. Each problem is described and fixed repsectively in the following patches. Please see the commit messages for the details. [1] http://lists.infradead.org/pipermail

[RFC 2/3] arm64: refactor save_stack_trace()

2015-07-12 Thread AKASHI Takahiro
Ftrace's stack tracer on arm64 returns wrong information about call stacks: DepthSize Location(50 entries) - 0) 5256 0 notifier_call_chain+0x30/0x94 1) 5256 0 ftrace_call+0x0/0x4 2) 5256 0 notifier_call_chai

[RFC 1/3] ftrace: adjust a function's pc to search for in check_stack() for arm64

2015-07-12 Thread AKASHI Takahiro
Ftace's stack tracer on arm64 returns wrong information about call stacks: DepthSize Location(50 entries) - 0) 5256 0 notifier_call_chain+0x30/0x94 1) 5256 0 ftrace_call+0x0/0x4 2) 5256 0 notifier_call_chain

Re: [PATCH v5 00/11] simplify block layer based on immutable biovecs

2015-07-12 Thread Ming Lin
On Mon, 2015-07-06 at 00:11 -0700, m...@kernel.org wrote: > Hi Mike, > > On Wed, 2015-06-10 at 17:46 -0400, Mike Snitzer wrote: > > I've been busy getting DM changes for the 4.2 merge window finalized. > > As such I haven't connected with others on the team to discuss this > > issue. > > > > I'll

Re: [RFC v2 PATCH 0/8] mm: mirrored memory support for page buddy allocations

2015-07-12 Thread Xishi Qiu
On 2015/6/30 19:53, Mel Gorman wrote: > On Tue, Jun 30, 2015 at 12:46:54PM +0200, Ingo Molnar wrote: >> >> * Mel Gorman wrote: >> >>> [...] >>> >>> Basically, overall I feel this series is the wrong approach but not knowing >>> who >>> the users are making is much harder to judge. I strongly su

Re: [PATCH 2/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-07-12 Thread Daniel Kurtz
On Wed, Jun 24, 2015 at 2:17 PM, Sascha Hauer wrote: > This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. > > Signed-off-by: Sascha Hauer > --- > .../devicetree/bindings/soc/mediatek/scpsys.txt| 41 > ++ > 1 file changed, 41 insertions(+) > creat

Re: [PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-07-12 Thread Peter Hurley
On 07/13/2015 12:30 AM, Joe Perches wrote: > On Mon, 2015-07-13 at 00:25 -0400, Peter Hurley wrote: >> On 07/12/2015 11:47 PM, Joe Perches wrote: >>> On Sun, 2015-07-12 at 22:49 -0400, Peter Hurley wrote: Introduce tty_debug() macro to output uniform debug information for tty core debug m

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-12 Thread He Kuang
hi, Alexei On 2015/7/11 6:10, Alexei Starovoitov wrote: On 7/10/15 3:03 AM, He Kuang wrote: There're scenarios that we need an eBPF program to record not only kprobe point args, but also the PMU counters, time latencies or the number of cache misses between two probe points and other informatio

Re: [PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-07-12 Thread Joe Perches
On Mon, 2015-07-13 at 00:25 -0400, Peter Hurley wrote: > On 07/12/2015 11:47 PM, Joe Perches wrote: > > On Sun, 2015-07-12 at 22:49 -0400, Peter Hurley wrote: > >> Introduce tty_debug() macro to output uniform debug information for > >> tty core debug messages (function name and tty name). > > [] >

Re: [PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-07-12 Thread Peter Hurley
On 07/12/2015 11:47 PM, Joe Perches wrote: > On Sun, 2015-07-12 at 22:49 -0400, Peter Hurley wrote: >> Introduce tty_debug() macro to output uniform debug information for >> tty core debug messages (function name and tty name). > [] >> diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c > [] >

[PATCH v3 00/10] hugetlbfs: add fallocate support

2015-07-12 Thread Mike Kravetz
Only change in this revision is the fix to the self-discovered issue in region_chg(). Functional and stress tests passing. Full changelog below. As suggested during the RFC process, tests have been proposed to libhugetlbfs as described at: http://librelist.com/browser//libhugetlbfs/2015/6/25/patc

[PATCH v3 02/10] mm/hugetlb: add region_del() to delete a specific range of entries

2015-07-12 Thread Mike Kravetz
fallocate hole punch will want to remove a specific range of pages. The existing region_truncate() routine deletes all region/reserve map entries after a specified offset. region_del() will provide this same functionality if the end of region is specified as LONG_MAX. Hence, region_del() can repla

[PATCH v3 01/10] mm/hugetlb: add cache of descriptors to resv_map for region_add

2015-07-12 Thread Mike Kravetz
fallocate hole punch will want to remove a specific range of pages. When pages are removed, their associated entries in the region/reserve map will also be removed. This will break an assumption in the region_chg/region_add calling sequence. If a new region descriptor must be allocated, it is don

[PATCH v3 05/10] hugetlbfs: truncate_hugepages() takes a range of pages

2015-07-12 Thread Mike Kravetz
Modify truncate_hugepages() to take a range of pages (start, end) instead of simply start. If an end value of LLONG_MAX is passed, the current "truncate" functionality is maintained. Existing callers are modified to pass LLONG_MAX as end of range. By keying off end == LLONG_MAX, the routine behaves

[PATCH v3 10/10] mm: madvise allow remove operation for hugetlbfs

2015-07-12 Thread Mike Kravetz
Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen Signed-off-by: Mike Kravetz --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/madvise.c b/mm/madvise.c index 70ce0d4..a2353

[PATCH v3 04/10] hugetlbfs: hugetlb_vmtruncate_list() needs to take a range to delete

2015-07-12 Thread Mike Kravetz
fallocate hole punch will want to unmap a specific range of pages. Modify the existing hugetlb_vmtruncate_list() routine to take a start/end range. If end is 0, this indicates all pages after start should be unmapped. This is the same as the existing truncate functionality. Modify existing calle

[PATCH v3 06/10] mm/hugetlb: vma_has_reserves() needs to handle fallocate hole punch

2015-07-12 Thread Mike Kravetz
In vma_has_reserves(), the current assumption is that reserves are always present for shared mappings. However, this will not be the case with fallocate hole punch. When punching a hole, the present page will be deleted as well as the region/reserve map entry (and hence any reservation). vma_has

[PATCH v3 08/10] hugetlbfs: New huge_add_to_page_cache helper routine

2015-07-12 Thread Mike Kravetz
Currently, there is only a single place where hugetlbfs pages are added to the page cache. The new fallocate code be adding a second one, so break the functionality out into its own helper. Signed-off-by: Dave Hansen Signed-off-by: Mike Kravetz --- include/linux/hugetlb.h | 2 ++ mm/hugetlb.

[PATCH v3 09/10] hugetlbfs: add hugetlbfs_fallocate()

2015-07-12 Thread Mike Kravetz
This is based on the shmem version, but it has diverged quite a bit. We have no swap to worry about, nor the new file sealing. Add synchronication via the fault mutex table to coordinate page faults, fallocate allocation and fallocate hole punch. What this allows us to do is move physical memory

[PATCH v3 03/10] mm/hugetlb: expose hugetlb fault mutex for use by fallocate

2015-07-12 Thread Mike Kravetz
hugetlb page faults are currently synchronized by the table of mutexes (htlb_fault_mutex_table). fallocate code will need to synchronize with the page fault code when it allocates or deletes pages. Expose interfaces so that fallocate operations can be synchronized with page faults. Minor name ch

[PATCH v3 07/10] mm/hugetlb: alloc_huge_page handle areas hole punched by fallocate

2015-07-12 Thread Mike Kravetz
Areas hole punched by fallocate will not have entries in the region/reserve map. However, shared mappings with min_size subpool reservations may still have reserved pages. alloc_huge_page needs to handle this special case and do the proper accounting. Signed-off-by: Mike Kravetz --- mm/hugetlb

Re: [PATCH v2 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-07-12 Thread Scott Shu
For some platform, the code for controlling CPU power is located in arch/arm/mach-. (i.e., mach-hisi and mach-qcom). The framework is clear and easy to maintain. In addition, the code will be called in very early stage during system boot up.Is the platform driver ready for the moment? On

linux-next: Tree for Jul 13

2015-07-12 Thread Stephen Rothwell
Hi all, Changes since 20150710: *crickets* Non-merge commits (relative to Linus' tree): 1433 1334 files changed, 78369 insertions(+), 21954 deletions(-) I have created today's linux-next tree at git://git.kernel.org/

Re: [PATCH v3 0/9] regulator: Merge max77843 into max77693

2015-07-12 Thread Krzysztof Kozłowski
2015-07-08 20:00 GMT+09:00 Krzysztof Kozlowski : > Dear Mark, > > > The patchset merges max77843 regulator driver into max77693. > > It touches multiple subsystems so I think the best way would be to > merge it through one tree. I already got acks from extcon, input > mfd and power maintainers. > >

[RFC PATCH 4/4] vhost: Add cgroup-aware creation of worker threads

2015-07-12 Thread Bandan Das
With the help of the cgroup function to compare groups introduced in the previous patch, this changes worker creation policy. If the new device belongs to different cgroups than any of the devices we are currently serving, we end up creating a new worker thread even if we haven't reached the devs_p

Re: [Patch V5 13/16] xen: add explicit memblock_reserve() calls for special pages

2015-07-12 Thread Juergen Gross
On 07/10/2015 03:36 PM, Konrad Rzeszutek Wilk wrote: diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 1982617..c28f7f7 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -2084,6 +2084,19 @@ void __init xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn) } #endif

Crypto Fixes for 4.2

2015-07-12 Thread Herbert Xu
Hi Linus: This push fixes a duplicate dma_unmap_sg call in omap-des and reentrancy bugs in the powerpc nx driver which may cause bogus output or worse memory corruption. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Herbert Xu (1): crypto: nx - Fi

[RFC PATCH 3/4] cgroup: Introduce a function to compare cgroups

2015-07-12 Thread Bandan Das
This function takes two tasks and iterates through all hierarchies to check if they belong to the same cgroups. It ignores the check for default hierarchies or for hierarchies with no subsystems attached. This function will be used by the next patch to add rudimentary cgroup support with vhost work

[RFC PATCH 2/4] vhost: Limit the number of devices served by a single worker thread

2015-07-12 Thread Bandan Das
When the number of devices increase, the universal thread model (introduced in the preceding patch) may end up being the bottleneck. Moreover, a single worker thread also forces us to change cgroups based on the device we are serving. We introduce a worker pool struct that starts with one worker t

[RFC PATCH 1/4] vhost: Introduce a universal thread to serve all users

2015-07-12 Thread Bandan Das
vhost threads are per-device, but in most cases a single thread is enough. This change creates a single thread that is used to serve all guests. However, this complicates cgroups associations. The current policy is to attach the per-device thread to all cgroups of the parent process that the devic

[RFC PATCH 0/4] Shared vhost design

2015-07-12 Thread Bandan Das
Hello, There have been discussions on improving the current vhost design. The first attempt, to my knowledge was Shirley Ma's patch to create a dedicated vhost worker per cgroup. http://comments.gmane.org/gmane.linux.network/224730 Later, I posted a cmwq based approach for performance comparisio

Re: [PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-07-12 Thread Joe Perches
On Sun, 2015-07-12 at 22:49 -0400, Peter Hurley wrote: > Introduce tty_debug() macro to output uniform debug information for > tty core debug messages (function name and tty name). [] > diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c [] > @@ -768,7 +768,7 @@ static void do_tty_hangup(struc

[PATCH] Doc: pps: Fix file name in pps.txt

2015-07-12 Thread Masanari Iida
This patch fix a file name of example code. Signed-off-by: Masanari Iida --- Documentation/pps/pps.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/pps/pps.txt b/Documentation/pps/pps.txt index c508cce..7cb7264 100644 --- a/Documentation/pps/pps.txt +++ b/Doc

Re: [PATCH v3 5/5] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-07-12 Thread James Liao
Hi Daniel, On Fri, 2015-07-10 at 23:02 +0800, Daniel Kurtz wrote: > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > index a2f63e4..9d74ce5 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt817

Re: [PATCH v3 05/11] usb: hcd.h: Add OTG to HCD interface

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:31PM +0300, Roger Quadros wrote: > The OTG core will use struct otg_hcd_ops to > add/remove the HCD controller. > > The main purpose of this interface is to avoid directly > calling usb_add/remove_hcd() from the OTG core as they > wouldn't be defined in the built-in s

Re: [PATCH v2] net: dsa: mv88e6xxx: add write access to debugfs regs file

2015-07-12 Thread David Miller
From: Vivien Didelot Date: Sun, 12 Jul 2015 21:39:30 -0400 (EDT) > I hardly see how this debug interface can be made generic to other > DSA drivers, since the format of hardware tables or some registers > seem very specific to the switch chip. You feel this way because you are focusing on regist

Re: [PATCH v3 07/11] usb: otg: add OTG core

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:33PM +0300, Roger Quadros wrote: > The OTG core instantiates the OTG Finite State Machine > per OTG controller and manages starting/stopping the > host and gadget controllers based on the bus state. > > It provides APIs for the following tasks > > - Registering an OT

Re: [3/3] IRQ: Print "unexpected IRQ" messages consistently across architectures

2015-07-12 Thread Michael Ellerman
On Sun, 2015-12-07 at 22:02:11 UTC, Bjorn Helgaas wrote: > Many architectures use a variant of "unexpected IRQ trap at vector %x" to > log unexpected IRQs. This is confusing because (a) it prints the Linux IRQ > number, but "vector" more often refers to a CPU vector number, and (b) it > prints the

linux-next: build warning after merge of the sound-asoc tree

2015-07-12 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig) produced this warning: warning: (SND_SOC_ALL_CODECS) selects SND_SOC_STI_SAS which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_STI) Introduced by commit 32a726b2e

Re: [PATCH v3 04/11] otg-fsm: move usb_bus_start_enum into otg-fsm->ops

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:30PM +0300, Roger Quadros wrote: > This is to prevent missing symbol build error if OTG is > enabled (built-in) and HCD core (CONFIG_USB) is module. > We may let the OTG-DRD/OTG-FSM depends on CONFIG_USB to fix it. Peter > Signed-off-by: Roger Quadros > --- > dri

Re: [PATCH 1/2] power: reset: at91: add sama5d3 reset function

2015-07-12 Thread Josh Wu
On 7/11/2015 12:12 AM, Nicolas Ferre wrote: Le 10/07/2015 14:31, Maxime Ripard a écrit : On Fri, Jul 10, 2015 at 02:09:07PM +0200, Alexandre Belloni wrote: Hi, On 10/07/2015 at 15:56:52 +0800, Josh Wu wrote : I would agree with Maxime. Currently all latest chip reset function is compatible wi

Re: [PATCH v2 01/13] ARM: kill off set_irq_flags usage

2015-07-12 Thread Shawn Guo
On Sun, Jul 12, 2015 at 09:26:39AM -0500, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID -> !IRQ_

Re: [PATCH v3 03/11] usb: otg-fsm: Prevent build warning "VDBG" redefined

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:29PM +0300, Roger Quadros wrote: > If usb/otg-fsm.h and usb/composite.h are included together > then it results in the build warning [1]. > > Prevent that by using dev_vdbg() instead. > > Also get rid of MPC_LOC which doesn't seem to be used > by anyone. > > [1] - w

Re: [PATCH 2/2] ASoC: Drop owner assignment from platform_driver

2015-07-12 Thread Koro Chen
On Fri, 2015-07-10 at 14:30 +0900, Krzysztof Kozlowski wrote: > platform_driver does not need to set an owner because > platform_driver_register() will set it. > > Signed-off-by: Krzysztof Kozlowski > Acked-by: Koro Chen Thank you! -- To unsubscribe from this list: send the line "unsubscrib

[PATCH 1/7] tty: core: Improve debug message content

2015-07-12 Thread Peter Hurley
Output the function name, tty name, and invariant failure (if applicable). Add the tty count to the tty_open() message. Fix the disassociate_ctty() message, which printed the NULL pointer and the wrong message. Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 29 ---

[PATCH 3/7] tty: Replace #ifdef TTY_DEBUG_HANGUP with tty_debug_hangup()

2015-07-12 Thread Peter Hurley
Add tty_debug_hangup() macro which uses tty_debug to print the debug message; remove inlined #ifdefs. Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 47 ++- 1 file changed, 18 insertions(+), 29 deletions(-) diff --git a/drivers/tty/tty_io.c b/

[PATCH 6/7] tty: core: Improve ldisc debug messages

2015-07-12 Thread Peter Hurley
Add debug messages for ldisc open and close, and remove "closing ldisc" message from tty_ldisc_release(), because a close message is now printed for both ldiscs; always print ldisc pointer first so ldisc changes are easier to identify. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 11

[PATCH 0/7] tty core debug patches

2015-07-12 Thread Peter Hurley
Hi Greg, This patchset replaces the printk(KERN_DEBUG) uses in the tty core with a common tty_debug(tty, ...) base macro, folding in the common elements of tty name and function name. The many inline #ifdef TTY_SOME_DEBUG_FLAG printk's are replaced with macro equivalents which reduce to tty_debug

[PATCH 7/7] pty: Add debug message for ptmx open

2015-07-12 Thread Peter Hurley
Opens of /dev/ptmx don't use tty_open() so debug messages are not printed for those opens; print a debug message with the open count (which must always be 1) if TTY_DEBUG_HANGUP is defined. NB: Each tty core source file undefs support for debug messages. The relevant source file must be patched/ed

[PATCH 4/7] tty: Use tty_debug() for tty_ldisc_debug()

2015-07-12 Thread Peter Hurley
Replace tty_ldisc_debug() macro definition; substitute with equivalent tty_debug() invocation. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index c07fb5d..8191680 1

[PATCH 5/7] tty: Replace inline #ifdef TTY_DEBUG_WAIT_UNTIL_SENT

2015-07-12 Thread Peter Hurley
Add tty_debug_wait_until_sent() macro which uses tty_debug() to print the debug message; remove inlined #ifdef. Signed-off-by: Peter Hurley --- drivers/tty/tty_ioctl.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/tty/tty_ioctl.c b/drivers/tty/tty_ioctl.

[PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-07-12 Thread Peter Hurley
Introduce tty_debug() macro to output uniform debug information for tty core debug messages (function name and tty name). Note: printk(KERN_DEBUG) is retained here over pr_debug() since messages can be enabled in non-DEBUG builds. Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 41 ++

Darlehen anbieten

2015-07-12 Thread SUN EAST FEDERAL CREDIT UNION
hallo Gruß von SUN EAST Federal Credit Union, wir sind gut etabliert und genehmigt UK Darlehen Unternehmen, im Laufe der Jahre haben wir ein gutes Verständnis für Ihre Bedürfnisse und individuellen Anforderungen entwickelt. wir uns verpflichtet, unseren Kunden fair zu behandeln und bieten ei

Re: [PATCH v3 02/11] usb: otg-fsm: support multiple instances

2015-07-12 Thread Peter Chen
On Fri, Jul 10, 2015 at 04:06:43PM +0800, Li Jun wrote: > On Wed, Jul 08, 2015 at 01:19:28PM +0300, Roger Quadros wrote: > > Move the state_changed variable into struct otg_fsm > > so that we can support multiple instances. > > > I am not sure if multiple instances may happen since OTG protocol re

Darlehen anbieten

2015-07-12 Thread SUN EAST FEDERAL CREDIT UNION
hallo Gruß von SUN EAST Federal Credit Union, wir sind gut etabliert und genehmigt UK Darlehen Unternehmen, im Laufe der Jahre haben wir ein gutes Verständnis für Ihre Bedürfnisse und individuellen Anforderungen entwickelt. wir uns verpflichtet, unseren Kunden fair zu behandeln und bieten ei

Re: [PATCH 25/45] clk: socfpga: Remove clk.h include

2015-07-12 Thread Viresh Kumar
On 10-07-15, 16:33, Stephen Boyd wrote: > Clock provider drivers generally shouldn't include clk.h because > it's the consumer API. Remove the include here because this is a > provider driver. > > Cc: Viresh Kumar > Signed-off-by: Stephen Boyd > --- > drivers/clk/spear/spear1310_clock.c | 1 - >

[PATCH 2/3] [PATCH 2/3] kexec: split kexec_load syscall from kexec core code

2015-07-12 Thread dyoung
Now there's two kexec load syscall, one is kexec_load another is kexec_file_load, kexec_file_load has been splited as kernel/kexec_file.c. In this patch I split kexec_load syscall code to kernel/kexec.c. And add a new kconfig option KEXEC_CORE, so we can disable kexec_load and use kexec_file_load

Re: [PATCH] cpufreq: integrator: fixed coding style issues

2015-07-12 Thread Viresh Kumar
On 10-07-15, 14:42, Cristian Ardelean wrote: > Fixed coding style issues found by checkpatch.pl tool. Changed > space indentation to tab, removed unneccesary braces, removed > space between MODULE macros and parentheses. > > REMARKS: failed to 'make' this file with error message > 'fatal error: as

[PATCH 1/3] [PATCH 1/3] kexec: split kexec_file syscall code to kexec_file.c

2015-07-12 Thread dyoung
Split kexec_file syscall related code to another file kernel/kexec_file.c so that the #ifdef CONFIG_KEXEC_FILE in kexec.c can be dropped. Sharing variables and functions are moved to kernel/kexec_internal.h per suggestion from Vivek and Petr. Signed-off-by: Dave Young --- kernel/Makefile

Re: [RFC] freeing unlinked file indefinitely delayed

2015-07-12 Thread Ian Kent
On Sun, 2015-07-12 at 16:17 +0100, Al Viro wrote: > On Thu, Jul 09, 2015 at 07:26:44PM +0800, Ian Kent wrote: > > > But the dentrys that will most likely face summary execution will be > > > hashed, such as was the case on that 2.6.32 kernel at dput(). > > > > > > Doesn't that mean that something

Re: [PATCH v3 01/11] usb: otg-fsm: Add documentation for struct otg_fsm

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:27PM +0300, Roger Quadros wrote: > struct otg_fsm is the interface to the OTG state machine. > > Document the input, output and internal state variables. > Definations are taken from Table 7-2 and Table 7-4 of > the USB OTG & EH Specification Rev.2.0 > > Re-arrange s

[PATCH 3/3] [PATCH 3/3] kexec-x86-kdebug-h-drop-useless-macro

2015-07-12 Thread dyoung
in_crash_kexec is only useful for kdump, it will not be used without CONFIG_KEXEC_CORE, thus remove the #else section Signed-off-by: Dave Young --- arch/x86/include/asm/kdebug.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/kdebug.h b/arch/x86/include/asm/kdebug.h in

[PATCH 0/3] kexec: refactor CONFIG_KEXEC/CONFIG_KEXEC_FILE Kconfig

2015-07-12 Thread dyoung
Previously Theodore Ts'o brought up an issue about kexec_load syscall bypassing signature verification: https://lkml.org/lkml/2015/6/14/280 Because we have two kexec load syscall, one kexec_load, another kexec_file_load, the latter one was introduced by Vivek Goyal, it is mainly for supporting UEF

Re: [PATCH V2] acpi-cpufreq: Fix an acpi perf unregister issue

2015-07-12 Thread Viresh Kumar
On 10-07-15, 14:36, Pan Xinhui wrote: > > As policy->cpu may not be same in acpi_cpufreq_cpu_init and > acpi_cpufreq_cpu_exit. There is a risk that we use different *cpu* to > un/register acpi performance. So acpi_processor_unregister_performance > may not be able to do the cleanup work. That caus

RE: [RFC] genalloc:add an gen_pool_alloc_align func to genalloc

2015-07-12 Thread Zhao Qiang
> -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Friday, July 10, 2015 5:51 AM > To: Zhao Qiang-B45475; lau...@codeaurora.org > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > a...@linux-foundation.org; o...@lixom.net; catalin.mari...@arm.co

Re: [PATCH v2] net: dsa: mv88e6xxx: add write access to debugfs regs file

2015-07-12 Thread Vivien Didelot
Hi David, On Jul 11, 2015, at 10:08 PM, David da...@davemloft.net wrote: > From: Vivien Didelot > Date: Sat, 11 Jul 2015 14:36:12 -0400 (EDT) > >> In the meantime, this is really useful for development. i.e. ensuring a good >> switchdev/DSA interaction without being able to read and write direc

Re: V4.1-RC build error after commit 77a3c6f

2015-07-12 Thread Larry Finger
On 07/12/2015 06:10 PM, Laurent Pinchart wrote: Hi Larry, Thank you for the report. On Saturday 11 July 2015 16:27:36 Larry Finger wrote: Beginning with the commit in the subject, I get the following build error: CC [M] drivers/media/v4l2-core/videobuf2-core.o drivers/media/v4l2-core/vid

[PATCH v2] serial: core: Fix crashes while echoing when closing

2015-07-12 Thread Peter Hurley
While closing, new rx data may be received after the input buffers have been flushed but before stop_rx() halts receiving [1]. The new data might not be processed by flush_to_ldisc() until after uart_shutdown() and normal input processing is re-enabled (ie., tty->closing = 0). The race is outlined

Re: [PATCH v2] sched: let __sched_period() use rq's nr_running

2015-07-12 Thread Byungchul Park
On Fri, Jul 10, 2015 at 02:31:10PM +0100, Morten Rasmussen wrote: > On Fri, Jul 10, 2015 at 05:11:30PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > __sched_period() returns a period which a rq can have. the period has to be > > stretched by the number of task *the rq has*

[PATCH 2/2] tty: buffers: Move hidden buffer index advance into outer loop

2015-07-12 Thread Peter Hurley
The advance of the 'read' buffer index belongs in the outer flip buffer consume loop, with the other buffer index arithmetic. No functional change. Signed-off-by: Peter Hurley --- drivers/tty/tty_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/tty_buffer

[PATCH 1/2] tty: Replace smp_rmb/smp_wmb with smp_load_acquire/smp_store_release

2015-07-12 Thread Peter Hurley
Clarify flip buffer producer/consumer operation; the use of smp_load_acquire() and smp_store_release() more clearly indicates which memory access requires a barrier. Signed-off-by: Peter Hurley --- drivers/tty/tty_buffer.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --

[PATCH] tty: vt: Fix !TASK_RUNNING diagnostic warning from paste_selection()

2015-07-12 Thread Peter Hurley
Pasting text with gpm on a VC produced warning [1]. Reset task state to TASK_RUNNING in the paste_selection() loop, if the loop did not sleep. [1] WARNING: CPU: 6 PID: 1960 at /home/peter/src/kernels/mainline/kernel/sched/core.c:7286 __might_sleep+0x7f/0x90() do not call blocking ops when !TASK_

Re: [PATCH] DocBook: Avoid stdout junk with no man pages to compress

2015-07-12 Thread Ulf Magnusson
On Sun, Jul 12, 2015 at 04:36:53PM -0700, Jim Davis wrote: > On Sun, Jul 12, 2015 at 2:59 PM, Ulf Magnusson > wrote: > > gzip would run as 'gzip -f' when no uncompressed man pages were found, > > making it compress the (empty) stdin to stdout. > > > --- a/Documentation/DocBook/Makefile > > +++ b

[PATCH] serial: core: Fix crashes while echoing when closing

2015-07-12 Thread Peter Hurley
While closing, new rx data may be received after the input buffers have been flushed but before stop_rx() halts receiving [1]. The new data might not be processed by flush_to_ldisc() until after uart_shutdown() and normal input processing is re-enabled (ie., tty->closing = 0). The race is outlined

Re: [PATCH v4] tty: add missing rcu_read_lock for task_pgrp

2015-07-12 Thread Peter Hurley
On 07/12/2015 06:51 PM, Patrick Donnelly wrote: > task_pgrp requires an rcu or tasklist lock to be obtained if the returned pid > is to be dereferenced, which kill_pgrp does. Obtain an RCU lock for the > duration of use. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "

Re: [PATCH] Explicitly declare the role "base_r"

2015-07-12 Thread Paul Moore
On Tue, Jul 7, 2015 at 5:10 PM, Laurent Bigonville wrote: > From: Laurent Bigonville > > This fixes the compilation of policy generated by mdp with the recent > version of checkpolicy. > > Signed-off-by: Laurent Bigonville > --- > scripts/selinux/mdp/mdp.c | 1 + > 1 file changed, 1 insertion(+

  1   2   3   >