Re: [PATCH 86/86] usb/dwc3: move ids to pci_ids.h

2015-03-29 Thread Greg Kroah-Hartman
On Mon, Mar 30, 2015 at 08:50:34AM +0200, Michael S. Tsirkin wrote: > On Sun, Mar 29, 2015 at 10:42:00PM +0200, Greg Kroah-Hartman wrote: > > On Sun, Mar 29, 2015 at 03:43:40PM +0200, Michael S. Tsirkin wrote: > > > Comment says IDs should move to pci_ids.h, let's do it. > > > > No, please remove

Re: [PATCH 05/86] x86/gart: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Michael S. Tsirkin
On Mon, Mar 30, 2015 at 07:29:36AM +0200, Ingo Molnar wrote: > > * Michael S. Tsirkin wrote: > > > Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, > > use the new header directly so we can drop > > the wrapper in include/linux/pci_ids.h. > > > > Signed-off-by: Michael S. Tsirkin > >

Re: [PATCH 01/86] pci: export pci_ids.h

2015-03-29 Thread Greg KH
On Mon, Mar 30, 2015 at 08:48:44AM +0200, Michael S. Tsirkin wrote: > On Sun, Mar 29, 2015 at 10:40:47PM +0200, Greg KH wrote: > > On Sun, Mar 29, 2015 at 03:37:01PM +0200, Michael S. Tsirkin wrote: > > > The macros in pci_ids.h are pretty useful for userspace > > > using the pci sysfs interface. >

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-03-29 Thread Michael S. Tsirkin
On Sun, Mar 29, 2015 at 10:59:45AM -0700, Joe Perches wrote: > On Sun, 2015-03-29 at 15:36 +0200, Michael S. Tsirkin wrote: > > The macros in pci_ids.h are pretty useful for userspace > > using the pci sysfs interface, e.g. to decode class > > device and vendor sysfs files. > > > > At the moment u

Re: [PATCH 86/86] usb/dwc3: move ids to pci_ids.h

2015-03-29 Thread Michael S. Tsirkin
On Sun, Mar 29, 2015 at 10:42:00PM +0200, Greg Kroah-Hartman wrote: > On Sun, Mar 29, 2015 at 03:43:40PM +0200, Michael S. Tsirkin wrote: > > Comment says IDs should move to pci_ids.h, let's do it. > > No, please remove the comment, it's not needed in pci_ids.h at all. vendor ID does belong in pc

Re: [PATCH 01/86] pci: export pci_ids.h

