[PATCH 0/5] ATM-nicstar: Fine-tuning for three function implementations

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 09:10:01 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Use kmalloc_array() in get_scq() Improve another size determination in get_scq() Improve another

[PATCH 2/4] ATM-ZeitNet: Improve a size determination in zatm_open()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 10:07:38 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 1/4] ATM-ZeitNet: Use kmalloc_array() in start_tx()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 09:55:53 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was

Re: [PATCH] ARM: dts: omap3-gta04: reduce panel backlight PWM frequency to 83Hz

2016-09-10 Thread H. Nikolaus Schaller
Hi, > Am 10.09.2016 um 10:20 schrieb Matthijs van Duin : > > On 10 September 2016 at 09:08, H. Nikolaus Schaller > wrote: >> Reducing the PWM frequency is good by itself since it should not be >> unnecessarily >> fast and helps to make the PWM to

Re: [PATCH] x86: squash lines for simple wrapper functions

2016-09-10 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Sat, 10 Sep 2016, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > > > > > On Thu, 8 Sep 2016, Ingo Molnar wrote: > > > > * Masahiro Yamada wrote: > > > > > static unsigned long

Re: [PATCH][RFC v5] timekeeping: Ignore the bogus sleep time if pm_trace is enabled

2016-09-10 Thread Chen Yu
Hi, On Fri, Sep 09, 2016 at 04:33:59PM +0200, Thomas Gleixner wrote: > On Fri, 9 Sep 2016, Chen Yu wrote: > > > +extern void pm_trace_untaint_timekeeping(void); > > And how exactly do you untaint it? Just by clearing the flags. That makes > the RTC time magically correct again? > > > +int

[PATCH 06/30] ACPI-processor: Move a success indication in acpi_processor_preregister_performance()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 13:03:56 +0200 The local variable "retval" was initialised with a zero at the beginning as an indication for a successful function execution despite of the possibility that following function calls could fail. Move the

[PATCH] net: Remove NO_IRQ from powerpc-only network drivers

2016-09-10 Thread Michael Ellerman
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it from powerpc-only drivers. Signed-off-by: Michael Ellerman --- drivers/net/ethernet/freescale/fman/fman_mac.h | 2 +- drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | 2 +-

[PATCH 17/30] ACPI-processor: Improve another size determination in acpi_processor_get_throttling_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:19:27 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 16/30] ACPI-processor: Use kmalloc_array() in acpi_processor_get_throttling_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:15:02 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kmalloc_array". This issue was

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-10 Thread Greg KH
On Fri, Sep 09, 2016 at 10:39:32AM -0700, Todd Kjos wrote: > On Fri, Sep 9, 2016 at 8:44 AM, Greg KH wrote: > > On Fri, Sep 09, 2016 at 08:17:44AM -0700, Todd Kjos wrote: > >> From: Todd Kjos > >> > >> In Android systems, the display pipeline relies

Re: 584c5c422f6c ("x86/ioapic: Support hot-removal of IOAPICs present during boot")

2016-09-10 Thread Borislav Petkov
On Sat, Sep 10, 2016 at 08:14:04AM +0800, Rui Wang wrote: > Is it a Romley-EP ? What kind of SNB box is it? I'll try to find one > to reproduce the problem. You don't have to - I went and analyzed it for you but it is ACPI crap and I can't be bothered to think of a solution. It looks like a

[PATCH -next] drm/mediatek: Remove redundant dev_err call in mtk_drm_probe()

2016-09-10 Thread Wei Yongjun
From: Wei Yongjun There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 ++-- 1 file changed, 2

[tip:sched/core] sched/deadline: Document behavior of sched_yield()

2016-09-10 Thread tip-bot for Tommaso Cucinotta
Commit-ID: b95202a3b6bb8715a716dbdb15cdb82bf622260b Gitweb: http://git.kernel.org/tip/b95202a3b6bb8715a716dbdb15cdb82bf622260b Author: Tommaso Cucinotta AuthorDate: Fri, 9 Sep 2016 19:45:17 +0200 Committer: Ingo Molnar CommitDate: Sat, 10

[PATCH 1/7] cfag12864b: Use kmalloc_array() in cfag12864b_init()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 14:40:48 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was

