Re: [PATCH] x86, crypto: Check if gas supports CRC32

2014-07-30 Thread Mathias Krause
On 31 July 2014 00:11, Borislav Petkov wrote: > > On Wed, Jul 30, 2014 at 11:28:14PM +0200, Mathias Krause wrote: > > Gah, CONFIG_AS_CRC32 gets defined as a preprocessor symbol only so > > cannot be used in makefiles. So crc32c-pcl-intel-asm_64.S needs a > > "#ifdef CONFIG_AS_CRC32" guard and

[LKP] [mm] b72fd1470c9: -41.7% perf-profile.cpu-cycles.get_page_from_freelist.__alloc_pages_nodemask.alloc_pages_current.__page_cache_alloc.pagecache_get_page

2014-07-30 Thread Aaron Lu
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit b72fd1470c9735f53485d089aa918dc327a86077 ("mm: rearrange zone fields into read-only, page alloc, statistics and page reclaim lines") test case:

[PATCH 8/8] perf symbol: Don't demangle parameters and such by default

2014-07-30 Thread Namhyung Kim
Some C++ symbols have very long name and they make column length longer. Most of them are about parameters including templates and we can ignore such info most of time IMHO. This patch passes DMGL_NO_OPTS by default when calling bfd_demangle(). One can still see full symbols with -v/--verbose

[PATCH 6/8] perf tools: Add name field into perf_hpp_fmt

2014-07-30 Thread Namhyung Kim
It makes the code a bit simpler and easier to debug IMHO. I guess it can also remove similar code in perf diff, but let's keep it for a future work. :) Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 4 +- tools/perf/ui/hist.c | 136

[PATCH 2/8] perf tools: Make __hpp__fmt() receive an additional len argument

2014-07-30 Thread Namhyung Kim
So that it can properly handle alignment requirements later. To do that, add percent_color_len_snprintf() fucntion to help coloring of overhead columns. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 14 -- tools/perf/ui/gtk/hists.c | 8 +---

[PATCH 4/8] perf report: Honor column width setting

2014-07-30 Thread Namhyung Kim
Set column width and do not change it if user gives -w/--column-widths option. It'll truncate longer symbols than the width if exists. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 18 + tools/perf/ui/gtk/hists.c | 10 ++--- tools/perf/ui/hist.c | 84

[PATCH 7/8] perf tools: Fix column alignment when headers aren't shown on TUI

2014-07-30 Thread Namhyung Kim
If user sets ui.show-headers config option to false, it didn't calculate default column width so it broke the alignment. This is because it does the calculation just before showing headers. Move it to the beginning of the hist browser so that it can be called regardless of the config option.

[PATCHSET 0/8] perf tools: Honor column width setting (v3)

2014-07-30 Thread Namhyung Kim
Hello, This patchset is to control perf report/top output column width by -w/--column-widths option so that it can fit into the terminal size. The -w option is there for perf report but it ignored by recent output field changed due to some reason. This patchset fixes it and supports perf top

[PATCH 3/8] perf tools: Save column length in perf_hpp_fmt

2014-07-30 Thread Namhyung Kim
Save column length in the hpp format and pass it to print functions. This is a preparation for users to control column width in the output. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 2 +- tools/perf/ui/hist.c | 135 +++--

[PATCH 5/8] perf top: Add -w option for setting column width

2014-07-30 Thread Namhyung Kim
Add -w/--column-widths option like perf report does so that users are able to see symbols even with some very long C++ library/functions. It can be a list separated by comma for each column. $ perf top -w 0,20,30 The value of 0 means there's no limit. Signed-off-by: Namhyung Kim ---

[PATCH 1/8] perf tools: Left-align output contents

2014-07-30 Thread Namhyung Kim
Now perf left-aligns column headers but the contents does not. It should have same alignment. This requires a change in pid sort key - it consists of two part (pid and comm). As length of comm can be vary it'd be better to change the order of them. Thanks to Jiri Olsa for pointing this out.

Re: [Patch v4] input: drv260x: Add TI drv260x haptics driver

2014-07-30 Thread Dmitry Torokhov
Hi Dan, On Wed, Jul 30, 2014 at 09:14:40AM -0500, Dan Murphy wrote: > Add the TI drv260x haptics/vibrator driver. > This device uses the input force feedback > to produce a wave form to driver an > ERM or LRA actuator device. > > The initial driver supports the devices > real time playback mode.

Re: [PATCH v2 2/2] ksm: Provide support to use deferrable timers for scanner thread

2014-07-30 Thread Chintan Pandya
On 07/31/2014 03:17 AM, Andrew Morton wrote: On Fri, 25 Jul 2014 20:18:18 +0530 Chintan Pandya wrote: KSM thread to scan pages is scheduled on definite timeout. That wakes up CPU from idle state and hence may affect the power consumption. Provide an optional support to use deferrable timer

Re: [PATCH] mm: BUG when __kmap_atomic_idx crosses boundary

