ammini

2017-04-12 Thread amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella d

Re: [PATCH v3] powerpc: mm: support ARCH_MMAP_RND_BITS

2017-04-12 Thread Aneesh Kumar K.V
On Thursday 13 April 2017 12:22 PM, Bhupesh Sharma wrote: Hi Aneesh, On Thu, Apr 13, 2017 at 12:06 PM, Aneesh Kumar K.V wrote: Bhupesh Sharma writes: powerpc arch_mmap_rnd() currently uses hard-coded values - (23-PAGE_SHIFT) for 32-bit and (30-PAGE_SHIFT) for 64-bit, to generate the rando

Re: [PATCH v5 2/2] i2c: mux: ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch

2017-04-12 Thread Michael Hennerich
On 12.04.2017 18:53, Peter Rosin wrote: On 2017-04-12 10:26, Linus Walleij wrote: On Tue, Apr 11, 2017 at 2:16 PM, wrote: From: Michael Hennerich This patch adds support for the Analog Devices / Linear Technology LTC4306 and LTC4305 4/2 Channel I2C Bus Multiplexer/Switches. The LTC4306 opt

Re: [PATCH 2/3] powernv:idle: Decouple TB restore & Per-core SPRs restore

2017-04-12 Thread Michael Neuling
On Wed, 2017-04-12 at 17:16 +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > The idle-exit code assumes that if Timebase is not lost, then neither > are the per-core hypervisor resources lost. Double negative! How about: The idle-exit code assumes that if the timebase is restor

Re: [PATCH v3] powerpc: mm: support ARCH_MMAP_RND_BITS

2017-04-12 Thread Bhupesh Sharma
Hi Aneesh, On Thu, Apr 13, 2017 at 12:06 PM, Aneesh Kumar K.V wrote: > Bhupesh Sharma writes: > >> powerpc arch_mmap_rnd() currently uses hard-coded values - (23-PAGE_SHIFT) >> for >> 32-bit and (30-PAGE_SHIFT) for 64-bit, to generate the random offset >> for the mmap base address for a ASLR EL

Re: [PATCH 0/6] fujitsu-laptop: LED cleanup

2017-04-12 Thread Jonathan Woithe
On Fri, Apr 07, 2017 at 03:07:07PM +0200, Micha?? K??pie?? wrote: > This patch series cleans up parts of fujitsu-laptop responsible for > handling LED class devices. It was tested on a Lifebook E744. It > depends on the previous patch series I submitted for fujitsu-laptop and > should be applied

Re: [PATCH] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-04-12 Thread 李務誠
Reviewed-by: Wu-Cheng Li On Thu, Apr 13, 2017 at 12:18 PM, Minghsiu Tsai wrote: > From: Daniel Kurtz > > Experiments show that the: > (1) mtk-mdp uses the _MPLANE form of CAPTURE/OUTPUT > (2) CAPTURE types use CROP targets, and OUTPUT types use COMPOSE targets > > Signed-off-by: Daniel Kurtz

[PATCH] dma-debug: Make locking to work for RT

2017-04-12 Thread Pankaj Gupta
Interrupt enable/disabled with spinlock is not a valid implementation for RT as it can make executing task to sleep from a non-sleepable context. So, converting it to spin_lock_irq[save, restore]. Signed-off-by: Pankaj Gupta --- lib/dma-debug.c | 8 ++-- 1 file changed, 2 insertions(+), 6

Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for AR1020

2017-04-12 Thread Martin Kepplinger
On 2017-04-12 17:40, Dmitry Torokhov wrote: > Hi Martin, > > On Tue, Apr 11, 2017 at 12:27:57PM +0200, Martin Kepplinger wrote: >> ar1021_i2c simply also supports the ar1020 device we use. This is tested. >> They also share the same datasheet: >> >>http://ww1.microchip.com/downloads/en/Devic

Re: [PATCH v3] powerpc: mm: support ARCH_MMAP_RND_BITS

2017-04-12 Thread Aneesh Kumar K.V
Bhupesh Sharma writes: > powerpc arch_mmap_rnd() currently uses hard-coded values - (23-PAGE_SHIFT) for > 32-bit and (30-PAGE_SHIFT) for 64-bit, to generate the random offset > for the mmap base address for a ASLR ELF. > > This patch makes sure that powerpc mmap arch_mmap_rnd() implementation > i