Re: 584c5c422f6c ("x86/ioapic: Support hot-removal of IOAPICs present during boot")

2016-09-10 Thread Borislav Petkov
On Sat, Sep 10, 2016 at 09:11:30PM +0800, Rui Wang wrote: > Thanks for the analysis. Looks like acpi_gbl_root_node == 0. It is Is ACPI_HANDLE(root_bus->bridge) == ACPI_ROOT_OBJECT? Because this is what the code does but I can't see it from the code that the handle is of type ACPI_ROOT_OBJECT...

Re: [PATCH] fs/dcache: resched/chill only if we make no progress

2016-09-10 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Sebastian Andrzej Siewior wrote: > + if (parent == dentry) { > + /* the task with the highest priority won't schedule */ > + r = cond_resched(); > + if (!r && (rt_task(current) || dl_task(current))) That's

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Christoph Hellwig
On Fri, Sep 09, 2016 at 03:34:43PM -0700, Dan Williams wrote: > I agree with you that continuing to touch ext2 is not a good idea, but > I'm not yet convinced that now is the time to go do dax-2.0 when we > haven't finished shipping dax-1.0. I've mentioned this before, but I'd like to repeat it.

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Christoph Hellwig
The mail is basically unparsable (hint: you can use a sane mailer even with exchange servers :)). Either way we need to get rid of buffer_heads, and another aop that is entirely caller specific is unaceptable. That being said your idea doesn't sounds unreasonable, but will require a bit more

Re: [Documentation] State of CPU controller in cgroup v2

2016-09-10 Thread Mike Galbraith
On Fri, 2016-09-09 at 18:57 -0400, Tejun Heo wrote: > But, whatever, let's go there: Given the arguments that I laid out for > the no-internal-tasks rule, how does the problem seem fixable through > relaxing the constraint? Well, for one thing, cpusets would cease to leak CPUs. With the no

Company Agent Needed

2016-09-10 Thread Shougang Group
-- Shougang Group 45 Huagong Road Xinji City, Hebei Province China. webpage: www.shougang.com.cn This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group. We are only looking for individual or company

[PATCH 2/30] ACPI-processor: Improve two size determinations in acpi_processor_get_performance_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 11:11:12 +0200 Replace the specification of a data structure by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 1/30] ACPI-processor: Use kmalloc_array() in acpi_processor_get_performance_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 10:20:10 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kmalloc_array". This issue was

Re: [PATCH 1/2] ARM: dts: add rockchip PX3 board

2016-09-10 Thread Andy Yan
Hi Heiko: On 2016年09月10日 17:15, Heiko Stuebner wrote: Hi Andy, Am Samstag, 10. September 2016, 17:01:34 CEST schrieb Andy Yan: PX3 board is designed by Rockchip for automotive field, which intergrated with CVBS(TP2825)/MIPI DSI/LVDS/HDMI video input/output interface, WIFI/BT/GPS(on a module

[PATCH 09/30] ACPI-processor: Improve a size determination in acpi_processor_get_psd()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 18:48:37 +0200 Replace the specification of a data structure by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 27/30] ACPI-processor: Delete an unnecessary initialisation in acpi_processor_reevaluate_tstate()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 21:42:34 +0200 The local variable "result" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 28/30] ACPI-processor: Rename a jump label in acpi_processor_get_platform_limit()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 21:50:04 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_throttling.c | 5 ++--- 1 file changed,

[PATCH 29/30] ACPI-processor: Delete an unnecessary initialisation in acpi_processor_get_platform_limit()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 22:00:07 +0200 The local variable "status" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

Re: rcu_sched stalls in idle task introduced in pre-4.8?

2016-09-10 Thread Paul E. McKenney
On Thu, Sep 08, 2016 at 06:16:53PM -0400, Rich Felker wrote: > On Wed, Aug 03, 2016 at 09:16:31AM -0700, Paul E. McKenney wrote: > > On Tue, Aug 02, 2016 at 01:45:04PM -0700, Paul E. McKenney wrote: > > > On Tue, Aug 02, 2016 at 04:32:17PM -0400, Rich Felker wrote: > > > > On Tue, Aug 02, 2016 at

