[PATCH 10/32] ver_linux: wrap up call to 'fsck.jfs -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'fsck.jfs -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 75

[PATCH 16/32] ver_linux: wrap up call to 'quota -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'quota -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index cdcd2

[PATCH 08/32] ver_linux: wrap up call to 'depmod -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'depmod -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index d8a6

[PATCH 31/32] ver_linux: 'version()' function definition

2016-06-28 Thread Alexander Kapshuk
Definition of the 'version()' function. The function encapsulates the algorithm that extracts the version number of the utility being queried, and returns it as a value. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 11 +++ 1 file changed, 11 insertions(+) diff --git a/script

[PATCH 03/32] ver_linux: execute 'uname -a' from awk

2016-06-28 Thread Alexander Kapshuk
Execute 'uname -a' using the awk system() function. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 2f1d494..c509f09 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux @

[PATCH 27/32] ver_linux: wrap up call to 'expr --v' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'expr --v', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index b8030

[PATCH 04/32] ver_linux: wrap up call to 'gcc -dumpversion' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'gcc -dumpversion', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux inde

[PATCH 02/32] ver_linux: assign the usage message to a variable and print it

2016-06-28 Thread Alexander Kapshuk
This patch assigns the usage message to a 'usage' variable and prints it. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 30ecc6c..2f1d494 100755 --- a/scripts/ver_linux

Re: [PATCH v4 6/6] regulator: tps65218: Remove all the compatibles

2016-06-28 Thread Keerthy
On Tuesday 28 June 2016 02:52 PM, Keerthy wrote: Remove all the individual compatibles for all the regulators and introduce id_table and update the driver accordingly to parse device tree nodes using the regulator framework. Mark, I just now pulled the linux-next and some conflicts arise due t

[PATCH 30/32] ver_linux: build a list of kernel modules as a string and print it

2016-06-28 Thread Alexander Kapshuk
Reimplement the code that generates an alphabetically sorted list of kernel modules in awk and print the name of this entry and the list of modules via a function call. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(

[PATCH 07/32] ver_linux: wrap up call to 'mount --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'mount --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux in

[PATCH 05/32] ver_linux: wrap up call to 'make --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'make --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index

[PATCH 32/32] ver_linux: 'printversion()' function definition

2016-06-28 Thread Alexander Kapshuk
Definition of the 'printversion()' function. The function tests whether the variable that contains the version number is empty, and prints the name of the utility and its version number as a formatted string, if the version number is not an empty value. Signed-off-by: Alexander Kapshuk --- scrip

[PATCH 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-06-28 Thread Guodong Xu
From: Jorge Ramirez-Ortiz Early at boot, during the sys_clk initialization, make sure UART1 uses the higher frequency clock. This enables support for higher baud rates (up to 3Mbps) required to support faster bluetooth transfers. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Guodong Xu --

[PATCH 1/2] clk: hi6220: Change syspll and media_syspll clk to 1.19GHz

2016-06-28 Thread Guodong Xu
From: Xinliang Liu In the bootloader of HiKey/96boards, syspll and media_syspll clk was initialized to 1.19GHz. So, here changes it in kernel accordingly. 1.19GHz was chosen over 1.2GHz because at 1.19GHz we get more precise HDMI pixel clock (1.19G/16 = 74.4MHz) for 1280x720p@60Hz HDMI (74.25MHz

[PATCH 03/92] clocksource/drivers/samsung_pwm_timer: Fix endian accessors

2016-06-28 Thread Daniel Lezcano
From: Matthew Leach Fix the Samsung pwm timer access code to deal with kernels built for big endian operation. Signed-off-by: Matthew Leach Signed-off-by: Daniel Lezcano Reviewed-by: Krzysztof Kozlowski --- drivers/clocksource/samsung_pwm_timer.c | 16 1 file changed, 8 inse

[PATCH 01/92] clocksource/drivers/armada-370-xp: Make syscore_ops static

2016-06-28 Thread Daniel Lezcano
From: Ben Dooks The driver does not export armada_370_xp_timer_syscore_ops so make it static to fix the following warning: drivers/clocksource/time-armada-370-xp.c:249:20: warning: symbol 'armada_370_xp_timer_syscore_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-

Re: [PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-06-28 Thread Caesar Wang
On 2016年06月28日 12:53, Douglas Anderson wrote: The original commit adding support for continuous voltage mode didn't handle the regulator ramp delay properly. It treated the delay as a fixed delay in uS despite the property being defined as uV / uS. Let's adjust it. Luckily there appear to be

[PATCH 14/92] clocksource/drivers/mtk_timer: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting the init

[PATCH 04/92] clocksource/drivers/samsung_pwm: Fix typo in Kconfig

2016-06-28 Thread Daniel Lezcano
From: Alexandre Belloni Correct the typo in "driver" word in the option description. Signed-off-by: Alexandre Belloni Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clockso

[PATCH 05/92] dt-bindings: Document rk3399 rk-timer bindings

2016-06-28 Thread Daniel Lezcano
From: Huang Tao Add a compatible string for rk3399 SoC because the timer is slightly different from the older SoCs. So rename the file name from rockchip,rk3288-timer.txt to rockchip,rk-timer.txt and clarify rockchip,rk3288-timer supported SoCs. Signed-off-by: Huang Tao Cc: Rob Herring Cc: Dan

[PATCH 11/92] of: Add a new macro to declare_of for one parameter function returning a value

2016-06-28 Thread Daniel Lezcano
The macro OF_DECLARE_1 expect a void (*func)(struct device_node *) while the OF_DECLARE_2 expect a int (*func)(struct device_node *, struct device_node *). The second one allows to pass an init function returning a value, which make possible to call the functions in the table and check the return

[PATCH 56/92] clocksource/drivers/sp804: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 15/92] clocksource/drivers/exynos_mct: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting the init

[PATCH 63/92] clocksource/drivers/vt8500: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 58/92] clocksource/drivers/sun5i: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 61/92] clocksource/drivers/versatile: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 16/92] clocksource/drivers/asm9260: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting the init

