Re: [PATCH] platform:x86 decouple telemetry driver from the optional IPC resources

2016-04-10 Thread Darren Hart
On Mon, Apr 11, 2016 at 04:04:55AM +, Chakravarty, Souvik K wrote: > > > > -Original Message- > > From: Zha, Qipeng > > Sent: Monday, April 11, 2016 7:34 AM > > To: Darren Hart ; Aubrey Li > > ; Chakravarty, Souvik K > > > > Cc: platform-driver-...@vger.kernel.org; linux-kernel@vger.

Re: [PATCH] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-10 Thread Lothar Waßmann
Hi, On Sat, 9 Apr 2016 14:43:49 -0300 Sergio Prado wrote: > Embest MarS Board [1] is a multi-core platform based on Freescale i.MX6 > Cortex-A9 Dual Core, running up to 1GHz with 1 GB of RAM, 4GB of eMMC > and with a 4MB SPI flash. > > [1] http://www.embest-tech.com/shop/star/marsboard.html > >

Re: [Xen-devel] [PATCH v5 14/14] x86/paravirt: remove paravirt_enabled()

2016-04-10 Thread Juergen Gross
On 09/04/16 01:40, Luis R. Rodriguez wrote: > That that paravirt_enabled() is replaced with proper > x86 semantics we can remove it. > > Signed-off-by: Luis R. Rodriguez > --- > arch/x86/include/asm/paravirt.h | 5 - > arch/x86/include/asm/paravirt_types.h | 1 - > arch/x86/include/asm

Re: [Xen-devel] [PATCH v5 04/14] x86/rtc: replace paravirt rtc check with platform legacy quirk

2016-04-10 Thread Juergen Gross
On 09/04/16 01:40, Luis R. Rodriguez wrote: > We have 4 types of x86 platforms that disable RTC: > > * Intel MID > * Lguest - uses paravirt > * Xen dom-U - uses paravirt > * x86 on legacy systems annotated with an ACPI legacy flag > > We can consolidate all of these into a platform specif

Re: [PATCH] proc: meminfo: Replace kB with KiB in output

2016-04-10 Thread Michal Hocko
On Mon 11-04-16 08:35:00, Alexandru Juncu wrote: > On 11 April 2016 at 08:12, Michal Hocko wrote: > > On Sun 10-04-16 17:23:11, Alexandru Juncu wrote: > >> Current values are based on multiples of 1024 (powers of 2) > >> which means that the values in meminfo are not kilobytes > >> (1000 bytes) bu

[PATCH 1/2] vmscan: consider classzone_idx in compaction_ready

2016-04-10 Thread Michal Hocko
From: Michal Hocko while playing with the oom detection rework [1] I have noticed that my heavy order-9 (hugetlb) load close to OOM ended up in an endless loop where the reclaim hasn't made any progress but did_some_progress didn't reflect that and compaction_suitable was backing off because no z

[PATCH 0/2] oom detection rework followups

2016-04-10 Thread Michal Hocko
Hi, while playing with hugetlb test case described in [1] on a swapless system I managed to get my machine in an endless look inside the allocator. At first I found out the reclaim vs. compaction interaction doesn't work quite well. See patch2 for more details but it still bothered me why did_some_

[PATCH 2/2] mm, oom, compaction: prevent from should_compact_retry looping for ever for costly orders

2016-04-10 Thread Michal Hocko
From: Michal Hocko "mm: consider compaction feedback also for costly allocation" has removed the upper bound for the reclaim/compaction retries based on the number of reclaimed pages for costly orders. While this is desirable the patch did miss a mis interaction between reclaim, compaction and th

Re: [PATCH 4.5 000/238] 4.5.1-stable review

2016-04-10 Thread Guenter Roeck
On 04/10/2016 11:32 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.5.1 release. There are 238 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH] proc: meminfo: Replace kB with KiB in output

2016-04-10 Thread Alexandru Juncu
On 11 April 2016 at 08:12, Michal Hocko wrote: > On Sun 10-04-16 17:23:11, Alexandru Juncu wrote: >> Current values are based on multiples of 1024 (powers of 2) >> which means that the values in meminfo are not kilobytes >> (1000 bytes) but kibibytes (1024 bytes). The correct >> prefix for that wo

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes

2016-04-10 Thread Edjunior Barbosa Machado
On 04/07/2016 06:49 PM, Michael Ellerman wrote: > > > On 7 April 2016 7:23:46 pm AEST, Laurent Dufour > wrote: >> On 16/02/2016 09:59, Anshuman Khandual wrote: >>> This patch series adds twelve new ELF core note sections which can >>> be used with existing ptrace request PTRACE_GETREGSET-SE

[PATCH net v2] net: sched: do not requeue a NULL skb

2016-04-10 Thread Lars Persson
A failure in validate_xmit_skb_list() triggered an unconditional call to dev_requeue_skb with skb=NULL. This slowly grows the queue discipline's qlen count until all traffic through the queue stops. By introducing a NULL check in dev_requeue_skb it was also necessary to make the __netif_schedule c

