[tip:perf/urgent] perf/x86: Fix 'active_events' imbalance

2015-06-30 Thread tip-bot for Peter Zijlstra
Commit-ID: 93472aff802fd7b61f2209335207e9bd793012f7 Gitweb: http://git.kernel.org/tip/93472aff802fd7b61f2209335207e9bd793012f7 Author: Peter Zijlstra AuthorDate: Wed, 24 Jun 2015 16:47:50 +0200 Committer: Ingo Molnar CommitDate: Tue, 30 Jun 2015 13:08:46 +0200 perf/x86: Fix 'active_eve

[PATCH][RESEND] rts5208:Fix checkpatch warnings

2015-06-30 Thread Ravi Teja Darbha
else is not generally useful after a break or return, hence removed. Signed-off-by: Ravi Teja Darbha --- drivers/staging/rts5208/xd.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 10fea7b..42d8d82

Re: [PATCH] Staging: unisys: virtpci: fixed a brace coding style issue

2015-06-30 Thread Sudip Mukherjee
On Wed, Jul 01, 2015 at 03:05:45AM +0530, Sohny Thomas wrote: > > FIX 2 unnecessary braces found by checkpatch.pl > > Signed-off-by: Sohny Thomas > --- > drivers/staging/unisys/virtpci/virtpci.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/drivers/stagin

Re: [PATCH v2 7/9] arm: twr-k70f120m: use Freescale eDMA driver with Kinetis SoC

2015-06-30 Thread Paul Osmialowski
Hi Arnd, Thanks for pointing this - dma-ranges seem to work properly. This makes the patch much simpler. To be included to the next iteration. I also removed DMA_OF from Kconfig and CONFIG_DMA_OF from my defconfig and it was automatically added during preparation of .cofing for build. On Tu

Re: [PATCH v5 2/6] arch: unify ioremap prototypes and macro aliases

2015-06-30 Thread Geert Uytterhoeven
On Wed, Jul 1, 2015 at 8:23 AM, Christoph Hellwig wrote: >> One useful feature of the ifdef mess as implemented in the patch is >> that you could test for whether ioremap_cache() is actually >> implemented or falls back to default ioremap(). I think for >> completeness archs should publish an ior

Re: Regression: sched/preempt: Add static_key() to preempt_notifiers breaks my KVM

2015-06-30 Thread Ingo Molnar
* Josh Boyer wrote: > > Tested ok. Thanks. > > We've had a report of this in Fedora now. Is the above patch queued anywhere? > > https://bugzilla.redhat.com/show_bug.cgi?id=1237143 Yes, it's in tip:sched/urgent, en route to Linus. Thanks, Ingo -- To unsubscribe from this list: send

Re: [GIT PULL] Introduce builtin_platform_driver for non modules

2015-06-30 Thread Stephen Rothwell
Hi Greg, On Tue, 30 Jun 2015 18:24:58 -0700 Greg KH wrote: > > > The following changes since commit 0f57d86787d8b1076ea8f9cba2a46d534a27: > > > > Linux 4.1-rc8 (2015-06-14 15:51:10 -1000) > > > > are available in the git repository at: > > > > git://git.kernel.org/pub/scm/linux/kernel/

Re: [PATCH/RFC 3/3] of/dynamic: Update list of aliases on aliases changes

2015-06-30 Thread Geert Uytterhoeven
Hi Grant, On Tue, Jun 30, 2015 at 7:21 PM, Grant Likely wrote: > On Tue, 30 Jun 2015 16:51:16 +0200 > , Geert Uytterhoeven > wrote: >> Currently the list of aliases is not updated when an overlay that >> modifies /aliases is added or removed. This breaks drivers (e.g. serial) >> that rely on of

[PATCH v3] hwmon: (nct7802) add temperature sensor type attribute

2015-06-30 Thread Constantine Shulyupin
From: const Sensor type: 3 diode (current mode), MD=1 4 thermistor, MD=2 Reference: Nuvoton Hardware Monitoring IC NCT7802Y 7.2.32 Mode Selection Register Location : Index 22h Signed-off-by: Constantine Shulyupin --- drivers/hwmon/nct7802.c | 72 ---

[PATCH v3 03/26] ACPICA: Hardware: Enable 64-bit firmware waking vector for selected FACS.