2014-07-30 Thread Chintan Pandya
On 07/30/2014 02:36 PM, Andrew Morton wrote: On Wed, 30 Jul 2014 14:22:35 +0530 Chintan Pandya wrote: __kmap_atomic_idx>= KM_TYPE_NR or< ZERO is a bug. Report it even if CONFIG_DEBUG_HIGHMEM is not enabled. That saves much debugging efforts. Please take considerably more care when

RE: [PATCH] staging:r8190: coding style: Fixed checkpatch reported Error

2014-07-30 Thread Sharma, Sanjeev
Hi Greg, I have resent all the patches in order. Please review. Regards Sanjeev Sharma -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, July 31, 2014 5:51 AM To: Sharma, Sanjeev Cc: de...@driverdev.osuosl.org; oor...@gmail.com;

Re: [PATCH] ARM/ARM64: don't enter kgdb when userspace executes a kgdb break instruction.

2014-07-30 Thread Omar Sandoval
Hi, On Wed, Jul 30, 2014 at 12:24:14PM +0100, Will Deacon wrote: > Whilst this sounds like a worrying problem, I've failed to reproduce it > on arm64. Executing a brk instruction with either KGDB_DYN_DGB_BRK_IMM or > KDBG_COMPILED_DBG_BRK_IMM immediates from userspace results in a SIGTRAP being

[PATCH v2 1/3] staging:r8180: coding style: Fixed commenting style

2014-07-30 Thread Sanjeev Sharma
This is a patch to the r8180_93cx6.c file that fixes commenting style warning Signed-off-by: Sanjeev Sharma --- Changes in v2: - Added signed-off field. drivers/staging/rtl8192u/r8180_93cx6.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git

[PATCH v2 2/3] staging:r8180: coding style: Fixed too long lines

2014-07-30 Thread Sanjeev Sharma
This is a patch to the r8180_93cx6.h file that fixes long lines along with some additional warning. Signed-off-by: Sanjeev Sharma --- Changes in v2: - Added signed-off field. drivers/staging/rtl8192u/r8180_93cx6.h | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH v2 3/3] staging:r8190: coding style: Fixed checkpatch reported Error

2014-07-30 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes checkpatch reported space & coding style issues. Signed-off-by: Sanjeev Sharma --- Changes in v2: - Added space character in the signed-off-by field. drivers/staging/rtl8192u/r8190_rtl8256.c | 169 +++ 1 file

RE: [f2fs-dev] [PATCH] f2fs: reduce competition among node page writes

2014-07-30 Thread Chao Yu
Hi Changman, > -Original Message- > From: Changman Lee [mailto:cm224@samsung.com] > Sent: Thursday, July 31, 2014 10:07 AM > To: Chao Yu > Cc: 'Jaegeuk Kim'; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re:

[PATCH v2 0/3] Fixed commenting style problem

2014-07-30 Thread Sanjeev Sharma
AddedSigned-off-by: line that was missing. Sanjeev Sharma (3): staging:r8180: coding style: Fixed commenting style staging:r8180: coding style: Fixed too long lines staging:r8190: coding style: Fixed checkpatch reported Error drivers/staging/rtl8192u/r8180_93cx6.c | 15 +--

Re: [PATCH 3/4] arm64: LLVMLinux: Calculate current_thread_info from current_stack_pointer

2014-07-30 Thread Andreas Färber
Hi, Am 31.07.2014 01:57, schrieb beh...@converseincode.com: > From: Behan Webster > > Use the global current_stack_pointer to get the value of the stack pointer. > This change supports being able to compile the kernel with both gcc and clang. > > Signed-off-by: Behan Webster > Signed-off-by:

Re: [PATCH v2 RESEND 3/4] drivers: dma-coherent: add initialization from device tree

2014-07-30 Thread Marek Szyprowski
Hello, On 2014-07-31 01:49, Grant Likely wrote: On Tue, Jul 29, 2014 at 11:33 PM, Marek Szyprowski wrote: Hello, On 2014-07-29 23:54, Grant Likely wrote: On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski wrote: Initialization procedure of dma coherent pool has been split into two

Re: [LKP] [drm/i915] WARNING: CPU: 3 PID: 248 at drivers/gpu/drm/i915/intel_pm.c:6427 check_power_well_state+0x60/0x90 [i915]()

2014-07-30 Thread Aaron Lu
On Wed, Jul 30, 2014 at 11:40:05AM +0200, Daniel Vetter wrote: > On Wed, Jul 30, 2014 at 4:20 AM, Aaron Lu wrote: > > On 07/29/2014 07:10 PM, Daniel Vetter wrote: > >> On Tue, Jul 29, 2014 at 12:14 PM, Ville Syrjälä > >> wrote: > >>> On Tue, Jul 29, 2014 at 10:43:02AM +0800, Aaron Lu wrote: >

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-07-30 Thread Aaron Lu
On Wed, Jul 30, 2014 at 10:25:03AM -0400, Rik van Riel wrote: > On 07/29/2014 10:14 PM, Aaron Lu wrote: > > On Tue, Jul 29, 2014 at 04:04:37PM -0400, Rik van Riel wrote: > >> On Tue, 29 Jul 2014 10:17:12 +0200 > >> Peter Zijlstra wrote: > >> > +#define NUMA_SCALE 1000 > +#define