[PATCH 4/4] sched/fair: Implement flat hierarchical structure for util_avg

2016-04-10 Thread Yuyang Du
The utilization part of the sched averages follows task group's hierarchy, but the utils of all group entities and all cfs_rqs except the top cfs_rq are needless to update and are never used. And more importantly, the top cfs_rq's util will not reflect migration of a group task. So this patch prop

Re: [RFC][PATCH] MAINTAINERS: Add Android Ion as a separate entry

2016-04-10 Thread Dan Carpenter
No one objects to this. Resend it, but without the RFC in the subject. Greg has a no RFC rule, probably he has to edit the subject. regards, dan carpenter

[PATCH 1/4] sched/fair: Optimize sum computation with a lookup table

2016-04-10 Thread Yuyang Du
__compute_runnable_contrib() uses a loop to compute sum, whereas a table loopup can do it faster in a constant time. The following python script can be used to generate the constants: print " #: yN_inv yN_sum" print "---" y = (0.5)**(1/32.0) x = 2**32 xx = 1024 for i in

[PATCH 0/4] Optimize sched avg computation and implement flat util hierarchy

2016-04-10 Thread Yuyang Du
This patch series takes an effort to implement a flat util hierarchy, in order to reflect group task's migration immediately. Simply doing so may increase overhead in computing sched averages, or lose accuracy if only updating util of root cfs_rq. So, to not add overhead or to even reduce it, we

[PATCH 3/4] sched/fair: Modify accumulated sums for load/util averages

2016-04-10 Thread Yuyang Du
After we dropped the incomplete period, the current period should be a complete "past" period, since all period boundaries, in the past or in the future, are predetermined. With incomplete current period: ||||| ---* ^ ^

[PATCH 2/4] sched/fair: Drop out incomplete current period when sched averages accrue