2015-06-30 Thread Lv Zheng
ACPICA commit 7aa598d711644ab0de5f70ad88f1e2de253115e4 The following commit is reported to have broken s2ram on some platforms: Commit: 0249ed2444d65d65fc3f3f64f398f1ad0b7e54cd ACPICA: Add option to favor 32-bit FADT addresses. The platform reports 2 FACS tables (which is not allowed by ACPI spe

[PATCH v3 07/26] ACPICA: Tables: Enable default 64-bit FADT addresses favor.

2015-06-30 Thread Lv Zheng
ACPICA commit 4da56eeae0749dfe8491285c1e1fad48f6efafd8 The following commit temporarily disables correct 64-bit FADT addresses favor during the period the root cause of the bug is not fixed: Commit: 85dbd5801f62b66e2aa7826aaefcaebead44c8a6 ACPICA: Tables: Restore old behavor to favor 32-bit FADT

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

2015-06-30 Thread Sascha Hauer
On Tue, Jun 30, 2015 at 05:07:09PM +0800, James Liao wrote: > Hi Heiko, > > 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 > > Our designer mentioned 2 things about external clocks:

[PATCH v3 04/26] ACPICA: Tables: Enable both 32-bit and 64-bit FACS.

2015-06-30 Thread Lv Zheng
ACPICA commit f7b86f35416e3d1f71c3d816ff5075ddd33ed486 The following commit is reported to have broken s2ram on some platforms: Commit: 0249ed2444d65d65fc3f3f64f398f1ad0b7e54cd ACPICA: Add option to favor 32-bit FADT addresses. The platform reports 2 FACS tables (which is not allowed by ACPI spe

[PATCH v3 17/26] ACPICA: Cleanup output for the ASL Debug object.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit d4a53a396fe5d384425251b0257f8d125bbed617 Especially for use of the Index operator. For buffers and strings, only output the actual byte pointed to by the index. For packages, only print the package element decoded by the index. Link: https://github.com/acpica/acpic

[PATCH v3 09/26] ACPICA: EFI: Add EFI interface definitions to eliminate dependency of GNU EFI.

2015-06-30 Thread Lv Zheng
ACPICA commit 5d00e67a74542d030f0a55e7a947a020ef0d9693 This patch copies EFI interface definitions to the ACPICA code base so that the EFI utility support can be ported to other EFI implementation. Known issues: 1. MS Builds of uefi_call_wrapper() The uefi_call_wrapper() in GNU EFI is implemen

[PATCH v3 15/26] ACPICA: Namespace: Change namespace override to avoid node deletion.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit c0ce529e1fbb8ec47d2522a3aa10f3ab77e16e41 There is no reference counting implemented for struct acpi_namespace_node, so it is currently not removable during runtime. This patch changes the namespace override code to keep the old struct acpi_namespace_node undeleted s

[PATCH v3 11/26] ACPICA: Utilities: Add _CLS processing

2015-06-30 Thread Lv Zheng
From: Suravee Suthikulpanit ACPICA commit 9a2b638acb3a7215209432e070c6bd0312374229 ACPI Device object often contains a _CLS object to supply PCI-defined class code for the device. This patch introduces logic to process the _CLS object. Suravee Suthikulpanit, Lv Zheng. Link: https://github.com/a

[PATCH v3 24/26] ACPICA: Update TPM2 ACPI table.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit 254bf77e7ca01cb27e026fa5737f7df8dae03f2c - Add constans for the start_method. - Remove the control structure, not part of ACPI, not defined in the current TCG spec. Link: https://github.com/acpica/acpica/commit/254bf77e Reported-by: Jarkko Sakkinen Signed-off-by:

[PATCH v3 19/26] ACPICA: acpidump: Convert the default behavior to dump from /sys/firmware/acpi/tables.

2015-06-30 Thread Lv Zheng
ACPICA commit 04c3bd7e9d6aeb2b3edebe99c90dc271ae4e6353 In order to work without any additional option to dump tables when /dev/mem doesn't exist, this patch switches the default behavior of acpidump to dump from /sys/firmware/acpi/tables. Reported by Al Stone, Fixed by Lv Zheng. Link: https://git

[PATCH v3 25/26] ACPICA: Comment update, no functional change.

2015-06-30 Thread Lv Zheng
From: gongzg ACPICA commit 1a8ec7b83d55c7b957247d685bd1c73f6a012f1e Remove redundant comment in nseval.c Link: https://github.com/acpica/acpica/commit/1a8ec7b8 Signed-off-by: gongzg Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/nseval.c |5 ++--- 1 file change

[PATCH v3 18/26] ACPICA: acpidump: Allow customized tables to be dumped without accessing /dev/mem.

2015-06-30 Thread Lv Zheng
ACPICA commit ab29013cfa2424140446aff196a70b211ab343a9 The /dev/mem can be configured out, in which case, acpidump should still work with "-c" option as tables can be found in /sys/firmware/acpi/tables. This patch allows acpidump to work without /dev/mem. This patch has been tested with "acpidump

[PATCH v3 23/26] ACPICA: Update definitions for the TCPA and TPM2 ACPI tables.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit 33140b4498666337dd33a00cf3c4797a53981a7b Changes for a new version of the 3rd party spec for these tables, the "TCG ACPI Specification", December 14, 2014. Also, moved the definition of TPM2 to actbl2.h, next to TCPA, since both should be together. Update the table

[PATCH v3 26/26] ACPICA: Update version to 20150619.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit 2fcf4f4c95e6a4875f39a929f8f92ef50cc53bb5 ACPICA commit d7a940bb308d001b5d2b196174fee36c7daa61d6 Version 20150619. Link: https://github.com/acpica/acpica/commit/2fcf4f4c Link: https://github.com/acpica/acpica/commit/d7a940bb Signed-off-by: Bob Moore Signed-off-by:

[PATCH v3 22/26] ACPICA: Split C library prototypes to new header.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit f51bf8497889a94046820639537165bbd7ccdee6 Adds acclib.h This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/f51bf849 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/accommon.h |3 +++ drivers/acpi/ac

[PATCH v3 21/26] ACPICA: De-macroize calls to standard C library functions.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit 3b1026e0bdd3c32eb6d5d313f3ba0b1fee7597b4 ACPICA commit 00f0dc83f5cfca53b27a3213ae0d7719b88c2d6b ACPICA commit 47d22a738d0e19fd241ffe4e3e9d4e198e4afc69 Across all of ACPICA. Replace C library macros such as ACPI_STRLEN with the standard names such as strlen. The orig

[PATCH v3 16/26] ACPICA: Update for acpi_install_table memory types.

2015-06-30 Thread Lv Zheng
From: Zhang Rui ACPICA commit 3f78b7fb3f98f35d62f532c1891deb748ad196c9 Physical/virtual address flags were reversed. Link: https://github.com/acpica/acpica/commit/3f78b7fb Signed-off-by: Zhang Rui Signed-off-by: Lv Zheng Signed-off-by: Bob Moore --- drivers/acpi/acpica/tbxfload.c |4 ++-

[PATCH v3 20/26] ACPI / acpidump: Update acpidump manual.

2015-06-30 Thread Lv Zheng
This patch updates acpidump manual according to the recent changes. Signed-off-by: Lv Zheng --- tools/power/acpi/man/acpidump.8 | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/power/acpi/man/acpidump.8 b/tools/power/acpi/man/acpidump.8 index 38f095d

[PATCH v3 13/26] ACPICA: Namespace: Add support to allow overriding objects.

2015-06-30 Thread Lv Zheng
ACPICA commit 6084e34e44565c6293f446c0202b5e59b055e351 This patch adds an "NamespaceOverride" flag in struct acpi_walk_state, and allows namespace objects to be overridden when this flag is set. Lv Zheng. Link: https://github.com/acpica/acpica/commit/6084e34e Signed-off-by: Lv Zheng Signed-off-

[PATCH v3 12/26] ACPICA: ACPI 6.0: Add values for MADT GIC version field.

2015-06-30 Thread Lv Zheng
From: Hanjun Guo ACPICA commit 4b100dc43e8baee8c8b4891b23bc7ad03eba6a28 Support for the new version field in the generic distributor subtable. Hanjun Guo Link: https://github.com/acpica/acpica/commit/4b100dc4 Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- in

[PATCH v3 08/26] ACPICA: MSVC6: Fix build issue for variable argument macros.

2015-06-30 Thread Lv Zheng
ACPICA commit 72f5a358f28c5d154ed613c142c7dca03192c5ee This patch intoduces generic variable macro detection support and fixes build breakage issue with macros using __VA_ARGS__ feature defined in C99. This patch fixes this build issue. Lv Zheng. This patch doesn't affect Linux kernel. Link: ht

[PATCH v3 10/26] ACPICA: Add dragon_fly support to unix file mapping file.

2015-06-30 Thread Lv Zheng
From: Sascha Wildner ACPICA commit 795b215d6fd062386f0a1c23dff9ffa244683c4f ACPICA BZ 1130 This patch doesn't affect Linux kernel. Link: https://bugs.acpica.org/show_bug.cgi?id=1130 Link: https://github.com/acpica/acpica/commit/795b215d Signed-off-by: Sascha Wildner Signed-off-by: Bob Moore

[PATCH v3 14/26] ACPICA: Namespace: Add support of OSDT table.

2015-06-30 Thread Lv Zheng
From: Bob Moore ACPICA commit 27415c82fcecf467446f66d1007a0691cc5f3709 This patch adds OSDT (Override System Definition Table) support. When OSDT is loaded, conflict namespace objects will be overridden by the AML interpreter. Bob Moore, Lv Zheng. Link: https://github.com/acpica/acpica/commit/2

[PATCH v3 06/26] ACPICA: Tables: Fix an issue that FACS initialization is performed twice.

2015-06-30 Thread Lv Zheng
ACPICA commit 90f5332a15e9d9ba83831ca700b2b9f708274658 This patch adds a new FACS initialization flag for acpi_tb_initialize(). acpi_enable_subsystem() might be invoked several times in OS bootup process, and we don't want FACS initialization to be invoked twice. Lv Zheng. Link: https://github.co

[PATCH v3 05/26] ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS.

2015-06-30 Thread Lv Zheng
ACPICA commit 368eb60778b27b6ae94d3658ddc902ca1342a963 ACPICA commit 70f62a80d65515e1285fdeeb50d94ee6f07df4bd ACPICA commit a04dbfa308a48ab0b2d10519c54a6c533c5c8949 ACPICA commit ebd544ed24c5a4faba11f265e228b7a821a729f5 The following commit is reported to have broken s2ram on some platforms: Comm

[PATCH v3 00/26] ACPICA: 20150619 Release

2015-06-30 Thread Lv Zheng
The 20150619 ACPICA kernel-resident subsystem updates are linuxized based on the linux-pm/linux-next branch. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 + default + COFNIG_ACPI=y 2. i386 + allyes + CONFIG_ACPI=y 3. i386 + default + COFNIG_A

[PATCH v3 01/26] ACPICA: Linuxize: Reduce divergences for 20150619 release.

2015-06-30 Thread Lv Zheng
This patch reduces source code differences between the Linux kernel and the ACPICA upstream so that the linuxized ACPICA 20150619 release can be applied with reduced human intervention. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/dsobject.c |2 +- drivers/acpi/acpica/hwxfsleep.c |3

[PATCH v3 02/26] ACPICA: Linuxize: Replace __FUNCTION__ with __func__.

2015-06-30 Thread Lv Zheng
ACPICA commit cb3d1c79f862cd368d749c9b8d9dced40111b0d0 __FUNCTION__ is MSVC only, in Linux, it is __func__. Lv Zheng. In ACPICA, this is achieved by string replacement in release script and this patch contains the source code difference between the Linux upstream and ACPICA that is caused by the

[RESEND PATCH] Avoid conflict with host definitions when cross-compiling

2015-06-30 Thread Pavel Fedin
Certain platforms (e. g. BSD-based ones) define some ELF constants according to host. This patch fixes problems with cross-building Linux kernel on these platforms. Signed-off-by: Pavel Fedin --- P.S. If you are not fond of mentioning Cygwin in the comment, feel free to change it to "BSD-based

Re: [PATCH V2] lib/bitmap.c: fix some parsing issues and code style

2015-06-30 Thread Frans Klaver
On Wed, Jul 1, 2015 at 8:25 AM, Pan Xinhui wrote: > hello, Frans > thanks for your reply :) > > On 2015年07月01日 14:17, Frans Klaver wrote: >> >> On Wed, Jul 1, 2015 at 6:15 AM, Pan Xinhui wrote: >>> >>> >>> In __bitmap_parselist we can accept whitespaces on head or tail >>> during every pa

[PATCH] sched: fix BUG in preempt_notifier

2015-06-30 Thread Lidong Chen
Signed-off-by: Lidong Chen --- kernel/sched/core.c | 25 - 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index b803e1b..4a5a964 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2318,15 +2318,12 @@ voi

[PATCH] powerpc/powernv: Fix race in updating core_idle_state

2015-06-30 Thread Shreyas B. Prabhu
core_idle_state is maintained for each core. It uses 0-7 bits to track whether a thread in the core has entered fastsleep or winkle. 8th bit is used as a lock bit. The lock bit is set in these 2 scenarios- - The thread is first in subcore to wakeup from sleep/winkle. - If its the last thread in t

Re: [PATCH V2] lib/bitmap.c: fix some parsing issues and code style

2015-06-30 Thread Pan Xinhui
hello, Frans thanks for your reply :) On 2015年07月01日 14:17, Frans Klaver wrote: On Wed, Jul 1, 2015 at 6:15 AM, Pan Xinhui wrote: In __bitmap_parselist we can accept whitespaces on head or tail during every parsing procedure. If input has valid ranges, there is no reason to reject the