Re: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-30 Thread Andreas Färber
Am 31.07.2014 05:59, schrieb Andreas Färber: > Hi Kukjin, > > Am 31.07.2014 03:10, schrieb Kukjin Kim: >> Olof Johansson wrote: >>> >>> Hi, >>> >> Hi Olof, >> >>> On Sun, Jul 27, 2014 at 5:39 PM, Kukjin Kim wrote: Andreas Färber wrote: > > Am 27.07.2014 14:22, schrieb Andreas

Re: [RFC PATCH 0/2] dirreadahead system call

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 03:19:31PM -0600, Andreas Dilger wrote: > On Jul 28, 2014, at 6:52 AM, Abhijith Das wrote: > > OnJuly 26, 2014 12:27:19 AM "Andreas Dilger" wrote: > >> Is there a time when this doesn't get called to prefetch entries in > >> readdir() order? It isn't clear to me what

Re: [RFC 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs

2014-07-30 Thread Andreas Färber
Kukjin, Am 28.07.2014 14:18, schrieb Andreas Färber: > Hello, > > This series adds a dedicated ODROID-XU device tree and enhances it with > LED configuration, to match the downstream 3.14 based behavior. > > It had turned out less trivial than I initially thought as the whole > pinctrl stuff

be2net crash on next-20140730 ("Driver probe function unexpectedly returned 1966082")

2014-07-30 Thread Eduardo Habkost
Hi, When running next-20140730 form linux-next, I get the following on dmesg: be2net :02:00.0: PCIe error reporting enabled be2net :02:00.0: adapter not in advanced mode be2net :02:00.0: Emulex OneConnect(be3) initialization failed be2net :02:00.0: Driver probe function

[PATCH v2 2/4] usb: dwc2: add compatible data for rockchip soc

2014-07-30 Thread Kever Yang
This patch add compatible data for dwc2 controller found on rk3066, rk3188 and rk3288 processors from rockchip. Signed-off-by: Kever Yang --- Changes in v2: - set most parameters as driver auto-detect drivers/usb/dwc2/platform.c | 29 + 1 file changed, 29

[PATCH v2 1/4] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-07-30 Thread Kever Yang
This add necessary dwc2 binding documentation for Rockchip socs: rk3066, rk3188 and rk3288 Signed-off-by: Kever Yang --- Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible "snps,dwc2" bingding info Documentation/devicetree/bindings/usb/dwc2.txt |3 +++ 1 file

[PATCH v2 4/4] ARM: dts: Enable USB otg and host1(dwc) on rk3288-evb

2014-07-30 Thread Kever Yang
USB otg port is the usb3.0 b-port on the board. USB host1 port is the host A port nearby the otg port. Signed-off-by: Kever Yang --- Changes in v2: - evb patch added in version 2 arch/arm/boot/dts/rk3288-evb.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 0/4] Patches to add support for Rockchip dwc2 controller

2014-07-30 Thread Kever Yang
From: Kever Yang These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible "snps,dwc2" bingding info - set most parameters as driver auto-detect

[PATCH v2 3/4] ARM: dts: add rk3288 dwc2 controller support

2014-07-30 Thread Kever Yang
rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang --- Changes in v2: - change the node name from 'dwc2' to 'usb' arch/arm/boot/dts/rk3288.dtsi | 20

Re: [PATCH 1/2] perf tools: Ensure --symfs ends with '/'

2014-07-30 Thread Namhyung Kim
Hi Arnaldo, On Wed, 30 Jul 2014 17:55:21 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 30, 2014 at 12:19:32PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Wed, Jul 30, 2014 at 08:52:36AM +0900, Namhyung Kim escreveu: >> > I also thought about that way first but changed my mind to the

[PATCH v2] kbuild, LLVMLinux: Supress warnings unless W=1-3

2014-07-30 Thread behanw
From: Behan Webster clang has more warnings enabled by default. Turn them off unless W is set. This patch fixes a logic bug where warnings in clang were disabled when W was set. Signed-off-by: Behan Webster Signed-off-by: Jan-Simon Möller Signed-off-by: Mark Charlebois Cc: mma...@suse.cz

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 11:57 PM, Dave Airlie wrote: > On 31 July 2014 12:05, Nick Krause wrote: >> On Wed, Jul 30, 2014 at 7:30 PM, Dave Airlie wrote: This patch removes the lines for releasing the page cache in certain files as this may aid in perfomance with writes in the

Re: [PATCH/RFC] autofs: the documentation I wanted to read

2014-07-30 Thread NeilBrown
On Wed, 30 Jul 2014 11:37:14 -0700 Randy Dunlap wrote: > On 07/28/14 19:00, NeilBrown wrote: > > +Directories further down the tree depend on the *max_proto* mount > > max_proto or maxproto? > or either? > check/fix other places also. The

[PATCH] ASoC: fsl_asrc: Fix sparse warnings in FSL_ASRC_FORMATS due to typo

2014-07-30 Thread Nicolin Chen
reproduce: make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> sound/soc/fsl/fsl_asrc.c:563:28: sparse: restricted snd_pcm_format_t >> degrades to integer >> sound/soc/fsl/fsl_asrc.c:570:28: sparse: restricted snd_pcm_format_t >> degrades to integer vim +563