[tip:perf/core] perf/x86/intel/bts: Fix BTS PMI detection

2016-09-10 Thread tip-bot for Alexander Shishkin
Commit-ID: 4d4c474124649198d9b0a065c06f9362cf18e14e Gitweb: http://git.kernel.org/tip/4d4c474124649198d9b0a065c06f9362cf18e14e Author: Alexander Shishkin AuthorDate: Tue, 6 Sep 2016 16:23:52 +0300 Committer: Ingo Molnar CommitDate:

[tip:perf/core] perf/core: Fix a race between mmap_close() and set_output() of AUX events

2016-09-10 Thread tip-bot for Alexander Shishkin
Commit-ID: 767ae08678c2c796bcd7f582ee457aee20a28a1e Gitweb: http://git.kernel.org/tip/767ae08678c2c796bcd7f582ee457aee20a28a1e Author: Alexander Shishkin AuthorDate: Tue, 6 Sep 2016 16:23:49 +0300 Committer: Ingo Molnar CommitDate:

[tip:perf/core] perf/x86/rapl: Enable Apollo Lake RAPL support

2016-09-10 Thread tip-bot for Harry Pan
Commit-ID: 2668c6195685f4b6f281767d10b4f4f2e32c2305 Gitweb: http://git.kernel.org/tip/2668c6195685f4b6f281767d10b4f4f2e32c2305 Author: Harry Pan AuthorDate: Thu, 8 Sep 2016 17:08:57 +0800 Committer: Ingo Molnar CommitDate: Sat, 10 Sep 2016

[tip:perf/core] perf/x86/intel/bts: Fix confused ordering of PMU callbacks

2016-09-10 Thread tip-bot for Alexander Shishkin
Commit-ID: a9a94401c2b5805c71e39427b1af1bf1b9f67cd0 Gitweb: http://git.kernel.org/tip/a9a94401c2b5805c71e39427b1af1bf1b9f67cd0 Author: Alexander Shishkin AuthorDate: Tue, 6 Sep 2016 16:23:51 +0300 Committer: Ingo Molnar CommitDate:

Re: [4.8.0-rc1] am335x-evm boot failure: n_tty_receive_buf_common: "Unable to handle kernel paging request.."

2016-09-10 Thread Tony Lindgren
* Matthijs van Duin [160909 16:54]: > On 10 September 2016 at 01:47, Tony Lindgren wrote: > > Yeah. Just disable omap_l3_smx/noc driver and you should see > > a proper stack trace. With the L3 driver we're seeing the trace > > for L3 error interrupt.

[PULL REQUEST] i2c for 4.8

2016-09-10 Thread Wolfram Sang
Linus, here is a pull request from I2C. Mostly driver bugfixes, but also a few cleanups which are nice to have out of the way. Please pull. Thanks, Wolfram The following changes since commit fa8410b355251fd30341662a40ac6b22d3e38468: Linux 4.8-rc3 (2016-08-21 16:14:10 -0700) are

Re: [PATCH] Add additional Intel CPU models to crystal_khz whitelist