Re: [git pull] vfs part 2

2015-06-30 Thread Al Viro
On Mon, Jun 22, 2015 at 03:02:11PM +0300, Andrey Ryabinin wrote: > On 06/22/2015 12:12 AM, Al Viro wrote: > > On Thu, Apr 23, 2015 at 01:16:15PM +0300, Andrey Ryabinin wrote: > >> This change caused following: > > > >> This could happen when p9pdu_readf() changes 'count' to some value > > >> iov_

Re: [PATCH 1/1] mem-hotplug: Handle node hole when initializing numa_meminfo.

2015-06-30 Thread Xishi Qiu
On 2015/7/1 11:16, Tang Chen wrote: > When parsing SRAT, all memory ranges are added into numa_meminfo. > In numa_init(), before entering numa_cleanup_meminfo(), all possible > memory ranges are in numa_meminfo. And numa_cleanup_meminfo() removes > all ranges over max_pfn or empty. > > But, this

Re: [PATCH v5 2/6] arch: unify ioremap prototypes and macro aliases

2015-06-30 Thread Christoph Hellwig
On Tue, Jun 30, 2015 at 03:57:16PM -0700, Dan Williams wrote: > > void __iomem *ioremap_flags(resource_size_t offset, unsigned long size, > > unsigned long prot_val, unsigned flags); > > Doesn't 'flags' imply a specific 'prot_val'? Looks like the values are arch specific.

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