[PATCH V2] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-30 Thread Daeseok Youn
When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for saving configrations with kstrdup(). So these are freed when dgap is unloaded or failed to initialize. Signed-off-by: Daeseok Youn

Re: [PATCH v2 1/2] Documentation: dt-bindings: add dt binding info for dwc2 dr_mode

2014-07-30 Thread Doug Anderson
Kever, On Wed, Jul 30, 2014 at 5:29 PM, Kever Yang wrote: > Indicate that the generic dr_mode binding should be used for dwc2. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - Split out dr_mode and rk3288 bindings. > > Documentation/devicetree/bindings/usb/dwc2.txt |2 ++ > 1

Re: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-30 Thread Andreas Färber
Hi Kukjin, Am 31.07.2014 03:10, schrieb Kukjin Kim: > Olof Johansson wrote: >> >> Hi, >> > Hi Olof, > >> On Sun, Jul 27, 2014 at 5:39 PM, Kukjin Kim wrote: >>> Andreas Färber wrote: Am 27.07.2014 14:22, schrieb Andreas Färber: > Hello, > > This mini-series unbreaks booting

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Dave Airlie
On 31 July 2014 12:05, Nick Krause wrote: > On Wed, Jul 30, 2014 at 7:30 PM, Dave Airlie wrote: >>> This patch removes the lines for releasing the page cache in certain >>> files as this may aid in perfomance with writes in the compression >>> rountines of btrfs. Please note that this patch has

Re: [PATCH 06/19] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2014-07-30 Thread Hanjun Guo
On 2014-7-30 0:40, Sudeep Holla wrote: [...] >> >> +/* 1 to indicate PSCI is implemented */ >> +int acpi_psci_present; >> + >> +/* 1 to indicate HVC must be used instead of SMC as the PSCI conduit */ >> +int acpi_psci_use_hvc; >> + > > These can be boolean but can be removed IMO, see below. > >>

Re: [PATCH] gpio: add flags argument to gpiod_get*() functions

2014-07-30 Thread Alexandre Courbot
On Mon, Jul 28, 2014 at 7:30 PM, Linus Walleij wrote: > On Fri, Jul 25, 2014 at 4:38 PM, Alexandre Courbot > wrote: > >> The huge majority of GPIOs have their direction and initial value set >> right after being obtained by one of the gpiod_get() functions. The >> integer GPIO API had

[PATCH v4 net-next 1/5] net: filter: simplify socket charging

2014-07-30 Thread Alexei Starovoitov
attaching bpf program to a socket involves multiple socket memory arithmetic, since size of 'sk_filter' is changing when classic BPF is converted to eBPF. Also common path of program creation has to deal with two ways of freeing the memory. Simplify the code by delaying socket charging until

[PATCH v4 net-next 0/5] net: filter: split sk_filter into socket and bpf, cleanup names