[PATCH 73/92] clk: Add missing clk_get_sys() stub

2016-06-28 Thread Daniel Lezcano
When compiling with the COMPILE_TEST option set, the clps711x does not compile because of the clk_get_sys() noop stub missing. Signed-off-by: Daniel Lezcano Reviewed-by: Michael Turquette --- include/linux/clk.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/clk.h b/inclu

[PATCH 72/92] clocksources: Switch back to the clksrc table

2016-06-28 Thread Daniel Lezcano
All the clocksource drivers's init function are now converted to return an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the clksrc-of table. Let's convert back the names: - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE - clksrc-of-ret => clksrc-of Signed-o

[PATCH 71/92] clocksource/drivers/oxnas-rps: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 74/92] clocksource/drivers/bcm_kona: Remove useless header

2016-06-28 Thread Daniel Lezcano
The driver includes the header but it is pointless. Remove it. Signed-off-by: Daniel Lezcano --- drivers/clocksource/bcm_kona_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/bcm_kona_timer.c b/drivers/clocksource/bcm_kona_timer.c index 86f87be3d..7e3fd37 100644

[PATCH 70/92] clocksource/drivers/arc: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 67/92] clocksource/drivers/nios2: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 62/92] clocksource/drivers/vf_pit_timer: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 75/92] clocksource/drivers/bcm2835: Add the COMPILE_TEST option

2016-06-28 Thread Daniel Lezcano
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_BCM2835_TIMER and is selected by the platform. Then the clocksource's Kconfig is changed to make this option selectable by the user if the COMPILE_TEST option is set. Otherwise, it is up to