2015-06-30 Thread Wangnan (F)
On 2015/7/1 13:44, Peter Zijlstra wrote: On Wed, Jul 01, 2015 at 02:57:30AM +, He Kuang wrote: This patch adds an extra perf trace buffer for other utilities like bpf to fill extra data to perf events. What!, why? The goal of this patchset is to give BPF program a mean to output someth

Re: [PATCH] mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations

2015-06-30 Thread Michal Hocko
On Tue 30-06-15 17:17:17, Michal Hocko wrote: [...] > Hi, > the issue has been reported > http://marc.info/?l=linux-kernel&m=143522730927480. > This obviously requires a patch ot make ext4_ext_grow_indepth call > sb_getblk with the GFP_NOFS mask but that one makes sense on its own > and Ted has me

Re: [PATCH V2] lib/bitmap.c: fix some parsing issues and code style

2015-06-30 Thread Frans Klaver
On Wed, Jul 1, 2015 at 6:15 AM, Pan Xinhui wrote: > > In __bitmap_parselist we can accept whitespaces on head or tail > during every parsing procedure. > If input has valid ranges, there is no reason to reject the user. > > fixes are: > 1) if input ends with ',', bit 0 might be set unexpectedly. >

Re: [PATCHv3] clk samsung exynos5420 add CLK_RECALC_NEW_RATES flag to mout_apll and mout_kpll clock.

