Re: [RFC 1/4] mm, compaction: introduce kcompactd

2015-07-22 Thread Joonsoo Kim
Hello, On Thu, Jul 09, 2015 at 02:53:27PM -0700, David Rientjes wrote: > The slub allocator does try to allocate its high-order memory with > __GFP_WAIT before falling back to lower orders if possible. I would think > that this would be the greatest sign of on-demand memory compaction being

Re: [PATCH v5 3/7] powerpc/powernv: Nest PMU detection and device tree parser

2015-07-22 Thread Madhavan Srinivasan
On Wednesday 22 July 2015 09:19 AM, Daniel Axtens wrote: > Hi, > >> +static struct perchip_nest_info p8_nest_perchip_info[P8_NEST_MAX_CHIPS]; >> + >> +static int nest_ima_dt_parser(void) >> +{ >> +const __be32 *gcid; >> +const __be64 *chip_ima_reg; >> +const __be64 *chip_ima_size; >>

Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache is disabled

2015-07-22 Thread Paolo Bonzini
On 15/07/2015 21:25, Xiao Guangrong wrote: > From: Xiao Guangrong > > Current firmware depends on WB to fast boot, please refer to > https://lkml.org/lkml/2015/7/12/115 > > Let's us WB if CR0.CD is set to make this kind of firmware happy > > This quirk can be dropped by using

Re: [PATCH V2] cpufreq: Fix double addition of sysfs links

2015-07-22 Thread Viresh Kumar
On 22-07-15, 14:15, Russell King - ARM Linux wrote: > > + /* sysfs links are only created on subsys callback */ > > + if (sif && policy) { > > + pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu); > > dev_dbg() ? Hmm, right. > > + ret = sysfs_create_link(>kobj,

Re: Why linux console designed to work in polling mode?

2015-07-22 Thread Alexander
Hi Peter, I always know the oops enter point(?). Why i can't just switch to old mode (per char busyloop) in this case and do things like in old console unlock? Actually, i suspect that there might be some reliability problems with this deferred stuff, but, actually, i can't come up with a test

[PATCH v2 0/2] Add Mediatek watchdog suspend resume and shutdown

2015-07-22 Thread Eddie Huang
This series add Mediatek watchdog suspend, resume and shutdown support. These patches are based on v4.2-rc1 Change in v2: Use watchdog_active() to check whether watchdog been active. Change to register suspend,resume function to dev_pm_ops Greta Zhang (2): watchdog: add wdt suspend/resume

[PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

2015-07-22 Thread Eddie Huang
From: Greta Zhang Without .shutdown(), watchdog might reset the system during power off. For example, if watchdog's timeout is set to 30s, then it is reset to zero by mtk_wdt_ping(). During power off, no app will ping watchdog, but watchdog is still running and may trigger reset. Signed-off-by:

[PATCH v2 1/2] watchdog: add wdt suspend/resume support

2015-07-22 Thread Eddie Huang
From: Greta Zhang add wdt driver suspend/resume support Signed-off-by: Greta Zhang Signed-off-by: Roger Lu Signed-off-by: Eddie Huang --- drivers/watchdog/mtk_wdt.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/watchdog/mtk_wdt.c

Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs

2015-07-22 Thread Jiri Kosina
On Thu, 23 Jul 2015, Vlastimil Babka wrote: > On 07/22/2015 08:55 PM, Jiri Kosina wrote: > > On Wed, 22 Jul 2015, Vlastimil Babka wrote: > > > > [ ... snip ... ] > >> The mouse has 3 green leds and one red to indicate battery status, but I > >> think > >> they operate autonomously. > > > >

Re: [PATCH 1/2] mm, page_isolation: remove bogus tests for isolated pages

2015-07-22 Thread Naoya Horiguchi
On Tue, Jul 21, 2015 at 02:53:37PM +0200, Vlastimil Babka wrote: > The __test_page_isolated_in_pageblock() is used to verify whether all pages > in pageblock were either successfully isolated, or are hwpoisoned. Two of the > possible state of pages, that are tested, are however bogus and

[PATCH] mm, page_isolation: make set/unset_migratetype_isolate() file-local

2015-07-22 Thread Naoya Horiguchi
Nowaday, set/unset_migratetype_isolate() is defined and used only in mm/page_isolation, so let's limit the scope within the file. Signed-off-by: Naoya Horiguchi --- include/linux/page-isolation.h | 5 - mm/page_isolation.c| 5 +++-- 2 files changed, 3 insertions(+), 7

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Vlastimil Babka
On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: > Devices may declare more LEDs than what is known to input-leds > (HID does this for some devices). Instead of showing ugly warnings > on connect and, even worse, oopsing on disconnect, let's simply > ignore LEDs that are not known to us. > >

Re: [RFC PATCH 00/10] redesign compaction algorithm

2015-07-22 Thread Joonsoo Kim
On Tue, Jul 21, 2015 at 11:27:54AM +0200, Vlastimil Babka wrote: > On 07/08/2015 10:24 AM, Joonsoo Kim wrote: > >On Fri, Jun 26, 2015 at 11:22:41AM +0100, Mel Gorman wrote: > >>On Fri, Jun 26, 2015 at 11:07:47AM +0900, Joonsoo Kim wrote: > >> > >>The whole reason we avoid migrating to unmovable

Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs

2015-07-22 Thread Vlastimil Babka
On 07/22/2015 08:55 PM, Jiri Kosina wrote: > On Wed, 22 Jul 2015, Vlastimil Babka wrote: > > [ ... snip ... ] >> The mouse has 3 green leds and one red to indicate battery status, but I >> think >> they operate autonomously. > > It's possible that the mouse is presenting them in the report

Re: [PATCH 2/2] mm: rename and move get/set_freepage_migratetype

2015-07-22 Thread Joonsoo Kim
On Wed, Jul 22, 2015 at 02:29:08PM +0200, Vlastimil Babka wrote: > On 07/21/2015 02:53 PM, Vlastimil Babka wrote: > > The pair of get/set_freepage_migratetype() functions are used to cache > > pageblock migratetype for a page put on a pcplist, so that it does not have > > to be retrieved again

Re: [PATCH 1/2] mm, page_isolation: remove bogus tests for isolated pages

2015-07-22 Thread Joonsoo Kim
On Tue, Jul 21, 2015 at 02:53:37PM +0200, Vlastimil Babka wrote: > The __test_page_isolated_in_pageblock() is used to verify whether all pages > in pageblock were either successfully isolated, or are hwpoisoned. Two of the > possible state of pages, that are tested, are however bogus and

Re: [PATCH 2/2] mm/page_owner: set correct gfp_mask on page_owner

2015-07-22 Thread Joonsoo Kim
Hello, all. On Mon, Jul 20, 2015 at 08:54:13PM +0900, Minchan Kim wrote: > On Mon, Jul 20, 2015 at 01:27:55PM +0200, Vlastimil Babka wrote: > > On 07/16/2015 02:06 AM, Minchan Kim wrote: > > >On Wed, Jul 15, 2015 at 03:33:59PM +0900, Joonsoo Kim wrote: > > >>@@ -2003,7 +2005,7 @@ int

Re: [PATCH] ARM: dts: Add STM32429i-EVAL board support

2015-07-22 Thread Maxime Coquelin
Hi Olof, 2015-07-23 1:42 GMT+02:00 Olof Johansson : > Hi, > > On Sun, Jul 12, 2015 at 2:39 AM, Maxime Coquelin > wrote: > >> +/ { >> + model = "STMicroelectronics STM32429i-EVAL board"; >> + compatible = "st,stm32429i-eval", "st,stm32f429"; >> + >> + chosen { >> +

Re: [PATCH 0/7] Initial support for user namespace owned mounts

2015-07-22 Thread Seth Forshee
On Wed, Jul 22, 2015 at 07:15:19PM -0500, Eric W. Biederman wrote: > Casey Schaufler writes: > > > On 7/22/2015 12:32 PM, Seth Forshee wrote: > >> On Wed, Jul 22, 2015 at 11:10:46AM -0700, Casey Schaufler wrote: > >>> On 7/22/2015 8:56 AM, Seth Forshee wrote: > On Tue, Jul 21, 2015 at

Re: [PATCH] cpupower: Do not change the frequency of offline cpu

2015-07-22 Thread Gautham R Shenoy
Hi Shilpa, This looks good. Reviewed-by: Gautham R. Shenoy On Wed, Jul 22, 2015 at 01:50:49PM +0530, Shilpasri G Bhat wrote: > Check if the cpu is online before changing the frequency/governor of > the cpu. > > Signed-off-by: Shilpasri G Bhat > --- >

Re: [RFC PATCH] block: xfs: dm thin: train XFS to give up on retrying IO if thinp is out of space

2015-07-22 Thread Dave Chinner
On Wed, Jul 22, 2015 at 11:28:06AM -0500, Eric Sandeen wrote: > On 7/22/15 8:34 AM, Mike Snitzer wrote: > > On Tue, Jul 21 2015 at 10:37pm -0400, > > Dave Chinner wrote: > >> On Tue, Jul 21, 2015 at 09:40:29PM -0400, Mike Snitzer wrote: > >>> I'm open to considering alternative interfaces for

[PATCH] ARM: dts: Use stdout-path in STM32F429 Discovery board

2015-07-22 Thread Maxime Coquelin
This patch replaces use of linux,stdout-path by stdout-path as per "chosen" DT bindings documentation. Doing that, the "console" argument is no more needed in kernel command line. Reported-by: Olof Johansson Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stm32f429-disco.dts | 4 ++-- 1

Re: [PATCH 2/4] mfd: devicetree: bindings: Add clock subdevice node information

2015-07-22 Thread Krzysztof Kozlowski
2015-07-21 20:07 GMT+09:00 Vaibhav Hiremath : > This patch updates the binding documentation for optional > clocks node and related information for buffered 32KHz clock. > > Signed-off-by: Vaibhav Hiremath > --- > Documentation/devicetree/bindings/mfd/88pm800.txt | 28 > +++

Re: [PATCH 1/2] mm/page_owner: fix possible access violation

2015-07-22 Thread Joonsoo Kim
On Thu, Jul 16, 2015 at 08:53:35AM +0900, Minchan Kim wrote: > On Wed, Jul 15, 2015 at 03:33:58PM +0900, Joonsoo Kim wrote: > > When I tested my new patches, I found that page pointer which is used > > for setting page_owner information is changed. This is because page > > pointer is used to set

[PATCH 1/4] ACPI / sysfs: Add ACPI_LV_REPAIR debug level.

2015-07-22 Thread Lv Zheng
This patch updates debug_level file, adding ACPI_LV_REPAIR. Signed-off-by: Lv Zheng --- drivers/acpi/sysfs.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c index 0876d77b..7ab6ba4 100644 --- a/drivers/acpi/sysfs.c +++ b/drivers/acpi/sysfs.c @@

[PATCH 3/4] ACPI / Documentation: Update method tracing documentation.

2015-07-22 Thread Lv Zheng
This patch updates method tracing documentation. Signed-off-by: Lv Zheng --- Documentation/acpi/method-tracing.txt | 53 - 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/Documentation/acpi/method-tracing.txt

[PATCH 4/4] ACPI / sysfs: Add support to allow leading "\" missing in trace_method_name.

2015-07-22 Thread Lv Zheng
Since _SB.PCI0 can be used as relative path from root and can be easily converted into internal trace_method_name format, we allow users to specify trace_method_name using relative paths from root. Note this is useful for grub2 for which users failed to pass "\" from the grub configuration file.

[PATCH 2/4] ACPI / sysfs: Update method tracing facility.

2015-07-22 Thread Lv Zheng
This patch updates the method tracing facility as the acpi_debug_trace() API has been updated to allow it to trace AML interpreter execution, the meanings and the usages of the API parameters are changed due to the updates. The new API: 1. Uses ACPI_TRACE_ENABLED flag to indicate the enabling of

[PATCH 0/4] ACPI: Update method tracing facility.

2015-07-22 Thread Lv Zheng
This patch updates method tracing facility according to ACPICA 20150717 release changes. Lv Zheng (4): ACPI / sysfs: Add ACPI_LV_REPAIR debug level. ACPI / sysfs: Update method tracing facility. ACPI / Documentation: Update method tracing documentation. ACPI / sysfs: Add support to allow

Re: [PATCH] usb: ulpi: call put_device if device_register fails

2015-07-22 Thread Felipe Balbi
Hi, On Wed, Jul 22, 2015 at 08:14:46PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jul 22, 2015 at 09:04:40PM -0500, Felipe Balbi wrote: > > On Wed, Jul 22, 2015 at 02:39:34PM -0700, Greg Kroah-Hartman wrote: > > > On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote: > > > > On Fri,

[PATCH 01/22] ACPICA: Parser: Reduce parser/namespace divergences for tracer support.

2015-07-22 Thread Lv Zheng
This patch reduces divergences in parser/namespace components so that the follow-up linuxized ACPICA upstream commits can be directly merged. Including the fix to an indent issue reported and fixed by Zhouyi Zhou. Signed-off-by: Lv Zheng Signed-off-by: Zhouyi Zhou ---

Re: [PATCH 4/4] mfd: 88pm800: Add support for clk subdevice

2015-07-22 Thread Krzysztof Kozlowski
2015-07-21 20:07 GMT+09:00 Vaibhav Hiremath : > This patch adds mfd_cell/clk-subdevice for 88PM800 MFD > (and family of devices). > > Signed-off-by: Vaibhav Hiremath > --- > drivers/mfd/88pm800.c | 25 + > 1 file changed, 25 insertions(+) > Looks OK: Reviewed-by:

[PATCH 04/22] ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments.

2015-07-22 Thread Lv Zheng
ACPICA commit afb52611dbe7403551f93504d3798534f5c343f4 This patch cleans up the code of assigning the AML address to the union acpi_operand_object. The idea behind this cleanup is: The AML address of the union acpi_operand_object should always be determined at the point where the object is

[PATCH 10/22] ACPICA: Executer: Add OSL trace hook support.

2015-07-22 Thread Lv Zheng
ACPICA commit e8e4a9b19d0b72a7b165398bdc961fc2f6f502ec This patch adds OSL trace hook support. OSPMs are encouraged to use acpi_os_trace_point() with ACPI_USE_SYSTEM_TRACER defined to implement platform specific trace facility. Lv Zheng. Link: https://github.com/acpica/acpica/commit/e8e4a9b1

[PATCH 07/22] ACPICA: Dispatcher: Move stack traversal code to dispatcher.

2015-07-22 Thread Lv Zheng
ACPICA commit c8275e243b58fd4adfc0362bd704af41ed14bc75 This patch moves parts of acpi_dm_dump_method_info() to the dispatcher component. This patch also makes the new function dependent on ACPI_DEBUG_OUTPUT compile-stage definition so that it can be used by the trace facility.

[PATCH 14/22] ACPICA: iASL: Add new warnings for method local_x and arg_x variables.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit eb9f8cb9fd65f1149dd335d05944c31cbca41af3 1) Warn if a Local is set but never used 2) Warn if a arg_x is never used (for non-predefined method names) 3) Warn if a arg_x that is used as a local is never used This patch only affects iASL which is not in the kernel

[PATCH 13/22] ACPICA: Remove extraneous check for null walk_state.

2015-07-22 Thread Lv Zheng
From: Markus Elfring ACPICA commit f9fd6e8bad0f16ce2b436c5cda36ced0c2d85302 Reported by Markus Elfring. Link: https://github.com/acpica/acpica/commit/f9fd6e8b Signed-off-by: Markus Elfring Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/dsmethod.c |4 +--- 1

[PATCH 20/22] ACPICA: Debugger: Move debugger specific APIs to debugger component.

2015-07-22 Thread Lv Zheng
ACPICA commit 2164923d60429eea7cd5a4a8629b607af7325afa Some disassembler APIs should rather be debugger APIs. This patch moves them to the debugger folder to be ready for debugger porting. Since there is no in-kernel ACPICA debugger in the kernel source tree, this patch doesn't affect the Linux

[PATCH 11/22] ACPICA: Executer: Add option to bypass opcode tracing.

2015-07-22 Thread Lv Zheng
ACPICA commit 61e9e20aadfaa03184d0959fbdc1fa5cdfea2551 This patch adds option to bypass opcode tracing. The option can be used to reduce the trace message output. Lv Zheng. Link: https://github.com/acpica/acpica/commit/61e9e20a Signed-off-by: Lv Zheng Signed-off-by: Bob Moore ---

[PATCH 19/22] ACPICA: Debugger: Reduce structure size for debugger.

2015-07-22 Thread Lv Zheng
ACPICA commit 310e0ae1c4730f4dadc80125125099ab76851499 arg_types in struct acpi_db_method_info is only referenced by ACPI_DEBUGGER. This patch only affects ACPICA debugger which is only used by a non-kernel tool - acpiexec, so Linux kernel is currently not affected by this patch. Link:

[PATCH 22/22] ACPICA: Update version to 20150717.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit 8580ce04c1b7aa415c364b06e79edb8aca77dded Version 20150717. Link: https://github.com/acpica/acpica/commit/8580ce04 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 17/22] ACPICA: Cleanup use of NEGATIVE and POSITIVE defines.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit f88814201e01043a4f8caa69a69b799af11c44a3 These were defined in two places. Changed to ACPI_SIGN* names and define them once in acmacros.h This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/f8881420 Signed-off-by: Bob Moore

[PATCH 18/22] ACPICA: iASL: Add support for TCPA Server Table.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit 55fa9555c71eaa99daebed4cd82cfde3875e8c45 In addition to the existing support for the client table. Link: https://github.com/acpica/acpica/commit/55fa9555 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl2.h | 17 + 1 file

[PATCH 21/22] ACPICA: iASL/Disassembler: Add prototype verbose mode.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit add72dca18ab5d02f1bf9b08027570e58da520e8 This mode will emit AML byte code after each ASL statement. This is a prototype only and requires additional development. This patch only affects ACPICA disassembler which is not in the kernel source tree. Link:

[PATCH 09/22] ACPICA: Executer: Add interpreter tracing mode for method tracing facility.

2015-07-22 Thread Lv Zheng
ACPICA commit 07fffd02607685b655ed92ee15c160e6a810b60b The acpi_debug_trace() is the mechanism known as ACPI method tracing that is used by Linux as ACPICA debugging message reducer. This facility can be controlled through Linux ACPI subsystem - /sys/module/acpi/parameters. This facility requires

[PATCH 15/22] ACPICA: MSVC: Fix inclusion order issue of .

2015-07-22 Thread Lv Zheng
ACPICA commit 49c6a6517a906900e9baa51ad5859beeb8a3089f The following error logs can be seen for calloc/free/malloc/realloc that defined in the stdlib.h: ...\stdlib.h(281) : error C2059: syntax error : ',' ...\stdlib.h(281) : error C2143: syntax error : missing ')' before 'constant'

[PATCH 16/22] ACPICA: Cleanup use of all non-ANSI local C library functions.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit 7c490c28a18b435c543c6b410e7e7c2131fccc78 ACPICA implements all non-ANSI functions locally. However, there are sometimes two or more versions of the same function throughout the ACPICA code. This change fixes this. Adds a new file, utilities/utnonansi.c Link:

[PATCH 08/22] ACPICA: Dispatcher: Add trace support for interpreter.

2015-07-22 Thread Lv Zheng
ACPICA commit 71299ec8b49054daace0df50268e8e055654ca37 This patch adds trace point at the following point: 1. Begin/end of a control method execution; 2. Begin/end of an opcode execution. The trace point feature can be enabled by defining ACPI_DEBUG_OUTPUT and specifying a debug level that

[PATCH 12/22] ACPICA: Parser: Remove redundant opcode execution debugging output.

2015-07-22 Thread Lv Zheng
ACPICA commit c832b0a9263c560b3ae3ae31d7298ef33988f8d5 This patch removes one redundant debugging output of opcode execution which has already been covered by acpi_ex_start_trace_opcode(). Lv Zheng. Link: https://github.com/acpica/acpica/commit/c832b0a9 Signed-off-by: Lv Zheng Signed-off-by:

[PATCH 06/22] ACPICA: Namespace: Add function to directly return normalized full path.

2015-07-22 Thread Lv Zheng
ACPICA commit 6e0229bb156d71675f2e07dc7960adb7ec0a60ea This patch adds functions to return normalized full path instead of "external path". The external path contains trailing "_" for each name segment while the normalized full path doesn't contain the trailing "_". Currently this function is

[PATCH 05/22] ACPICA: Executer: Add back pointing reference of method operand.

2015-07-22 Thread Lv Zheng
ACPICA commit 9dcd124e914e87495fbd1786d9484b962e0823e0 This patch adds back pointing reference of the namespace node for a method operand. The namespace node then can be used in acpi_ds_terminate_control_method() to obtain method full path to be used by tracing facilities. Lv Zheng. Link:

[PATCH 02/22] ACPICA: Parser: Cleanup aml_offset in struct acpi_walk_state.

2015-07-22 Thread Lv Zheng
ACPICA commit d254405814495058276c0c2f9d96794d15a6c91c This patch converts aml_offset in struct acpi_walk_state to AML address. AML offset is actually only used by the debugger, using AML address is more direct and efficient during the parsing stage so that we don't need to calculate it during

[PATCH 03/22] ACPICA: Parser: Cleanup aml_offset in union acpi_operand_object.

2015-07-22 Thread Lv Zheng
ACPICA commit 61b360074fde2bb8282722579410f5d1fb12f84d This patch converts aml_offset in union acpi_operand_object to AML address. AML offset is actually only used by the debugger, using AML address is more direct and efficient during the parsing stage so that we don't need to calculate the

[PATCH 00/22] ACPICA: 20150717 Release

2015-07-22 Thread Lv Zheng
The 20150717 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 +

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-22 Thread Krzysztof Kozlowski
2015-07-22 1:23 GMT+09:00 Vaibhav Hiremath : > 88PM860 device supports dual phase mode on BUCK1 output. > In normal usecase, BUCK1A and BUCK1B operates independently with 3A > capacity. And they both can work as a dual phase providing 6A capacity. > > This patch updates the regulator driver to

Re: [PATCH 1/2] watchdog: add wdt suspend/resume support

2015-07-22 Thread Eddie Huang
On Tue, 2015-07-21 at 20:45 -0700, Guenter Roeck wrote: > On 07/21/2015 08:26 PM, Eddie Huang wrote: > > From: Greta Zhang > > > > add wdt driver suspend/resume support > > > > Signed-off-by: Greta Zhang > > Signed-off-by: Roger Lu > > Signed-off-by: Eddie Huang > > --- > >

Re: [PATCH 0/5] Make cpuid <-> nodeid mapping persistent.

2015-07-22 Thread Tang Chen
On 07/16/2015 06:13 AM, Tejun Heo wrote: Hello, On Tue, Jul 07, 2015 at 05:30:20PM +0800, Tang Chen wrote: [Solution] To fix this problem, we establish cpuid <-> nodeid mapping for all the possible cpus at boot time, and make it invariable. And according to init_cpu_to_node(), cpuid <->

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Greg KH
On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote: > On 07/23/2015 01:46 AM, Greg KH wrote: > >On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: > >>Add the definition of pvUSB protocol used between the pvUSB frontend in > >>a Xen domU and the pvUSB backend in a Xen driver

Re: [char-misc-next 01/15 V2] mei: bus: fix drivers and devices names confusion

2015-07-22 Thread Greg KH
On Mon, Jun 15, 2015 at 09:56:41PM +0300, Tomas Winkler wrote: > In the mei bus layer there is use of different variables > of driver and device types with no clear naming convention. > There are generic struct device and struct driver, > then mei_cl_{device, driver}, and finally mei_device which

Re: [PATCH 091/102] staging: rtl8192e: Rename IPSLeave

2015-07-22 Thread Greg KH
On Sun, Jul 19, 2015 at 07:47:21PM +0200, Mateusz Kulikowski wrote: > On 19.07.2015 19:33, Mateusz Kulikowski wrote: > > Use naming schema found in other rtlwifi devices. > > Rename IPSLeave to rtl92e_ips_leave. > > > > Signed-off-by: Mateusz Kulikowski > > --- > [...] > > Oops, I've broke the

Re: [PATCH v9 0/7] FPGA Manager Framework and Simple FPGA Bus

2015-07-22 Thread Greg KH
On Fri, Jul 17, 2015 at 10:51:10AM -0500, at...@opensource.altera.com wrote: > From: Alan Tull > > This patchset adds two chunks plus documentation: > * fpga manager core: exports ABI functions that write an image to a FPGA > * DT Overlay support: simple-fpga-bus to handle FPGA from a DT

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Juergen Gross
On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu

Re: [PATCH 1/5] drivers: staging: rtl8192u: fixing coding style issues in r8192U_core.c

2015-07-22 Thread Greg KH
On Fri, Jul 17, 2015 at 03:59:16PM +0200, Joseph-Eugene Winzer wrote: > Fixing several coding style issues, like > C99 Comment Style > Trailing whitespaces > Inconsistent spacing of operators > Started to reformat comments/expressions for 80 character limit These are multiple

Re: [PATCH] livepatch: Fix the issue to make livepatch enable/disable patch correctly

2015-07-22 Thread Minfei Huang
On 07/22/15 at 09:40am, Josh Poimboeuf wrote: > On Wed, Jul 15, 2015 at 04:55:06PM +0800, Minfei Huang wrote: > > From: Minfei Huang > > > > Livepatch will obey the stacking rule to enable/disable the patch. It > > only allows to enable the patch, when it is the fist disabled patch, > > disable

Re: [PATCH 1/2] staging: sm750fb: ddk750_power.c: Remove optionnal parentheses.

2015-07-22 Thread Greg KH
On Fri, Jul 17, 2015 at 03:04:33PM +0200, Antoine BLIN wrote: > Fix up "return is not a function, parentheses are not required" error found by > the checkpatch.pl script. > > Signed-off-by: Antoine BLIN > --- > drivers/staging/sm750fb/ddk750_power.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] powerpc/corenet: use the mixed mode of MPIC when enabling CPU hotplug

2015-07-22 Thread Chenhui Zhao
Core reset may cause issue if using the proxy mode of MPIC. Use the mixed mode of MPIC if enabling CPU hotplug. Signed-off-by: Chenhui Zhao --- arch/powerpc/platforms/85xx/corenet_generic.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c

[PATCH v3 1/2] dt-bindings: regulator: mt6311: Add document for mt6311 regulator

2015-07-22 Thread Henry Chen
This patch adds a list of supported regulator names to the devicetree binding documentation for Mediatek MT6311 PMIC. Signed-off-by: Henry Chen --- .../bindings/regulator/mt6311-regulator.txt| 35 ++ 1 file changed, 35 insertions(+) create mode 100644

[PATCH v3 2/2] regulator: mt6311: Add support for mt6311 regulator

2015-07-22 Thread Henry Chen
Add regulator support for mt6311. It has 2 regulaotrs - Buck and LDO, provide the related buck/ldo voltage data to the driver, and creates the regulator_desc table. Supported operations for Buck are enabled/disabled and voltage change, only enabled/disabled for LDO. Signed-off-by: Henry Chen ---

[PATCH v3] regulator: mt6311: Add support for MT6311 regulator

2015-07-22 Thread Henry Chen
This patch set adds support for the MediaTek PMIC mt6311 regulator driver, which adds mt6311 related buck/ldo voltage data to the driver, and creates the regulator_desc table. Changes in v3: - Removed the struct mt6311 since the members of mt6311 were not be necessary. Changes in v2: -

Re: [PATCH] usb: ulpi: call put_device if device_register fails

2015-07-22 Thread Greg Kroah-Hartman
On Wed, Jul 22, 2015 at 09:04:40PM -0500, Felipe Balbi wrote: > On Wed, Jul 22, 2015 at 02:39:34PM -0700, Greg Kroah-Hartman wrote: > > On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote: > > > On Fri, Jun 19, 2015 at 01:12:36AM +0800, ChengYi He wrote: > > > > put_device is required

RE: [PATCH V3 3/7] Drivers: hv: vmbus: add APIs to send/recv hvsock packet and get the r/w-ability

2015-07-22 Thread Dexuan Cui
> From: Dan Carpenter > Sent: Wednesday, July 22, 2015 18:36 > To: Dexuan Cui > On Wed, Jul 22, 2015 at 10:09:10AM +, Dexuan Cui wrote: > > > I'd suggest you do something like > > > > > > if (ret == -EAGIAIN) > > > return 0; > > > else if (ret) > > > return ret; > > > >

[lkp] [of] 0166dc11be9:

2015-07-22 Thread kernel test robot
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 0166dc11be911213e0b1b764488c671be4c48cf3 ("of: make CONFIG_OF user selectable") The following new message in kernel log may make end user confusing: [ 13.474989] Failed to

[lkp] [usb] 4696b8874d7:

2015-07-22 Thread kernel test robot
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git fixes commit 4696b8874d7de39850931888bc9f2aa12d29fb46 ("usb: ulpi: ulpi_init should be executed in subsys_initcall") The following new message in kernel log may make end user confusing, [

Re: [PATCH] extcon: Drop owner assignment from i2c_driver

2015-07-22 Thread Chanwoo Choi
On 07/10/2015 02:50 PM, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > > --- > > The coccinelle script which generated the patch was sent here: >

Re: [PATCH v2 4/5] bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter

2015-07-22 Thread xiakaixu
于 2015/7/23 10:22, Alexei Starovoitov 写道: > On 7/22/15 7:12 PM, xiakaixu wrote: >> So you mean like this? >> >> u64 bpf_perf_event_read(u64 r1, u64 index,...) >> { >>struct bpf_perf_event_array *array = (void *) (long) r1; >>struct perf_event *event; >>... >>event =

[PATCH 3.13.y-ckt 009/132] [media] s5h1420: fix a buffer overflow when checking userspace params

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 12f4543f5d6811f864e6c4952eb27253c7466c02 upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows

[PATCH 3.13.y-ckt 007/132] sctp: Fix race between OOTB responce and route removal

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin [ Upstream commit 29c4afc4e98f4dc0ea9df22c631841f9c220b944 ] There is NULL pointer dereference possible during statistics update if the route used for OOTB

[PATCH 3.13.y-ckt 008/132] sparc: Use GFP_ATOMIC in ldc_alloc_exp_dring() as it can be called in softirq context

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Sowmini Varadhan [ Upstream commit 0edfad5959df7379c9e554fbe8ba264ae232d321 ] Since it is possible for vnet_event_napi to end up doing vnet_control_pkt_engine -> ... ->

[PATCH 3.13.y-ckt 005/132] packet: avoid out of bounds read in round robin fanout

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 468479e6043c84f5a65299cc07cb08a22a28c2b1 ] PACKET_FANOUT_LB computes f->rr_cur such that it is modulo f->num_members. It returns the old value

[PATCH 3.13.y-ckt 011/132] [media] af9013: Don't accept invalid bandwidth

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit d7b76c91f471413de9ded837bddeca2164786571 upstream. If userspace sends an invalid bandwidth, it should either return EINVAL or switch to auto mode.

[PATCH 3.13.y-ckt 012/132] [media] cx24117: fix a buffer overflow when checking userspace params

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 82e3b88b679049f043fe9b03991d6d66fc0a43c8 upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows

[PATCH 3.13.y-ckt 010/132] [media] cx24116: fix a buffer overflow when checking userspace params

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 1fa2337a315a2448c5434f41e00d56b01a22283c upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows

[PATCH 3.13.y-ckt 014/132] mtd: fix: avoid race condition when accessing mtd->usecount

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 073db4a51ee43ccb827f54a4261c0583b028d5ab upstream. On A MIPS 32-cores machine a BUG_ON was triggered because some acesses to mtd->usecount were done without

[PATCH 3.13.y-ckt 015/132] leds / PM: fix hibernation on arm when gpio-led used with CPU led trigger

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko commit 084609bf727981c7a2e6e69aefe0052c9d793300 upstream. Setting a dev_pm_ops suspend/resume pair of callbacks but not a set of hibernation callbacks means those

[PATCH 3.13.y-ckt 004/132] packet: read num_members once in packet_rcv_fanout()

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit f98f4514d07871da7a113dd9e3e330743fd70ae4 ] We need to tell compiler it must not read f->num_members multiple times. Otherwise testing if num is not

[PATCH 3.13.y-ckt 006/132] tcp: Do not call tcp_fastopen_reset_cipher from interrupt context

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch [ Upstream commit dfea2aa654243f70dc53b8648d0bbdeec55a7df1 ] tcp_fastopen_reset_cipher really cannot be called from interrupt context. It allocates the

[PATCH 3.13.y-ckt 019/132] ASoC: wm8903: Fix define for WM8903_VMID_RES_250K

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit ebb6ad73e645b8f2d098dd3c41d2ff0da4146a02 upstream. VMID Control 0 BIT[2:1] is VMID Divider Enable and Select 00 = VMID disabled (for OFF mode) 01 = 2 x 50kΩ

[PATCH 3.13.y-ckt 013/132] spi: fix race freeing dummy_tx/rx before it is unmapped

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Sperl commit 8e76ef88f607174082023f50b87fe12dcdbe5db5 upstream. Fix a race (with some kernel configurations) where a queued master->pump_messages runs and frees dummy_tx/rx

[PATCH 3.13.y-ckt 001/132] net: don't wait for order-3 page allocation

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li [ Upstream commit fb05e7a89f500cfc06ae277bdc911b281928995d ] We saw excessive direct memory compaction triggered by skb_page_frag_refill. This causes performance issues

[PATCH 3.13.y-ckt 016/132] crypto: talitos - avoid memleak in talitos_alg_alloc()

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Horia Geant? commit 5fa7dadc898567ce14d6d6d427e7bd8ce6eb5d39 upstream. Fixes: 1d11911a8c57 ("crypto: talitos - fix warning: 'alg' may be used uninitialized in this function")

[PATCH 3.13.y-ckt 020/132] mnt: Refactor the logic for mounting sysfs and proc in a user namespace

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 1b852bceb0d111e510d1a15826ecc4a19358d512 upstream. Fresh mounts of proc and sysfs are a very special case that works very much like a bind mount.

[PATCH 3.13.y-ckt 021/132] ASoC: wm8955: Fix setting wrong register for WM8955_K_8_0_MASK bits

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 12c350050538c7dc779c083b7342bfd20f74949c upstream. WM8955_K_8_0_MASK bits is controlled by WM8955_PLL_CONTROL_3 rather than WM8955_PLL_CONTROL_2. Signed-off-by:

[PATCH 3.13.y-ckt 003/132] bridge: fix br_stp_set_bridge_priority race conditions

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov [ Upstream commit 2dab80a8b486f0a69daca6859519e05781d9 ] After the ->set() spinlocks were removed br_stp_set_bridge_priority was left running without any

[PATCH 3.13.y-ckt 024/132] KVM: mips: use id_to_memslot correctly

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 69a1220060c1523fd0515216eaa29e22f133b894 upstream. The argument to KVM_GET_DIRTY_LOG is a memslot id; it may not match the position in the memslots array,

[PATCH 3.13.y-ckt 025/132] drm/radeon: take the mode_config mutex when dealing with hpds (v2)

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 39fa10f7e21574a70cecf1fed0f9b36535aa68a0 upstream. Since we are messing with state in the worker. v2: drop the changes in the mst worker Signed-off-by: Alex

[PATCH 3.13.y-ckt 026/132] rcu: Correctly handle non-empty Tiny RCU callback list with none ready

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" commit 6e91f8cb138625be96070b778d9ba71ce520ea7e upstream. If, at the time __rcu_process_callbacks() is invoked, there are callbacks in Tiny RCU's callback list,

[PATCH 3.13.y-ckt 002/132] sctp: fix ASCONF list handling

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 2d45a02d0166caf2627fe91897c6ffc3b19514c4 ] ->auto_asconf_splist is per namespace and mangled by functions like

[PATCH 3.13.y-ckt 027/132] ASoC: arizona: Fix noise generator gain TLV

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Fitzgerald commit 15575ed544910464715df5c45a44b9732e415b93 upstream. The Arizona codec drivers had an incorrect dB scaling for the noise generator gain that started at 0dB

[PATCH 3.13.y-ckt 022/132] scsi_transport_srp: Introduce srp_wait_for_queuecommand()

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit be34c62ddf39d1931780b07a6f4241393e4ba2ee upstream. Introduce the helper function srp_wait_for_queuecommand(). Move the definition of

[PATCH 3.13.y-ckt 028/132] staging: rtl8712: prevent buffer overrun in recvbuf2recvframe

2015-07-22 Thread Kamal Mostafa
3.13.11-ckt24 -stable review patch. If anyone has any objections, please let me know. -- From: Haggai Eran commit cab462140f8a183e3cca0b51c8b59ef715cb6148 upstream. With an RTL8191SU USB adaptor, sometimes the hints for a fragmented packet are set, but the packet length is

  1   2   3   4   5   6   7   8   9   10   >