[PATCH 69/92] clocksource/drivers/nps: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 65/92] clocksource/drivers/microblaze: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 66/92] clocksource/drivers/ralink: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 60/92] clocksource/drivers/u300: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 59/92] clocksource/drivers/ti-32k: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 68/92] clocksource/drivers/smp_twd: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 64/92] clocksource/drivers/zevio: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 55/92] clocksource/drivers/keystone: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 53/92] clocksource/drivers/imx-gpt: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 57/92] clocksource/drivers/stm32: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 51/92] clocksource/drivers/atmel-st: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 50/92] clocksource/drivers/atmel-pit: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 49/92] clocksource/drivers/atlas7: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 1/6] soc/tegra: pmc: Ensure powergate is available when powering on

2016-06-28 Thread Jon Hunter
The function tegra_power_sequence_power_up() is a public function used to power on a partition. When this function is called, we do not check to see if the partition being powered up is valid/available. Fix this by checking to see that the partition is valid/available. Signed-off-by: Jon Hunter -

Re: [PATCH 0/6] soc/tegra: Various PMC fixes

2016-06-28 Thread Jon Hunter
On 28/06/16 11:38, Jon Hunter wrote: > A few fixes for the Tegra PMC driver. > > Jon Hunter (6): > soc/tegra: pmc: Ensure powergate is available when powering on > soc/tegra: pmc: Fix early initialisation of PMC > soc/tegra: pmc: Don't populate soc data until register space is mapped > so

[PATCH] wlcore/wl18xx: mesh: added initial mesh support for wl8

2016-06-28 Thread Yaniv Machani
From: Maital Hahn 1. Added support for interface and role of mesh type. 2. Enabled enable/start of mesh-point role, and opening and closing a connection with a mesh peer. 3. Added multirole combination of mesh and ap under the same limits of dual ap mode. 4. Add support for 'sta_rc_update'

[PATCH 5/6] soc/tegra: pmc: Add missing of_node_put

2016-06-28 Thread Jon Hunter
Add missing of_node_put() in PMC early initialisation function. Signed-off-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index 483d54623ec5..e62acaef140a 100644 --- a/drivers/soc/tegra/pmc.c +++

Re: [PATCH] mm, vmscan: set shrinker to the left page count

2016-06-28 Thread Chen Feng
Thanks for you reply. On 2016/6/28 0:57, Vladimir Davydov wrote: > On Mon, Jun 27, 2016 at 07:02:15PM +0800, Chen Feng wrote: >> In my platform, there can be cache a lot of memory in >> ion page pool. When shrink memory the nr_to_scan to ion >> is always to little. >> to_scan: 395 ion_pool_cached

[PATCH 52/92] clocksource/drivers/prima2: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 48/92] clocksource/drivers/pistachio: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 47/92] clocksource/drivers/orion: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 54/92] clocksource/drivers/integrator-ap: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 30/92] clocksource/drivers/h8300_timer8: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 45/92] clocksource/drivers/time-efm32: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error and let the caller unaware of the state of the system. Change that by converting the init functions to return an error conforming to the CLOCKSOURCE_OF_RET prototype. Proper error handling (rollback, errno value) will be changed later case by case, thus

[PATCH 20/92] clocksource/drivers/clps711x: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 46/92] clocksource/drivers/time-lpc32xx: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 3/6] soc/tegra: pmc: Don't populate soc data until register space is mapped

2016-06-28 Thread Jon Hunter
The public functions exported by the PMC driver use the presence of the soc data pointer to determine if the PMC device is configured and the registers can be accessed. However, the soc data is populated before the PMC register space is mapped and this opens a window where the soc data pointer is v

[PATCH 6/6] soc/tegra: pmc: Don't probe pmc if early initialisation fails

2016-06-28 Thread Jon Hunter
Commit 0259f522e04f ('soc/tegra: pmc: Restore base address on probe failure') fixes an issue where the PMC base address pointer is not restored on probe failure. However, this fix creates another problem where if early initialisation of the PMC driver fails and an initial mapping for the PMC addres

[PATCH 4/6] soc/tegra: pmc: Ensure mutex is always initialised