2015-06-30 Thread Anand Moon
Hi AlL, On 8 May 2015 at 16:37, Anand Moon wrote: > Addition of CLK_RECALC_NEW_RATES flag to support Exynos5420 cpu clk so that > correct divider values are re-calculated after both pre/post > clock notifiers had run for mout_apll clock and mout_kpll clock. > > Observation their is considerable

Re: RFC: kernel coding style: prefer array to &array[0] ?

2015-06-30 Thread Julia Lawall
On Tue, 30 Jun 2015, Joe Perches wrote: > It seems most in-kernel uses are 'array' rather than '&array[0]' > > Most of the time, using array is simpler to read than &array[0]. > > Exceptions exists when addresses for consecutive members are > used like func(&array[0], &array[1]); > > Should t

Re: [RFC][PATCH 00/13] percpu rwsem -v2

2015-06-30 Thread Daniel Wagner
Hi, I did a sweep over the parameters for posix01. The parameters are number of processes and number of locks taken per process. In contrast to the other test, it looks like there is no set which ends a nice stable result (read low variance). I have tried several things including pinning down all

linux-next: Tree for Jul 1

2015-06-30 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 20150630: I fixed a supplied patch to the akpm tree. Non-merge commits (relative to Linus' tree): 1860 1686 files changed, 98175 insertions(+),

Re: [PATCH] mtd: spi-nor: Only set Micron quad-read mode when controller in 4-lane TX mode

2015-06-30 Thread Mike Looijmans
On 01-07-15 04:19, Bean Huo 霍斌斌 (beanhuo) wrote: >> drivers/mtd/spi-nor/spi-nor.c | 2 ++ >> 1 file changed, 2 insertions(+) > >> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c >> index e8f6131..10ba94f 100644 >> --- a/drivers/mtd/spi-nor/spi-nor.c >> +++ b/drivers/mtd

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

2015-06-30 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 02:57:30AM +, He Kuang wrote: > This patch adds an extra perf trace buffer for other utilities like > bpf to fill extra data to perf events. What!, why? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

2015-06-30 Thread Greg KH
On Tue, Jun 30, 2015 at 10:34:25PM -0500, Jeremy White wrote: > > > >It's pointless to post a patch that you know has problems with it (i.e. > >it's not even in proper kernel coding style), as it will never be > >reviewed or even looked at. > > Thanks for the reply, and I'm sorry for the clumsy as

Re: [PATCH] mtd: spi-nor: Only set Micron quad-read mode when controller in 4-lane TX mode

2015-06-30 Thread Mike Looijmans
On 30-06-15 17:42, Graham Moore wrote: On 06/30/2015 06:17 AM, Mike Looijmans wrote: Micron QUAD mode expects command, address and data on 4 lanes instead of just one for command (extended SPI mode). This requires the controller to be in a special mode, so check first if the controller could be

Re: [PATCH?] Livelock in pick_next_task_fair() / idle_balance()

2015-06-30 Thread Mike Galbraith
On Tue, 2015-06-30 at 16:30 +0200, Rabin Vincent wrote: > Hi, > > We're seeing a livelock where two CPUs both loop with interrupts > disabled in pick_next_task_fair() / idle_balance() and continuously > fetch all tasks from each other... Hm. Does the below help? Looks to me like we are over-bal

Re: [PATCH v2 3/4] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-30 Thread Sascha Hauer
On Wed, Jul 01, 2015 at 12:06:02PM +0800, Daniel Kurtz wrote: > Hi Leilk, > > Please see comments inline... > > On Mon, Jun 29, 2015 at 9:04 PM, Leilk Liu wrote: > > This patch adds basic spi bus for MT8173. > > > > Signed-off-by: Leilk Liu > > Signed-off-by: Eddie Huang > > --- > > drivers/s

Re: [PATCH v2 4/5] perf mem: Fill in the missing freeing a session after an error occur

2015-06-30 Thread taeung
On 07/01/2015 04:57 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Jul 01, 2015 at 12:18:45AM +0900, Taeung Song escreveu: When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed

Gjelder for virksomheten / investering lån

2015-06-30 Thread Infinity Finance
Address: 7, Unit, 4A Ford Street, Stockport, Cheshire SK3 0BT, United Kingdom. Company Registration No: 6296225 Financial Services Authority Reg NO: 602506 God dag herr / fru Vi håper at vi møttes i en sunn tilstand? Vi er Storbritannia basert lån utlåner, kan vi tilby lån for business / in

[PATCH] regmap: Use different lockdep class for each regmap init call

2015-06-30 Thread Nicolas Boichat
Lockdep validator complains about recursive locking and deadlock when two different regmap instances are called in a nested order. That happens anytime a regmap read/write call needs to access another regmap. This is because, for performance reason, lockdep groups all locks initialized by the same

[PATCH] mmc: core: Set load on vmmc and vqmmc

2015-06-30 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- This is needed to get our regulators into hpm, to give enough power to our sdhci cards to run at higher clockrates - e.g. hs200. Documentation/devicetree/bindings/mmc/mmc.txt | 2 ++ drivers/mmc/core/core.c | 6 ++ drivers/mmc/core/ho

Re: gcc feature request / RFC: extra clobbered regs