2016-04-10 Thread Yuyang Du
In __update_load_avg(), the current period is never complete. This basically leads to a slightly over-decayed average, say on average we have 50% current period, then we will lose 1.08%(=(1-0.5^(1/64)) of past avg. More importantly, the incomplete current period significantly complicates the avg co

Ping? Re: [PATCH] sched/cpuacct: Check for NULL when using task_pt_regs()

2016-04-10 Thread Michael Ellerman
Hi Peter/Ingo, On Wed, 2016-04-06 at 21:59 +1000, Anton Blanchard wrote: > Hi Peter, > > > Ah, so sometihng like: > > > > struct pt_regs *regs = task_pt_regs(); > > int index = CPUACCT_USAGE_SYSTEM; > > > > if (regs && user_mode(regs)) > > index = CPUACCT_USAGE_USER; > >

Re: [PATCH] proc: meminfo: Replace kB with KiB in output

2016-04-10 Thread Michal Hocko
On Sun 10-04-16 17:23:11, Alexandru Juncu wrote: > Current values are based on multiples of 1024 (powers of 2) > which means that the values in meminfo are not kilobytes > (1000 bytes) but kibibytes (1024 bytes). The correct > prefix for that would be 'Ki' so the output should be 'KiB'. Does the d

Re: [PATCH 02/10] mm/hugetlb: Add PGD based implementation awareness

2016-04-10 Thread Anshuman Khandual
On 04/11/2016 10:55 AM, Anshuman Khandual wrote: > On 04/07/2016 02:34 PM, Balbir Singh wrote: >> > >> > >> > On 07/04/16 15:37, Anshuman Khandual wrote: >>> >> Currently the config ARCH_WANT_GENERAL_HUGETLB enabled functions like >>> >> 'huge_pte_alloc' and 'huge_pte_offset' dont take into accou

[PATCH] dm thin: Remove return statement from void function

2016-04-10 Thread Amitoj Kaur Chawla
Return statement at the end of a void function is useless. The Coccinelle semantic patch used to make this change is as follows: // @@ identifier f; expression e; @@ void f(...) { <... - return e; ...> } // Signed-off-by: Amitoj Kaur Chawla --- drivers/md/dm-thin.c | 2 +- 1 file changed, 1 i

Re: [PATCH 03/10] mm/hugetlb: Protect follow_huge_(pud|pgd) functions from race

2016-04-10 Thread Anshuman Khandual
On 04/07/2016 03:04 PM, kbuild test robot wrote: > All errors (new ones prefixed by >>): > >mm/hugetlb.c: In function 'follow_huge_pud': >>> >> mm/hugetlb.c:4360:3: error: implicit declaration of function 'pud_page' >>> >> [-Werror=implicit-function-declaration] > page = pud_page(*pud)

Re: [PATCH resend v2] tty: n_tty -- Add new TIOCPEEKRAW ioctl to peek unread data

2016-04-10 Thread Peter Hurley
Hi Cyrill, On 04/07/2016 05:53 AM, Cyrill Gorcunov wrote: > Currently when we checkpoint PTY connections we ignore data queued inside > read buffer of ldisk, such data is barely lost after the restore. So we > would like to have an ability to dump and restore it. Do you want to be able to restore

Re: [PATCH 03/10] mm/hugetlb: Protect follow_huge_(pud|pgd) functions from race

2016-04-10 Thread Anshuman Khandual
On 04/07/2016 02:56 PM, Balbir Singh wrote: > > On 07/04/16 15:37, Anshuman Khandual wrote: >> > follow_huge_(pmd|pud|pgd) functions are used to walk the page table and >> > fetch the page struct during 'follow_page_mask' call. There are possible >> > race conditions faced by these functions which

Re: [PATCH 2/2] powerpc/drivers: Add driver for operator panel on FSP machines

2016-04-10 Thread Andrew Donnellan
On 11/04/16 11:41, Suraj Jitindar Singh wrote: Implement new character device driver to allow access from user space to the 2x16 character operator panel display present on powernv machines. Specifically, on IBM Power Systems machines with FSPs (see comments below). This will allow status inf

Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC information

2016-04-10 Thread Hanjun Guo
On 2016/4/4 19:37, Julien Grall wrote: Fill up the recently introduced gic_kvm_info with the hardware information used for virtualization. Signed-off-by: Julien Grall Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier --- Changes in v5: - Remove the alignment check for GICV

Re: [PATCH] audit: Don't spam logs with SECCOMP_KILL/RET_ERRNO by default

2016-04-10 Thread kbuild test robot
Hi Andi, [auto build test ERROR on pcmoore-audit/next] [also build test ERROR on v4.6-rc3 next-20160408] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Andi-Kleen/audit-Don-t-spam-logs-with-SE

Re: [PATCH 02/10] mm/hugetlb: Add PGD based implementation awareness

2016-04-10 Thread Anshuman Khandual
On 04/07/2016 02:34 PM, Balbir Singh wrote: > > > On 07/04/16 15:37, Anshuman Khandual wrote: >> Currently the config ARCH_WANT_GENERAL_HUGETLB enabled functions like >> 'huge_pte_alloc' and 'huge_pte_offset' dont take into account HugeTLB >> page implementation at the PGD level. This is also tru

Re: [PATCH] drivers/usb/gadget/udc/r8a66597-udc.c: Deinline pipe_change, save 2176 bytes

2016-04-10 Thread Felipe Balbi
Hi, Denys Vlasenko writes: > This function compiles to 298 bytes of machine code, has ~10 callsites. fair enough > This is a USB 2.0 device, USB 2.0 is limited to 35 MB/s, so should be it's not limited to 35MB/sec, sorry. USB 2.0 has a theoretical maximum of 60MB/sec. But 44MB/sec is what peo

Re: [PATCH v5 5/9] irqchip/gic-v3: Gather all ACPI specific data in a single structure

2016-04-10 Thread Hanjun Guo
+cc Tomasz, On 2016/4/4 19:37, Julien Grall wrote: The ACPI code requires to use global variales in order to collect information from the tables. To make clear those variables are ACPI specific, gather all of them in a single structure. Furthermore, even if some of the variables are not marked

Re: [PATCH v3 4/5] scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS

2016-04-10 Thread Ming Lin
On Tue, Apr 5, 2016 at 7:55 AM, Tejun Heo wrote: > On Mon, Apr 04, 2016 at 02:48:10PM -0700, Ming Lin wrote: >> From: Ming Lin >> >> Rename SCSI_MAX_SG_SEGMENTS to SG_CHUNK_SIZE, which means the amount >> we fit into a single scatterlist chunk. >> >> Rename SCSI_MAX_SG_CHAIN_SEGMENTS to SG_MAX_SE

Re: HVMLite / PVHv2 - using x86 EFI boot entry

2016-04-10 Thread Juergen Gross
On 08/04/16 22:40, Luis R. Rodriguez wrote: > On Wed, Apr 06, 2016 at 10:40:08AM +0100, David Vrabel wrote: >> On 06/04/16 03:40, Luis R. Rodriguez wrote: >>> >>> * You don't need full EFI emulation >> >> I think needing any EFI emulation inside Xen (which is where it would >> need to be for do

Re: [PATCH] usb: core: buffer: avoid NULL pointer dereferrence

2016-04-10 Thread Felipe Balbi
Hi, chunfeng yun writes: > On Fri, 2016-04-08 at 07:07 -0700, Greg Kroah-Hartman wrote: >> On Fri, Apr 08, 2016 at 05:08:03PM +0800, Chunfeng Yun wrote: >> > NULL pointer dereferrence will happen when class driver >> > wants to allocate zero length buffer and pool_max[0] >> > can't be used, so s

Re: [PATCH] checkpatch: Improve missing break for switch/case tests

2016-04-10 Thread Joe Perches
On Sun, 2016-04-10 at 19:26 -0700, Joe Perches wrote: > The current switch/case test doesn't handle ... case labels like: > > switch (foo) { > case bar ... baz: > etc... > } > > Add a specific regex for that form and the default label. > Use the regex where a case

[PATCH] clk: sunxi: Use resource_size

2016-04-10 Thread Vaishali Thakkar
Use the function resource_size instaed of explicit computation. Problem found using Coccinelle. Signed-off-by: Vaishali Thakkar --- drivers/clk/sunxi/clk-sun9i-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-sun9i-mmc.c b/drivers/clk/sunxi/clk-su

Re: sched: tweak select_idle_sibling to look for idle threads

2016-04-10 Thread Mike Galbraith
On Sun, 2016-04-10 at 15:55 -0400, Chris Mason wrote: > On Sun, Apr 10, 2016 at 12:04:21PM +0200, Mike Galbraith wrote: > > On Sat, 2016-04-09 at 15:05 -0400, Chris Mason wrote: > > > > > This does preserve the existing logic to prefer idle cores over idle > > > CPU threads, and includes some test

Re: [PATCH] drivers/infiniband/hw/nes/nes_verbs.c: Deinline nes_free_qp_mem, save 1072 bytes

2016-04-10 Thread Leon Romanovsky
On Fri, Apr 08, 2016 at 08:58:42PM +0200, Denys Vlasenko wrote: > This function compiles to 550 bytes of machine code. > Three callsites, all in nes_create_qp. I agree with you, the functions which calls below and after this function are not optimized for speed and there is no need to inline this

[PATCH] audit: Don't spam logs with SECCOMP_KILL/RET_ERRNO by default

2016-04-10 Thread Andi Kleen
From: Andi Kleen When I run chrome on my opensuse system every time I open a new tab the system log is spammed with: audit[16857]: SECCOMP auid=1000 uid=1000 gid=100 ses=1 pid=16857 comm="chrome" exe="/opt/google/chrome/chrome" sig=0 arch=c03e syscall=273 compat=0 ip=0x7fe27c11a444 code=0x50

Re: [PATCH 0/2] perf probe fixes for ppc64le

2016-04-10 Thread Michael Ellerman
On Sat, 2016-04-09 at 19:12 +0530, Naveen N. Rao wrote: > > I suppose this boils down to the quirkiness of ABIv2. Though, in > reality, I don't think most users will notice. As I stated above, users > will most likely start with the disassembly or debuginfo and this patch > ensures there are ac

RE: [PATCH v6 2/2] btmrvl: add platform specific wakeup interrupt support

2016-04-10 Thread Amitkumar Karwar
Hi Marcel, > From: Marcel Holtmann [mailto:mar...@holtmann.org] > Sent: Friday, April 08, 2016 10:40 PM > To: Amitkumar Karwar > Cc: linux-blueto...@vger.kernel.org; Nishant Sarmukadam; > wnhu...@chromium.com; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Xinming Hu > Subject: Re: [

Re: [PATCH 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-04-10 Thread kbuild test robot
Hi Tan, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.6-rc3 next-20160408] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Tan-Jui-Nee/pinctrl-broxton-enable-platform-dev

Re: Odroid XU4 deadlock

2016-04-10 Thread Anand Moon
Hi Krzysztof, On 9 April 2016 at 16:30, Krzysztof Kozlowski wrote: > On Fri, Apr 8, 2016 at 5:36 PM, Anand Moon wrote: >> hi Javier, >> >> On 8 April 2016 at 20:25, Javier Martinez Canillas >> wrote: >>> Hello Anand, >>> >>> On 04/08/2016 09:51 AM, Anand Moon wrote: Hi All, I am

Re: [PATCH v3 00/16] Support non-lru page migration

2016-04-10 Thread Minchan Kim
On Mon, Apr 04, 2016 at 03:17:18PM +0200, John Einar Reitan wrote: > On Wed, Mar 30, 2016 at 04:11:59PM +0900, Minchan Kim wrote: > > Recently, I got many reports about perfermance degradation > > in embedded system(Android mobile phone, webOS TV and so on) > > and failed to fork easily. > > > > T

Re: [PATCH] audit: Don't spam logs with SECCOMP_KILL/RET_ERRNO by default

2016-04-10 Thread kbuild test robot
Hi Andi, [auto build test ERROR on pcmoore-audit/next] [also build test ERROR on v4.6-rc3 next-20160408] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Andi-Kleen/audit-Don-t-spam-logs-with-SE

Re: [PATCH v3 04/16] mm/balloon: use general movable page feature into balloon

2016-04-10 Thread Minchan Kim
On Tue, Apr 05, 2016 at 02:03:05PM +0200, Vlastimil Babka wrote: > On 03/30/2016 09:12 AM, Minchan Kim wrote: > >Now, VM has a feature to migrate non-lru movable pages so > >balloon doesn't need custom migration hooks in migrate.c > >and compact.c. Instead, this patch implements page->mapping > >->

[PATCH] audit: Don't spam logs with SECCOMP_KILL/RET_ERRNO by default

2016-04-10 Thread Andi Kleen
From: Andi Kleen When I run chrome on my opensuse system every time I open a new tab the system log is spammed with: audit[16857]: SECCOMP auid=1000 uid=1000 gid=100 ses=1 pid=16857 comm="chrome" exe="/opt/google/chrome/chrome" sig=0 arch=c03e syscall=273 compat=0 ip=0x7fe27c11a444 code=0x50

Re: [PATCH 0/7] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-04-10 Thread Chanwoo Choi
Dear all, On 2016년 04월 08일 14:00, Chanwoo Choi wrote: > This patchset support the AMBA bus frequency scaling on Exynos5422-based > Odroid-XU3 board. But, this series only support the bus frequency scaling > for INT (Internal) block using VDD_INT power line. > > Also, to support the bus frequency

linux-next: Tree for Apr 11

2016-04-10 Thread Stephen Rothwell
Hi all, Changes since 20160408: The akpm-current tree still had its build failure for which I applied a patch. Non-merge commits (relative to Linus' tree): 2971 2781 files changed, 115585 insertions(+), 69801 deletions(-)

Re: [PATCH] Don't audit SECCOMP_KILL/RET_ERRNO when syscall auditing is disabled

2016-04-10 Thread Andi Kleen
On Sun, Apr 10, 2016 at 10:30:10PM -0400, Paul Moore wrote: > On Sun, Apr 10, 2016 at 6:31 PM, Andi Kleen wrote: > > On Sun, Apr 10, 2016 at 06:17:53PM -0400, Paul Moore wrote: > >> On Sat, Apr 9, 2016 at 10:41 PM, Andi Kleen wrote: > >> >> What kernel version are you using? I believe we fixed t

Re: [PATCH] scripts/gdb: Use $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-10 Thread Jan Kiszka
On 2016-04-08 02:16, Thierry Reding wrote: > From: Thierry Reding > > Avoid forking off a shell to resolve the absolute path of the output > directory when make's builtin $(abspath ...) function will do an > adequate job. > > Signed-off-by: Thierry Reding > --- > scripts/gdb/linux/Makefile | 2

RE: [PATCH] platform:x86 decouple telemetry driver from the optional IPC resources

2016-04-10 Thread Chakravarty, Souvik K
> -Original Message- > From: Zha, Qipeng > Sent: Monday, April 11, 2016 7:34 AM > To: Darren Hart ; Aubrey Li > ; Chakravarty, Souvik K > > Cc: platform-driver-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH] platform:x86 decouple telemetry driver from the > optio

[PATCH v9 02/20] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2016-04-10 Thread Chanwoo Choi
This patch adds the documentation for generic exynos bus frequency driver. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski Signed-off-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 95 ++ 1 file changed, 95 insertions(+) create mode

[PATCH v9 10/20] MAINTAINERS: Add samsung bus frequency driver entry

2016-04-10 Thread Chanwoo Choi
This patch adds the 'BUS FREQUENCY DRIVER FOR SAMSUNG EXYNOS' entry to review the patches as maintainer. I can access the all datasheet of Exynos SoC and test it on some Exynos-based board. Patches will be picked up by DEVFREQ maintainer on devfreq git repository. Signed-off-by: Chanwoo Choi ---

[PATCH v9 03/20] PM / devfreq: Add devfreq_get_devfreq_by_phandle()

2016-04-10 Thread Chanwoo Choi
This patch adds the new devfreq_get_devfreq_by_phandle() OF helper function which can find the instance of devfreq device by using phandle ("devfreq"). Signed-off-by: Chanwoo Choi Signed-off-by: MyungJoo Ham [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board] Tested-by: Markus Rei

Re: [PATCH 4.4 153/210] scripts/gdb: account for changes in module data structure

2016-04-10 Thread Jan Kiszka
On 2016-04-10 11:36, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Jan Kiszka > > commit ad4db3b24a93e52a92ad8f9b0273a9416f202c23 upstream. > > Commit 7523e4dc5057 ("module: use a structure to encapsulat

[PATCH v9 01/20] PM / devfreq: exynos: Add generic exynos bus frequency driver

2016-04-10 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for AMBA AXI bus of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC have the common architecture for bus between DRAM and sub-blocks in SoC. This driver can support the generic bus frequency driver for Exynos SoCs. In

Re: [PATCH 0/7] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-04-10 Thread Chanwoo Choi
Hi Anand, On 2016년 04월 11일 13:01, Anand Moon wrote: > Hi Chanwoo, > > On 11 April 2016 at 07:46, Chanwoo Choi wrote: >> Hi Anand, >> >> On 2016년 04월 09일 03:24, Chanwoo Choi wrote: >>> Hi Anand, >>> >>> On Sat, Apr 9, 2016 at 3:11 AM, Anand Moon wrote: Hi Chanwoo, >> >> [snip] >> >

[PATCH v9 18/20] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato

2016-04-10 Thread Chanwoo Choi
This patch adds the bus device-tree nodes of INT (internal) block to enable the bus frequency scaling. The following sub-blocks share the VDD_INT power source: - LEFTBUS (parent device) - RIGHTBUS - PERIL - LCD0 - FSYS - MCUISP / ISP - MFC The LEFTBUS is parent device with devfreq ondemand governo

Re: [PATCH 0/7] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-04-10 Thread Anand Moon
Hi Chanwoo, On 11 April 2016 at 07:46, Chanwoo Choi wrote: > Hi Anand, > > On 2016년 04월 09일 03:24, Chanwoo Choi wrote: >> Hi Anand, >> >> On Sat, Apr 9, 2016 at 3:11 AM, Anand Moon wrote: >>> Hi Chanwoo, >>> > > [snip] > >>> >>> I am observing following deadlock. Both on Odroid U3 and Odroi

[PATCH v9 11/20] ARM: dts: Add DMC bus node for Exynos3250

2016-04-10 Thread Chanwoo Choi
This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 SoC. The DMC is an AMBA AXI-compliant slave to interface external JEDEC standard SDRAM devices. The bus includes the OPP tables and the source clock for DMC block. Following list specifies the detailed relation between the

[PATCH v9 12/20] ARM: dts: Add DMC bus frequency for exynos3250-rinato/monk

2016-04-10 Thread Chanwoo Choi
This patch adds the DMC (Dynamic Memory Controller) bus frequency node which includes the devfreq-events and regulator properties. The bus frequency support the DVFS (Dynamic Voltage Frequency Scaling) feature with ondemand governor. The devfreq-events (ppmu_dmc0*) can monitor the utilization of D

[PATCH v9 16/20] ARM: dts: Add bus nodes using VDD_MIF for Exynos4210

2016-04-10 Thread Chanwoo Choi
This patch adds the bus nodes for Exynos4210 SoC. Exynos4210 SoC has one power line for all buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - DMC/ACP clock for DMC (Dynamic Memory Controller) - ACLK200 clock for LCD0

[PATCH v9 04/20] PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier

2016-04-10 Thread Chanwoo Choi
This patch adds the new DEVFREQ_TRANSITION_NOTIFIER notifier to send the notification when the frequency of device is changed. This notifier has two state as following: - DEVFREQ_PRECHANGE : Notify it before chaning the frequency of device - DEVFREQ_POSTCHANGE : Notify it after changed the frequen

[PATCH v9 13/20] ARM: dts: Add bus nodes using VDD_INT for Exynos3250

2016-04-10 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos3250 SoC. Exynos3250 has following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK400 clock for MCUISP - ACLK266 clock for ISP - ACLK200 clock for FSYS

[PATCH v9 00/20] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2016-04-10 Thread Chanwoo Choi
This patch-set includes the two features as following. The generic exynos bus frequency driver is able to support almost Exynos SoCs for bus frequency scaling. And the new passive governor is able to make the dependency on between devices for frequency/voltage scaling. I had posted the patch-set[1]

Re: [PATCH v9 00/20] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2016-04-10 Thread Chanwoo Choi
Dear Myungjoo and Krzysztof, This patch-set already get the acked-by or signed-off-by tag from Exynos SoC and DEVFREQ maintainer except for patch10. If there is no comment, could you pick this patch-set? Best Regards, Chanwoo Choi On 2016년 04월 11일 12:57, Chanwoo Choi wrote: > This patch-set in

[PATCH v9 09/20] PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver

2016-04-10 Thread Chanwoo Choi
This patch removes the unused exynos4/5 busfreq driver. Instead, generic exynos-bus frequency driver support the all Exynos SoCs. Signed-off-by: Chanwoo Choi Signed-off-by: MyungJoo Ham --- drivers/devfreq/Kconfig | 22 - drivers/devfreq/Makefile |2 - drivers/dev

Re: [PATCH v2] kvm-pr: manage single-step mode

2016-04-10 Thread David Gibson
On Fri, 8 Apr 2016 18:05:00 +0200 Laurent Vivier wrote: > Until now, when we connect gdb to the QEMU gdb-server, the > single-step mode is not managed. > > This patch adds this, only for kvm-pr: > > If KVM_GUESTDBG_SINGLESTEP is set, we enable single-step trace bit in the > MSR (MSR_SE) just b

[PATCH v9 07/20] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2016-04-10 Thread Chanwoo Choi
This patch updates the documentation for passive bus devices and adds the detailed example of Exynos3250. Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 250 - 1 file changed, 247 insertions(+), 3 deletions(-) dif

[PATCH v9 14/20] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12

2016-04-10 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_MIF for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and DMC/ACP/C2C. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board] Tested-by: Markus

[PATCH v9 06/20] PM / devfreq: exynos: Add support of bus frequency of sub-blocks using passive governor

2016-04-10 Thread Chanwoo Choi
This patch adds the support of bus frequency feature for sub-blocks which share the one power line. If each bus depends on the power line, each bus is not able to change the voltage by oneself. To optimize the power-consumption on runtime, some buses using the same power line should change the sour

[PATCH v9 08/20] PM / devfreq: exynos: Add the detailed correlation between sub-blocks and power line

2016-04-10 Thread Chanwoo Choi
This patch adds the detailed corrleation between sub-blocks and power line for Exynos3250, Exynos4210 and Exynos4x12. Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 51 ++ 1 file changed, 51 insertions(+) diff --g

[PATCH v9 17/20] ARM: dts: Add exynos4412-ppmu-common dtsi to delete duplicate PPMU nodes

2016-04-10 Thread Chanwoo Choi
This patch adds the exynos4412-ppmu-common.dtsi to remove duplicate PPMU nodes because exynos3250-rinato/monk, exynos4412-trats2/odroidu3 has the same PPMU device tree node. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 b

[PATCH v9 20/20] ARM: dts: Add support of bus frequency for exynos4412-trats/odroidu3

2016-04-10 Thread Chanwoo Choi
THis patch adds the bus device tree nodes for both MIF (Memory) and INT (Internal) block to enable the bus frequency. The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlow

[PATCH v9 05/20] PM / devfreq: Add new passive governor

2016-04-10 Thread Chanwoo Choi
This patch adds the new passive governor for DEVFREQ framework. The following governors are already present and used for DVFS (Dynamic Voltage and Frequency Scaling) drivers. The following governors are independently used for one device driver which don't give the influence to other device drviers

[PATCH v9 19/20] ARM: dts: Expand the voltage range of buck1/3 regulator for exynos4412-odroidu3

2016-04-10 Thread Chanwoo Choi
This patch expands the voltage range of buck1/3 regulator due to as following: - MIF (Memory Interface) bus frequency needs the range of '900 - 1100 mV'. - INT (Internal) bus frequency needs the range of '900 - 1050 mV'. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [m.reichl and

[PATCH v9 15/20] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2016-04-10 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK100 clock for PERIL/PERIR/MFC(PCLK) - ACLK160 clock for CAM/TV/LCD

Re: [PATCH v4 07/14] tools/lguest: force disable tboot and apm

2016-04-10 Thread Rusty Russell
"Luis R. Rodriguez" writes: > The paravirt_enabled() check is going away, the area tossed to > the kernel on lguest is not zerored out, so ensure lguest force > disables tboot and apm just in case the kernel file being read might > have this set for whatever reason. > > Signed-off-by: Luis R. Rodr

RE: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-04-10 Thread Rajesh Bhagat
> -Original Message- > From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com] > Sent: Friday, April 01, 2016 4:20 PM > To: Rajesh Bhagat > Cc: gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Sriram Dash > Subject: Re: [PATCH] usb: xhci: Fix in

Re: [PATCH v3 0/8] block: prepare for multipage bvecs

2016-04-10 Thread Ming Lei
On Mon, Apr 4, 2016 at 2:56 PM, Ming Lei wrote: > Hi, > > Interests[1] have been shown in multipage bvecs, so this patchset > try to prepare for the support and do two things: > > 1) the 1st 4 patches use bvec iterator to implement iterate_bvec(), > then we can drop the non-standard way for iterat

Re: [PATCH 08/27] staging: lustre: avoid to use bio->bi_vcnt directly

2016-04-10 Thread Ming Lei
On Mon, Apr 11, 2016 at 12:02 AM, James Simmons wrote: > >> On Sun, Apr 10, 2016 at 03:37:42PM +0100, James Simmons wrote: >> > >> > > The lloop driver should be removed entirely - use the loop driver >> > > instead. >> > >> > I talked with Andreas last week at our annual Lustre users group meetin

Re: livepatch: separate enabled and patched states

2016-04-10 Thread Jessica Yu
+++ Josh Poimboeuf [25/03/16 14:34 -0500]: Once we have a consistency model, patches and their objects will be enabled and disabled at different times. For example, when a patch is disabled, its loaded objects' funcs can remain registered with ftrace indefinitely until the unpatching operation i

Re: x86/stacktrace: add function for detecting reliable stack traces

2016-04-10 Thread Jessica Yu
+++ Josh Poimboeuf [25/03/16 14:34 -0500]: For live patching and possibly other use cases, a stack trace is only useful if you can be assured that it's completely reliable. Add a new save_stack_trace_tsk_reliable() function to achieve that. Scenarios which indicate that a stack strace may be un

Re: [PATCH 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-04-10 Thread kbuild test robot
Hi Tan, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.6-rc3 next-20160408] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Tan-Jui-Nee/pinctrl-broxton-enable-platform-dev

Re: [PATCH v5 4/9] irqchip/gic-v2: Parse and export virtual GIC information

2016-04-10 Thread Hanjun Guo
Hi Julian, On 2016/4/4 19:37, Julien Grall wrote: For now, the firmware tables are parsed 2 times: once in the GIC drivers, the other timer when initializing the vGIC. It means code duplication and make more tedious to add the support for another firmware table (like ACPI). Introduce a new stru

Re: [PATCH 4.4 000/210] 4.4.7-stable review

2016-04-10 Thread Guenter Roeck
On 04/10/2016 11:33 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.7 release. There are 210 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH 3.14 00/76] 3.14.66-stable review