2016-09-10 Thread Thomas Gleixner
On Fri, 9 Sep 2016, Prarit Bhargava wrote: > In commit aa297292d708 ("x86/tsc: Enumerate SKL cpu_khz and tsc_khz via You cite a commit here, which is nice. If you look at the commit message then you will notice that _before_ the sentence describing the commit there is a prefix, which denotes the

Re: [PATCH] ARM: dts: omap3-gta04: reduce panel backlight PWM frequency to 83Hz

2016-09-10 Thread H. Nikolaus Schaller
Hi, > Am 10.09.2016 um 05:17 schrieb Matthijs van Duin : > > On Mon, Sep 05, 2016 at 11:16:38AM +0200, H. Nikolaus Schaller wrote: >> This helps to get 100% intensity closer to "always on". >> >> It compensates for an effect of dmtimer which at 100% still emits short

Re: Improper TTBCR for arm 32bit kernel decompression

2016-09-10 Thread Srinivas Ramana
On 09/09/2016 11:06 PM, Nicolas Pitre wrote: On Fri, 9 Sep 2016, Srinivas Ramana wrote: Hello, While trying to boot arm-32 bit kernel, I came across a problem where TTBCR is in improper state. If the bootloader uses the long descriptor format and jumps to kernel decompressor code, TTBCR may

[PATCH 0/4] ATM-ZeitNet: Fine-tuning for three function implementations

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 10:54:04 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use kmalloc_array() in start_tx() Improve a size determination in zatm_open() Replace one

Re: [RFC v6 01/23] clocksource: sh_cmt: compute rate before registration again

2016-09-10 Thread Thomas Gleixner
On Fri, 9 Sep 2016, Nicolai Stange wrote: > @@ -339,17 +339,14 @@ static int sh_cmt_enable(struct sh_cmt_channel *ch, > unsigned long *rate) > sh_cmt_start_stop_ch(ch, 0); > > /* configure channel, periodic mode and maximum timeout */ > - if (ch->cmt->info->width == 16) { > -

Re: [PATCH v3 1/8] sched, x86: Add SD_ASYM_PACKING flags to x86 cpu topology for ITMT

2016-09-10 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Srinivas Pandruvada wrote: > > void set_sched_topology(struct sched_domain_topology_level *tl) > { > + if (WARN_ON_ONCE(sched_smp_initialized)) > + return; > + > sched_domain_topology = tl; > } This change has nothing to do with $subject. Seperate

Re: [PATCH 7/9] selftests: Update ptp Makefile to work under selftests

2016-09-10 Thread Sergei Shtylyov
Hello. On 9/10/2016 1:22 AM, Shuah Khan wrote: Update ptp Makefile to work under selftests. ptp will not be run as part of selftests suite and will not included in install targets. They can be ^ be built separately for now. Signed-off-by: Shuah Khan

Re: [PATCH 9/9] selftests: Update vDSO Makefile to work under selftests

2016-09-10 Thread Sergei Shtylyov
On 9/10/2016 1:22 AM, Shuah Khan wrote: Update vDSO Makefile to work under selftests. vDSO will not be run as part of selftests suite and will not included in install targets. They can be ^ be built separately for now. Signed-off-by: Shuah Khan

Re: [Letux-kernel] [PATCH] ARM: dts: omap3-gta04: reduce panel backlight PWM frequency to 83Hz

2016-09-10 Thread H. Nikolaus Schaller
> Am 10.09.2016 um 09:08 schrieb H. Nikolaus Schaller : > > Hi, > >> Am 10.09.2016 um 05:17 schrieb Matthijs van Duin : >> >> On Mon, Sep 05, 2016 at 11:16:38AM +0200, H. Nikolaus Schaller wrote: >>> This helps to get 100% intensity closer to

RE: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Matthew Wilcox
From: Christoph Hellwig [mailto:h...@infradead.org] > The mail is basically unparsable (hint: you can use a sane mailer even with > exchange servers :)). That rather depends on how the Exchange servers are configured ... this isn't the appropriate place to discuss IT issues though. > Either way

[PATCH] percpu: make this_cpu_generic_read notrace

2016-09-10 Thread Chunyan Zhang
When debug preempt or preempt tracer is enabled, preempt_count_add/sub() can be traced by function and function graph tracing, and preempt_disable/enable() would call preempt_count_add/sub(), so we should use preempt_disable/enable_notrace in Ftrace subsystem. The function this_cpu_read() started

Re: [PATCH 1/2] ARM: dts: add rockchip PX3 board

2016-09-10 Thread Heiko Stuebner
Hi Andy, Am Samstag, 10. September 2016, 17:01:34 CEST schrieb Andy Yan: > PX3 board is designed by Rockchip for automotive field, > which intergrated with CVBS(TP2825)/MIPI DSI/LVDS/HDMI > video input/output interface, WIFI/BT/GPS(on a module > named S500 which based on MT6620), Gsensor BMA250E

[PATCH 00/30] ACPI-processor: Fine-tuning for several function implementations

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 9 Sep 2016 20:15:05 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (30): Use kmalloc_array() in acpi_processor_get_performance_states() Improve two size determinations

Job Offer

2016-09-10 Thread SHOUGAN GROUP CO.,LTD
-- Shougang Group Co., Ltd. 11th Floor, Huaxingge, Donghua Building, Jiangmen, GuangDong, China. www.shougang.com.cn Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group.We are

Re: [PATCH] x86: squash lines for simple wrapper functions

2016-09-10 Thread Masahiro Yamada
Hi Ingo, Thomas, Thanks for your review! 2016-09-08 15:33 GMT+09:00 Ingo Molnar : >> static unsigned int flat_get_apic_id(unsigned long x) >> { >> - unsigned int id; >> - >> - id = (((x)>>24) & 0xFFu); >> - >> - return id; >> + return ((x) >> 24) & 0xFFu; >

Re: [PATCH 1/2] ARM: dts: add rockchip PX3 board

2016-09-10 Thread Heiko Stuebner
Am Samstag, 10. September 2016, 17:37:41 CEST schrieb Andy Yan: > Hi Heiko: > > On 2016年09月10日 17:15, Heiko Stuebner wrote: > > Hi Andy, > > > > Am Samstag, 10. September 2016, 17:01:34 CEST schrieb Andy Yan: > >> PX3 board is designed by Rockchip for automotive field, > >> which intergrated

[PATCH 07/30] ACPI-processor: Rename jump labels in acpi_processor_get_psd()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 13:50:41 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_perflib.c | 13 ++--- 1 file

[PATCH] drivers/pcmcia: NO_IRQ removal for electra_cf.c

2016-09-10 Thread Michael Ellerman
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it from electra_cf.c which is a powerpc-only driver. Signed-off-by: Michael Ellerman --- drivers/pcmcia/electra_cf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 19/30] ACPI-processor: Delete two unnecessary initialisations in acpi_processor_get_throttling_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 20:00:43 +0200 The local variables "tss" and "status" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring

[PATCH 18/30] ACPI-processor: Rename jump labels in acpi_processor_get_throttling_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:26:33 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_throttling.c | 11 +-- 1 file

[PATCH 20/30] ACPI-processor: Fix jump targets in acpi_processor_get_throttling_info()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 20:32:46 +0200 1. Adjust jump targets according to the current Linux coding style convention. 2. Delete a duplicate check then at the end. 3. Omit the explicit initialisation for the local variable "result" at the

Job Offer

2016-09-10 Thread SHOUGAN GROUP CO.,LTD
-- Shougang Group Co., Ltd. 11th Floor, Huaxingge, Donghua Building, Jiangmen, GuangDong, China. www.shougang.com.cn Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group.We are

Re: drivers/gpu/drm/i915/intel_display.c:2954:11: warning: cast to pointer

2016-09-10 Thread Nick Warne
On Fri, 9 Sep 2016 13:55:45 +0200 Greg Kroah-Hartman wrote: > On Thu, Sep 08, 2016 at 04:59:53PM +0100, Nick Warne wrote: > > On Thu, 8 Sep 2016 08:29:37 +0200 > > Greg Kroah-Hartman wrote: > > > > > On Wed, Sep 07, 2016 at 05:38:52PM

[tip:perf/core] perf/core: Fix aux_mmap_count vs aux_refcount order

2016-09-10 Thread tip-bot for Alexander Shishkin
Commit-ID: b79ccadd6bb10e72cf784a298ca6dc1398eb9a24 Gitweb: http://git.kernel.org/tip/b79ccadd6bb10e72cf784a298ca6dc1398eb9a24 Author: Alexander Shishkin AuthorDate: Tue, 6 Sep 2016 16:23:50 +0300 Committer: Ingo Molnar CommitDate:

[PATCH 6/7] cfag12864b: Return an error code only as a constant in cfag12864b_init()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 15:50:25 +0200 1. Return an error code without storing it in a local variable. 2. Do not use curly brackets at one source code place where a single statement should be sufficient. 3. Delete the local variable "ret"

[PATCH 7/7] cfag12864b: Adjust two checks for null pointers in cfag12864b_init()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 16:06:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" can point information out like the following. Comparison to NULL could be written !…

Re: [PATCH v6 4/4] tracing: Histogram for delayed hrtimer offsets

2016-09-10 Thread Thomas Gleixner
On Fri, 9 Sep 2016, Mark Brown wrote: > On Thu, Sep 08, 2016 at 03:09:36PM +0530, Binoy Jayan wrote: > > On 8 September 2016 at 12:40, Thomas Gleixner wrote: > > > On Wed, 7 Sep 2016, Binoy Jayan wrote: > > > >> +#ifdef CONFIG_DELAYED_TIMER_OFFSETS_HIST > > >> + ktime_t

Re: NULL-ptr deref in kvm_arch_vcpu_ioctl under AMD CPUs

2016-09-10 Thread Paolo Bonzini
> > Hi Paolo, > > I've noticed that KVM is not actually enabled on my machines. /dev/kvm > is missing. If I mknod it manually, opens return ENODEV. > After several hours of debugging I figured that it seems to be caused by: > > commit 91fa0f8e9e2937fd9360f326ad60d51908347afd > Author: Paolo

Re: [PATCH 0/9] Move runnable code (tests) from Documentation to selftests

2016-09-10 Thread Jonathan Corbet
On Fri, 9 Sep 2016 16:22:41 -0600 Shuah Khan wrote: > Move runnable code (tests) from Documentation to selftests and update > Makefiles to work under selftests. > > Jon Corbet and I discussed this in an email thread and as per that > discussion, this patch series moves

Re: [PATCH] ARM: dts: omap3-gta04: reduce panel backlight PWM frequency to 83Hz

2016-09-10 Thread Matthijs van Duin
On 10 September 2016 at 09:08, H. Nikolaus Schaller wrote: > Reducing the PWM frequency is good by itself since it should not be > unnecessarily > fast and helps to make the PWM to "average current" translation more linear. > > The non-linear effect is that the PWM controlled

Re: [RESEND PATCH v7 1/4] phy: Add reset callback

2016-09-10 Thread Heiko Stuebner
Hi Randy, Am Samstag, 10. September 2016, 02:59:37 CEST schrieb Randy Li: > The only use for this is for solving a hardware design problem in > usb of Rockchip RK3288. > > Signed-off-by: Randy Li When sending new versions, please carry over received Reviewed- / Tested- /

[PATCH 2/2] arm64: dts: rockchip: Add PX5 board

2016-09-10 Thread Andy Yan
PX5 board is designed by Rockchip for automotive field, which intergrated with CVBS(TP2825)/MIPI DSI/CSI/LVDS HDMI video input/output interface, audio codec ES8396, WIFI/BT(on RTL8723BS), Gsensor BMA250E and light sensor STK3410. Signed-off-by: Andy Yan ---

[PATCH 03/30] ACPI-processor: Rename jump labels in acpi_processor_get_performance_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 11:27:45 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_perflib.c | 9 - 1 file changed,

[PATCH 10/30] ACPI-processor: Rename jump labels in acpi_processor_get_performance_control()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 18:50:48 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_perflib.c | 9 - 1 file changed,

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-10 Thread Cheng Chao
hi Peter, I guess you can receive the mail from me now, I have changed the mailbox to gmail. Oleg has already done much work for this patch, I am really obliged. please review this patch, thanks. on 09/10/2016 04:52 PM, Cheng Chao wrote: > For CONFIG_PREEMPT_NONE=y, when sched_exec() needs

Re: UBSAN: Undefined behaviour in arch/powerpc/kernel/cputable.c

2016-09-10 Thread Michael Ellerman
Meelis Roos writes: > Got this on my PowerPC G4 (533 MHz, PowerPC 7410, PowerMac3,4 platform), > with gcc version 5.3.1 20160509 (Debian 5.3.1-19): > > [0.00] > > [0.00] UBSAN:

Re: [PATCH 1/2] ARM: dts: add rockchip PX3 board

2016-09-10 Thread Heiko Stuebner
Am Samstag, 10. September 2016, 17:01:34 CEST schrieb Andy Yan: > PX3 board is designed by Rockchip for automotive field, > which intergrated with CVBS(TP2825)/MIPI DSI/LVDS/HDMI > video input/output interface, WIFI/BT/GPS(on a module > named S500 which based on MT6620), Gsensor BMA250E and >

[PATCH 21/30] ACPI-processor: Rename jump labels in acpi_processor_get_tsd()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 20:50:12 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_throttling.c | 13 ++--- 1 file

[PATCH 30/30] ACPI-processor: Improve jump targets in acpi_processor_update_tsd_coord()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 22:18:30 +0200 * Adjust jump targets according to the current Linux coding style convention. * Delete a duplicate check then. Signed-off-by: Markus Elfring ---

Re: [v2] musb: omap2430: do not assume balanced enable()/disable()

2016-09-10 Thread Tony Lindgren
* Andreas Kemnade [160910 04:27]: > On Fri, 9 Sep 2016 16:40:15 -0700 > Tony Lindgren wrote: > > > * Tony Lindgren [160909 14:33]: > > > * Andreas Kemnade [160909 14:22]: > > > > We have two independant things: >

Re: [PATCH v3 3/8] x86, cpu: provide a function topology_num_packages to enumerate #packages

2016-09-10 Thread Thomas Gleixner
B1;2802;0cOn Thu, 8 Sep 2016, Srinivas Pandruvada wrote: > From: Tim Chen $subject: x86, cpu: provide a function topology_num_packages to enumerate #packages - we switched to the prefix scheme 'x86/subsys'. Please use this. - this is not related to x86/cpu.

Re: [RFC/RFT][PATCH v2 3/7] PM / sleep: Make async suspend/resume of devices use device links

2016-09-10 Thread Lukas Wunner
On Thu, Sep 08, 2016 at 11:28:33PM +0200, Rafael J. Wysocki wrote: > Make the device suspend/resume part of the core system > suspend/resume code use device links to ensure that supplier > and consumer devices will be suspended and resumed in the right > order in case of async suspend/resume. > >

Re: [PATCH] ARM: dts: omap3-gta04: reduce panel backlight PWM frequency to 83Hz

2016-09-10 Thread Neil Armstrong
Le 10/09/2016 05:17, Matthijs van Duin a écrit : > On Mon, Sep 05, 2016 at 11:16:38AM +0200, H. Nikolaus Schaller wrote: >> This helps to get 100% intensity closer to "always on". >> >> It compensates for an effect of dmtimer which at 100% still emits short >> "off" impulses and the startup-time

Re: [RFC 3/4] mm, oom: do not rely on TIF_MEMDIE for exit_oom_victim

2016-09-10 Thread Tetsuo Handa
Michal Hocko wrote: > On Sun 04-09-16 10:50:02, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > mark_oom_victim and exit_oom_victim are used for oom_killer_disable > > > which should block as long as there any any oom victims alive. Up to now > > > we have relied on TIF_MEMDIE task flag to count

Re: [PATCH 3.14 00/11] 3.14.79-stable review

2016-09-10 Thread Greg Kroah-Hartman
On Fri, Sep 09, 2016 at 07:19:40PM -0700, Guenter Roeck wrote: > On 09/09/2016 08:33 AM, Greg Kroah-Hartman wrote: > > -- > > NOTE: > > This is going to be the last 3.14.y kernel release. You should have > > moved off of it by now to a more

Re: [PATCH v1 0/2] i2c: Stop i2c modules being unloaded while in use.

2016-09-10 Thread Peter Rosin
On 2016-09-07 22:05, jim_bax...@mentor.com wrote: > From: Jim Baxter > > This patchset adds a new i2c_mux_add_reparented_adapter API to the i2c > that allows owning modules to use module_get/module_put and stop the > i2c bus module being removed whilst in use. > > This

[PATCH 2/5] ATM-nicstar: Improve another size determination in get_scq()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 08:18:10 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

Re: [PATCH 3.14 00/11] 3.14.79-stable review

2016-09-10 Thread Greg Kroah-Hartman
On Fri, Sep 09, 2016 at 04:32:25PM -0600, Shuah Khan wrote: > On 09/09/2016 09:33 AM, Greg Kroah-Hartman wrote: > > -- > > NOTE: > > This is going to be the last 3.14.y kernel release. You should have > > moved off of it by now to a more

[PATCH 1/5] ATM-nicstar: Use kmalloc_array() in get_scq()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 08:02:06 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was

RE: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Matthew Wilcox
From: Christoph Hellwig [mailto:h...@infradead.org] > On Sat, Sep 10, 2016 at 07:33:18AM +, Matthew Wilcox wrote: > > > caller specific is unaceptable. That being said your idea doesn't > > > sounds unreasonable, but will require a bit more work and has no > > > real short-term need. > > > >

[PATCH 05/30] ACPI-processor: Rename jump labels in acpi_processor_preregister_performance()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 12:38:40 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_perflib.c | 16 +++- 1 file

[PATCH 04/30] ACPI-processor: Delete two unnecessary initialisations in acpi_processor_get_performance_states()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 11:48:52 +0200 The local variables "pss" and "status" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring

Re: [PATCH 00/30] ACPI-processor: Fine-tuning for several function implementations

2016-09-10 Thread Paolo Bonzini
I have nothing to do with ACPI. Please stop spamming me, or you'll end up on a kill file... Paolo - Original Message - > From: "SF Markus Elfring" > To: linux-a...@vger.kernel.org, "Len Brown" , "Rafael J. > Wysocki"

[PATCH 13/30] ACPI-processor: Delete an unnecessary initialisation in acpi_processor_ppc_notifier()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:06:18 +0200 The local variable "ppc" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH] drivers/dma: NO_IRQ removal from powerpc-only drivers