2015-06-30 Thread Jeff Law
On 06/30/2015 04:02 PM, H. Peter Anvin wrote: On 06/30/2015 02:55 PM, Andy Lutomirski wrote: On Tue, Jun 30, 2015 at 2:52 PM, H. Peter Anvin wrote: On 06/30/2015 02:48 PM, Andy Lutomirski wrote: On Tue, Jun 30, 2015 at 2:41 PM, H. Peter Anvin wrote: On 06/30/2015 02:37 PM, Jakub Jelinek wro

[PATCH V2] lib/bitmap.c: fix some parsing issues and code style

2015-06-30 Thread Pan Xinhui
In __bitmap_parselist we can accept whitespaces on head or tail during every parsing procedure. If input has valid ranges, there is no reason to reject the user. fixes are: 1) if input ends with ',', bit 0 might be set unexpectedly. now we check if any digit is available after every loop. 2) if

[PATCH] thermal: cpu_cooling: Iterate over all CPUs in clip_cpu mask to get frequency table

2015-06-30 Thread Pi-Cheng Chen
Sorry for the mistake I made when cherry-picking the patch. Fix and resend again. __cpufreq_cooling_register() might fail if some CPU other than first one in clip_cpu mask is present earlier e.g. CPU hotplug. Iterate all CPUs in the mask to handle this case. Signed-off-by: Pi-Cheng Chen --- dri

[PATCH 2/5] usb: phy: omap-otg: Replace deprecated API of extcon

2015-06-30 Thread Chanwoo Choi
This patch removes the deprecated notifier API of extcon framwork and then use the new extcon API with the unique id to indicate the each external connector (USB, USB-HOST). Alter deprecated API as following: - extcon_register_interest() -> extcon_register_notifier() - extcon_get_cable_state(*edev

[PATCH 4/5] usb: renesas_usbhs: Replace deprecated API of extcon

2015-06-30 Thread Chanwoo Choi
This patch removes the deprecated API of extcon and then use the new extcon API with the unique id to indicate the each external connector (USB-HOST). - extcon_get_cable_state(*edev, char *) -> extcon_get_cable_state_(*edev, id) Cc: Greg Kroah-Hartman Cc: Felipe Balbi Cc: Yoshihiro Shimoda Cc:

[PATCH 3/5] usb: phy: tahvo: Use devm_extcon_dev_[allocate|register]() and replace deprecated API

2015-06-30 Thread Chanwoo Choi
This patch uses the devm_extcon_dev_[allocate|register]() to manage the resource automatically and replace deprecated API as following: - extcon_[set|get]_cable_state(*edev, char *) -> extcon_[set|get]_cable_state_(*edev, id) Cc: Felipe Balbi Cc: Greg Kroah-Hartman Signed-off-by: Chanwoo Choi

[PATCH 1/5] usb: dwc3: omap: Replace deprecated API of extcon

2015-06-30 Thread Chanwoo Choi
This patch removes the deprecated notifier API of extcon framwork and then use the new extcon API with the unique id to indicate the each external connector (USB, USB-HOST). Alter deprecated API as following: - extcon_register_interest() -> extcon_register_notifier() - extcon_get_cable_state(*edev

[PATCH 5/5] usb: phy: msm-usb: Replace deprecated API of extcon

2015-06-30 Thread Chanwoo Choi
This patch removes the deprecated notifier API of extcon framwork and then use the new extcon API with the unique id to indicate the each external connector (USB, USB-HOST). Alter deprecated API as following: - extcon_register_interest() -> extcon_register_notifier() - extcon_get_cable_state(*edev

[PATCH 0/5] usb: Replace deprecated API of extcon

2015-06-30 Thread Chanwoo Choi
This patch removes the deprecated API of extcon framwork and then use the new extcon API with the unique id to indicate the each external connector. Th deprecated API with cable name as following: - int extcon_register_interest(struct extcon_specific_cable_nb *obj,

[PATCH] thermal: cpu_cooling: Iterate over all CPUs in clip_cpu mask to get frequency table

2015-06-30 Thread Pi-Cheng Chen
__cpufreq_cooling_register() might fail if some CPU other than first one in clip_cpu mask is present earlier e.g. CPU hotplug. Iterate all CPUs in the mask to handle this case. Signed-off-by: Pi-Cheng Chen --- drivers/thermal/cpu_cooling.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletio

Re: [PATCH v2 3/4] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-30 Thread Daniel Kurtz
Hi Leilk, Please see comments inline... On Mon, Jun 29, 2015 at 9:04 PM, Leilk Liu wrote: > This patch adds basic spi bus for MT8173. > > Signed-off-by: Leilk Liu > Signed-off-by: Eddie Huang > --- > drivers/spi/Kconfig | 9 + > drivers/spi/Makefile | 1 + > drivers/spi/spi-mt65x

Re: [PATCH] PM / Sleep: Use workqueue for user space wakeup sources garbage collector

2015-06-30 Thread Krzysztof Kozłowski
2015-07-01 11:48 GMT+09:00 SungEun Kim : > From: "cleaeye.kim" > > The synchronous synchronize_rcu in wakeup_source_remove makes user process > which writes to /sys/kernel/wake_unlock blocked sometimes. > > For example, when android eventhub tries to release wakelock, > this blocking process can o

[GIT] Networking

2015-06-30 Thread David Miller
1) mlx4 driver bug fixes (TX queue wakeups, csum complete indications) from Ido Shamay, Eran Ben Elisha, and Or Gerlitz. 2) Missing unlock in error path of PTP support in renesas driver, from Dan Carpenter. 3) Add Vitesse 8641 phy IDs to vitesse PHY driver, from Shaohui Xie. 4) Bnx2x driv