Re: [PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9

2017-04-12 Thread Michael Neuling
On Wed, 2017-04-12 at 17:16 +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > This patch ensures that POWER8 and POWER9 processors use the correct > value of IDLE_THREAD_BITS as POWER8 has 8 threads per core and hence > the IDLE_THREAD_BITS should be 0xFF while POWER9 has only 4 thr

Re: [PATCH] ALSA: line6: constify snd_kcontrol_new structures

2017-04-12 Thread Bhumika Goyal
On Wed, Apr 12, 2017 at 7:15 PM, Takashi Sakamoto wrote: > Hi, > > > On Apr 12 2017 22:10, Bhumika Goyal wrote: >> >> Declare snd_kcontrol_new strcutures as const as they are only passed as >> an argument to the function snd_ctl_new1. This argument is of type const, >> so snd_kcontrol_new structur

Re: [PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting

2017-04-12 Thread Carlo Caione
On Sun, Apr 9, 2017 at 3:56 PM, Carlo Caione wrote: > From: Carlo Caione > > Several HP laptops cannot be put to sleep using the LID since systemd > complains > that the system is docked even though the laptop is not even dockable (see > [1]). > > This is due to a bug in hp-wmi where the driver

Re: [PATCH v2] mac80211: Fix clang warning about constant operand in logical operation

2017-04-12 Thread Johannes Berg
On Thu, 2017-04-06 at 16:31 -0700, Matthias Kaehlcke wrote: > When clang detects a non-boolean constant in a logical operation it > generates a 'constant-logical-operand' warning. In > ieee80211_try_rate_control_ops_get() the result of strlen( str>) > is used in a logical operation, clang resolves

Re: [PATCH 3/3] powernv:idle: Set LPCR_UPRT on wakeup from deep-stop

2017-04-12 Thread Michael Neuling
On Thu, 2017-04-13 at 14:12 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2017-04-13 at 09:28 +0530, Aneesh Kumar K.V wrote: > > >   #endif > > >    mtctr   r12 > > >    bctrl > > > +/* > > > + * cur_cpu_spec->cpu_restore would restore LPCR to a > > > + * sane value that is set at early bo

Re: [REGRESSION next-20170410] Commit a6ff6cbf1fab ("usb: xhci: Add helper function xhci_set_power_on().") breaks armada-385

2017-04-12 Thread Mathias Nyman
On 12.04.2017 10:47, Ralph Sennhauser wrote: Hi Guoqing Zhang, Commit a6ff6cbf1fabe7500d8ac25e133e3346db0a0fca ("usb: xhci: Add helper function xhci_set_power_on().") causes a null pointer dereference on an armada-385. Below the kernel as well as the bisect log. Seems Guoqing Zhang is not cur

Re: [RFC 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update

2017-04-12 Thread Vlastimil Babka
On 04/12/2017 11:25 PM, Christoph Lameter wrote: > On Tue, 11 Apr 2017, Vlastimil Babka wrote: > >>> The fallback was only intended for a cpuset on which boundaries are not >>> enforced >>> in critical conditions (softwall). A hardwall cpuset (CS_MEM_HARDWALL) >>> should fail the allocation. >> >

[tip:efi/urgent] x86/efi: Don't try to reserve runtime regions

2017-04-12 Thread tip-bot for Omar Sandoval
Commit-ID: 6f6266a561306e206e0e31a5038f029b6a7b1d89 Gitweb: http://git.kernel.org/tip/6f6266a561306e206e0e31a5038f029b6a7b1d89 Author: Omar Sandoval AuthorDate: Wed, 12 Apr 2017 16:27:19 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Apr 2017 08:09:27 +0200 x86/efi: Don't try to rese

''Goodness''

2017-04-12 Thread Dr. Sheikha
Dear Beneficiary, This is to inform you that you are among the lucky beneficiary selected to receive a donation award sum of Eur1,950,000 each as charity donations/aid from the Qatar Foundation to promote your business and personal Interest. For collection of fund, Kindly get back to us for more

Re: [RFC 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update

2017-04-12 Thread Vlastimil Babka
On 04/13/2017 08:06 AM, Vlastimil Babka wrote: >> Did you really mean node_zonelist() in both the instances above. Because >> that function just picks up either FALLBACK_ZONELIST or NOFALLBACK_ZONELIST >> depending upon the passed GFP flags in the allocation request and does not >> deal with ignori

Re: [RFC 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update

2017-04-12 Thread Vlastimil Babka
On 04/13/2017 07:42 AM, Anshuman Khandual wrote: > On 04/11/2017 07:36 PM, Vlastimil Babka wrote: >> Commit e47483bca2cc ("mm, page_alloc: fix premature OOM when racing with >> cpuset >> mems update") has fixed known recent regressions found by LTP's cpuset01 >> testcase. I have however found that

Re: [PATCH V4 2/9] PM / Domains: Use OPP tables for power-domains

2017-04-12 Thread Viresh Kumar
On 12-04-17, 17:58, Sudeep Holla wrote: > > > On 20/03/17 09:32, Viresh Kumar wrote: > > The OPP table bindings contains all the necessary fields to support > > power-domains now. Update the power-domain bindings to allow > > "operating-points-v2" to be present within the power-domain node. > >

[PATCH] perf trace: Add usage of --no-syscalls in man page

2017-04-12 Thread Ravi Bangoria
perf trace supports --no-syscalls option but it's not listed in the man page. (Though, I see an example using --no-syscalls in EXAMPLES section.) Signed-off-by: Ravi Bangoria --- tools/perf/Documentation/perf-trace.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/p

Re: [PATCH] mm,hugetlb: compute page_size_log properly

2017-04-12 Thread Aneesh Kumar K.V
Matthew Wilcox writes: > On Tue, Mar 28, 2017 at 09:55:13AM -0700, Davidlohr Bueso wrote: >> Do we have any consensus here? Keeping SHM_HUGE_* is currently >> winning 2-1. If there are in fact users out there computing the >> value manually, then I am ok with keeping it and properly exporting >>

Re: [PATCH v2 5/5] powerpc: kprobes: emulate instructions on kprobe handler re-entry

2017-04-12 Thread Naveen N. Rao
On 2017/04/13 01:37PM, Masami Hiramatsu wrote: > On Wed, 12 Apr 2017 16:28:28 +0530 > "Naveen N. Rao" wrote: > > > On kprobe handler re-entry, try to emulate the instruction rather than > > single stepping always. > > > > > As a related change, remove the duplicate saving of msr as that is > >

Re: [PATCH v2 4/5] powerpc: kprobes: factor out code to emulate instruction into a helper

2017-04-12 Thread Naveen N. Rao
On 2017/04/13 01:34PM, Masami Hiramatsu wrote: > On Wed, 12 Apr 2017 16:28:27 +0530 > "Naveen N. Rao" wrote: > > > This helper will be used in a subsequent patch to emulate instructions > > on re-entering the kprobe handler. No functional change. > > In this case, please merge this patch into th

Re: [PATCH v2 3/5] powerpc: introduce a new helper to obtain function entry points

2017-04-12 Thread Naveen N. Rao
On 2017/04/13 01:32PM, Masami Hiramatsu wrote: > On Wed, 12 Apr 2017 16:28:26 +0530 > "Naveen N. Rao" wrote: > > > kprobe_lookup_name() is specific to the kprobe subsystem and may not > > always return the function entry point (in a subsequent patch for > > KPROBES_ON_FTRACE). > > If so, please

Re: [PATCH V4 1/9] PM / OPP: Allow OPP table to be used for power-domains

2017-04-12 Thread Viresh Kumar
On 12-04-17, 18:05, Sudeep Holla wrote: > > > On 20/03/17 09:32, Viresh Kumar wrote: > [...] > > > + > > +Example 7: domain-Performance-state: > > +(example: For 1GHz require domain state 1 and for 1.1 & 1.2 GHz require > > state 2) > > + > > +/ { > > + domain_opp_table: opp_table0 { > > +

Re: [PATCH v2 0/5] powerpc: a few kprobe fixes and refactoring

2017-04-12 Thread Naveen N. Rao
On 2017/04/13 12:02PM, Masami Hiramatsu wrote: > Hi Naveen, Hi Masami, > > BTW, I saw you sent 3 different series, are there any > conflict each other? or can we pick those independently? Yes, all these three patch series are based off powerpc/next and they do depend on each other, as they are

Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage

2017-04-12 Thread Sergey Senozhatsky
On (04/12/17 01:19), Sergey Senozhatsky wrote: [..] > it does offloading after X printed lines by the same process. > if we reschedule, then the counter resets. which is probably OK, > we don't really want any process, except for printk_kthread, to > stay in console_unlock() forever. may be this c

Re: [patch 05/13] powerpc/smp: Replace open coded task affinity logic

2017-04-12 Thread Michael Ellerman
Thomas Gleixner writes: > Init task invokes smp_ops->setup_cpu() from smp_cpus_done(). Init task can > run on any online CPU at this point, but the setup_cpu() callback requires > to be invoked on the boot CPU. This is achieved by temporarily setting the > affinity of the calling user space threa

Re: [RFC 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update

2017-04-12 Thread Anshuman Khandual
On 04/11/2017 07:36 PM, Vlastimil Babka wrote: > Commit e47483bca2cc ("mm, page_alloc: fix premature OOM when racing with > cpuset > mems update") has fixed known recent regressions found by LTP's cpuset01 > testcase. I have however found that by modifying the testcase to use per-vma > mempolicies

linux-next: Tree for Apr 13

2017-04-12 Thread Stephen Rothwell
Hi all, News: There will be no linux-next releases until next Tuesday (next-20170418). Changes since 20170412: New trees: imx-drm, etnaviv The kvm-ppc tree lost its build failure. The tty tree gained conflicts against the bluetooth tree. The rtc tree still had its build failure for which I

Re: [patch 13/13] crypto: n2 - Replace racy task affinity logic

2017-04-12 Thread Herbert Xu
On Wed, Apr 12, 2017 at 10:07:39PM +0200, Thomas Gleixner wrote: > spu_queue_register() needs to invoke setup functions on a particular > CPU. This is achieved by temporarily setting the affinity of the > calling user space thread to the requested CPU and reset it to the original > affinity afterwa

Re: [PATCH V4 1/9] PM / OPP: Allow OPP table to be used for power-domains

2017-04-12 Thread Viresh Kumar
On 12-04-17, 17:49, Sudeep Holla wrote: > On 20/03/17 09:32, Viresh Kumar wrote: > > diff --git a/Documentation/devicetree/bindings/opp/opp.txt > > b/Documentation/devicetree/bindings/opp/opp.txt > > index 63725498bd20..d0b95c9e1011 100644 > > --- a/Documentation/devicetree/bindings/opp/opp.txt >

Re: [PATCH] arm64: enable ARCH_WANT_RELAX_ORDER for aarch64

2017-04-12 Thread Ding Tianhong
On 2017/4/7 23:57, Gabriele Paoloni wrote: > Hi Robin and all > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Robin Murphy >> Sent: 20 March 2017 14:00 >> To: Dingtianhong; Catalin Marinas; Will Deacon; linu

Re: [v3] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-12 Thread Gavin Shan
On Wed, Apr 12, 2017 at 08:56:14PM -0600, Alex Williamson wrote: >On Thu, 13 Apr 2017 01:51:40 +0300 >bod...@mellanox.com wrote: > >> From: Bodong Wang >> >> Sometimes it is not desirable to probe the virtual functions after >> SRIOV is enabled. This can save host side resource usage by VF >> ins

[PATCH v2] mm, x86: Add ARCH_HAS_ZONE_DEVICE to Kconfig

2017-04-12 Thread Oliver O'Halloran
Currently ZONE_DEVICE depends on X86_64 and this will get unwieldly as new architectures (and platforms) get ZONE_DEVICE support. Move to an arch selected Kconfig option to save us the trouble. Cc: linux...@kvack.org Signed-off-by: Oliver O'Halloran --- v2: add missing hunk --- arch/x86/Kconfig

Re: [PATCH] thermal: core: Allow orderly_poweroff to be called only once

2017-04-12 Thread Keerthy
On Thursday 13 April 2017 10:36 AM, Eduardo Valentin wrote: > Hey, > > On Wed, Apr 12, 2017 at 02:42:12PM +0530, Keerthy wrote: >> thermal_zone_device_check --> thermal_zone_device_update --> >> handle_thermal_trip --> handle_critical_trips --> orderly_poweroff >> >> The above sequence happens e

Re: [PATCH 4/4] mm/hmm: exclude 64 bit arch that explicitly fail to work.

2017-04-12 Thread Michael Ellerman
Stephen Rothwell writes: > Hi Paul, > > On Wed, 12 Apr 2017 20:30:14 -0400 Paul Gortmaker > wrote: >> >> Since ia64 and ppc64 don't set CONFIG_64BIT, they were already >> excluded by the original dependency. > > My powerpc ppc64_defconfig builds have CONFIG_64BIT set ... > > $ grep CONFIG_64BIT

Re: [PATCH] thermal: core: Allow orderly_poweroff to be called only once

2017-04-12 Thread Eduardo Valentin
Hey, On Wed, Apr 12, 2017 at 02:42:12PM +0530, Keerthy wrote: > thermal_zone_device_check --> thermal_zone_device_update --> > handle_thermal_trip --> handle_critical_trips --> orderly_poweroff > > The above sequence happens every 250/500 mS based on the configuration. > The orderly_poweroff func

[PATCH] ARM: dts: dra7: Add power hold and power controller properties to palmas

2017-04-12 Thread Keerthy
Add power hold and power controller properties to palmas node. This is needed to shutdown pmic correctly on boards with powerhold set. Signed-off-by: Keerthy --- arch/arm/boot/dts/dra7-evm.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dt

Re: [PATCH v2 5/5] powerpc: kprobes: emulate instructions on kprobe handler re-entry

2017-04-12 Thread Masami Hiramatsu
On Wed, 12 Apr 2017 16:28:28 +0530 "Naveen N. Rao" wrote: > On kprobe handler re-entry, try to emulate the instruction rather than > single stepping always. > > As a related change, remove the duplicate saving of msr as that is > already done in set_current_kprobe() If so, this part might be s

Re: [PATCH v2 4/5] powerpc: kprobes: factor out code to emulate instruction into a helper

2017-04-12 Thread Masami Hiramatsu
On Wed, 12 Apr 2017 16:28:27 +0530 "Naveen N. Rao" wrote: > This helper will be used in a subsequent patch to emulate instructions > on re-entering the kprobe handler. No functional change. In this case, please merge this patch into the next patch which actually uses the factored out function un

Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage

2017-04-12 Thread Sergey Senozhatsky
On (04/12/17 20:43), Pavel Machek wrote: [..] > > when the limit of "number of lines printed" is 0, then no > > offloading takes place. > > And with "number of lines printed" set to 99, it will get us > previous behaviour, right? `atomic_print_limit' set to zero disables offloading explicitl

Re: [PATCH v2 3/5] powerpc: introduce a new helper to obtain function entry points

2017-04-12 Thread Masami Hiramatsu
On Wed, 12 Apr 2017 16:28:26 +0530 "Naveen N. Rao" wrote: > kprobe_lookup_name() is specific to the kprobe subsystem and may not > always return the function entry point (in a subsequent patch for > KPROBES_ON_FTRACE). If so, please move this patch into that series. It is hard to review patches

Re: [BUG nohz]: wrong user and system time accounting

2017-04-12 Thread Wanpeng Li
2017-04-12 22:57 GMT+08:00 Thomas Gleixner : > On Wed, 12 Apr 2017, Frederic Weisbecker wrote: >> On Tue, Apr 11, 2017 at 04:22:48PM +0200, Thomas Gleixner wrote: >> > It's not different from the current jiffies based stuff at all. Same >> > failure mode. >> >> Yes you're right, I got confused agai

Re: [RFC 0/1] add support for reclaiming priorities per mem cgroup

2017-04-12 Thread Minchan Kim
On Thu, Mar 30, 2017 at 12:40:32PM -0700, Tim Murray wrote: > On Thu, Mar 30, 2017 at 8:51 AM, Johannes Weiner wrote: > > In cgroup2, we've added a memory.low knob, where groups within their > > memory.low setting are not reclaimed. > > > > You can set that knob on foreground groups to the amount

Re: [PATCH v2 2/5] powerpc: kprobes: fix handling of function offsets on ABIv2

2017-04-12 Thread Masami Hiramatsu
On Wed, 12 Apr 2017 16:28:25 +0530 "Naveen N. Rao" wrote: > commit 239aeba76409 ("perf powerpc: Fix kprobe and kretprobe handling > with kallsyms on ppc64le") changed how we use the offset field in struct > kprobe on ABIv2. perf now offsets from the GEP (Global entry point) if an > offset is spec

Re: [PATCH linux 2/2] net sched actions: fix refcount decrement on error

2017-04-12 Thread Cong Wang
On Wed, Apr 12, 2017 at 7:21 AM, Wolfgang Bumiller wrote: > If memory allocation for nla_memdup_cookie() fails > module_put has to be guarded by the same condition as it was > before the TCA_ACT_COOKIE has been added as stated in the > comment afterwards: > > /* module count goes up only when bran

[tip:WIP.sched/cpusallowed 13/13] drivers/crypto/n2_core.c:1659:31: error: passing argument 2 of 'work_on_cpu_safe' from incompatible pointer type

2017-04-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/cpusallowed head: 4ba98c7ec4094a9123d0d6aabb4497290207b518 commit: 4ba98c7ec4094a9123d0d6aabb4497290207b518 [13/13] crypto: n2 - Use work_on_cpu() instead of affinity games config: sparc64-allyesconfig (attached as .c

[PATCH] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-04-12 Thread Minghsiu Tsai
From: Daniel Kurtz Experiments show that the: (1) mtk-mdp uses the _MPLANE form of CAPTURE/OUTPUT (2) CAPTURE types use CROP targets, and OUTPUT types use COMPOSE targets Signed-off-by: Daniel Kurtz Signed-off-by: Minghsiu Tsai --- drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c | 18

Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas

2017-04-12 Thread Anshuman Khandual
On 04/12/2017 10:31 AM, Hoeun Ryu wrote: > vm_area_add_early/vm_area_register_early() are used to reserve vmalloc area > during boot process and those virtually mapped areas are never unmapped. > So `OR` VM_STATIC flag to the areas in vmalloc_init() when importing > existing vmlist entries and prev

RE: [PATCH 04/16] fpga: intel: pcie: parse feature list and create platform device for features.

2017-04-12 Thread Wu, Hao
> On Wed, Apr 5, 2017 at 6:58 AM, Wu Hao wrote: > > On Mon, Apr 03, 2017 at 04:44:15PM -0500, Alan Tull wrote: > >> On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: > >> > From: Xiao Guangrong > >> > > >> > Device Featuer List structure creates a link list of feature headers > >> > within the MMIO

Re: [PATCH 3/3] powernv:idle: Set LPCR_UPRT on wakeup from deep-stop

2017-04-12 Thread Benjamin Herrenschmidt
On Thu, 2017-04-13 at 09:28 +0530, Aneesh Kumar K.V wrote: > >   #endif > >    mtctr   r12 > >    bctrl > > +/* > > + * cur_cpu_spec->cpu_restore would restore LPCR to a > > + * sane value that is set at early boot time, > > + * thereby clearing LPCR_UPRT. > > + * LPCR_UPRT is required if w

Re: [PATCH v3] arm64: dts: rk3399: add support for firefly-rk3399 board

2017-04-12 Thread Kever Yang
Hi Heiko, On 04/12/2017 09:29 PM, Heiko Stuebner wrote: Hi Kever, Am Montag, 10. April 2017, 11:50:13 CEST schrieb Kever Yang: Firefly-rk3399 is a bord from T-Firefly, you can find detail about it here: http://en.t-firefly.com/en/firenow/Firefly_RK3399/ This patch add basic node for the boar

[PATCH v2] efi: Config options to assign versions in the PE-COFF header

2017-04-12 Thread Gary Lin
This commit adds the new config options to allow the user to modify the following fields in the PE-COFF header. UINT16 MajorOperatingSystemVersion UINT16 MinorOperatingSystemVersion UINT16 MajorImageVersion UINT16 MinorImageVersion Those fields are mainly for the executables or libraries in Windo

Re: [PATCH 3/3] powernv:idle: Set LPCR_UPRT on wakeup from deep-stop

2017-04-12 Thread Aneesh Kumar K.V
"Gautham R. Shenoy" writes: > From: "Gautham R. Shenoy" > > On wakeup from a deep-stop used for CPU-Hotplug, we invoke > cur_cpu_spec->cpu_restore() which would set sane default values to > various SPRs including LPCR. > > On POWER9, the cpu_restore_power9() call would would restore LPCR to a >

Re: [PATCH 4/4] mm/hmm: exclude 64 bit arch that explicitly fail to work.

2017-04-12 Thread Paul Gortmaker
[Re: [PATCH 4/4] mm/hmm: exclude 64 bit arch that explicitly fail to work.] On 13/04/2017 (Thu 13:27) Stephen Rothwell wrote: > Hi Paul, > > On Wed, 12 Apr 2017 20:30:14 -0400 Paul Gortmaker > wrote: > > > > Since ia64 and ppc64 don't set CONFIG_64BIT, they were already > > excluded by the ori

Re: [PATCH] thermal: core: Add a back up thermal shutdown mechanism

2017-04-12 Thread Keerthy
On Thursday 13 April 2017 12:13 AM, Tero Kristo wrote: > On 12/04/17 20:24, Eduardo Valentin wrote: >> On Wed, Apr 12, 2017 at 10:41:00PM +0530, Keerthy wrote: >>> >>> >>> On Wednesday 12 April 2017 10:38 PM, Grygorii Strashko wrote: On 04/12/2017 11:44 AM, Keerthy wrote: > >>>

Re: [PATCH v2 0/3] of: Make of_match_node() an inline stub for CONFIG_OF=n

2017-04-12 Thread Frank Rowand
On 04/11/17 21:41, Florian Fainelli wrote: > Hi all, > > This patch series makes of_match_node() an inline stub for CONFIG_OF=n. kbuild > reported two build errors which are fixed as preriquisite patches. > > This is based on Linus' master, not sure which tree would merge this, Frank's? It would

Re: [BUG] alpha: module xxx: Unknown relocation: 1

2017-04-12 Thread Bob Tracy
On Wed, Apr 12, 2017 at 07:36:36PM +1200, Michael Cree wrote: > On Wed, Apr 12, 2017 at 07:57:52AM +0200, Helge Deller wrote: > > On 12.04.2017 04:59, Bob Tracy wrote: > > > Bottom line is, no kernel I've built since 4.9 can load a module. All > > > attempts to load a module result in the error me

linux-next: manual merge of the tty tree with the bluetooth tree

2017-04-12 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: include/linux/serdev.h between commits: b3f80c8f75ef ("serdev: add serdev_device_wait_until_sent") 5659dab26f09 ("serdev: implement get/set tiocm") from the bluetooth tree and commit: 6fe729c4bdae ("serdev: Add serde

Re: [PATCH v3 21/32] powerpc: include default ioremap_nopost() implementation

2017-04-12 Thread Michael Ellerman
Benjamin Herrenschmidt writes: > On Tue, 2017-04-11 at 15:24 +0100, Lorenzo Pieralisi wrote: >> Ok, point taken. BTW, may I ask you guys to have a look into this >> please ? >> >> https://lkml.org/lkml/2017/4/6/743 >> >> It is a side effect of this thread (v2), not sure why >> on powerpc has t

Re: [PATCH v5 3/3] blackfin: bf609: let clk_disable() return immediately if clk is NULL

2017-04-12 Thread Masahiro Yamada
Hi Andrew 2017-03-28 18:17 GMT+09:00 Masahiro Yamada : > In many of clk_disable() implementations, it is a no-op for a NULL > pointer input, but this is one of the exceptions. > > Making it treewide consistent will allow clock consumers to call > clk_disable() without NULL pointer check. > > Signe

Re: [PATCH 4/4] mm/hmm: exclude 64 bit arch that explicitly fail to work.

2017-04-12 Thread Stephen Rothwell
Hi Paul, On Wed, 12 Apr 2017 20:30:14 -0400 Paul Gortmaker wrote: > > Since ia64 and ppc64 don't set CONFIG_64BIT, they were already > excluded by the original dependency. My powerpc ppc64_defconfig builds have CONFIG_64BIT set ... $ grep CONFIG_64BIT ~/next/powerpc_ppc64_defconfig/.config CON

Re: [PATCH v4 0/5] perf report: Show branch type

2017-04-12 Thread Jin, Yao
On 4/13/2017 10:00 AM, Jin, Yao wrote: On 4/12/2017 6:58 PM, Jiri Olsa wrote: On Wed, Apr 12, 2017 at 06:21:01AM +0800, Jin Yao wrote: SNIP 3. Use 2 bits in perf_branch_entry for a "cross" metrics checking for branch cross 4K or 2M area. It's an approximate computing for checking

[tip:WIP.sched/cpusallowed 12/13] drivers/cpufreq/sparc-us2e-cpufreq.c:270:69: error: expected ';' before ')' token

2017-04-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/cpusallowed head: 4ba98c7ec4094a9123d0d6aabb4497290207b518 commit: 6c06178b50bf61bf9fd4311e99e1f9f470b31b5d [12/13] cpufreq/sparc-us2e: Remove affinity games config: sparc64-allyesconfig (attached as .config) compiler

[PATCH v6 1/2] video: ARM CLCD: Move registers to a separate header.

2017-04-12 Thread Eric Anholt
We'd like to reuse these register definitions for the DRM CLCD driver, but there's a bunch of fbdev-specific code in the current header. v2: Add #ifndef guard. Signed-off-by: Eric Anholt --- include/linux/amba/clcd-regs.h | 81 ++ include/linux/amba/clcd.

[PATCH v6 2/2] drm/pl111: Initial drm/kms driver for pl111

2017-04-12 Thread Eric Anholt
From: Tom Cooksey This is a modesetting driver for the pl111 CLCD display controller found on various ARM platforms such as the Versatile Express. The driver has only been tested on the bcm911360_entphn platform so far, with PRIME-based buffer sharing between vc4 and clcd. It reuses the existing

[git pull] drm fixes for 4.11 rc7

2017-04-12 Thread Dave Airlie
Hi Linus, I was away the end of last week, so some of these would have been in rc6, and it's Easter from tomorrow, so I decided I better dequeue what I have now. The nouveau changes, just add a hw enable for GP107 display (like a pci id addition really), and fix a couple of regressions. i915 has

Re: [PATCH v2 1/5] kprobes: convert kprobe_lookup_name() to a function

2017-04-12 Thread Masami Hiramatsu
On Wed, 12 Apr 2017 16:28:24 +0530 "Naveen N. Rao" wrote: > The macro is now pretty long and ugly on powerpc. In the light of > further changes needed here, convert it to a __weak variant to be > over-ridden with a nicer looking function. Looks good to me. Acked-by: Masami Hiramatsu Thanks!

Re: [PATCH] sched/deadline: Throttle a constrained task activated if overflow

2017-04-12 Thread Xunlei Pang
On 04/12/2017 at 09:10 PM, luca abeni wrote: > On Wed, 12 Apr 2017 20:30:04 +0800 > Xunlei Pang wrote: > [...] >>> If the relative deadline is different from the period, then the >>> check is an approximation (and this is the big issue here). I am >>> still not sure about what is the best thing to

Re: [PATCH v2 0/5] powerpc: a few kprobe fixes and refactoring

2017-04-12 Thread Masami Hiramatsu
Hi Naveen, BTW, I saw you sent 3 different series, are there any conflict each other? or can we pick those independently? Thanks, On Wed, 12 Apr 2017 16:28:23 +0530 "Naveen N. Rao" wrote: > v1: > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1334843.html > > For v2, this series

[PATCH v2 6/6] zram: use zram_free_page instead of open-coded

2017-04-12 Thread Minchan Kim
The zram_free_page already handles NULL handle case and same page so use it to reduce error probability. (Acutaully, I made a mistake when I handled same page feature) Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletio

[PATCH v2 4/6] zram: remove zram_meta structure

2017-04-12 Thread Minchan Kim
It's redundant now. Instead, remove it and use zram structure directly. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 189 +- drivers/block/zram/zram_drv.h | 6 +- 2 files changed, 78 insertions(+), 117 deletions(-) diff --git a/drivers

[PATCH v2 1/6] zram: handle multiple pages attached bio's bvec

2017-04-12 Thread Minchan Kim
Johannes Thumshirn reported system goes the panic when using NVMe over Fabrics loopback target with zram. The reason is zram expects each bvec in bio contains a single page but nvme can attach a huge bulk of pages attached to the bio's bvec so that zram's index arithmetic could be wrong so that ou

[PATCH v2 5/6] zram: introduce zram data accessor

2017-04-12 Thread Minchan Kim
With element, sometime I got confused handle and element access. It might be my bad but I think it's time to introduce accessor to prevent future idiot like me. This patch is just clean-up patch so it shouldn't change any behavior. Reviewed-by: Sergey Senozhatsky Signed-off-by: Minchan Kim ---

[PATCH v2 2/6] zram: partial IO refactoring

2017-04-12 Thread Minchan Kim
For architecture(PAGE_SIZE > 4K), zram have supported partial IO. However, the mixed code for handling normal/partial IO is too mess, error-prone to modify IO handler functions with upcoming feature so this patch aims for cleaning up zram's IO handling functions. Signed-off-by: Minchan Kim --- d

[PATCH v2 3/6] zram: use zram_slot_lock instead of raw bit_spin_lock op

2017-04-12 Thread Minchan Kim
With this clean-up phase, I want to use zram's wrapper function to lock table access which is more consistent with other zram's functions. Reviewed-by: Sergey Senozhatsky Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 41 +++-- 1 file changed,

[PATCH v2 0/6] zram clean up

2017-04-12 Thread Minchan Kim
This patchset aims zram clean-up. [1] clean up multiple pages's bvec handling. [2] clean up partial IO handling [3-6] clean up zram via using accessor and removing pointless structure. With [2-6] applied, we can get a few hundred bytes as well as huge readibility enhance. This patchset is based

Re: [v3] PCI: Add an option to control probing of VFs before enabling SR-IOV

2017-04-12 Thread Alex Williamson
On Thu, 13 Apr 2017 01:51:40 +0300 bod...@mellanox.com wrote: > From: Bodong Wang > > Sometimes it is not desirable to probe the virtual functions after > SRIOV is enabled. This can save host side resource usage by VF > instances which would be eventually probed to VMs. > > Add a new PCI sysfs

Re: [patch 12/13] cpufreq/sparc-us2e: Replace racy task affinity logic

2017-04-12 Thread Viresh Kumar
On 12-04-17, 22:07, Thomas Gleixner wrote: > The access to the HBIRD_ESTAR_MODE register in the cpu frequency control > functions must happen on the target CPU. This is achieved by temporarily > setting the affinity of the calling user space thread to the requested CPU > and reset it to the origina

Re: [patch 11/13] cpufreq/sparc-us3: Replace racy task affinity logic

2017-04-12 Thread Viresh Kumar
On 12-04-17, 22:07, Thomas Gleixner wrote: > The access to the safari config register in the CPU frequency functions > must be executed on the target CPU. This is achieved by temporarily setting > the affinity of the calling user space thread to the requested CPU and > reset it to the original affi

Re: [patch 10/13] cpufreq/sh: Replace racy task affinity logic

2017-04-12 Thread Viresh Kumar
On 12-04-17, 22:07, Thomas Gleixner wrote: > The target() callback must run on the affected cpu. This is achieved by > temporarily setting the affinity of the calling thread to the requested CPU > and reset it to the original affinity afterwards. > > That's racy vs. concurrent affinity settings fo

Re: [patch 09/13] cpufreq/ia64: Replace racy task affinity logic

2017-04-12 Thread Viresh Kumar
On 12-04-17, 22:07, Thomas Gleixner wrote: > The get() and target() callbacks must run on the affected cpu. This is > achieved by temporarily setting the affinity of the calling thread to the > requested CPU and reset it to the original affinity afterwards. > > That's racy vs. concurrent affinity

Re: [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash

2017-04-12 Thread Guochun Mao
Hi Cyrille, On Wed, 2017-04-12 at 22:57 +0200, Cyrille Pitchen wrote: > Hi Guochun, > > Le 05/04/2017 à 10:37, Guochun Mao a écrit : > > When nor's size larger than 16MByte, nor's address width maybe > > set to 3 or 4, and controller should change address width according > > to nor's setting. > >

[PATCH] virtio_scsi: Always try to read VPD pages

2017-04-12 Thread David Gibson
Passed through SCSI targets may have transfer limits which come from the host SCSI controller something on the host side other than the target itself. To make this work properly, the hypervisor can adjust the target's VPD information to advertise these limits. But for that to work, the guest has

Re: [PATCH v5] Allow user probes on versioned symbols.

2017-04-12 Thread Masami Hiramatsu
Hi Paul, On Wed, 12 Apr 2017 09:41:51 -0500 Paul Clarke wrote: > @@ -396,8 +407,26 @@ static void symbols__sort_by_name(struct rb_root > *symbols, > } > } > > +int symbol__match_symbol_name(const char *name, const char *str, > + enum symbols_tag_includes includes) > +{ > + co

[PATCH] mm, x86: Add ARCH_HAS_ZONE_DEVICE to Kconfig

2017-04-12 Thread Oliver O'Halloran
Currently ZONE_DEVICE depends on X86_64 and this will get unwieldly as new architectures (and platforms) get ZONE_DEVICE support. Move to an arch selected Kconfig option to save us the trouble. Cc: linux...@kvack.org Signed-off-by: Oliver O'Halloran --- arch/x86/Kconfig | 1 + mm/Kconfig |

[PATCH 1/3] clk: sunxi-ng: Add clk notifier to gate then ungate PLL clocks

2017-04-12 Thread Chen-Yu Tsai
In common PLL designs, changes to the dividers take effect almost immediately, while changes to the multipliers (implemented as dividers in the feedback loop) take a few cycles to work into the feedback loop for the PLL to stablize. Sometimes when the PLL clock rate is changed, the decrease in the

[PATCH 0/3] clk: sunxi-ng: gate/ungate PLL CPU clk after rate change

2017-04-12 Thread Chen-Yu Tsai
Hi everyone, This series adds a clk notifier for use on the PLL CPU clks found in Allwinner SoCs. Some people have observed issues with the design and implementation of the CPU PLL clock, starting from the A31. Changes to the PLL clock need a few cycles to stabilize. If the changes are too drastic

[PATCH 3/3] clk: sunxi-ng: h3: gate then ungate PLL CPU clk after rate change

2017-04-12 Thread Chen-Yu Tsai
This patch utilizes the new PLL clk notifier to gate then ungate the PLL CPU clock after rate changes. This should prevent any system hangs resulting from cpufreq changes to the clk. Reported-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai Tested-by: Icenowy Zheng --- drivers/clk/sunxi-ng/ccu-su

[PATCH 2/3] clk: sunxi-ng: a33: gate then ungate PLL CPU clk after rate change

2017-04-12 Thread Chen-Yu Tsai
This patch utilizes the new PLL clk notifier to gate then ungate the PLL CPU clock after rate changes. This should mitigate the system hangs observed after the introduction of cpufreq for the A33. Signed-off-by: Chen-Yu Tsai Tested-by: Quentin Schulz --- drivers/clk/sunxi-ng/ccu-sun8i-a33.c | 1

Re: [PATCH] sched: Enabled schedstat when schedstat tracepoints are enabled

2017-04-12 Thread kbuild test robot
Hi Steven, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.11-rc6 next-20170412] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Steven-Rostedt/sched-Enabled-schedstat

[PATCH] staging/media: make atomisp vlv2_plat_clock explicitly non-modular

2017-04-12 Thread Paul Gortmaker
The Makefile / Kconfig currently controlling compilation of this code is: clock/Makefile:obj-$(CONFIG_INTEL_ATOMISP) += vlv2_plat_clock.o atomisp/Kconfig:menuconfig INTEL_ATOMISP atomisp/Kconfig:bool "Enable support to Intel MIPI camera drivers" ...meaning that it currently is not be

Re: [PATCH v4 0/5] perf report: Show branch type

2017-04-12 Thread Jin, Yao
On 4/12/2017 6:58 PM, Jiri Olsa wrote: On Wed, Apr 12, 2017 at 06:21:01AM +0800, Jin Yao wrote: SNIP 3. Use 2 bits in perf_branch_entry for a "cross" metrics checking for branch cross 4K or 2M area. It's an approximate computing for checking if the branch cross 4K page or 2MB page.

Re: [PATCH V3 02/16] block, bfq: add full hierarchical scheduling and cgroups support

2017-04-12 Thread kbuild test robot
Hi Arianna, [auto build test ERROR on block/for-next] [also build test ERROR on v4.11-rc6 next-20170412] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Paolo-Valente/Introduce-the-BFQ-I-O

Re: [patch 06/13] sparc/sysfs: Replace racy task affinity logic

2017-04-12 Thread David Miller
From: Thomas Gleixner Date: Wed, 12 Apr 2017 22:07:32 +0200 > @@ -142,7 +122,8 @@ static unsigned long write_mmustat_enabl > static ssize_t show_mmustat_enable(struct device *s, > struct device_attribute *attr, char *buf) > { > - unsigned long val = run_on_cpu(

[PATCH net-next] l2tp: device MTU setup, tunnel socket needs a lock

2017-04-12 Thread R. Parameswaran
The MTU overhead calculation in L2TP device set-up merged via commit b784e7ebfce8cfb16c6f95e14e8532d0768ab7ff needs to be adjusted to lock the tunnel socket while referencing the sub-data structures to derive the socket's IP overhead. Reported-by: Guillaume Nault Tested-by: Guillaume Nault Sign

  1   2   3   4   5   6   7   8   9   10   >