2016-09-10 Thread Michael Ellerman
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it from powerpc-only drivers. Signed-off-by: Michael Ellerman --- drivers/dma/bestcomm/bestcomm.c | 4 ++-- drivers/dma/fsl_raid.c | 2 +- drivers/dma/fsldma.c| 12 ++--

[PATCH 14/30] ACPI-processor: Delete an unnecessary initialisation in acpi_processor_get_performance_info()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:09:32 +0200 The local variable "result" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 15/30] ACPI-processor: Delete an unnecessary initialisation in acpi_processor_get_platform_limit()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:12:06 +0200 The local variable "status" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH] drivers/edac: NO_IRQ removal from powerpc-only drivers

2016-09-10 Thread Michael Ellerman
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it from powerpc-only drivers. Signed-off-by: Michael Ellerman --- drivers/edac/mpc85xx_edac.c | 6 +++--- drivers/edac/mv64x60_edac.c | 8 drivers/edac/ppc4xx_edac.c | 6 +++--- 3 files changed,

[PATCH 12/30] ACPI-processor: Rename jump labels in acpi_processor_ppc_notifier()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 6 Sep 2016 19:04:05 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/acpi/processor_perflib.c | 7 +++ 1 file changed, 3

Re: [RFC/RFT][PATCH v2 0/7] Functional dependencies between devices