Re: [PATCH] PM / Sleep: Use workqueue for user space wakeup sources garbage collector

2015-06-30 Thread Krzysztof Kozlowski
2015-07-01 11:48 GMT+09:00 SungEun Kim : > From: "cleaeye.kim" > > The synchronous synchronize_rcu in wakeup_source_remove makes user process > which writes to /sys/kernel/wake_unlock blocked sometimes. > > For example, when android eventhub tries to release wakelock, > this blocking process can o

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

2015-06-30 Thread Paul E. McKenney
On Tue, Jun 30, 2015 at 05:42:14PM -0700, Josh Triplett wrote: > On Tue, Jun 30, 2015 at 05:15:58PM -0700, Paul E. McKenney wrote: > > On Tue, Jun 30, 2015 at 04:46:33PM -0700, j...@joshtriplett.org wrote: > > > On Tue, Jun 30, 2015 at 03:12:24PM -0700, Paul E. McKenney wrote: > > > > On Tue, Jun 3

Re: [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

2015-06-30 Thread Jeremy White
It's pointless to post a patch that you know has problems with it (i.e. it's not even in proper kernel coding style), as it will never be reviewed or even looked at. Thanks for the reply, and I'm sorry for the clumsy ask. I would still appreciate feedback on two points: 1. Is the basic pre

Re: [PATCH v2] hwmon: (nct7802) add temperature sensor type attribute

2015-06-30 Thread Guenter Roeck
Hi Constantine, On 06/29/2015 04:05 PM, Constantine Shulyupin wrote: From: const Sensor type: 3 diode (current mode), MD=1 4 thermistor, MD=2 Reference: Nuvoton Hardware Monitoring IC NCT7802Y 7.2.32 Mode Selection Register Location : Index 22h Signed-off-by: Constantine Shulyupin ---

Re: [PATCH V3] lib/bitmap.c: rewrite __bitmap_parse && __bitmap_parselist

2015-06-30 Thread Pan Xinhui
hi, all after a deep think, allocing a new buf is ugly. new patch "lib/bitmap.c: fix some parsing issues and code style" is sent out. any comments is welcome. :) thanks xinhui On 2015年06月30日 18:02, Pan Xinhui wrote: add __bitmap_parse_common to match any contents and return expected r

[PATCH] lib/bitmap.c: fix some parsing issues and code style

2015-06-30 Thread Pan Xinhui
In __bitmap_parselist we can accept whitespaces on head or tail during every parsing procedure. If input has valid ranges, there is no reason to reject the user. fixes: 1) if input ends with ',', bit 0 might be set unexpectedly. now we check if any digit is available after every loop. 2) if inpu

[PATCH 1/1] mem-hotplug: Handle node hole when initializing numa_meminfo.

2015-06-30 Thread Tang Chen
When parsing SRAT, all memory ranges are added into numa_meminfo. In numa_init(), before entering numa_cleanup_meminfo(), all possible memory ranges are in numa_meminfo. And numa_cleanup_meminfo() removes all ranges over max_pfn or empty. But, this only works if the nodes are continuous. Let's hav