2016-06-28 Thread Jon Hunter
The mutex used by the PMC driver may not be initialised if early initialisation of the driver fails. If this does happen, then it could be possible for callers of the public PMC functions to still attempt to acquire the mutex. Fix this by initialising the mutex as soon as possible to ensure it will

[PATCH v2 3/4] locking/osq: Drop the overload of osq_lock()

2016-06-28 Thread Pan Xinhui
An over-committed guest with more vCPUs than pCPUs has a heavy overload in osq_lock(). This is because vCPU A hold the osq lock and yield out, vCPU B wait per_cpu node->locked to be set. IOW, vCPU B wait vCPU A to run and unlock the osq lock. Kernel has an interface bool vcpu_is_preempted(int cpu

[PATCH v2 1/4] kernel/sched: introduce vcpu preempted check interface

2016-06-28 Thread Pan Xinhui
This patch support to fix lock holder preemption issue. For kernel users, we could use bool vcpu_is_preempted(int cpu) to detech if one vcpu is preempted or not. The default implementation is a macro defined by false. So compiler can wrap it out if arch dose not support such vcpu pteempted check.

[PATCH v2 2/4] powerpc/spinlock: support vcpu preempted check

2016-06-28 Thread Pan Xinhui
This is to fix some lock holder preemption issues. Some other locks implementation do a spin loop before acquiring the lock itself. Currently kernel has an interface of bool vcpu_is_preempted(int cpu). It take the cpu as parameter and return true if the cpu is preempted. Then kernel can break the s

[PATCH v2 0/4] implement vcpu preempted check

2016-06-28 Thread Pan Xinhui
change fomr v1: a simplier definition of default vcpu_is_preempted skip mahcine type check on ppc, and add config. remove dedicated macro. add one patch to drop overload of rwsem_spin_on_owner and mutex_spin_on_owner. add more comments thanks boqun and Pete

[PATCH v2 4/4] kernel/locking: Drop the overload of {mutex,rwsem}_spin_on_owner

2016-06-28 Thread Pan Xinhui
An over-committed guest with more vCPUs than pCPUs has a heavy overload in the two spin_on_owner. This blames on the lock holder preemption issue. Kernel has an interface bool vcpu_is_preempted(int cpu) to see if a vCPU is currently running or not. So break the spin loops on true condition. test-

[PATCH 0/6] soc/tegra: Various PMC fixes

2016-06-28 Thread Jon Hunter
A few fixes for the Tegra PMC driver. Jon Hunter (6): soc/tegra: pmc: Ensure powergate is available when powering on soc/tegra: pmc: Fix early initialisation of PMC soc/tegra: pmc: Don't populate soc data until register space is mapped soc/tegra: pmc: Ensure mutex is always initialised s

[PATCH 2/6] soc/tegra: pmc: Fix early initialisation of PMC

2016-06-28 Thread Jon Hunter
During early initialisation, the available power partitions for a given device is configured as well as the polarity of the PMC interrupt. Both of which should only be configured if there is a valid device node for the PMC device. This is because the soc data used for configuring the power partitio

Re: [PATCH 5/6] soc/tegra: pmc: Add missing of_node_put

2016-06-28 Thread Jon Hunter
On 28/06/16 11:38, Jon Hunter wrote: > Add missing of_node_put() in PMC early initialisation function. > > Signed-off-by: Jon Hunter > --- > drivers/soc/tegra/pmc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c > index 483d54623ec5

[PATCH 44/92] clocksource/drivers/time-armada-370-xp: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 25/92] clocksource/drivers/clksrc-dbx500: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 23/92] clocksource/drivers/bcm2835_timer: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting the init

[PATCH 43/92] clocksource/drivers/tegra20: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting the

[PATCH 41/92] clocksource/drivers/sun4i: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 37/92] clocksource/drivers/nomadik-mtu: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 26/92] clocksource/drivers/fsl_ftm_timer: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 21/92] clocksource/drivers/digicolor: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH v5 6/6] regulator: tps65218: Remove all the compatibles