2016-04-10 Thread Guenter Roeck
On 04/10/2016 11:36 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.66 release. There are 76 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

RE: [v7, 0/5] Fix eSDHC host version register bug

2016-04-10 Thread Yangbo Lu
Hi Leo and Scott, > -Original Message- > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: Wednesday, April 06, 2016 4:15 PM > To: Yangbo Lu; Scott Wood > Cc: devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlab

Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732

2016-04-10 Thread Mike Galbraith
On Sun, 2016-04-10 at 16:24 -0400, Rik van Riel wrote: > On Sun, 2016-04-10 at 17:39 +0200, Mike Galbraith wrote: > > Should the default idle state not then be governor dependent? When I > > set gov=performance, I'm expecting box to go just as fast as it can > > go > > without melting. Does poll

Re: [PATCH] net: mark DECnet as broken

2016-04-10 Thread David Miller
From: Vegard Nossum Date: Thu, 7 Apr 2016 09:22:43 +0200 > There are NULL pointer dereference bugs in DECnet which can be triggered > by unprivileged users and have been reported multiple times to LKML, > however nobody seems confident enough in the proposed fixes to merge them > and the consens

Re: [PATCH] usb: core: buffer: avoid NULL pointer dereferrence

2016-04-10 Thread chunfeng yun
On Fri, 2016-04-08 at 07:07 -0700, Greg Kroah-Hartman wrote: > On Fri, Apr 08, 2016 at 05:08:03PM +0800, Chunfeng Yun wrote: > > NULL pointer dereferrence will happen when class driver > > wants to allocate zero length buffer and pool_max[0] > > can't be used, so skip reserved pool in this case. >