Re: [Xen-devel] [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-06-30 Thread Jens Axboe
On 06/30/2015 08:21 AM, Marcus Granado wrote: On 13/05/15 11:29, Bob Liu wrote: On 04/28/2015 03:46 PM, Arianna Avanzini wrote: Hello Christoph, Il 28/04/2015 09:36, Christoph Hellwig ha scritto: What happened to this patchset? It was passed on to Bob Liu, who published a follow-up patchs

Re: [PATCH net-next] test_bpf: extend tests for 32-bit endianness conversion

2015-06-30 Thread Alexei Starovoitov
On 6/26/15 8:25 AM, Xi Wang wrote: Currently "ALU_END_FROM_BE 32" and "ALU_END_FROM_LE 32" do not test if the upper bits of the result are zeros (the arm64 JIT had such bugs). Extend the two tests to catch this. Cc: Alexei Starovoitov Signed-off-by: Xi Wang looks good. Please resubmit when net

[RFC PATCH 3/5] tracing/kprobe: Separate inc recursion count out of perf_trace_buf_prepare

2015-06-30 Thread He Kuang
Inside perf_trace_buf_prepare(), a recursion count is increased, the count was first introduced by commit 444a2a3bcd6d ("tracing, perf_events: Protect the buffer from recursion in perf") to protect the percpu data buffer from being overwritten. For future patch to enable eBPF saving data into perf

[RFC PATCH 5/5] tracing/kprobe: Combine extra trace buf into perf trace buf

2015-06-30 Thread He Kuang
Collect extra trace buffer data in the stage of preparing perf trace buffer. If extra perf trace buffer is valid, set invalid flag, extend the trace buffer size and append the data of extra buffer to perf trace buffer, so the combined data will be compatible to the orignal format and can be process

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

2015-06-30 Thread He Kuang
The idea to let eBPF output data to perf sample event was first metioned in "[RFC PATCH v4 10/29] bpf tools: Collect map definitions from 'maps' section", and the output data is not limited to PMU counters but data like time latencies, cache misses or other things users want to record. This patch

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

2015-06-30 Thread He Kuang
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 threads which perf is not recording. Curr

[RFC PATCH 4/5] bpf: Introduce function for outputing sample data to perf event

2015-06-30 Thread He Kuang
Add function to receive data from eBPF programs and fill that into perf extra trace buffer of the current context. In previous patch we make sure that the recursion flag protecting perf trace buffer is checked when bpf_prog is executed, so here we can safely fill the trace buffer. In order to get

[RFC PATCH 2/5] perf/trace: Add perf extra percpu trace buffer

2015-06-30 Thread He Kuang
Introduce another trace buffer besides perf_trace_buffer, so other utilities like bpf can generate and fill perf event data to it extraly and the data can be collected to the original buffer afterwards. The life cycle of this extra buffer is the same as the original one. Signed-off-by: He Kuang -

Re: [PATCH 06/36] HMM: add HMM page table v2.

2015-06-30 Thread Mark Hairgrove
On Mon, 29 Jun 2015, Jerome Glisse wrote: > [...] > > Iterator is what protect against concurrent freeing of the directory so it > has to return to caller on directory boundary (for 64bits arch with 64bits > pte it has return every 512 entries). Otherwise pt_iter_fini() would have > to walk ove

[PATCH] PM / Sleep: Use workqueue for user space wakeup sources garbage collector

2015-06-30 Thread SungEun Kim
From: "cleaeye.kim" The synchronous synchronize_rcu in wakeup_source_remove makes user process which writes to /sys/kernel/wake_unlock blocked sometimes. For example, when android eventhub tries to release wakelock, this blocking process can occur, and eventhub can't get input event for a while.

Re: [PATCH v2 1/3] ACPI : introduce macros for using the ACPI specification version

2015-06-30 Thread Hanjun Guo
On 2015/7/1 5:15, Al Stone wrote: > On 06/30/2015 02:12 PM, Rafael J. Wysocki wrote: >> Hi Al, >> >> On Fri, Jun 19, 2015 at 12:36 AM, Al Stone wrote: >>> Add the ACPI_SPEC_VERSION() macro to build a proper version number from >>> a major and minor revision number. Add also the ACPI_FADT_SPEC_VER

[RFC PATCH v10 28/50] perf tools: Auto detecting kernel include options

2015-06-30 Thread Wang Nan
To help user find correct kernel include options, this patch extracts them from kbuild system by an embedded script kinc_fetch_script, which creates a temporary directory, generates Makefile and an empty dummy.o then use the Makefile to fetch $(NOSTDINC_FLAGS), $(LINUXINCLUDE) and $(EXTRA_CFLAGS) o

[RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-06-30 Thread Wang Nan
By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf is found and neither NO_LIBELF nor NO_LIBBPF is set. The newly introduced code is similar to libapi and libtraceevent building in Makefile.perf. MANIFEST is also updated for 'make perf-*-src-pk

[RFC PATCH v10 19/50] bpf tools: Load eBPF programs in object files into kernel

2015-06-30 Thread Wang Nan
This patch utilizes previous introduced bpf_load_program to load programs in the ELF file into kernel. Result is stored in 'fd' field in 'struct bpf_program'. During loading, it allocs a log buffer and free it before return. Note that that buffer is not passed to bpf_load_program() if the first lo

[RFC PATCH v10 26/50] perf tests: Add LLVM test for eBPF on-the-fly compiling

2015-06-30 Thread Wang Nan
Previous patch introduces llvm__compile_bpf() to compile source file to eBPF object. This patch adds testcase to test it. It also test libbpf by opening generated object. Signed-off-by: Wang Nan --- tools/perf/tests/Build | 1 + tools/perf/tests/builtin-test.c | 4 ++ tools/perf/tests

[RFC PATCH v10 40/50] perf tools: Fix probe-event.h include

2015-06-30 Thread Wang Nan
Commit 7b6ff0bdbf4f7f429c2116cca92a6d171217449e ("perf probe ppc64le: Fixup function entry if using kallsyms lookup") adds 'struct map' into probe-event.h but not include "util/map.h" in it. This patch fixes it. Signed-off-by: Wang Nan --- tools/perf/util/probe-event.h | 1 + 1 file changed, 1 i

[RFC PATCH v10 29/50] perf record: Enable passing bpf object file to --event

2015-06-30 Thread Wang Nan
By introducing new rules in tools/perf/util/parse-events.[ly], this patch enables 'perf record --event bpf_file.o' to select events by an eBPF object file. It calls parse_events_load_bpf() to load that file, which uses bpf__prepare_load() and finally calls bpf_object__open() for the object files.

[RFC PATCH v10 38/50] perf record: Add clang options for compiling BPF scripts

2015-06-30 Thread Wang Nan
Although previous patch allows setting BPF compiler related options in perfconfig, on some ad-hoc situation it still requires passing options through cmdline. This patch introduces 2 options to 'perf record' for this propose: --clang-path and --clang-opt. Signed-off-by: Wang Nan --- tools/perf/b

  1   2   3   4   5   6   7   8   >