[PATCHv8 7/9] ARM: dts: Add PPMU dt node for Exynos5260 SoC

2015-01-12 Thread Chanwoo Choi
This patch adds PPMU (Performance Profiling Monitoring Unit) dt node Exynos5260 SoC. Exynos5260 SoC has following PPMU IPs: - PPMU_DREX0_S0 0x10c6 - PPMU_DREX0_S1 0x10c7 - PPMU_DREX1_S0 0x10c8 - PPMU_DREX1_S1 0x10c9 - PPMU_EAGLE0x10cc - PPMU_KFC 0x10cd - PPMU_MFC

Re: MIPS: ralink: CONFIG_SOC_MT7621?

2015-01-12 Thread Paul Bolle
John, On Mon, 2014-10-27 at 11:44 +0100, Paul Bolle wrote: > Your commit 715f2e581856 ("MIPS: ralink: cleanup early_printk") landed > in today's linux-next (ie, next-20141027). It adds two checks for > CONFIG_SOC_MT7621. The patch to add Kconfig symbol SOC_MT7621 is still > pending (see

[PATCHv8 5/9] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2015-01-12 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS

Re: [PATCH v3 4/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-12 Thread Marc Kleine-Budde
On 01/12/2015 01:26 PM, Ahmed S. Darwish wrote: > On Mon, Jan 12, 2015 at 12:51:49PM +0100, Marc Kleine-Budde wrote: >> On 01/08/2015 04:19 PM, Ahmed S. Darwish wrote: >> >> [...] >> > MODULE_DEVICE_TABLE(usb, kvaser_usb_table); > @@ -463,7 +631,18 @@ static int

Re: MIPS: ralink: CONFIG_SOC_RT2880?

2015-01-12 Thread Paul Bolle
John, On Mon, 2014-10-27 at 11:06 +0100, Paul Bolle wrote: > Your commit 0b162e003c2c ("MIPS: ralink: add rt2880 pci driver") landed > in today's linux-next (ie, next-20141027). It adds a check for > CONFIG_SOC_RT2880. But there's no Kconfig symbol SOC_RT2880. > > Did you perhaps mean

Re: [PATCH 2/4] perf probe: Do not rely on map__load() filter to find symbols

2015-01-12 Thread Masami Hiramatsu
(2015/01/10 19:33), Namhyung Kim wrote: > The find_probe_trace_events_from_map() searches matching symbol from a > map (so from a backing dso). For uprobes, it'll create a new map (and > dso) and loads it using a filter. It's a little bit inefficient in that > it'll read out the symbol table

Re: MIPS: ralink: CONFIG_RALINK_ILL_ACC?

2015-01-12 Thread Paul Bolle
John, On Mon, 2014-11-10 at 13:32 +0100, Paul Bolle wrote: > On Mon, 2014-10-27 at 11:03 +0100, John Crispin wrote: > > On 27/10/2014 10:54, Paul Bolle wrote: > > > Your commit 78865eacb4aa ("MIPS: ralink: add illegal access > > > driver") landed in today's linux-next (ie, next-20141027). That >

Re: [PATCH v3 4/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-12 Thread Ahmed S. Darwish
On Mon, Jan 12, 2015 at 12:51:49PM +0100, Marc Kleine-Budde wrote: > On 01/08/2015 04:19 PM, Ahmed S. Darwish wrote: > > [...] > > >>> MODULE_DEVICE_TABLE(usb, kvaser_usb_table); > >>> @@ -463,7 +631,18 @@ static int kvaser_usb_get_software_info(struct > >>> kvaser_usb *dev) > >>> if (err) >

Re: [PATCH v9 1/4] drm/i2c: tda998x: Add DT support for audio

2015-01-12 Thread Russell King - ARM Linux
On Mon, Jan 12, 2015 at 10:25:28AM +0100, Philipp Zabel wrote: > Jean-Francois' reply already reflects this, but the 'port' nodes should > correspond to physical ports of the device if possible. If you can > configure the device to have dedicated input pins for I2S, SPDIF0, and > SPDIF1 at the

Re: [PATCH v3 2/3] dt-bindings: Add pinctrl bindings for mt65xx/mt81xx.

2015-01-12 Thread Sascha Hauer
Hi Linus, On Sat, Jan 10, 2015 at 10:33:46PM +0100, Linus Walleij wrote: > On Tue, Dec 2, 2014 at 2:55 PM, Sascha Hauer wrote: > > Sorry for taking eternities to get back on this, I ran into a merge window > and some christmas. I do hope we can resolve this in the current > development cycle so

Re: [PATCH 3/4] perf probe: Fix probing kretprobes

2015-01-12 Thread Masami Hiramatsu
(2015/01/10 19:33), Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding do_fork ends up with

Re: [PATCH v8 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-12 Thread Alexander Shishkin
Peter Zijlstra writes: > On Fri, Nov 14, 2014 at 03:43:45PM +0200, Alexander Shishkin wrote: >> +static void pt_event_stop(struct perf_event *event, int mode) >> +{ >> +struct pt *pt = this_cpu_ptr(_ctx); >> + >> +ACCESS_ONCE(pt->handle_nmi) = 0; > > Why is this needed? Will the hardware

[PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().

2015-01-12 Thread Wang Nan
Original code failed to disarm the probed instruction after echo 0 > /sys/kernel/debug/kprobes/enabled if OPTPROBE is enabled. This patch checks kprobes_all_disarmed in unoptimized_kprobe(). Signed-off-by: Wang Nan --- kernel/kprobes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: Linux 3.19-rc3

2015-01-12 Thread Catalin Marinas
On Sat, Jan 10, 2015 at 09:36:13PM +, Arnd Bergmann wrote: > On Saturday 10 January 2015 13:00:27 Linus Torvalds wrote: > > > IIRC, AIX works great with 64k pages, but only because of two > > > reasons that don't apply on Linux: > > > > .. there's a few other ones: > > > > (c) nobody really

Re: [PATCH v3 1/5] usb: atmel_usba_udc: Rework at91sam9rl errata handling

2015-01-12 Thread Paul Bolle
On Mon, 2015-01-12 at 11:57 +0100, Boris Brezillon wrote: > at91sam9rl SoC has an erratum forcing us to toggle the BIAS on USB > suspend/resume events. > > This specific handling is only activated when CONFIG_ARCH_AT91SAM9RL is > set and this option is only set when building a non-DT kernel,

Re: [RFC 02/11] i2c: add quirk checks to core

2015-01-12 Thread Russell King - ARM Linux
On Fri, Jan 09, 2015 at 06:21:32PM +0100, Wolfram Sang wrote: > +static int i2c_quirk_error(struct i2c_adapter *adap, struct i2c_msg *msg, > char *err_msg) > +{ > + dev_err(>dev, "quirk: %s (addr 0x%04x, size %u)\n", err_msg, > msg->addr, msg->len); > + return -EOPNOTSUPP; > +} So, what

Re: Re: [PATCH 3/4] perf probe: Fix probing kretprobes

2015-01-12 Thread Masami Hiramatsu
(2015/01/12 20:26), Jiri Olsa wrote: > On Sat, Jan 10, 2015 at 07:33:47PM +0900, Namhyung Kim wrote: >> The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address >> instead of the symbol name") converts kprobes to use ref_reloc_sym >> (i.e. _stext) and offset instead of using symbol's

Re: [PATCH v4 3/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-12 Thread Ahmed S. Darwish
Hi Marc, On Mon, Jan 12, 2015 at 12:43:56PM +0100, Marc Kleine-Budde wrote: > On 01/11/2015 09:36 PM, Ahmed S. Darwish wrote: [...] > > diff --git a/drivers/net/can/usb/kvaser_usb.c > > b/drivers/net/can/usb/kvaser_usb.c > > index 0eb870b..da47d17 100644 > > ---

Re: [PATCH v2 3/5] perf tools: [uclibc] Avoid build splat for syscall numbers

2015-01-12 Thread Vineet Gupta
Hi Jiri, On Monday 12 January 2015 04:39 PM, Jiri Olsa wrote: > On Sat, Jan 10, 2015 at 04:40:52PM +0530, Vineet Gupta wrote: >> This is due to duplicated unistd inclusion (via uClibc headers + kernel >> headers) >> Also seen on ARM uClibc based tools >> >> --- ARC build

Re: ARM64: hibernation: How to use hibernation/suspend-to-disk on ARMv8?

2015-01-12 Thread Lorenzo Pieralisi
On Sat, Jan 10, 2015 at 03:14:33PM +, George Bush wrote: > Hi all > > I notice we have hibernation.c in arm/kernel, however, I don't find it in > arm64. > Does it mean arm64 do not support hibernation/suspend-to-disk function? Yes, not at the moment, but we have planned to implement it. >

[PATCH v2 3/9] block: allow __blk_queue_bounce() to handle bios larger than BIO_MAX_PAGES

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Allow __blk_queue_bounce() to handle bios with more than BIO_MAX_PAGES segments. Doing that, it becomes possible to simplify the block layer in the kernel. The issue is that any code that clones the bio and must clone the biovec (i.e. it can't use bio_clone_fast()) won't

Re: 3.19-rc1 regression bisected No sound on Dell Latitude d430

2015-01-12 Thread Takashi Iwai
At Mon, 12 Jan 2015 11:59:25 +0100, David Henningsson wrote: > > > > On 2015-01-11 22:44, Hans de Bruin wrote: > > running 3.19-rc1 alsamixer show these options: > > > > Master > > PCM > > Line Out > > Mic Boost > > Auto Mute mode > > > > Line out now controls the vole of the speaker (this

[PATCH v2 4/9] bcache: clean up hacks around bio_split_pool

2015-01-12 Thread Dongsu Park
From: Kent Overstreet There has been workarounds only in bcache, for splitting pool as well as submitting bios. Since generic_make_request() is able to handle arbitrarily sized bios, it's now possible to delete those hacks. Cc: linux-bca...@vger.kernel.org Signed-off-by: Kent Overstreet

Re: Linux 3.19-rc3

2015-01-12 Thread Catalin Marinas
On Sat, Jan 10, 2015 at 08:16:02PM +, Arnd Bergmann wrote: > Regarding ARM64 in particular, I think it would be nice to investigate > how to extend the THP code to cover 64KB TLBs when running with the 4KB > page size. There is a hint bit in the page table to tell the CPU that > a set of 16

[PATCH v2 5/9] btrfs: remove bio splitting and merge_bvec_fn() calls

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Btrfs has been doing bio splitting from btrfs_map_bio(), by checking device limits as well as calling ->merge_bvec_fn() etc. That is not necessary any more, because generic_make_request() is now able to handle arbitrarily sized bios. So clean up unnecessary code paths. Cc:

[PATCH v2 6/9] md/raid5: get rid of bio_fits_rdev()

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Remove bio_fits_rdev() completely, because ->merge_bvec_fn() has now gone. There's no point in calling bio_fits_rdev() only for ensuring aligned read from rdev. Cc: Neil Brown Cc: linux-r...@vger.kernel.org Signed-off-by: Kent Overstreet [dpark: add more description in

[PATCH v2 2/9] block: simplify bio_add_page()

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Since generic_make_request() can now handle arbitrary size bios, all we have to do is make sure the bvec array doesn't overflow. __bio_add_page() doesn't need to call ->merge_bvec_fn(), where we can get rid of unnecessary code paths. Note that removing call to

[PATCH v2 8/9] fs: use helper bio_add_page() instead of open coding on bi_io_vec

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Call pre-defined helper bio_add_page() instead of open coding for iterating through bi_io_vec[]. Doing that, it's possible to make some parts in filesystems and mm/page_io.c simpler than before. Acked-by: Dave Kleikamp Cc: Christoph Hellwig Cc: Al Viro Cc:

Re: [PATCH v3 4/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-12 Thread Marc Kleine-Budde
On 01/08/2015 04:19 PM, Ahmed S. Darwish wrote: [...] >>> MODULE_DEVICE_TABLE(usb, kvaser_usb_table); >>> @@ -463,7 +631,18 @@ static int kvaser_usb_get_software_info(struct >>> kvaser_usb *dev) >>> if (err) >>> return err; >>> >>> - dev->fw_version =

[PATCH v2 7/9] block: kill merge_bvec_fn() completely

2015-01-12 Thread Dongsu Park
From: Kent Overstreet As generic_make_request() is now able to handle arbitrarily sized bios, it's no longer necessary for each individual block driver to define its own ->merge_bvec_fn() callback. Remove every invocation completely. Cc: Jens Axboe Cc: Lars Ellenberg Cc:

Re: [PATCH 1/2] INPUT/HID: add touch support for SiS touch driver

2015-01-12 Thread Oliver Neukum
On Mon, 2015-01-12 at 18:53 +0800, 曾婷葳 (tammy_tseng) wrote: > Hi, > This package of patch is to add support for multitouch behavior for SiS touch > products. > The patch of SiS i2c multitouch driver is in input/touchscreen. > > Signed-off-by: Tammy Tseng > > --- > diff --git

[PATCH v2 9/9] Documentation: update notes in biovecs about arbitrarily sized bios

2015-01-12 Thread Dongsu Park
Update block/biovecs.txt so that it includes a note on what kind of effects arbitrarily sized bios would bring to the block layer. Also fix a trivial typo, bio_iter_iovec. Cc: Christoph Hellwig Cc: Kent Overstreet Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Signed-off-by: Dongsu Park

[PATCH v2 2/7] block: rewrite __bio_copy_iov()

2015-01-12 Thread Dongsu Park
Rewrite __bio_copy_iov() so that it can call either _read() or _write() variant, which is determined by direction to_iov, given as either READ or WRITE. Moreover, make __bio_copy_iov() take its parameter iov_iter by value, to avoid awkward situations like ref-/dereferencing pointer and value

[RFC PATCH v2 0/9] simplify block layer based on immutable biovecs

2015-01-12 Thread Dongsu Park
This is the second attempt of simplifying block layer based on immutable biovecs. Immutable biovecs, implemented by Kent Overstreet, have been available in mainline since v3.14. Its original goal was actually making generic_make_request() accept arbitrarily sized bios, and pushing the splitting

[PATCH v2 1/9] block: make generic_make_request handle arbitrarily sized bios

2015-01-12 Thread Dongsu Park
From: Kent Overstreet The way the block layer is currently written, it goes to great lengths to avoid having to split bios; upper layer code (such as bio_add_page()) checks what the underlying device can handle and tries to always create bios that don't need to be split. But this approach

AW: Question concerning RCU

2015-01-12 Thread Stoidner, Christoph
Hi Paul, > You got stack traces with the stall warnings, correct? If so, please look > at them and at Documentation/RCU/stallwarn.txt and see if the kernel is > looping somewhere inappropriate. Yes and no. I have a stack trace, but it is not generated by a stall warning. More precise: I can

RE: /proc/net/dev regression

2015-01-12 Thread David Laight
From: Al Viro > > I think the problem with wmnet is not that it was expecting the fields > > to be aligned because it never had problems before (when definitely more > > than 10 megabytes were received, wmnet is crappy but not _that_ crappy). > > > > I think the problem really was here, > > > >

Re: [PATCH net] ipv6: Prevent ipv6_find_hdr() from returning ENOENT for valid non-first fragments

2015-01-12 Thread Pablo Neira Ayuso
On Mon, Jan 12, 2015 at 04:38:16PM +0530, Rahul Sharma wrote: > Hi Pablo, Hannes > > On Fri, Jan 9, 2015 at 9:20 PM, Hannes Frederic Sowa > wrote: > > On Fr, 2015-01-09 at 12:45 +0100, Pablo Neira Ayuso wrote: > >> Hi Hannes, > >> > >> On Fri, Jan 09, 2015 at 12:34:15PM +0100, Hannes Frederic

Re: [PATCH v5 6/8] arm64/efi: move SetVirtualAddressMap() to UEFI stub

2015-01-12 Thread Matt Fleming
On Thu, 08 Jan, at 06:48:32PM, Ard Biesheuvel wrote: > @@ -46,4 +54,26 @@ extern void efi_idmap_init(void); > > #define EFI_ALLOC_ALIGN SZ_64K > > +/* > + * On ARM systems, virtually remapped UEFI runtime services are set up in > three > + * distinct stages: > + * - The stub

[PATCH v2 4/7] block: refactor bio_get_user_pages() from __bio_map_user_iov()

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Split up a part of the code that was in __bio_map_user_iov() into a new function bio_get_user_pages(). This helper is going to be used by future block layer rewriting, especially from direct-IO part. Note that this relies on the recent change to make generic_make_request()

Re: [Keyrings] [PATCH 2/2] MPILIB: Deobfuscate mpi_cmp

2015-01-12 Thread Dmitry Kasatkin
correct. Acked-by: Dmitry Kasatkin Dmitry On 12 January 2015 at 13:43, David Howells wrote: > Dmitry Kasatkin wrote: > >> Ack. > > To what email address do I translate that now? > > Acked-by: Dmitry Kasatkin > > perchance? > > David -- Thanks, Dmitry -- To unsubscribe from this

[PATCH v2 1/7] block: replace sg_iovec with iov_iter

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Make use of a new interface provided by iov_iter, backed by scatter-gather list of iovec, instead of the old interface based on sg_iovec. Also use iov_iter_advance() instead of manual iteration. This commit should contain only literal replacements, without functional

[PATCH v2 3/7] block: refactor iov_count_pages() from bio_{copy,map}_user_iov()

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Refactor the common part in bio_copy_user_iov() and __bio_map_user_iov() to separate out iov_count_pages() into the general iov_iter API, instead of open coding iov iterations as done previously. This commit should contain only literal replacements, without functional

[PATCH v2 6/7] fs: make _submit_bh consistent with generic bio chaining

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Make _submit_bh() handle refcounting by increasing bio->bi_remaining, followed by bio_endio(). Since bio chaining was introduced with 196d38bccfcf ("block: Generic bio chaining"), refcounting should be done on bi_remaining instead of ancient bio_cnt. Doing that, calling

[PATCH v2 5/7] md/raid10: make sync_request_write() call bio_copy_data()

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Refactor sync_request_write() of md/raid10 to use bio_copy_data() instead of open coding bio_vec iterations. Cc: Christoph Hellwig Cc: Neil Brown Cc: linux-r...@vger.kernel.org Signed-off-by: Kent Overstreet [dpark: add more description in commit message] Signed-off-by:

[RFC PATCH v2 0/7] preparation for block layer simplification

2015-01-12 Thread Dongsu Park
This is a preparation series for simplifying block layer based on immutable biovecs, a spin off of the v1 of simplifying patchset. [1] The original goal of simplifying block layer was actually making generic_make_request() accept arbitrarily sized bios, and pushing the splitting down to the

[PATCH v2 7/7] PM: submit bio in a sane way in cases without bio_chain

2015-01-12 Thread Dongsu Park
From: Kent Overstreet Make bio submission in kernel/power/block_io.c to properly submit bios also when bio_chain is not available. In that case, it's not necessary to handle refcount with bio_get(), but it's saner to simply call a predefined helper submit_bio_wait(). So call bio_get() only when

smatch v1.60 released

2015-01-12 Thread Dan Carpenter
Intro: Smatch is a C static checker with a lot of kernel specific checks. You can download it from: http://repo.or.cz/w/smatch.git. Notes: It has been a year and a half since the last release so there have been a lot of changes everywhere. The main thing continues to be tracking values

Re: [PATCH v4 3/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-12 Thread Marc Kleine-Budde
On 01/11/2015 09:36 PM, Ahmed S. Darwish wrote: > From: Ahmed S. Darwish > > CAN to USB interfaces sold by the Swedish manufacturer Kvaser are > divided into two major families: 'Leaf', and 'UsbcanII'. From an > Operating System perspective, the firmware of both families behave > in a not too

Re: [PATCH 1/4] perf tools: Allow use of an exclusive option more than once

2015-01-12 Thread Masami Hiramatsu
(2015/01/10 19:33), Namhyung Kim wrote: > The exclusive options are to prohibit use of conflicting options at the > same time. But it had a side effect that it also limits a such option > can be used at most once. Currently the only user of the flag is perf > probe and it allows to use such

Re: [Keyrings] [PATCH 2/2] MPILIB: Deobfuscate mpi_cmp

2015-01-12 Thread David Howells
Dmitry Kasatkin wrote: > Ack. To what email address do I translate that now? Acked-by: Dmitry Kasatkin perchance? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] kprobes: bugfix: force unoptimize when disable kprobes.

2015-01-12 Thread Masami Hiramatsu
(2015/01/05 21:32), Wang Nan wrote: > Original code failed to disarm the probed instruction after > > echo 0 > /sys/kernel/debug/kprobes/enabled > > if OPTPROBE is enabled. > > This is caused by a piece of logically inconsistent code: > > unoptimize_kprobe(p, false); > if

Re: [PATCH v6 08/17] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2015-01-12 Thread Lorenzo Pieralisi
On Mon, Jan 12, 2015 at 04:26:41AM +, Hanjun Guo wrote: > On 2015年01月10日 03:04, Lorenzo Pieralisi wrote: > > On Sun, Jan 04, 2015 at 10:55:09AM +, Hanjun Guo wrote: > >> There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, > >> the former signals to the OS that the firmware is

Re: Linux 3.19-rc3

2015-01-12 Thread Kirill A. Shutemov
On Sat, Jan 10, 2015 at 10:36:13PM +0100, Arnd Bergmann wrote: > On Saturday 10 January 2015 13:00:27 Linus Torvalds wrote: > > so I feel pretty confident in saying it won't happen. It's just too > > much of a bother, for little to no actual upside. It's likely a much > > better approach to try to

Re: [LKP] [mm] Find a way to test remap_file_pages

2015-01-12 Thread Vlastimil Babka
On 01/12/2015 12:19 PM, Kirill A. Shutemov wrote: > On Mon, Jan 12, 2015 at 02:26:29PM +1100, Stephen Rothwell wrote: >> [Just cc'ing Andrew as this patch is in his tree] >> >> On Mon, 12 Jan 2015 11:19:01 +0800 Huang Ying wrote: >> > >> > FYI, we noticed the below changes on >> > >> >

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-12 Thread Roger Pau Monné
El 12/01/15 a les 8.09, Bob Liu ha escrit: > > On 01/09/2015 11:51 PM, Roger Pau Monné wrote: >> El 06/01/15 a les 14.19, Bob Liu ha escrit: >>> When there is no enough free grants, gnttab_alloc_grant_references() >>> will fail and block request queue will stop. >>> If the system is always lack

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-12 Thread David Drysdale
On Sat, Jan 10, 2015 at 1:33 AM, Rich Felker wrote: > On Fri, Jan 09, 2015 at 07:17:41PM -0600, Eric W. Biederman wrote: >> Rich Felker writes: >> >> > I'm not proposing code because I'm a libc developer not a kernel >> > developer. I know what's needed for userspace to provide a conforming >> >

Re: [PATCH v9 07/12] coresight-etm: add CoreSight ETM/PTM driver

2015-01-12 Thread Paul Bolle
On Mon, 2014-11-10 at 20:32 +0100, Paul Bolle wrote: > On Mon, 2014-11-10 at 08:40 -0700, Mathieu Poirier wrote: > > On 10 November 2014 03:34, Paul Bolle wrote: > > > On Mon, 2014-11-03 at 11:07 -0700, mathieu.poir...@linaro.org wrote: > > >> +#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE >

Re: [Xen-devel] [PATCH RFC] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-12 Thread David Vrabel
On 08/01/15 15:06, Imre Palik wrote: > On 01/07/15 17:30, Ian Campbell wrote: >> On Wed, 2015-01-07 at 17:16 +0100, Imre Palik wrote: >>> From: "Palik, Imre" >>> >>> In Dom0's the use of the TSC clocksource (whenever it is stable enough to >>> be used) instead of the Xen clocksource should not

Re: [PATCH cgroup/for-3.19-fixes] cgroup: implement cgroup_subsys->unbind() callback

2015-01-12 Thread Tejun Heo
Hello, Vladimir. On Mon, Jan 12, 2015 at 11:01:14AM +0300, Vladimir Davydov wrote: > Come to think of it, I wonder how many users actually want to mount > different controllers subset after unmount. Because we could allow It wouldn't be a common use case but, on the face of it, we still support

Re: [PATCHv2 1/3,RESEND] iio: dht11: Fix out-of-bounds read

2015-01-12 Thread Richard Weinberger
Am 12.01.2015 um 12:26 schrieb Harald Geyer: > Richard Weinberger writes: >> Am 10.01.2015 um 12:14 schrieb Jonathan Cameron: >>> On 07/01/15 12:15, Harald Geyer wrote: As we access i-1 we must not start with i=0. From: Richard Weinberger Signed-off-by: Richard Weinberger

Re: [PATCHv2 1/3,RESEND] iio: dht11: Fix out-of-bounds read

2015-01-12 Thread Harald Geyer
Richard Weinberger writes: > Am 10.01.2015 um 12:14 schrieb Jonathan Cameron: > > On 07/01/15 12:15, Harald Geyer wrote: > >> As we access i-1 we must not start with i=0. > >> > >> From: Richard Weinberger > >> Signed-off-by: Richard Weinberger > >> Acked-by: Hartmut Knaack > >> Acked-by:

Re: [PATCH 3/4] perf probe: Fix probing kretprobes

2015-01-12 Thread Jiri Olsa
On Sat, Jan 10, 2015 at 07:33:47PM +0900, Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding

Re: [PATCH] kprobes: bugfix: set kprobes_all_disarmed earlier to enable re-optimization.

2015-01-12 Thread Masami Hiramatsu
(2015/01/05 21:31), Wang Nan wrote: > In original code, the probed instruction doesn't get optimized after > > echo 0 > /sys/kernel/debug/kprobes/enabled > echo 1 > /sys/kernel/debug/kprobes/enabled > > This is because original code checks kprobes_all_disarmed in > optimize_kprobe(), but this

Re: [patch 3/3] mm: memcontrol: consolidate swap controller code

2015-01-12 Thread Vladimir Davydov
On Fri, Jan 09, 2015 at 09:14:01PM -0500, Johannes Weiner wrote: > The swap controller code is scattered all over the file. Gather all > the code that isn't directly needed by the memory controller at the > end of the file in its own CONFIG_MEMCG_SWAP section. > > Signed-off-by: Johannes Weiner

Re: [PATCH v4 3/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-12 Thread Ahmed S. Darwish
Hi Marc, On Sun, Jan 11, 2015 at 03:36:12PM -0500, Ahmed S. Darwish wrote: > From: Ahmed S. Darwish > > CAN to USB interfaces sold by the Swedish manufacturer Kvaser are > divided into two major families: 'Leaf', and 'UsbcanII'. From an > Operating System perspective, the firmware of both

Re: [PATCH v3] irqchip: gic: Allow interrupt level to be set for PPIs.

2015-01-12 Thread Marc Zyngier
Hi Liviu, Welcome back! ;-) On 12/01/15 11:15, Liviu Dudau wrote: > On Mon, Jan 05, 2015 at 09:05:06AM +, Marc Zyngier wrote: >> Hi Liviu, > > Hi Marc, > >> >> On 01/12/14 12:45, Liviu Dudau wrote: >>> During a recent cleanup of the arm64 DTs it has become clear that >>> the handling of

Re: [LKP] [mm] Find a way to test remap_file_pages

2015-01-12 Thread Kirill A. Shutemov
On Mon, Jan 12, 2015 at 02:26:29PM +1100, Stephen Rothwell wrote: > [Just cc'ing Andrew as this patch is in his tree] > > On Mon, 12 Jan 2015 11:19:01 +0800 Huang Ying wrote: > > > > FYI, we noticed the below changes on > > > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Re: [PATCH 4/4] perf probe: Propagate error code when write(2) failed

2015-01-12 Thread Masami Hiramatsu
(2015/01/10 19:33), Namhyung Kim wrote: > When it failed to write probe commands to the probe_event file in > debugfs, it needs to propagate the error code properly. Current code > blindly uses the return value of the write(2) so it always uses > -1 (-EPERM) and it might confuse users. > Good

Re: [PATCHv7 02/10] devfreq: event: Add the list of supported devfreq-event type

2015-01-12 Thread Chanwoo Choi
Dear Myungjoo, On 01/12/2015 04:15 PM, MyungJoo Ham wrote: >> >> This patch adds the list of supported devfreq-event type as following. >> Each devfreq-event device driver would support the various devfreq-event type >> for devfreq governor at the same time. >> - DEVFREQ_EVENT_TYPE_RAW_DATA

[PATCH] driver core: property: support for generic property

2015-01-12 Thread Heikki Krogerus
This extends the Unified Property Interface by adding "Generic Property" to it for cases where device tree or ACPI are not being used. That makes the Unified Property Interface cover most of the cases where information is extracted from custom platform_data in the drivers, i.e. removing also the

Re: [PATCH v3] irqchip: gic: Allow interrupt level to be set for PPIs.

2015-01-12 Thread Liviu Dudau
On Mon, Jan 05, 2015 at 09:05:06AM +, Marc Zyngier wrote: > Hi Liviu, Hi Marc, > > On 01/12/14 12:45, Liviu Dudau wrote: > > During a recent cleanup of the arm64 DTs it has become clear that > > the handling of PPIs in _set_type() is incorrect. The ARM TRMs > > for GICv2 and later allow

Re: [patch 2/3] mm: memcontrol: consolidate memory controller initialization

2015-01-12 Thread Vladimir Davydov
On Fri, Jan 09, 2015 at 09:14:00PM -0500, Johannes Weiner wrote: > The initialization code for the per-cpu charge stock and the soft > limit tree is compact enough to inline it into mem_cgroup_init(). > > Signed-off-by: Johannes Weiner > --- > mm/memcontrol.c | 57 >

Re: [PATCH 3.12 78/78] mm: let mm_find_pmd fix buggy race with THP fault

2015-01-12 Thread Kirill A. Shutemov
On Mon, Jan 12, 2015 at 11:01:46AM +0100, Jiri Slaby wrote: > On 01/10/2015, 06:01 AM, Hugh Dickins wrote: > > On Fri, 9 Jan 2015, Jiri Slaby wrote: > > > >> From: Hugh Dickins > >> > >> 3.12-stable review patch. If anyone has any objections, please let me > >> know. > >> > >> ===

Re: [PATCH v2 5/5] perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np

2015-01-12 Thread Vineet Gupta
Hi Jiri, On Monday 12 January 2015 04:35 PM, Jiri Olsa wrote: > On Sat, Jan 10, 2015 at 04:40:54PM +0530, Vineet Gupta wrote: > > SNIP > >> [SNIP] >> test-timerfd.bin\ >> test-libdw-dwarf-unwind.bin \ >> @@ -47,6 +48,9 @@ test-all.bin: >> test-hello.bin: >>

Re: [patch 1/3] mm: memcontrol: remove unnecessary soft limit tree node test

2015-01-12 Thread Vladimir Davydov
On Fri, Jan 09, 2015 at 09:13:59PM -0500, Johannes Weiner wrote: > kzalloc_node() automatically falls back to nodes with suitable memory. > > Signed-off-by: Johannes Weiner Reviewed-by: Vladimir Davydov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v2 0/3] power: rt5033: Add Richtek RT533 drivers

2015-01-12 Thread Paul Bolle
Hi Beomho, On Mon, 2015-01-12 at 19:51 +0900, Beomho Seo wrote: > On 01/12/2015 07:40 PM, Paul Bolle wrote: > > When is the Kconfig symbol MFD_RT5033 expected to be included in the > > tree? > > MFD_RT5033 have been applied in 09 Dec 2014. > http://marc.info/?l=linux-pm=141822463218774=2 >

Re: [Xen-devel] [Patch V2 0/4] xen: correct several bugs in new p2m list setup

2015-01-12 Thread David Vrabel
On 12/01/15 05:05, Juergen Gross wrote: > In the setup code of the linear mapped p2m list several bugs have > been found, especially for 32 bit dom0. These patches correct the > errors and make 32 bit dom0 bootable again. Applied to stable/for-linus-3.19, thanks. David -- To unsubscribe from

Re: [PATCH v4 2/4] can: kvaser_usb: Update error counters before exiting on OOM

2015-01-12 Thread Marc Kleine-Budde
On 01/11/2015 09:15 PM, Ahmed S. Darwish wrote: > From: Ahmed S. Darwish > > Let the error counters be more accurate in case of Out of > Memory conditions. Please have a look at kvaser_usb_rx_error(), the whole state handling is omitted in case of OOM. Marc -- Pengutronix e.K.

Re: [PATCH v2 3/5] perf tools: [uclibc] Avoid build splat for syscall numbers

2015-01-12 Thread Jiri Olsa
On Sat, Jan 10, 2015 at 04:40:52PM +0530, Vineet Gupta wrote: > This is due to duplicated unistd inclusion (via uClibc headers + kernel > headers) > Also seen on ARM uClibc based tools > > --- ARC build -->8- > > CC util/evlist.o > In file included from >

Re: [PATCH v3 0/5] usb: atmel_usba_udc: Rework errata handling

2015-01-12 Thread Nicolas Ferre
Le 12/01/2015 11:57, Boris Brezillon a écrit : > Hello, > > Here is a set of patches porting existing at91sam9rl erratum handling to > DT and adding new code to handle at91sam9g45/9x5 erratum. > It also adds several compatible strings to differentiate those errata. > > These patches should be

Re: [PATCH net] ipv6: Prevent ipv6_find_hdr() from returning ENOENT for valid non-first fragments

2015-01-12 Thread Rahul Sharma
Hi Pablo, Hannes On Fri, Jan 9, 2015 at 9:20 PM, Hannes Frederic Sowa wrote: > On Fr, 2015-01-09 at 12:45 +0100, Pablo Neira Ayuso wrote: >> Hi Hannes, >> >> On Fri, Jan 09, 2015 at 12:34:15PM +0100, Hannes Frederic Sowa wrote: >> > On Fri, Jan 9, 2015, at 08:18, Rahul Sharma wrote: >> > > Hi

Re: [PATCH] net/at91_ether: prepare and unprepare clock

2015-01-12 Thread Alexandre Belloni
Hi Dave, This is actually a fix for 3.19, can you take it for the next rc ? Thanks! On 08/01/2015 at 11:55:58 +0100, Nicolas Ferre wrote : > Le 07/01/2015 23:59, Alexandre Belloni a écrit : > > The clock is enabled without being prepared, this leads to: > > > > WARNING: CPU: 0 PID: 1 at

Re: [PATCH 0/4] Transition of pxa25x and pxa27x to clock framework

2015-01-12 Thread Robert Jarzmik
Robert Jarzmik writes: > Once reviewed, I'd like this serie to go through the pxa tree. Therefore an > ack > from Mike is necesary for the last patch (add missing pxa27x clocks). > > This is targeted at 3.20 window. Well, no review is good news ... or not. Mike I still need an ack for patch

Re: [PATCH v2 1/5] perf tools: [uclibc] fix statfs.f_type data type mismatch build error

2015-01-12 Thread Jiri Olsa
On Sat, Jan 10, 2015 at 04:40:50PM +0530, Vineet Gupta wrote: > From: Alexey Brodkin > > ARC Linux uses the no legacy syscalls abi and corresponding uClibc headers > statfs defines f_type to be U32 which causes perf build breakage > >

Re: [PATCH v4 01/04] can: kvaser_usb: Don't dereference skb after a netif_rx()

2015-01-12 Thread Marc Kleine-Budde
On 01/11/2015 09:49 PM, Ahmed S. Darwish wrote: > From: Ahmed S. Darwish > > We should not touch the packet after a netif_rx: it might > get freed behind our back. > > Suggested-by: Marc Kleine-Budde > Signed-off-by: Ahmed S. Darwish Applied to can/master. tnx, Marc -- Pengutronix e.K.

Re: [PATCH v2 5/5] perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np

2015-01-12 Thread Jiri Olsa
On Sat, Jan 10, 2015 at 04:40:54PM +0530, Vineet Gupta wrote: SNIP > @@ -198,6 +198,7 @@ CORE_FEATURE_TESTS = \ > libpython-version \ > libslang\ > libunwind \ > + pthread-attr-setaffinity-np

Re: Re: [BUG] perf probe can't insert return kprobe

2015-01-12 Thread Masami Hiramatsu
(2015/01/10 18:51), Namhyung Kim wrote: > Hi Jiri, > > On Fri, Jan 09, 2015 at 04:44:21PM +0100, Jiri Olsa wrote: >> On Fri, Jan 09, 2015 at 04:30:56PM +0100, Jiri Olsa wrote: >>> On Sat, Jan 10, 2015 at 12:21:13AM +0900, Namhyung Kim wrote: On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri

[PATCH v3 4/5] usb: atmel_usba_udc: Mask status with enabled irqs

2015-01-12 Thread Boris Brezillon
Avoid interpreting useless status flags when we're not waiting for such events by masking the status variable with the interrupt enabled register value. Reported-by: Patrice VILCHEZ Signed-off-by: Boris Brezillon Acked-by: Alexandre Belloni --- drivers/usb/gadget/udc/atmel_usba_udc.c | 6

Re: 3.19-rc1 regression bisected No sound on Dell Latitude d430

2015-01-12 Thread David Henningsson
On 2015-01-11 22:44, Hans de Bruin wrote: running 3.19-rc1 alsamixer show these options: Master PCM Line Out Mic Boost Auto Mute mode Line out now controls the vole of the speaker (this 'new' channel had volume 0 so did not hear anything). Changing PCM has no effect. So, now that you have

[PATCH v3 3/5] ARM: at91/dt: update udc compatible strings

2015-01-12 Thread Boris Brezillon
at91sam9g45, at91sam9x5 and sama5 SoCs should not use "atmel,at91sam9rl-udc" for their USB device compatible property since this compatible is attached to a specific hardware bug fix. Signed-off-by: Boris Brezillon Acked-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g45.dtsi | 2 +-

[PATCH v3 2/5] usb: atmel_usba_udc: Add at91sam9g45 and at91sam9x5 errata handling

2015-01-12 Thread Boris Brezillon
at91sam9g45 and at91sam9x5 SoCs have an hardware bug forcing us to generate a pulse on the BIAS signal on "USB end of reset" and "USB end of resume" events. Reported-by: Patrice VILCHEZ Signed-off-by: Boris Brezillon Acked-by: Alexandre Belloni --- drivers/usb/gadget/udc/atmel_usba_udc.c | 28

[PATCH v3 5/5] usb: gadget: atmel_usba: Cache INT_ENB register value

2015-01-12 Thread Boris Brezillon
Cache INT_ENB register value in order to avoid uncached iomem access, and thus improve access time to INT_ENB value. Signed-off-by: Boris Brezillon Acked-by: Alexandre Belloni --- drivers/usb/gadget/udc/atmel_usba_udc.c | 52 ++---

[PATCH v3 0/5] usb: atmel_usba_udc: Rework errata handling

2015-01-12 Thread Boris Brezillon
Hello, Here is a set of patches porting existing at91sam9rl erratum handling to DT and adding new code to handle at91sam9g45/9x5 erratum. It also adds several compatible strings to differentiate those errata. These patches should be backported to 3.17 and 3.18 stable releases but they do not

[PATCH v3 1/5] usb: atmel_usba_udc: Rework at91sam9rl errata handling

2015-01-12 Thread Boris Brezillon
at91sam9rl SoC has an erratum forcing us to toggle the BIAS on USB suspend/resume events. This specific handling is only activated when CONFIG_ARCH_AT91SAM9RL is set and this option is only set when building a non-DT kernel, which is problematic since non-DT support for at91sam9rl SoC has been

Re: [PATCH 3.16.y-ckt 053/168] ARM: pxa: fix hang on startup with DEBUG_LL

2015-01-12 Thread Robert Jarzmik
Luis Henriques writes: > On Sun, Jan 11, 2015 at 10:39:08PM +, Ben Hutchings wrote: > Thanks Ben. > > Robert, do you think this is a problem? I can revert this patch as > it has already been released in 3.16.7-ckt3. Hi Luis, No, no problem. It'll be an unused kconfig variable, that's all,

RE: [PATCH 2/2] INPUT/HID: add touch support for SiS touch driver

2015-01-12 Thread tammy_tseng
Hi, This package of patch is to add support for multitouch behavior for SiS touch products. The patch of SiS hid multitouch driver is in hid. Signed-off-by: Tammy Tseng -- diff --git a/linux-3.18.1/drivers/hid/Kconfig b/linux-3.18.1/drivers/hid/Kconfig index f42df4d..2be7677 100644 ---

RE: [PATCH 1/2] INPUT/HID: add touch support for SiS touch driver

2015-01-12 Thread tammy_tseng
Hi, This package of patch is to add support for multitouch behavior for SiS touch products. The patch of SiS i2c multitouch driver is in input/touchscreen. Signed-off-by: Tammy Tseng --- diff --git a/linux-3.18.1/drivers/input/touchscreen/Kconfig

Re: [PATCH v2 0/3] power: rt5033: Add Richtek RT533 drivers

2015-01-12 Thread Beomho Seo
Thank you reply. On 01/12/2015 07:40 PM, Paul Bolle wrote: > Beomho, > > On Fri, 2015-01-09 at 17:45 +0900, Beomho Seo wrote: >> This patchset adds driver for Richtek rt5033 chip The chip contains >> switching charge mode Li-Ion/Li-Polymer battery charger, fuelgauge. >> Additionally, This

Re: [PATCH v2 0/3] power: rt5033: Add Richtek RT533 drivers

2015-01-12 Thread Paul Bolle
[s/lee.j...@linaro.org/lee.jo...@linaro.org] On Mon, 2015-01-12 at 11:40 +0100, Paul Bolle wrote: > Beomho, > > On Fri, 2015-01-09 at 17:45 +0900, Beomho Seo wrote: > > This patchset adds driver for Richtek rt5033 chip The chip contains > > switching charge mode Li-Ion/Li-Polymer battery

<    5   6   7   8   9   10   11   12   13   14   >