2014-07-30 Thread Alexei Starovoitov
The main goal of the series is to split 'struct sk_filter' into socket and bpf parts and cleanup names in the following way: - everything that deals with sockets keeps 'sk_*' prefix - everything that is pure BPF is changed to 'bpf_*' prefix split 'struct sk_filter' into struct sk_filter {

[PATCH v4 net-next 2/5] net: filter: rename sk_filter_proglen -> bpf_classic_proglen

2014-07-30 Thread Alexei Starovoitov
trivial rename to better match semantics of macro Signed-off-by: Alexei Starovoitov --- include/linux/filter.h |3 +-- net/core/filter.c |8 net/core/sock_diag.c |2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/linux/filter.h

[PATCH v4 net-next 4/5] net: filter: rename sk_convert_filter() -> bpf_convert_filter()

2014-07-30 Thread Alexei Starovoitov
to indicate that this function is converting classic BPF into eBPF and not related to sockets Signed-off-by: Alexei Starovoitov --- arch/x86/net/bpf_jit_comp.c |2 +- include/linux/filter.h |4 ++-- kernel/bpf/core.c |2 +- kernel/seccomp.c|4 ++--

[PATCH v4 net-next 3/5] net: filter: rename sk_chk_filter() -> bpf_check_classic()

2014-07-30 Thread Alexei Starovoitov
trivial rename to indicate that this functions performs classic BPF checking Signed-off-by: Alexei Starovoitov --- Documentation/networking/filter.txt |2 +- include/linux/filter.h |2 +- kernel/bpf/core.c |2 +- kernel/seccomp.c|

[PATCH v4 net-next 5/5] net: filter: split 'struct sk_filter' into socket and bpf parts

2014-07-30 Thread Alexei Starovoitov
clean up names related to socket filtering and bpf in the following way: - everything that deals with sockets keeps 'sk_*' prefix - everything that is pure BPF is changed to 'bpf_*' prefix split 'struct sk_filter' into struct sk_filter { atomic_trefcnt; struct rcu_head

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 11:14 PM, Austin S Hemmelgarn wrote: > On 07/30/2014 12:54 AM, Nick Krause wrote: >> On Wed, Jul 30, 2014 at 12:37 AM, Gareth Pye wrote: >>> You've been replied to politely, now listen and do or shut up. >>> >>> >>> On Wed, Jul 30, 2014 at 1:54 PM, Nick Krause wrote:

Re: [RFC PATCH 1/2] fs: Add dirreadahead syscall and VFS hooks

2014-07-30 Thread Dave Chinner
On Tue, Jul 29, 2014 at 10:21:50AM +0200, Michael Kerrisk wrote: > [CC+=linux-api] > > On Fri, Jul 25, 2014 at 7:37 PM, Abhi Das wrote: > > Also adds a void *opaque field to struct dir_context that can be > > used by filesystems to temporarily store any context as this > > struct gets passed

[PATCH] smpboot: remove the unneeded declaration for smpboot_thread_data

2014-07-30 Thread Lai Jiangshan
smpboot.h doesn't need this declaration, remove it. CC: Thomas Gleixner Signed-off-by: Lai Jiangshan --- include/linux/smpboot.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/smpboot.h b/include/linux/smpboot.h index 13e9296..d37dc78 100644 ---

[PATCH] swap: remove the struct cpumask has_work

2014-07-30 Thread Lai Jiangshan
It is suggested that cpumask_var_t and alloc_cpumask_var() should be used instead of struct cpumask. But I don't want to add this complicity nor leave this unwelcome "static struct cpumask has_work;", so I just remove it and use flush_work() to perform on all online drain_work. flush_work()

[PATCH] smpboot: add missing get_online_cpus() when register

2014-07-30 Thread Lai Jiangshan
If the smpboot_register_percpu_thread() is called after smpboot_create_threads() but before __cpu_up(), the smpboot thread of the online-ing CPU is not created, and it results a bug. So we use get_online_cpus() to prevent it. smpboot_unregister_percpu_thread() travels all possible CPU, it

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 08:22:22AM -0400, Abhijith Das wrote: > > > - Original Message - > > From: "Dave Chinner" > > To: "Zach Brown" > > Cc: "Abhijith Das" , linux-kernel@vger.kernel.org, > > "linux-fsdevel" , > > "cluster-devel" > > Sent: Friday, July 25, 2014 7:38:59 PM > >

Re: ARC fails to boot on linux-next of 20140711

2014-07-30 Thread Grant Likely
On Sat, 26 Jul 2014 15:10:28 -0500, Rob Herring wrote: > On Sat, Jul 26, 2014 at 11:50 AM, Grant Likely > wrote: > > On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta > > wrote: > >> Hi Rob, > >> > >> On Friday 25 July 2014 07:45 PM, Rob Herring wrote: > >> > On Fri, Jul 25, 2014 at 6:02 AM,

Re: [REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Joseph Salisbury
On 07/30/2014 06:42 PM, Julius Werner wrote: > Hi Joseph, > >> Julius, I was hoping to get your feedback, since you are the patch >> author. Do you think gathering any additional data will help diagnose >> this issue, or would it be best to continue with this revert request? > As I understand it,

Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Yuyang Du
Hi Morten, On Wed, Jul 30, 2014 at 11:13:31AM +0100, Morten Rasmussen wrote: > > > 2. runnable_load_avg and blocked_load_avg are combined > > > > > > runnable_load_avg currently represents the sum of load_avg_contrib of > > > all tasks on the rq, while blocked_load_avg is the sum of those tasks

Re: [RFC PATCH 0/2] dirreadahead system call

2014-07-30 Thread NeilBrown
On Fri, 25 Jul 2014 12:37:29 -0500 Abhi Das wrote: > This system call takes 3 arguments: > fd - file descriptor of the directory being readahead > *offset - offset in dir from which to resume. This is updated > as we move along in the directory > count - The max number of

Re: [PATCH v3] staging: vt6655: ioctl.c - missing __user annotation

2014-07-30 Thread Anil Shashikumar Belur
On Thursday 31 July 2014 05:38 AM, Greg KH wrote: > > This patch doesn't apply against my tree at all, what did you make it > against? > > Always work against linux-next, or the staging-next branch of my > staging.git tree on git.kernel.org. > > thanks, > > greg k-h Hi, I am working on

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 03:21:20PM -0600, Andreas Dilger wrote: > On Jul 25, 2014, at 6:38 PM, Dave Chinner wrote: > > On Fri, Jul 25, 2014 at 10:52:57AM -0700, Zach Brown wrote: > >> On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: > >>> Hi all, > >>> > >>> The topic of a

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Austin S Hemmelgarn
On 07/30/2014 12:54 AM, Nick Krause wrote: > On Wed, Jul 30, 2014 at 12:37 AM, Gareth Pye wrote: >> You've been replied to politely, now listen and do or shut up. >> >> >> On Wed, Jul 30, 2014 at 1:54 PM, Nick Krause wrote: >>> >>> Hey Guys , >>> I am new to reading and writing kernel code.I

Re: [x86,kaslr] [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1422 warn_pre_alternatives()

2014-07-30 Thread Paul E. McKenney
On Thu, Jul 31, 2014 at 10:42:12AM +0800, Fengguang Wu wrote: > On Wed, Jul 30, 2014 at 08:52:07AM -0700, Paul E. McKenney wrote: > > On Wed, Jul 30, 2014 at 10:17:32PM +0800, Fengguang Wu wrote: > > > On Wed, Jul 30, 2014 at 10:07:56PM +0800, Fengguang Wu wrote: > > > > Hi Andy, > > > > > > > >

Re: [delayed_fput] BUG: unable to handle kernel paging request at ffff8800122a0ad0

2014-07-30 Thread Alexei Starovoitov
On Wed, Jul 30, 2014 at 7:40 PM, Fengguang Wu wrote: > On Wed, Jul 30, 2014 at 04:00:58PM -0700, Alexei Starovoitov wrote: >> On Wed, Jul 30, 2014 at 3:51 PM, David Rientjes wrote: >> > On Wed, 30 Jul 2014, Christoph Hellwig wrote: >> > >> >> On Wed, Jul 30, 2014 at 11:55:41AM +0800, Fengguang

Re: [x86,kaslr] [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1422 warn_pre_alternatives()

2014-07-30 Thread Fengguang Wu
On Wed, Jul 30, 2014 at 08:52:07AM -0700, Paul E. McKenney wrote: > On Wed, Jul 30, 2014 at 10:17:32PM +0800, Fengguang Wu wrote: > > On Wed, Jul 30, 2014 at 10:07:56PM +0800, Fengguang Wu wrote: > > > Hi Andy, > > > > > > Here is another WARNING message for the same commit. > > > > > > commit

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-30 Thread Eric W. Biederman
One Thousand Gnomes writes: > On Wed, 30 Jul 2014 11:41:41 -0700 > ebied...@xmission.com (Eric W. Biederman) wrote: > >> One Thousand Gnomes writes: >> >> >> Andy you seem to be arguing here for two system calls. >> >> get_urandom() and get_random(). >> >> >> >> Where get_urandom only blocks

Re: [delayed_fput] BUG: unable to handle kernel paging request at ffff8800122a0ad0

2014-07-30 Thread Fengguang Wu
On Wed, Jul 30, 2014 at 04:00:58PM -0700, Alexei Starovoitov wrote: > On Wed, Jul 30, 2014 at 3:51 PM, David Rientjes wrote: > > On Wed, 30 Jul 2014, Christoph Hellwig wrote: > > > >> On Wed, Jul 30, 2014 at 11:55:41AM +0800, Fengguang Wu wrote: > >> > Greetings, > >> > > >> > 0day kernel testing

Re: [PATCH v8 01/11] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-07-30 Thread Brian Norris
Hi Russell, On Wed, Jul 30, 2014 at 10:26:35AM +0100, Russell King wrote: > On Mon, Jul 21, 2014 at 02:07:56PM -0700, Brian Norris wrote: > > +static DEFINE_SPINLOCK(boot_lock); > > + > > +static void brcmstb_secondary_init(unsigned int cpu) > > +{ > > + /* > > +* Synchronise with the boot

Re: [perf/x86/RAPL] BUG: unable to handle kernel NULL pointer dereference at 00000028

2014-07-30 Thread Fengguang Wu
Hi Stephane, On Wed, Jul 30, 2014 at 07:56:11PM +0200, Stephane Eranian wrote: > On Wed, Jul 30, 2014 at 7:53 AM, Fengguang Wu wrote: > > On Wed, Jul 30, 2014 at 06:45:58AM +0200, Stephane Eranian wrote: > >> On Wed, Jul 30, 2014 at 6:00 AM, Fengguang Wu > >> wrote: > >> > Greetings, > >> > >

Re: [PATCH v8 01/11] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-07-30 Thread Brian Norris
Hi Rob, I appreciate your comments, but where were many of these 5 months ago on the first 7 revisions? :) On a practical note: v9 is already queued for 3.17. Should I send patches for the 3.17 cycle (or later) to fixup some of these issues? Or would you recommend pulling the patches out of Matt

[PATCHv2] CMA/HOTPLUG: clear buffer-head lru before page migration

2014-07-30 Thread Gioh Kim
The previous PATCH inserts invalidate_bh_lrus() only into CMA code. HOTPLUG needs also dropping bh of lru. So v2 inserts invalidate_bh_lrus() into both of CMA and HOTPLUG. 8< The bh must be free to migrate a page at which bh is mapped.

Re: [PATCH 3/9] i40e: use correct structure type name in sizeof

2014-07-30 Thread David Miller
From: Julia Lawall Date: Tue, 29 Jul 2014 17:16:45 +0200 > From: Julia Lawall > > Correct typo in the name of the type given to sizeof. Because it is the > size of a pointer that is wanted, the typo has no impact on compilation or > execution. > > This problem was found using Coccinelle

Re: [PATCH 2/9] CAPI: use correct structure type name in sizeof

2014-07-30 Thread David Miller
From: Julia Lawall Date: Tue, 29 Jul 2014 17:16:44 +0200 > From: Julia Lawall > > Correct typo in the name of the type given to sizeof. Because it is the > size of a pointer that is wanted, the typo has no impact on compilation or > execution. > > This problem was found using Coccinelle

Re: [f2fs-dev] [PATCH] f2fs: reduce competition among node page writes

2014-07-30 Thread Changman Lee
Hi Chao, On Wed, Jul 30, 2014 at 09:07:49PM +0800, Chao Yu wrote: > Hi Jaegeuk Changman, > > > -Original Message- > > From: Chao Yu [mailto:chao2...@samsung.com] > > Sent: Thursday, July 03, 2014 6:59 PM > > To: Jaegeuk Kim; Changman Lee > > Cc: linux-fsde...@vger.kernel.org;

Re: [PATCH 0/2 net-next] Lockless netlink_lookup() with new concurrent hash table

2014-07-30 Thread David Miller
From: Thomas Graf Date: Tue, 29 Jul 2014 13:41:31 +0200 > Netlink sockets are maintained in a hash table to allow efficient lookup > via the port ID for unicast messages. However, lookups currently require > a read lock to be taken. This series adds a new generic, resizable, > scalable,

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Saravana Kannan
On 07/30/2014 07:16 PM, Rafael J. Wysocki wrote: On Wednesday, July 30, 2014 06:36:00 PM Saravana Kannan wrote: On 07/30/2014 02:40 PM, Rafael J. Wysocki wrote: On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: On Tuesday, July

Re: [tip:irq/core] PM / sleep / irq: Do not suspend wakeup interrupts

2014-07-30 Thread Rafael J. Wysocki
Hi Thomas, On Tuesday, July 15, 2014 04:01:10 AM tip-bot for Rafael J. Wysocki wrote: > Commit-ID: d709f7bcbb3ab01704fa7b37a2e4b981cf3783c1 > Gitweb: http://git.kernel.org/tip/d709f7bcbb3ab01704fa7b37a2e4b981cf3783c1 > Author: Rafael J. Wysocki > AuthorDate: Thu, 10 Jul 2014 23:37:54

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 7:30 PM, Dave Airlie wrote: >> This patch removes the lines for releasing the page cache in certain >> files as this may aid in perfomance with writes in the compression >> rountines of btrfs. Please note that this patch has not been tested >> on my own hardware due to no

Re: [tip:irq/core] irq: Warn when shared interrupts do not match on NO_SUSPEND

2014-07-30 Thread Rafael J. Wysocki
Hi Thomas, On Thursday, July 24, 2014 08:36:36 AM tip-bot for Peter Zijlstra wrote: > Commit-ID: 4fae4e7624653ef498d0e2a38f00620b9701ab04 > Gitweb: http://git.kernel.org/tip/4fae4e7624653ef498d0e2a38f00620b9701ab04 > Author: Peter Zijlstra > AuthorDate: Thu, 24 Jul 2014 15:39:21 +0200 >

Re: ipv4: net namespace does not inherit network configurations

2014-07-30 Thread zhuyj
On 07/30/2014 01:48 AM, Cong Wang wrote: On Tue, Jul 29, 2014 at 2:29 AM, zhuyj wrote: Hi,all I did a test on kernel3.16 rc6: root@qemu1:~# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding root@qemu1:~# echo 1 > /proc/sys/net/ipv4/conf/all/forwarding root@qemu1:~# ip netns list root@qemu1:~#

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Rafael J. Wysocki
On Wednesday, July 30, 2014 06:36:00 PM Saravana Kannan wrote: > On 07/30/2014 02:40 PM, Rafael J. Wysocki wrote: > > On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: > >> > >> On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: > >>> On Tuesday, July 29, 2014 07:46:02 AM Prarit

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-30 Thread Rafael J. Wysocki
On Thursday, July 31, 2014 02:12:11 AM Thomas Gleixner wrote: > On Thu, 31 Jul 2014, Thomas Gleixner wrote: > > On Wed, 30 Jul 2014, Rafael J. Wysocki wrote: > > Before this code changes in any way I want to see: > > > > 1) a description of the existing semantics and their background On that

Re: [REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Joseph Salisbury
On 07/30/2014 06:42 PM, Julius Werner wrote: > Hi Joseph, > >> Julius, I was hoping to get your feedback, since you are the patch >> author. Do you think gathering any additional data will help diagnose >> this issue, or would it be best to continue with this revert request? > As I understand it,

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Saravana Kannan
On 07/30/2014 02:40 PM, Rafael J. Wysocki wrote: On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: On Tuesday, July 29, 2014 07:46:02 AM Prarit Bhargava wrote: [cut] This patch effectively reverts commit 955ef483. The issue

Re: [PATCH 0/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-30 Thread Benjamin Herrenschmidt
On Wed, 2014-07-30 at 22:50 +0200, Goffredo Baroncelli wrote: > Hi All, > > I am writing to you Jean and Benjamin because it seem that both > worked on these items. > > On a PowerMac G4 I noticed that between the kernel v3.2 and v3.14 I lost > the fan management. > > I found on internet other

Re: [PATCH 3/4] perf/x86/uncore: move SNB-EP/IvyTown specific code to seperate file

2014-07-30 Thread Yan, Zheng
On 07/31/2014 09:08 AM, Yan, Zheng wrote: > On 07/30/2014 05:05 PM, Peter Zijlstra wrote: >> >> >> What's Ivytown? Is that IVB-EP or EX or both? I want to fix the subject >> to not mix and match these terms. > > It's IVB-EP > >> >> A quick search seems to suggest Ivytown is IVB-EX, which leaves

RE: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-30 Thread Kukjin Kim
Olof Johansson wrote: > > Hi, > Hi Olof, > On Sun, Jul 27, 2014 at 5:39 PM, Kukjin Kim wrote: > > Andreas Färber wrote: > >> > >> Am 27.07.2014 14:22, schrieb Andreas Färber: > >> > Hello, > >> > > >> > This mini-series unbreaks booting on 5410 based ODROID-XU. > >> > > >> > Since I do not

Re: [PATCH 3/4] perf/x86/uncore: move SNB-EP/IvyTown specific code to seperate file

2014-07-30 Thread Yan, Zheng
On 07/30/2014 05:05 PM, Peter Zijlstra wrote: > > > What's Ivytown? Is that IVB-EP or EX or both? I want to fix the subject > to not mix and match these terms. It's IVB-EP > > A quick search seems to suggest Ivytown is IVB-EX, which leaves me > wondering what driver does IVB-EP use? > >

[PATCH v2 2/2] usb: dwc2: add dr_mode support for dwc2

2014-07-30 Thread Kever Yang
Some devices with A female host port and without use of usb_id pin will need this for the otg controller works as device role during firmware period and works as host role in rich os. Signed-off-by: Kever Yang --- Changes in v2: - put spaces around '+' operator - expand the comment for dr_mode

Re: [PATCH -tip v2 4/7] locking/mutex: Refactor optimistic spinning code

2014-07-30 Thread Jason Low
On Wed, 2014-07-30 at 13:41 -0700, Davidlohr Bueso wrote: > When we fail to acquire the mutex in the fastpath, we end up calling > __mutex_lock_common(). A *lot* goes on in this function. Move out the > optimistic spinning code into mutex_optimistic_spin() and simplify > the former a bit.

Re: vmstat: On demand vmstat workers V8

2014-07-30 Thread Lai Jiangshan
On 07/30/2014 10:45 PM, Christoph Lameter wrote: > On Wed, 30 Jul 2014, Lai Jiangshan wrote: > >> I think the bug is here, it re-queues the per_cpu(vmstat_work, cpu) which is >> offline >> (after vmstat_cpuup_callback(CPU_DOWN_PREPARE). And cpu_stat_off is >> accessed without >> proper lock. >

[RFC][PATCH v2] wireless: ath9k: Convert from timespecs to ktime_t

2014-07-30 Thread John Stultz
Convert from using timespecs to ktime_t for internal timekeeping needs. This simplifies the logic and avoids extra math required to convert from timespec to usecs. Cc: Stephen Rothwell Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Peter Zijlstra Cc: David Miller Cc: "John W. Linville" Cc: Felix

[PATCH v2 tip/core/rcu 06/10] rcutorture: Add RCU-tasks test cases

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds the TASKS01 and TASKS02 Kconfig fragments, along with the corresponding TASKS01.boot and TASKS02.boot boot-parameter files specifying that rcutorture test RCU-tasks instead of the default flavor. Signed-off-by: Paul E. McKenney ---

[PATCH v2 tip/core/rcu 04/10] rcu: Export RCU-tasks APIs to GPL modules

2014-07-30 Thread Paul E. McKenney
From: Steven Rostedt This commit exports the RCU-tasks APIs, call_rcu_tasks(), synchronize_rcu_tasks(), and rcu_barrier_tasks(), to GPL-licensed kernel modules. Signed-off-by: Steven Rostedt Signed-off-by: Paul E. McKenney --- kernel/rcu/update.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v2 tip/core/rcu 08/10] rcu: Improve RCU-tasks energy efficiency

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" The current RCU-tasks implementation uses strict polling to detect callback arrivals. This works quite well, but is not so good for energy efficiency. This commit therefore replaces the strict polling with a wait queue. Signed-off-by: Paul E. McKenney ---

[PATCH v2 tip/core/rcu 01/10] rcu: Add call_rcu_tasks()

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds a new RCU-tasks flavor of RCU, which provides call_rcu_tasks(). This RCU flavor's quiescent states are voluntary context switch (not preemption!), userspace execution, and the idle loop. Note that unlike other RCU flavors, these quiescent states occur

[PATCH v2 tip/core/rcu 07/10] rcu: Add stall-warning checks for RCU-tasks

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds a three-minute RCU-tasks stall warning. The actual time is controlled by the boot/sysfs parameter rcu_task_stall_timeout, with values less than or equal to zero disabling the stall warnings. The default value is three minutes, which means that the tasks

[PATCH v2 tip/core/rcu 02/10] rcu: Provide cond_resched_rcu_qs() to force quiescent states in long loops

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" RCU-tasks requires the occasional voluntary context switch from CPU-bound in-kernel tasks. In some cases, this requires instrumenting cond_resched(). However, there is some reluctance to countenance unconditionally instrumenting cond_resched() (see

  1   2   3   4   5   6   7   8   9   10   >