2015-03-29 Thread Michael S. Tsirkin
On Sun, Mar 29, 2015 at 10:40:47PM +0200, Greg KH wrote: > On Sun, Mar 29, 2015 at 03:37:01PM +0200, Michael S. Tsirkin wrote: > > The macros in pci_ids.h are pretty useful for userspace > > using the pci sysfs interface. > > At the moment userspace is forced to duplicate these macros > > (e.g. QEM

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-03-29 Thread Michal Simek
Hi Mark, On 03/27/2015 06:53 PM, Mark Brown wrote: > On Fri, Mar 27, 2015 at 11:55:49AM +0100, Michal Simek wrote: > > Please fix your mail client to word wrap within paragraphs at less than > 80 columns - this makes your mails easier to read and reply to. You are the first one who had problem w

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-03-29 Thread Richard Weinberger
Am 29.03.2015 um 17:06 schrieb Hajime Tazaki: >> What about putting libos into tools/testing/ and make it much more generic >> and framework alike. > > it's trivial though, libos is not only for the testing (i.e., NUSE). > # of course tools/libos or something can be the place. Yep, tool/libos is

[LKP] [NFS] a08a8cd375d: +1.5% will-it-scale.per_process_ops

2015-03-29 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit a08a8cd375db9769588257e7782f6b6b68561b88 ("NFS: Add attribute update barriers to NFS writebacks") testbox/testcase/testparams: ivb42/will-it-scale/performance-pthread_mutex2 f506

Re: linux-next: build warning after merge of the slave-dma tree

2015-03-29 Thread Appana Durga Kedareswara Rao
Hi Stephen Rothwell, I will fix this and will send a patch. Regards, Kedar. On 3/30/2015 11:50 AM, Stephen Rothwell wrote: Hi Vinod, After merging the slave-dma tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from drivers/dma/xilinx/xilinx_vdma

linux-next: build warning after merge of the slave-dma tree

2015-03-29 Thread Stephen Rothwell
Hi Vinod, After merging the slave-dma tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from drivers/dma/xilinx/xilinx_vdma.c:26:0: include/linux/dmapool.h:18:4: warning: 'struct device' declared inside parameter list size_t size, size_t align, s

Re: [PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool"

2015-03-29 Thread Sudip Mukherjee
On Sat, Mar 28, 2015 at 08:57:01AM +0100, Piotr Witosławski wrote: > On Sat, Mar 28, 2015 at 11:56:40AM +0530, Sudip Mukherjee wrote: > > On Fri, Mar 27, 2015 at 09:36:07PM +0100, Witos wrote: > > > Changed bool to u8 to get rid of sparse warning. > > but i am not getting this warning. which versio

Re: [PATCH] staging: speakup: Fix warning of line over 80 characters.

2015-03-29 Thread Sudip Mukherjee
On Sat, Mar 28, 2015 at 05:26:34PM -0700, Shirish Gajera wrote: > On Sun, Mar 29, 2015 at 12:54:45AM +0100, Richard Weinberger wrote: > > //richard > > Are you sure you want me to do this changes. Because it will conflict > the things written on http://kernelnewbies.org/ where is the conflict? yo

linux-next: build failure after merge of the tip tree

2015-03-29 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (arm multi_v7_defconfig) failed like this: arch/arm/kernel/vdso.c: In function 'tk_is_cntvct': arch/arm/kernel/vdso.c:273:15: error: 'const struct timekeeper' has no member named 'tkr' if (strcmp(tk->tkr.clock->name, "arch_sys_counte

Re: [PATCH] lglock: Use spinlock_t instead of arch_spinlock_t

2015-03-29 Thread Daniel Wagner
On 03/26/2015 05:03 PM, Peter Zijlstra wrote: > On Thu, Mar 26, 2015 at 04:02:08PM +0100, Daniel Wagner wrote: >> @@ -67,9 +67,9 @@ void lg_global_lock(struct lglock *lg) >> preempt_disable(); >> lock_acquire_exclusive(&lg->lock_dep_map, 0, 0, NULL, _RET_IP_); >> for_each_possible_cp

Re: [PATCH 2/3] clockevents: Restart clockevent device before using it again

2015-03-29 Thread Preeti U Murthy
On 03/27/2015 10:44 PM, Viresh Kumar wrote: > Next commit would update clockevents core to switch clockevent devices to > ONESHOT_STOPPED state to avoid getting spurious interrupts on a tickless CPU. > > Before programming the clockevent device for next event, we must switch its > state to ONESHOT

Re: [PATCH 3/3] clockevents: Switch state to ONESHOT_STOPPED for unused clockevent devices

2015-03-29 Thread Preeti U Murthy
On 03/27/2015 10:44 PM, Viresh Kumar wrote: > Clockevent device can now be stopped by switching to ONESHOT_STOPPED state, to > avoid getting spurious interrupts on a tickless CPU. > > Switch state to ONESHOT_STOPPED at following places: > > 1.) NOHZ_MODE_LOWRES Mode > > Timers & hrtimers are dep

Re: [PATCH 1/3] clockevents: Introduce CLOCK_EVT_STATE_ONESHOT_STOPPED state

2015-03-29 Thread Preeti U Murthy
On 03/27/2015 10:44 PM, Viresh Kumar wrote: > When no timers/hrtimers are pending, the expiry time is set to a special > value: > 'KTIME_MAX'. This normally happens with NO_HZ_{IDLE|FULL} in both > LOWRES/HIGHRES > modes. > > When 'expiry == KTIME_MAX', we either cancel the 'tick-sched' hrtimer

Re: [PATCH 3/4] mm: move lazy free pages to inactive list

2015-03-29 Thread Minchan Kim
Hello Andrew, On Fri, Mar 20, 2015 at 03:43:58PM -0700, Andrew Morton wrote: > On Wed, 11 Mar 2015 10:20:37 +0900 Minchan Kim wrote: > > > MADV_FREE is hint that it's okay to discard pages if there is > > memory pressure and we uses reclaimers(ie, kswapd and direct reclaim) > > to free them so t

Re: [PATCH 2/2] powerpc/powernv: Reboot when requested by firmware

2015-03-29 Thread Michael Ellerman
On Mon, 2015-03-30 at 12:45 +1030, Joel Stanley wrote: > Use orderly_reboot so userspace will to shut itself down via the reboot > path. This is required for graceful reboot initiated by the BMC, such > as when a user uses ipmitool to issue a 'chassis power cycle' command. > > Signed-off-by: Joel

Re: [PATCH 05/86] x86/gart: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Ingo Molnar
* Michael S. Tsirkin wrote: > Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, > use the new header directly so we can drop > the wrapper in include/linux/pci_ids.h. > > Signed-off-by: Michael S. Tsirkin > --- > arch/x86/kernel/aperture_64.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH 4/4] mm: make every pte dirty on do_swap_page

2015-03-29 Thread Minchan Kim
2nd description trial. >From ccfc6c79634f6cec69d8fb23b0e863ebfa5b893c Mon Sep 17 00:00:00 2001 From: Minchan Kim Date: Mon, 30 Mar 2015 13:43:08 +0900 Subject: [PATCH v2] mm: make every pte dirty on do_swap_page Bascially, MADV_FREE relys on the dirty bit in page table entry to decide whether VM

[PATCH] ftracetest: Cope properly with stack tracer not being enabled

2015-03-29 Thread Michael Ellerman
If the stack tracer (CONFIG_STACK_TRACER) is disabled, the fgraph-filter-stack test blows chunks: [8] ftrace - function graph filters with stack tracer [FAIL] + reset_tracer + echo nop ./ftracetest: 19: /home/michael/selftests/ftrace/test.d/ftrace/fgraph-filter-stack.tc: cannot cr

[PATCH v2] ftracetest: Convert exit -1 to exit $FAIL

2015-03-29 Thread Michael Ellerman
POSIX says that exit takes an unsigned integer between 0 and 255, so using -1 doesn't work on POSIX shells. There is already a well-defined failure code, $FAIL (1), so use that. Signed-off-by: Michael Ellerman --- v2: Use exit $FAIL not exit 255. tools/testing/selftests/ftrace/test.d/00basic/

[GIT PULL] extcon next for 4.1

2015-03-29 Thread Chanwoo Choi
Dear Greg, This is extcon-next full request for v4.1. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14

[PATCH 0/3] timers: Allocate per-cpu tvec_base's statically

2015-03-29 Thread Viresh Kumar
Hi Ingo/Thomas, Here are few cleanups around timer-core initialization. The first one is suggested by Peter Zijlstra [1] and the other two make few more changes in order to simplify it. Please see if they look fine. -- viresh [1] http://lkml.iu.edu/hypermail/linux/kernel/1503.3/04091.html Pete

[PATCH 1/3] timer: Allocate per-cpu tvec_base's statically

2015-03-29 Thread Viresh Kumar
From: Peter Zijlstra Memory for tvec_base is allocated separately for boot CPU (statically) and non-boot CPUs (dynamically). The reason is because __TIMER_INITIALIZER() needs to set ->base to a valid pointer (because we've made NULL special, hint: lock_timer_base()) and we cannot get a compile t

[PATCH 2/3] timer: Limit the scope of __tvec_bases to init_timers_cpu()

2015-03-29 Thread Viresh Kumar
per-cpu variable '__tvec_bases' is used for all CPUs except the boot CPU, which uses 'boot_tvec_bases'. Because of this special case, we shouldn't make direct references to __tvec_bases from timer core as there are chances of using the wrong instance for boot CPU. To force that, lets move __tvec_b

[PATCH 3/3] timer: Don't initialize tvec_base on hotplug

2015-03-29 Thread Viresh Kumar
There is no need to call init_timers_cpu() on every cpu hotplug event, there is not much we need to reset. - Timer-lists are already empty at the end of migrate_timers(). - timer_jiffies will be refreshed while adding a new timer, after the CPU is online again. - active_timers and all_timers can

Re: [PATCH v6 0/6] Add common clock support for Broadcom iProc architecture

2015-03-29 Thread Ray Jui
Hi Mike, This is the latest patch series of the Broadcom iProc clock driver that I was talking about. I believe it has addressed your previous code review comments by switching to use assigned-clocks/assigned-clock-rates for configuring PLL clock at the time of clock registration. Please have a l

Re: [PATCH 2/2] Input: Add driver for a generic ADC keypad

2015-03-29 Thread Andrew Bresticker
On Sat, Mar 28, 2015 at 7:02 AM, Jonathan Cameron wrote: > On 28/03/15 00:43, Andrew Bresticker wrote: >> Add a polled input driver for a keypad in which the buttons are connected >> in resistor ladders to an ADC. The IIO framework is used to claim and >> read the ADC channels. >> >> Signed-off-b

Re: [PATCH 1/2] Input: Add binding document for a generic ADC keypad

2015-03-29 Thread Andrew Bresticker
On Sat, Mar 28, 2015 at 9:00 PM, Dmitry Torokhov wrote: > On Fri, Mar 27, 2015 at 05:43:17PM -0700, Andrew Bresticker wrote: >> Add a binding document for a generic ADC keypad. Buttons on an ADC >> keypad are connected in a resistor ladder to an ADC. The binding >> describes the mapping of ADC c

Re: [PATCH 1/2] Input: Add binding document for a generic ADC keypad

2015-03-29 Thread Andrew Bresticker
On Sat, Mar 28, 2015 at 7:03 AM, Jonathan Cameron wrote: > On 28/03/15 00:43, Andrew Bresticker wrote: >> Add a binding document for a generic ADC keypad. Buttons on an ADC >> keypad are connected in a resistor ladder to an ADC. The binding >> describes the mapping of ADC channel and voltage ran

RE: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-29 Thread Wu, Feng
> -Original Message- > From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > Sent: Saturday, March 28, 2015 3:30 AM > To: Wu, Feng > Cc: h...@zytor.com; t...@linutronix.de; mi...@redhat.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; > j...@8bytes.org; al

Re: arm/ksm: Unable to handle kernel paging request in get_ksm_page() and ksm_scan_thread()

2015-03-29 Thread Hugh Dickins
On Mon, 30 Mar 2015, Xishi Qiu wrote: > On 2015/3/30 9:46, Xishi Qiu wrote: > > On 2015/3/30 8:43, Hugh Dickins wrote: > >> On Sat, 28 Mar 2015, Xishi Qiu wrote: > >>> On 2015/3/26 21:23, Xishi Qiu wrote: > >>> > Here are two panic logs from smart phone test, and the kernel version is >

Re: [PATCH v2] ARM: dts: vf610: fix missing irqs

2015-03-29 Thread Shawn Guo
On Fri, Mar 27, 2015 at 01:04:41PM +0100, Stefan Agner wrote: > While adding the MSCM interrupt router, all interrupts have been moved > to vfxxx.dtsi again. However, some properties got lost. Readd the > missing interrupt properties. > > Fixes: 97e6466ab9d0 ("ARM: dts: vf610: add Miscellaneous Sy

linux-next: build failure after merge of the net-next tree

2015-03-29 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/usb/cdc_ncm.c: In function 'cdc_ncm_fill_tx_frame': drivers/net/usb/cdc_ncm.c:1187:2: error: too few arguments to function 'usbnet_set_skb_tx_stats' usbnet_set_skb_tx_stats(skb

Re: [PATCH v3 1/1] dts: cubox: Map gpio-keys to gpio3 8

2015-03-29 Thread Shawn Guo
On Tue, Mar 24, 2015 at 10:31:35AM -0600, George Joseph wrote: > The Cubox has a recessed button between the HDMI and RJ-45 connectors > that wasn't mapped in the device tree, so I've mapped it to gpio-keys > BTN_0. > > Signed-off-by: George Joseph > Tested-by: George Joseph Applied, thanks. --

Re: [RFC][PATCH 00/10] tracing: Use TRACE_DEFINE_ENUM() to show enum values

2015-03-29 Thread Masami Hiramatsu
(2015/03/28 6:37), Steven Rostedt wrote: > As there are many tracepoints that use __print_symbolic() to translate > numbers into ASCII strings, and several of these translate enums as > well, it causes a problem for user space tools that read the tracepoint > format files and have to translate the

linux-next: manual merge of the net-next tree with the vfs tree

2015-03-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/socket.c between commit 774157aa4897 ("net: switch importing msghdr from userland to {compat_,}import_iovec()") from the vfs tree and commit 0345f93138b2 ("net: socket: add support for async operations") from the net-next

Re: [PATCH] fs: btrfs: Add missing include file

2015-03-29 Thread Guenter Roeck
On Fri, Mar 13, 2015 at 01:58:46AM -0700, Guenter Roeck wrote: > Building alpha:allmodconfig fails with > > fs/btrfs/inode.c: In function 'check_direct_IO': > fs/btrfs/inode.c:8050:2: error: implicit declaration of function > 'iov_iter_alignment' > > due to a missing include file. > > Fixes: 37

Re: [PATCH 3/5] arm64: kdump: do not go into EL2 before starting a crash dump kernel

2015-03-29 Thread AKASHI Takahiro
On 03/27/2015 07:29 AM, Geoff Levand wrote: On Thu, 2015-03-26 at 17:28 +0900, AKASHI Takahiro wrote: @@ -64,7 +65,11 @@ void soft_restart(unsigned long addr) setup_mm_for_reboot(); cpu_soft_restart(virt_to_phys(cpu_reset), - is_hyp_mode_available(), addr); +#ifdef

Re: [RFC] bpf: Suggestion on bpf syscall interface

2015-03-29 Thread He Kuang
On 2015/3/29 1:21, Alexei Starovoitov wrote: On 3/28/15 4:36 AM, He Kuang wrote: Hi, Alexei In our end-end IO module project, we use bpf maps to record configurations. According to current bpf syscall interface, we should specify map_fd to lookup/update bpf maps, so we are restricted to do con

Re: [RFC PATCH] sched: Add cpu based entries to debugfs

2015-03-29 Thread Mike Galbraith
Oh, you can add /proc/sys/kernel/sched_domain diddling to the hotplug todo... which will either create read /sys, poke modify buttons over yonder in /proc situation, or have to duplicate that. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: arm/ksm: Unable to handle kernel paging request in get_ksm_page() and ksm_scan_thread()

2015-03-29 Thread Xishi Qiu
On 2015/3/30 9:46, Xishi Qiu wrote: > On 2015/3/30 8:43, Hugh Dickins wrote: > >> On Sat, 28 Mar 2015, Xishi Qiu wrote: >>> On 2015/3/26 21:23, Xishi Qiu wrote: >>> Here are two panic logs from smart phone test, and the kernel version is v3.10. log1 is "Unable to handle kerne

linux-next: manual merge of the net-next tree with the vfs tree

2015-03-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/compat.c between commit 774157aa4897 ("net: switch importing msghdr from userland to {compat_,}import_iovec()") from the vfs tree and commit 0345f93138b2 ("net: socket: add support for async operations") from the net-next

Re: [RFC][PATCH 02/10] tracing: Allow for modules to export their trace enums as well

2015-03-29 Thread Rusty Russell
Steven Rostedt writes: > From: "Steven Rostedt (Red Hat)" > > Update the infrastructure such that modules that declare TRACE_DEFINE_ENUM() > will have those enums shown in the enum_map files in the tracing directory. > > Cc: Rusty Russell > Signed-off-by: Steven Rostedt Acked-by: Rusty Russel

Re: [RFC][PATCH 05/10] f2fs: Export the enums in the tracepoints to userspace

2015-03-29 Thread Namhyung Kim
On Fri, Mar 27, 2015 at 05:37:09PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The tracepoints that use __print_symbolic() use enums as the value > to convert to strings. Unfortunately, the format files for these > tracepoints show the enum name and not their value. This c

[PATCH net-next 2/2] hv_netvsc: Eliminate memory allocation in the packet send path

2015-03-29 Thread K. Y. Srinivasan
The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allo

[PATCH net-next 1/2] hv_netvsc: Cleanup the test for freeing skb when we use sendbuf mechanism

2015-03-29 Thread K. Y. Srinivasan
In preparation for embedding the rndis state and other packet state into the skb, cleanup the test for freeing the skb. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc.c |1 + drivers/net/hyperv/netvsc_drv.c |3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH net-next 0/2] hv_netvsc: Eliminate memory allocation in the send path

2015-03-29 Thread K. Y. Srinivasan
The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allo

Re: [RFC PATCH] sched: Add cpu based entries to debugfs

2015-03-29 Thread David Ahern
On 3/29/15 8:32 PM, Mike Galbraith wrote: On Sun, 2015-03-29 at 22:13 -0400, David Ahern wrote: diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 62671f53202a..b4d8d0c8260e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -268,12 +268,173 @@ static const struct file_oper

Re: [RFC][PATCH 02/10] tracing: Allow for modules to export their trace enums as well

2015-03-29 Thread Namhyung Kim
On Fri, Mar 27, 2015 at 05:37:06PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Update the infrastructure such that modules that declare TRACE_DEFINE_ENUM() > will have those enums shown in the enum_map files in the tracing directory. > > Cc: Rusty Russell > Signed-off-by

[Bugfix v3] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-03-29 Thread Jiang Liu
Before commit 593669c2ac0f("Use common ACPI resource interfaces to simplify implementation"), arch/x86/pci/acpi.c applies following rules when parsing ACPI resources for PCI host bridge: 1) Ignore IO port resources defined by acpi_resource_io and acpi_resource_fixed_io, which should be used to d

Re: [PATCH 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-03-29 Thread AKASHI Takahiro
Thank you, Geoff. On 03/27/2015 01:43 PM, Geoff Levand wrote: Hi Takahiro, On Thu, 2015-03-26 at 17:28 +0900, AKASHI Takahiro wrote: On system kernel, the memory region used by crash dump kernel must be specified by "crashkernel=X@Y" boot parameter. reserve_crashkernel() will allocate the regi

Re: [RFC][PATCH 01/10] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values

2015-03-29 Thread Namhyung Kim
Hi Steve, On Fri, Mar 27, 2015 at 05:37:05PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Several tracepoints use the helper functions __print_symbolic() or > __print_flags() and pass in enums that do the mapping between the > binary data stored and the value to print. Thi

Re: [RFC PATCH] sched: Add cpu based entries to debugfs

2015-03-29 Thread Mike Galbraith
On Sun, 2015-03-29 at 22:13 -0400, David Ahern wrote: > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 62671f53202a..b4d8d0c8260e 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -268,12 +268,173 @@ static const struct file_operations sched_feat_fops = { >

[PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-29 Thread Joel Stanley
The kernel has orderly_poweroff which allows the kernel to initiate a graceful shutdown of userspace, by running /sbin/poweroff. This adds orderly_reboot that will cause userspace to shut itself down by calling /sbin/reboot. This will be used for shutdown initiated by a system controller on platfo

[PATCH 2/2] powerpc/powernv: Reboot when requested by firmware

2015-03-29 Thread Joel Stanley
Use orderly_reboot so userspace will to shut itself down via the reboot path. This is required for graceful reboot initiated by the BMC, such as when a user uses ipmitool to issue a 'chassis power cycle' command. Signed-off-by: Joel Stanley --- arch/powerpc/platforms/powernv/opal-power.c | 5 +++

[RFC PATCH] sched: Add cpu based entries to debugfs

2015-03-29 Thread David Ahern
Currently sched_debug can be added to the kernel commandline parameters to dump domain information during boot. This method is not practical with a large number of CPUs. This patch adds per-cpu entries to debugfs under a sched directory. Reading the per-cpu file shows the domain information in a h

[PATCH RESEND] perf tools: introduce arm64 support unwind test.

2015-03-29 Thread Wang Nan
Newest libunwind does support ARM64, and perf is able to utilize it also. This patch enables the missing perf test dwarf unwind for arm64. Test result: # ./perf test unwind 25: Test dwarf unwind : Ok Signed-off-by: Wang Nan --- tools/perf/arch/arm64/Bui

[PATCH RESEND] perf: .gitignore: ignore .config-detected.

2015-03-29 Thread Wang Nan
Commit fcfd6611fbccdbf2593bd949097a5c0e45cd96da ("tools build: Add detected config support") dynamically creates .config-detected. Add it to .gitignore. Signed-off-by: Wang Nan --- tools/perf/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/.gitignore b/tools/perf/.gitig

Re: [RFC PATCH 2/2] ARM: EXYNOS: Make sure that the Exynos5420 MDMA0 clock is enabled during suspend

2015-03-29 Thread Chanwoo Choi
Hi Javier, On 03/27/2015 11:21 PM, Javier Martinez Canillas wrote: > Commit ae43b3289186 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power > Management support v12") added pm support for the pl330 dma driver but > it makes the clock for the Exynos5420 MDMA0 DMA controller to be gated > during sus

Re: arm/ksm: Unable to handle kernel paging request in get_ksm_page() and ksm_scan_thread()

2015-03-29 Thread Xishi Qiu
On 2015/3/30 8:43, Hugh Dickins wrote: > On Sat, 28 Mar 2015, Xishi Qiu wrote: >> On 2015/3/26 21:23, Xishi Qiu wrote: >> >>> Here are two panic logs from smart phone test, and the kernel version is >>> v3.10. >>> >>> log1 is "Unable to handle kernel paging request at virtual address >>> c0704da

Re: [PATCH net-next] wireless: Use bool function returns of true/false instead of 1/0

2015-03-29 Thread Joe Perches
On Sun, 2015-03-29 at 20:46 -0500, Larry Finger wrote: > On 03/29/2015 08:29 PM, Joe Perches wrote: > > Use bool constants as the return values instead of 1 and 0. > > > > Signed-off-by: Joe Perches > > --- > >> To be honest I'd might rather get bunches of these, there has to be a ton > >> of them

Re: [PATCH net-next] wireless: Use bool function returns of true/false instead of 1/0

2015-03-29 Thread Larry Finger
On 03/29/2015 08:29 PM, Joe Perches wrote: Use bool constants as the return values instead of 1 and 0. Signed-off-by: Joe Perches --- To be honest I'd might rather get bunches of these, there has to be a ton of them, than a slow trickle of one every few weeks/days. There aren't too many here

[PATCH] MAINTAINERS: CREDITS: Remove Stefano Brivio from B43

2015-03-29 Thread Joe Perches
This email address isn't working anymore Signed-off-by: Joe Perches --- Nearly 5 years on... https://lkml.org/lkml/2010/6/24/315 his email address is still dead. CREDITS | 4 MAINTAINERS | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CREDITS b/CREDITS index a

linux-next: build failure after merge of the idle tree

2015-03-29 Thread Stephen Rothwell
Hi Len, After merging the idle tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from arch/x86/include/asm/msr.h:131:0, from arch/x86/include/asm/processor.h:20, from arch/x86/include/asm/thread_info.h:23, fr

Re: [RFC v2 0/5] arm64: kvm: reset hyp context for kexec

2015-03-29 Thread AKASHI Takahiro
On 03/28/2015 02:40 AM, Kyle McMartin wrote: On Fri, Mar 27, 2015 at 03:37:04PM +, Marc Zyngier wrote: [ 236.260863] Kernel panic - not syncing: HYP panic: [ 236.260863] PS:63c9 PC:03ff0830 ESR:9606 It would be interesting if you could find out what you have at of

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-29 Thread Hugh Dickins
On Thu, 26 Mar 2015, David Rientjes wrote: > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > otherwise it may fail. Add this to the documentation. Thanks for taking this on, David. But although munmap(2) is the one Davide called out, it goes beyond that, doesn't it? T

[PATCH net-next] wireless: Use bool function returns of true/false instead of 1/0

2015-03-29 Thread Joe Perches
Use bool constants as the return values instead of 1 and 0. Signed-off-by: Joe Perches --- > To be honest I'd might rather get bunches of these, there has to be a ton > of them, than a slow trickle of one every few weeks/days. There aren't too many here either... drivers/net/wireless/b43/dma.c

[PATCH v2 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-03-29 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos --- .../ABI/testing/sysfs-driver-toshiba_acpi

[PATCH v2 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-29 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the "Typical" charging mode was added as a supported mode. Signed-off-by: Azael Avalos --- drivers/platform/x86/t

[PATCH v2 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-03-29 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[PATCH v2 0/3] toshiba_acpi: Fix USB Sleep & Charge mode and documentation updates

2015-03-29 Thread Azael Avalos
This patch fixes the USB Sleep & Charge charging mode on certain models, fixes pr_* messages and also adds the missing entries in the documentation file. Changes since v1: - Set the default supported value of sleep and charge to zero in case of an error and added comments. - Updated the title an

[PATCH net-next] ethernet: Use bool function returns of true/false instead of 1/0

2015-03-29 Thread Joe Perches
Use bool constants as the return values instead of 1 and 0. Signed-off-by: Joe Perches --- > To be honest I'd might rather get bunches of these, there has to be a ton > of them, than a slow trickle of one every few weeks/days. There aren't too many... drivers/net/ethernet/broadcom/bnx2x/bnx2x_

Re: [PATCH] perf, record: Add clockid parameter

2015-03-29 Thread David Ahern
On 3/28/15 1:55 AM, Peter Zijlstra wrote: Subject: perf, record: Add clockid parameter From: Peter Zijlstra Date: Fri, 27 Mar 2015 15:32:01 +0100 Teach perf-record about the new perf_event_attr::{use_clockid, clockid} fields. Add a simple parameter to set the clock (if any) to be used for the e

Re: [PATCH v11 tip 6/9] samples: bpf: simple non-portable kprobe filter example

2015-03-29 Thread Alexei Starovoitov
On 3/29/15 5:34 PM, Jovi Zhangwei wrote: + snprintf(buf, sizeof(buf), +"echo '%c:%s %s' >> /sys/kernel/debug/tracing/kprobe_events", +is_kprobe ? 'p' : 'r', event, event); + err = system(buf); Maybe we need to remember

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2015-03-29 Thread Jaehoon Chung
Dear Doug, I'm considering to control HLE error..So holding this patch. If this is absolutely necessary patch, let me know, plz. Best Regards, Jaehoon Chung On 03/16/2015 02:56 PM, Jaehoon Chung wrote: > Hi, Doug. > > On 03/14/2015 05:27 AM, Doug Anderson wrote: >> Hi, >> >> On Fri, Mar 13, 201

Re: arm/ksm: Unable to handle kernel paging request in get_ksm_page() and ksm_scan_thread()

2015-03-29 Thread Hugh Dickins
On Sat, 28 Mar 2015, Xishi Qiu wrote: > On 2015/3/26 21:23, Xishi Qiu wrote: > > > Here are two panic logs from smart phone test, and the kernel version is > > v3.10. > > > > log1 is "Unable to handle kernel paging request at virtual address > > c0704da020", it should be ffc0704da020, right

Re: [PATCH v11 tip 6/9] samples: bpf: simple non-portable kprobe filter example

2015-03-29 Thread Jovi Zhangwei
On Wed, Mar 25, 2015 at 12:49 PM, Alexei Starovoitov wrote: > tracex1_kern.c - C program compiled into BPF. > It attaches to kprobe:netif_receive_skb > When skb->dev->name == "lo", it prints sample debug message into trace_pipe > via bpf_trace_printk() helper function. > > tracex1_user.c - corresp

Re: [patch 00/12] mm: page_alloc: improve OOM mechanism and policy

2015-03-29 Thread Dave Chinner
On Fri, Mar 27, 2015 at 11:05:09AM -0400, Johannes Weiner wrote: > On Fri, Mar 27, 2015 at 06:58:22AM +1100, Dave Chinner wrote: > > On Wed, Mar 25, 2015 at 02:17:04AM -0400, Johannes Weiner wrote: > > > Hi everybody, > > > > > > in the recent past we've had several reports and discussions on how

Re: [PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions

2015-03-29 Thread Azael Avalos
Hi Darren, 2015-03-27 20:58 GMT-06:00 Darren Hart : > On Fri, Mar 27, 2015 at 03:09:25PM -0600, Azael Avalos wrote: >> This patch fixes typos in the pr_* messages from the USB Sleep >> Functions. >> >> Signed-off-by: Azael Avalos >> --- >> drivers/platform/x86/toshiba_acpi.c | 16 ---

Re: [PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-29 Thread Azael Avalos
Hi Darren, 2015-03-27 20:53 GMT-06:00 Darren Hart : > On Fri, Mar 27, 2015 at 03:09:24PM -0600, Azael Avalos wrote: >> This patch fixes the USB Sleep and Charge mode on certain models >> where the value returned by the BIOS is different, and thus, making >> this feature not to work for those mode

[PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-03-29 Thread Wanpeng Li
There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will be reallocated in the destination machine and the guest in the source machine will be destroyed when live mig

Re: [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-29 Thread Bob Liu
On 03/28/2015 08:44 AM, Konrad Rzeszutek Wilk wrote: > On Thu, Mar 26, 2015 at 04:32:45PM +0100, Roger Pau Monné wrote: >> El 26/03/15 a les 13.16, Bob Liu ha escrit: >>> There are several place using gnttab async unmap and wait for >>> completion, so move the common code to a function >>> gnttab_

Re: [PATCH 56/86] intel/ixgb: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Jeff Kirsher
On Sun, 2015-03-29 at 15:41 +0200, Michael S. Tsirkin wrote: > Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, > use the new header directly so we can drop > the wrapper in include/linux/pci_ids.h. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/net/ethernet/intel/ixgb/ixgb_hw.c

Re: [PATCH] ACPI/PMIC: Fix typo in MODULE_DESCRIPTION in intel_pmic_crc.c

2015-03-29 Thread Rafael J. Wysocki
On Wednesday, March 25, 2015 11:13:08 PM Masanari Iida wrote: > This patch fix a spelling typo in MODULE_DESCRIPTION within intel_pmic_crc.c > > Signed-off-by: Masanari Iida Queued up for 4.1, thanks! > --- > drivers/acpi/pmic/intel_pmic_crc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH 2/5] selftest/futex: Update Makefile to use lib.mk

2015-03-29 Thread Michael Ellerman
On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: > Adapt the futextest Makefiles to use lib.mk macros for RUN_TESTS and > EMIT_TESTS. For now, we reuse the run.sh mechanism provided by > futextest. This doesn't provide the standard selftests: [PASS|FAIL] > format, but the tests provide very si

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-29 Thread Michael Ellerman
On Fri, 2015-03-27 at 16:09 -0700, Darren Hart wrote: > > On 3/27/15 3:59 PM, Michael Ellerman wrote: > > On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: > >> Define the exit codes with KSFT_PASS and similar so tests can use these > >> directly if they choose. Also enable harnesses and other

Re: [PATCH 10/11] staging: rtl8192e: Decrease nesting of rtllib_rx_auth_resp()

2015-03-29 Thread Joe Perches
On Mon, 2015-03-30 at 01:21 +0200, Mateusz Kulikowski wrote: > On 30.03.2015 01:13, Joe Perches wrote: > > On Mon, 2015-03-30 at 00:41 +0200, Mateusz Kulikowski wrote: > >> Return from rtllib_rx_auth_resp() if auth_parse() fails. > >> diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c > >> b/d

[PATCH] sched/deadline: Use IPI to trigger DL task push migration instead of pulling

2015-03-29 Thread Wanpeng Li
This design the same as rt class to send out only one IPI to the first overloaded CPU. It tries to push any tasks that it can, and then looks for the next overloaded CPU that can push to the source CPU. The IPIs stop when all overloaded CPUs that have pushable tasks that have deadlines earlier

Re: [PATCH 10/11] staging: rtl8192e: Decrease nesting of rtllib_rx_auth_resp()

2015-03-29 Thread Mateusz Kulikowski
Hi Joe, Thanks for reviewing my patches. On 30.03.2015 01:13, Joe Perches wrote: > On Mon, 2015-03-30 at 00:41 +0200, Mateusz Kulikowski wrote: >> Return from rtllib_rx_auth_resp() if auth_parse() fails. > > Hello Mateusz. Here are some trivial notes. > >> diff --git a/drivers/staging/rtl8192

Re: [PATCH v14] sched/deadline: support dl task migration during cpu hotplug

2015-03-29 Thread Wanpeng Li
Ping Ingo, ;) On Fri, Mar 27, 2015 at 07:08:35AM +0800, Wanpeng Li wrote: >I observe that dl task can't be migrated to other cpus during cpu hotplug, >in addition, task may/may not be running again if cpu is added back. The >root cause which I found is that dl task will be throtted and removed from

Re: [PATCH 37/86] firewire/ohci: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Stefan Richter
On Mar 29 Michael S. Tsirkin wrote: > Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, > use the new header directly so we can drop > the wrapper in include/linux/pci_ids.h. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/firewire/ohci.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-03-29 Thread Stefan Richter
On Mar 29 Michael S. Tsirkin wrote: > The macros in pci_ids.h are pretty useful for userspace > using the pci sysfs interface, e.g. to decode class > device and vendor sysfs files. > > At the moment userspace is forced to duplicate these macros (e.g. QEMU does > this, so does gpxe, seabios, etc),

Re: [PATCH 10/11] staging: rtl8192e: Decrease nesting of rtllib_rx_auth_resp()

2015-03-29 Thread Joe Perches
On Mon, 2015-03-30 at 00:41 +0200, Mateusz Kulikowski wrote: > Return from rtllib_rx_auth_resp() if auth_parse() fails. Hello Mateusz. Here are some trivial notes. > diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c > b/drivers/staging/rtl8192e/rtllib_softmac.c [] > + /* Dummy

[PATCH 01/11] staging: rtl8192e: Fix UNNECESSARY_ELSE warning

2015-03-29 Thread Mateusz Kulikowski
Fix checkpatch warnings 'else is not generally useful after a break or return' Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 72 +++--- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 10 +- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c| 7 +- driv

[PATCH 02/11] staging: rtl8192e: Fix RETURN_VOID warnings

2015-03-29 Thread Mateusz Kulikowski
Fix 'void function return statements are not generally useful' checkpatch.pl warnings Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 -- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 8 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 7 -

[PATCH 04/11] staging: rtl8192e: Fix UNNECESSARY_PARENTHESES warnings

2015-03-29 Thread Mateusz Kulikowski
Fix 'Unnecessary parentheses' checkpatch.pl warning Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 4 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 12 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 3 files changed, 9 insertions(+)

  1   2   3   4   >