Re: [PATCH 1/2] drm/rockchip: remove redundant statement

2016-04-10 Thread Mark yao
On 2016年04月05日 21:50, John Keeping wrote: The call to arm_iommu_detach_device() on the previous line sets dev->archdata.mapping to NULL so this call is always a no-op. Signed-off-by: John Keeping --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 1/2] arm64: mem-model: add flatmem model for arm64

2016-04-10 Thread Chen Feng
Hi will, Thanks for review. On 2016/4/7 22:21, Will Deacon wrote: > On Tue, Apr 05, 2016 at 04:22:51PM +0800, Chen Feng wrote: >> We can reduce the memory allocated at mem-map >> by flatmem. >> >> currently, the default memory-model in arm64 is >> sparse memory. The mem-map array is not freed in >

Re: [PATCH 2/2] drm/rockchip: don't leak iommu mapping

2016-04-10 Thread Mark yao
On 2016年04月05日 21:50, John Keeping wrote: arm_iommu_attach_device() takes its own reference to the mapping we give it. Since we do not keep a reference to the mapping ourselves, we must release it before returning. Also fix the error path, which fails to release the mapping if it has called arm

[PATCH 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

2016-04-10 Thread Tan Jui Nee
Hi, The patches are to cater the need for non-ACPI system whereby a platform device has to be created in order to bind with Apollo Lake Pinctrl GPIO platform driver. The MMIO BAR is accessed over the Primary to Sideband bridge (P2SB). Since the BIOS prevents the P2SB device from being enumerated b

[PATCH 1/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

2016-04-10 Thread Tan Jui Nee
This is to cater the need for non-ACPI system whereby a platform device has to be created in order to bind with the Apollo Lake Pinctrl GPIO platform driver. Signed-off-by: Tan Jui Nee --- drivers/pinctrl/intel/pinctrl-broxton.c | 43 - 1 file changed, 31 insertio

[PATCH 2/3] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-04-10 Thread Tan Jui Nee
From: Andy Shevchenko There is already one and at least one more user coming which require an access to Primary to Sideband bridge (P2SB) in order to get IO or MMIO bar hidden by BIOS. Create a driver to access P2SB for x86 devices. Signed-off-by: Yong, Jonathan Signed-off-by: Andy Shevchenko

[PATCH 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-04-10 Thread Tan Jui Nee
This driver uses the P2SB hide/unhide mechanism cooperatively to pass the PCI BAR address to the gpio platform driver. Signed-off-by: Tan Jui Nee --- drivers/mfd/Kconfig | 3 +- drivers/mfd/lpc_ich.c | 119 ++ 2 files changed, 121 insertions(+)

[PATCH] scatterlist: use sg_dma_len() in sg_set_page()

2016-04-10 Thread Shawn Guo
The macro sg_dma_len(sg) is commonly used to retrieve length of sg, which could be 'dma_length' or 'length' field, depending on whether NEED_SG_DMA_LENGTH is enabled or not. On the other hand, many driver code use helper function sg_set_page() to set an sg entry pointing at a page, with offset and

  1   2   3   4   5   6   7   8   9   >