2016-06-28 Thread Keerthy
Remove all the individual compatibles for all the regulators and introduce id_table and update the driver accordingly to parse device tree nodes using the regulator framework. Acked-by: Mark Brown Signed-off-by: Keerthy --- Changes in v6: * Rebased to latest linux-next. * Added dynamic allo

[PATCH 42/92] clocksource/drivers/tango_xtal: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and leave the caller unaware of the state of the system Change that by converting

Re: [PATCH] nl80211: improve nl80211_parse_mesh_config type checking

2016-06-28 Thread Johannes Berg
On Wed, 2016-06-15 at 22:29 +0200, Arnd Bergmann wrote: > When building a kernel with W=1, the nl80211.c file causes a number > of > warnings, all about the same problem: > > net/wireless/nl80211.c: In function 'nl80211_parse_mesh_config': > net/wireless/nl80211.c:5287:103: error: comparison is al

[PATCH 40/92] clocksource/drivers/samsung_pwm: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 24/92] clocksource/drivers/bcm_kona: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 39/92] clocksource/drivers/qcom: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 38/92] clocksource/drivers/pxa: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 28/92] clocksource/drivers/arm_global_timer: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support

2016-06-28 Thread Will Deacon
Hi Jan, On Wed, Mar 09, 2016 at 05:21:02PM +0100, Jan Glauber wrote: > This patch series provides access to various counters on the ThunderX SOC. > > For details of the uncore implementation see patch #1. > > Patches #2-5 add the various ThunderX specific PMUs. > > As suggested I've put the fil

[PATCH 31/92] clocksource/drivers/h8300_tpu: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

RE: [PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-06-28 Thread Dexuan Cui
> From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, June 28, 2016 17:34 > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; vkuzn...@redha

[PATCH 29/92] clocksource/drivers/h8300_timer16: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 27/92] clocksource/drivers/arm_arch_timer: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t

[PATCH 77/92] clocksource/drivers/bcm_kona: Add the COMPILE_TEST option

2016-06-28 Thread Daniel Lezcano
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_BCM_KONA_TIMER and is selected by the platform. Then the clocksource's Kconfig is changed to make this option selectable by the user if the COMPILE_TEST option is set. Otherwise, it is up to

[PATCH 81/92] clocksource/drivers/mxs: Remove useless header

2016-06-28 Thread Daniel Lezcano
The driver includes the header but it is pointless. Remove it. Signed-off-by: Daniel Lezcano --- drivers/clocksource/mxs_timer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clocksource/mxs_timer.c b/drivers/clocksource/mxs_timer.c index 630a8d3..0ba0a91 100644 --- a/drivers/cl

[PATCH 76/92] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option

2016-06-28 Thread Daniel Lezcano
In order to increase the compilation test coverage, add the COMPILE_TEST so the driver can be compiled even if it does not belong to the platform or the architecture. The io.h header inclusion is also added as it the driver does not compile on UM platform. Signed-off-by: Daniel Lezcano --- driv

[PATCH 79/92] clocksource/drivers/atlas7: Add the COMPILE_TEST option

2016-06-28 Thread Daniel Lezcano
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_ATLAS7_TIMER and is selected by the platform. Then the clocksource's Kconfig is changed to make this option selectable by the user if the COMPILE_TEST option is set. Otherwise, it is up to t

[PATCH 88/92] clocksource/drivers/integrator-ap: Add the COMPILE_TEST option

2016-06-28 Thread Daniel Lezcano
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_INTEGRATOR_AP_TIMER and is selected by the platform. Then the clocksource's Kconfig is changed to make this option selectable by the user if the COMPILE_TEST option is set. Otherwise, it is

[PATCH 85/92] clocksource/drivers/u300: Add the COMPILE_TEST option

2016-06-28 Thread Daniel Lezcano
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_U300_TIMER and is selected by the platform. Then the clocksource's Kconfig is changed to make this option selectable by the user if the COMPILE_TEST option is set. Otherwise, it is up to the

<    1   2   3   4   5   6   7   8   9   10   >