2016-09-10 Thread Lukas Wunner
On Thu, Sep 08, 2016 at 11:25:44PM +0200, Rafael J. Wysocki wrote: > As discussed in the recent "On-demand device probing" thread and in a > Kernel Summit session earlier today, there is a problem with handling > cases where functional dependencies between devices are involved. > > What I mean by

[PATCH -next] drm/tilcdc: Fix non static symbol warning

2016-09-10 Thread Wei Yongjun
From: Wei Yongjun Fixes the following sparse warning: drivers/gpu/drm/tilcdc/tilcdc_drv.c:64:5: warning: symbol 'tilcdc_atomic_check' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 4

[PATCH 4/7] cfag12864b: Return directly after a failed get_zeroed_page()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 15:30:56 +0200 * Return directly after a call of the function "get_zeroed_page" failed at the beginning. * Delete the jump label "none" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring

[PATCH 3/7] cfag12864b: Return directly if the driver "ks0108" was not initialized

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 15:15:10 +0200 * Return directly if the LCD controller driver was not initialized at the beginning. * Omit an explicit variable initialisation which became unnecessary with this refactoring. Signed-off-by: Markus

[PATCH 5/7] cfag12864b: Rename jump labels in cfag12864b_init()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 15:35:02 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/auxdisplay/cfag12864b.c | 10 -- 1 file

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Christoph Hellwig
On Sat, Sep 10, 2016 at 07:33:18AM +, Matthew Wilcox wrote: > > caller specific is unaceptable. That being said your idea doesn't sounds > > unreasonable, but will require a bit more work and has no real short-term > > need. > > So your proposal is to remove buffer_heads from ext2? No, the

  1   2   3   4   5   >