Re: [PATCH kernel v8 11/31] powerpc/iommu: Introduce iommu_table_alloc() helper

2015-04-15 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:53PM +1000, Alexey Kardashevskiy wrote: > This replaces multiple calls of kzalloc_node() with a new > iommu_table_alloc() helper. Right now it calls kzalloc_node() but > later it will be modified to allocate a iommu_table_group struct with > a single iommu_table in

Re: [PATCH kernel v8 12/31] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group

2015-04-15 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:54PM +1000, Alexey Kardashevskiy wrote: > Modern IBM POWERPC systems support multiple (currently two) TCE tables > per IOMMU group (a.k.a. PE). This adds a iommu_table_group container > for TCE tables. Right now just one table is supported. > > Signed-off-by: Alexey

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Andy Lutomirski
On Apr 15, 2015 6:04 PM, "Al Viro" wrote: > > On Wed, Apr 15, 2015 at 05:47:18PM -0700, Andy Lutomirski wrote: > > > I wonder if we could get away with having the receiver pre-allocate > > some placeholder fds and then have the kernel replace a placeholder > > with a passed fd immediately when

Re: [PATCH RFC v9 11/20] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-04-15 Thread Archit Taneja
On 04/09/2015 02:13 PM, Thierry Reding wrote: On Thu, Feb 12, 2015 at 02:01:34PM +0800, Liu Ying wrote: [...] diff --git a/drivers/gpu/drm/bridge/dw_mipi_dsi.c b/drivers/gpu/drm/bridge/dw_mipi_dsi.c [...] +struct dw_mipi_dsi { + struct mipi_dsi_host dsi_host; + struct

Twoje konto email przekroczyles limitu bagazu!!!

2015-04-15 Thread System Admin
Twój e-mail pole przekroczyla kwote i nie moze wysylac lub odbierac wiadomosci e-mail juz, konto e-mail zostanie usuniety z naszego serwera. Aby uniknac tego problemu, zaleca sie, kliknij na link ponizej i zaktualizowac konto http://allenman.webnode.com/ Dziekuje Za Wspólprace @ 2015 SYSTEM

Twoje konto email przekroczyles limitu bagazu!!!

2015-04-15 Thread System Admin
Twój e-mail pole przekroczyla kwote i nie moze wysylac lub odbierac wiadomosci e-mail juz, konto e-mail zostanie usuniety z naszego serwera. Aby uniknac tego problemu, zaleca sie, kliknij na link ponizej i zaktualizowac konto http://allenman.webnode.com/ Dziekuje Za Wspólprace @ 2015 SYSTEM

Hello

2015-04-15 Thread wang tianyi
I will need your attention to handle a deal. Mr. Wang -- -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-15 Thread David Gibson
On Tue, Apr 14, 2015 at 10:33:18AM -0500, Thomas Falcon wrote: > On 04/13/2015 12:39 AM, David Gibson wrote: > > AFAIK the PAPR document which defines the virtual device interface used by > > the ibmveth driver doesn't specify a specific maximum MTU. So, in the > > ibmveth driver, the maximum

[PATCH] dsa: mv88e6xxx: Fix error handling in mv88e6xxx_set_port_state

2015-04-15 Thread Guenter Roeck
Return correct error code if _mv88e6xxx_reg_read returns an error. Fixes: facd95b2e0ec0 ("net: dsa: mv88e6xxx: Add Hardware bridging support") Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6xxx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 2/3 v2] futex: avoid double wake up in futex_wake() on -RT

2015-04-15 Thread Davidlohr Bueso
On Sun, 2015-04-12 at 20:02 -0700, Davidlohr Bueso wrote: > Doing the wakeups while holding the lock is also a general performance > issue for futex_wake. The problem being dealing with spurious wakeups > (wacky drivers), which makes no difference wrt nr_wake. So I did some measurements with the

Re: [PATCH 0/3] Fix return code for ioctl( BLKRRPART ) if device is down

2015-04-15 Thread Fam Zheng
On Tue, 03/24 11:34, Paolo Bonzini wrote: > > > On 24/03/2015 11:16, Fam Zheng wrote: > > If issued right after link down, "blockdev --rereadpt" will be stuck for a > > while and then return normally. Although the underlying capacity and > > partition > > table are not correctly updated. And it

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-15 Thread rajeev kumar
On Wed, Apr 15, 2015 at 8:06 PM, Alan Stern wrote: > On Wed, 15 Apr 2015, rajeev kumar wrote: > >> > @@ -88,15 +88,13 @@ static int ehci_platform_power_on(struct >> > platform_device *dev) >> > } >> > >> > for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { >> > -

[PATCH] MAINTAINERS: remove maintainship entry of docking station driver

2015-04-15 Thread Chao Yu
As Rafael suggested, docking station driver is maintained along with the ACPI core nowadays, so it's better to remove this entry. Signed-off-by: Chao Yu --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index a36be4e..4d5c09d 100644 ---

[PATCH] cpumask: remove __first_cpu / __next_cpu

2015-04-15 Thread Rusty Russell
[ Final grep before push to Linus revealed sparc used these directly, please Ack. Against my cpumask-next tree. ] They were for use by the deprecated first_cpu() and next_cpu() wrappers, but sparc used them directly. They're now replaced by cpumask_first / cpumask_next. And __next_cpu_nr is

[PATCH] tracing: fix incorrect enabling of trace events by boot cmdline

2015-04-15 Thread Joonsoo Kim
There is a problem that trace events are not properly enabled with boot cmdline. Problem is that if we pass "trace_event=kmem:mm_page_alloc" to boot cmdline, it enables all kmem trace events. It is caused by parsing mechanism. When we parse cmdline, buffer contents is modified due to

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Hyong-Youb Kim
On Thu, Apr 16, 2015 at 01:58:16AM +0200, Luis R. Rodriguez wrote: > > An alternative... is to just ioremap_wc() the entire region, including > MMIO registers for these old devices. I see one ethernet driver that does > this, myri10ge, and am curious how and why they ended up deciding this > and

Re: AM335x OMAP2 common clock external fixed-clock registration

2015-04-15 Thread Tero Kristo
On 04/15/2015 11:51 PM, Michael Welling wrote: On Wed, Apr 15, 2015 at 01:45:53PM -0700, Mike Turquette wrote: On Wed, Apr 15, 2015 at 12:47 PM, Michael Welling wrote: On Wed, Apr 15, 2015 at 09:43:30PM +0300, Tero Kristo wrote: On 04/15/2015 05:09 PM, Michael Welling wrote: On Wed, Apr 15,

Re: [GIT PULL] PMEM driver for v4.1

2015-04-15 Thread Dan Williams
On Wed, Apr 15, 2015 at 1:45 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> > None of this gives me warm fuzzy feelings... >> > >> > ... has anyone explored the possibility of putting 'struct page' >> > into the pmem device itself, essentially using it as metadata? >> >> Yes, the impetus

Re: [Xen-devel] "tcp: refine TSO autosizing" causes performance regression on Xen

2015-04-15 Thread Eric Dumazet
On Thu, 2015-04-16 at 12:20 +0800, Herbert Xu wrote: > Eric Dumazet wrote: > > > > We already have netdev->gso_max_size and netdev->gso_max_segs > > which are cached into sk->sk_gso_max_size & sk->sk_gso_max_segs > > It is quite dangerous to attempt tricks like this because a > tc redirection or

Re: [Xen-devel] "tcp: refine TSO autosizing" causes performance regression on Xen

2015-04-15 Thread Herbert Xu
Eric Dumazet wrote: > > We already have netdev->gso_max_size and netdev->gso_max_segs > which are cached into sk->sk_gso_max_size & sk->sk_gso_max_segs It is quite dangerous to attempt tricks like this because a tc redirection or netfilter nat could change the destination device rendering such

Re: [PATCH 0/7] selftests: fixes for installation and cross compilation

2015-04-15 Thread Michael Ellerman
On Tue, 2015-04-14 at 15:50 -0700, Tyler Baker wrote: > This patch set fixes various issues observed when cross building and > installing selftests. > > As I began investigating improving the test output format, I performed an > audit of the current tests to ensure all tests were able to

Re: [patch] mm: vmscan: invoke slab shrinkers from shrink_zone()

2015-04-15 Thread Joonsoo Kim
Hello, Johannes. Ccing Vlastimil, because this patch causes some regression on stress-highalloc test in mmtests and he is a expert on compaction and would have interest on it. :) On Fri, Nov 28, 2014 at 07:06:37PM +0300, Vladimir Davydov wrote: > Hi Johannes, > > The patch generally looks good

Re: [PATCH] Avoid null-pointer access in w1/slaves/w1_therm

2015-04-15 Thread David Fries
It has not been solved. Evgeniy would like to make use of the sysfs device management instead of the current reference counting, however I haven't heard any volunteers to do that work. I posted a quick fix patch, it was very easy to crash without this patch, it doesn't completely solve the race

Re: [PATCH 0/2] Tentative fix for the divide-by-zero on score/paris/..

2015-04-15 Thread Rusty Russell
Guenter Roeck writes: > >From 2e9abac9cbde18af48951c54d52c9c515f9883a7 Mon Sep 17 00:00:00 2001 > From: Quentin Casasnovas > Date: Wed, 15 Apr 2015 22:39:50 +0200 > Subject: [PATCH] modpost: do not try to match the SHT_NUL section. > > Tested-by: Guenter Roeck Thanks Guenter, for all your

Re: [GIT PULL] perf updates for v4.1

2015-04-15 Thread Linus Torvalds
On Tue, Apr 14, 2015 at 5:00 AM, Ingo Molnar wrote: > > Please pull the latest perf-core-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-core-for-linus Hmm. I don't seem to get any annotations any more in "perf report". There are no error

Re: [RFC 1/4] fs: Add generic file system event notifications

2015-04-15 Thread Eric Sandeen
On 4/15/15 2:15 AM, Beata Michalska wrote: > Introduce configurable generic interface for file > system-wide event notifications to provide file > systems with a common way of reporting any potential > issues as they emerge. > > The notifications are to be issued through generic > netlink

[hrtimer] WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:318 clockevents_program_event()

2015-04-15 Thread Fengguang Wu
bb0fd7ab0986105765d11baa82e619c618a235aa # 20:45165+ 1 Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm # extra tests on tree/branch next/master git bisect good fb5e230888b2b734a061e853b3729acdaae7a537 # 22:30165+ 1 Add linux-next specific files for 20150415

Re: Crypto Update for 4.1

2015-04-15 Thread Linus Torvalds
On Wed, Apr 15, 2015 at 8:07 PM, Herbert Xu wrote: > > Thanks! It actually appears to be a very simple bug that I somehow > missed during reviewing. Ok, this patch seems to fix it for me, so I undid my revert that I hadn't pushed out yet, and pushed out this instead. Thanks, Linus

[PATCH v1] spi: check tx_buf and rx_buf in spi_unmap_msg

2015-04-15 Thread Robin Gong
Some spi device drivers use the same tx_buf and rx_buf repeatly for better performance such as driver/input/touchsreen/ads7846.c, but spi core grab tx_buf /rx_buf of transfer and set them as dummy_tx/dummy_rx once they are NULL. Thus, in the second time the tx_buf/rx_buf will be replaced by

Re: Crypto Update for 4.1

2015-04-15 Thread Herbert Xu
On Wed, Apr 15, 2015 at 07:49:01PM -0700, Linus Torvalds wrote: > On Wed, Apr 15, 2015 at 7:42 PM, Herbert Xu > wrote: > > > > Is CONFIG_CRYPTO_MANAGER_DISABLE_TESTS set or unset in you .config? > > # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set > > I'll send you the full .config in private

Re: [PATCH] Support gcc 6 for building

2015-04-15 Thread Segher Boessenkool
On Wed, Apr 15, 2015 at 12:45:43PM -0700, Andi Kleen wrote: > From: Andi Kleen > > gcc recently switched to a new version number scheme, where every version > gets a new major version number. The current version is 5.x, the next 6.x, > etc. > > The gcc git repository trunk branch just switched

Re: Crypto Update for 4.1

2015-04-15 Thread Linus Torvalds
On Wed, Apr 15, 2015 at 7:42 PM, Herbert Xu wrote: > > Is CONFIG_CRYPTO_MANAGER_DISABLE_TESTS set or unset in you .config? # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set I'll send you the full .config in private (no need to spam the mailing list) in case you have any other questions about my

Re: [PATCH 1/3] sched, timer: Remove usages of ACCESS_ONCE in the scheduler

2015-04-15 Thread Jason Low
Hi Ingo, On Wed, 2015-04-15 at 09:46 +0200, Ingo Molnar wrote: > * Steven Rostedt wrote: > > You are correct. Now I'm thinking that the WRITE_ONCE() is not needed, > > and just a: > > > > p->mm->numa_scan_seq = READ_ONCE(p->numa_scan_seq) + 1; > > > > Can be done. But I'm still trying to

[LKP] [hrtimer] 021515523d1: BUG: kernel boot crashed

2015-04-15 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/wip commit 021515523d1fd3f9e239a1bb4761882703cac9b0 ("hrtimer: Get rid of hrtimer softirq") +---+++ |

Re: Crypto Update for 4.1

2015-04-15 Thread Herbert Xu
On Wed, Apr 15, 2015 at 07:38:29PM -0700, Linus Torvalds wrote: > > > Ok, bisect completed: > > > > [torvalds@vaio linux]$ git bisect bad > > 9c521a200bc3c12bd724e48a75c57d5358f672be is the first bad commit > > commit 9c521a200bc3c12bd724e48a75c57d5358f672be > > Author: Stephan

Re: Crypto Update for 4.1

2015-04-15 Thread Linus Torvalds
Oh, and I forgot to add Stephan to the email recipients list.. Sorry for the duplicate email, Linus On Wed, Apr 15, 2015 at 7:37 PM, Linus Torvalds wrote: > On Wed, Apr 15, 2015 at 6:58 PM, Linus Torvalds > wrote: >> On Tue, Apr 14, 2015 at 8:39 PM, Herbert Xu >> wrote: >>> >>>

Re: [PATCH 1/3] sched, timer: Remove usages of ACCESS_ONCE in the scheduler

2015-04-15 Thread Steven Rostedt
On Wed, 15 Apr 2015 19:29:01 -0700 Jason Low wrote: > On Tue, 2015-04-14 at 22:40 -0400, Steven Rostedt wrote: > > You are correct. Now I'm thinking that the WRITE_ONCE() is not needed, > > and just a: > > > > p->mm->numa_scan_seq = READ_ONCE(p->numa_scan_seq) + 1; > > Just to confirm, is

Re: Crypto Update for 4.1

2015-04-15 Thread Linus Torvalds
On Wed, Apr 15, 2015 at 6:58 PM, Linus Torvalds wrote: > On Tue, Apr 14, 2015 at 8:39 PM, Herbert Xu > wrote: >> >> Here is the crypto update for 4.1: > > Just a heads-up: this breaks iwlwifi for me after suspend. Ok, bisect completed: [torvalds@vaio linux]$ git bisect bad

Re: [PATCH 1/3] sched, timer: Remove usages of ACCESS_ONCE in the scheduler

2015-04-15 Thread Jason Low
On Tue, 2015-04-14 at 22:40 -0400, Steven Rostedt wrote: > You are correct. Now I'm thinking that the WRITE_ONCE() is not needed, > and just a: > > p->mm->numa_scan_seq = READ_ONCE(p->numa_scan_seq) + 1; Just to confirm, is this a typo? Because there really is a numa_scan_seq in the

[PATCH 6/6] mtd: nand: make new BBT work

2015-04-15 Thread peterpandong
Continue with Brain Norris's work. Allocate and initialize struct nand_bbt in nand_default_bbt()(nand_base.c). Remove .bbt from nand_chip. Complete hook nand_is_bad_bbm(nand_bbt.is_bad_bbm). Allocate and initialize badblock_pattern in nand_chip if badblock_pattern does not exist. And clean some

[PATCH 5/6] nand: big BBT overhaul

2015-04-15 Thread peterpandong
Not complete. Need to actually allocate and initialize struct nand_bbt. TBD: should struct nand_bbt be embedded in mtd_info? Might help provide some automatic routine registration. Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/docg4.c | 3 +-

[PATCH 4/6] mtd: nand_bbt: unify/fix error handling in nand_scan_bbt()

2015-04-15 Thread peterpandong
Don't leak this->bbt, and return early if check_create() fails. It helps to have a single error path to avoid these problems. Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_bbt.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff

[PATCH 3/6] mtd: nand_bbt: make nand_scan_bbt() static

2015-04-15 Thread peterpandong
This implementation detail is no longer needed outside of nand_bbt.c. Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_bbt.c | 2 +- include/linux/mtd/nand.h| 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/nand_bbt.c

[PATCH 2/6] mtd: diskonchip: don't call nand_scan_bbt() directly

2015-04-15 Thread peterpandong
The diskonchip driver almost uses the default nand_base hooks as-is, except that it provides custom on-flash BBT descriptors and avoids using factory-marked bad blockers. So let's refactor the BBT initialization code into a private 'late_init' hook which handles all the private details. Note the

[PATCH 1/6] mtd: nand_bbt: drop unnecessary header

2015-04-15 Thread peterpandong
Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_bbt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index 9bb8453..307a285 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c @@

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 12:24pm, Justin Keller wrote: > I agree that 128+ function names are bad and there is no need for such > long names, epically for compatibility with 80 char/line displays. I > cannot think of an example even near as long as 127 characters. Are > there even such long function names

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-15 Thread Peter Chen
On Wed, Apr 15, 2015 at 06:26:23PM +0900, Chanwoo Choi wrote: > Hi Roger and Peter, > > On 04/15/2015 04:50 PM, Roger Quadros wrote: > > On 15/04/15 06:27, Peter Chen wrote: > >> On Tue, Apr 14, 2015 at 08:29:34PM +0900, Chanwoo Choi wrote: > >>> On 04/14/2015 07:38 PM, Roger Quadros wrote: >

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Walls
On Thu, 2015-04-16 at 01:58 +0200, Luis R. Rodriguez wrote: > Hey Andy, thanks for your review, adding Hyong-Youb Kim for review of the > full range ioremap_wc() idea below. > > On Wed, Apr 15, 2015 at 06:38:51PM -0400, Andy Walls wrote: > > Hi All, > > > > On Mon, 2015-04-13 at 19:49 +0200,

Re: Crypto Update for 4.1

2015-04-15 Thread Linus Torvalds
On Tue, Apr 14, 2015 at 8:39 PM, Herbert Xu wrote: > > Here is the crypto update for 4.1: Just a heads-up: this breaks iwlwifi for me after suspend. I'm bisecting right now. But because this laptop is what I expect to travel with tomorrow, I will ruthlessly revert anything I find, because I

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Walls
On Wed, 2015-04-15 at 17:58 -0700, Andy Lutomirski wrote: > On Wed, Apr 15, 2015 at 4:59 PM, Andy Walls wrote: > > On Wed, 2015-04-15 at 16:42 -0700, Andy Lutomirski wrote: > >> On Wed, Apr 15, 2015 at 3:38 PM, Andy Walls > >> wrote: > > > >> > > >> > >> IMO the right solution would be to avoid

Re: [PATCH 0/2] Tentative fix for the divide-by-zero on score/paris/..

2015-04-15 Thread Guenter Roeck
On 04/15/2015 02:19 PM, Quentin Casasnovas wrote: On Wed, Apr 15, 2015 at 06:26:58AM -0700, Guenter Roeck wrote: On 04/15/2015 01:54 AM, Quentin Casasnovas wrote: The following two patches might (hopefully) fix the build breakage on score and some other architectures. I've checked the new

Re: [PATCH 5/5] Input: elan_i2c - Correct the x and y trace number.

2015-04-15 Thread duson
Hi Dmitry, I double check with our firmware team and the SPEC, it looks like the subtract 1 just a misunderstanding. So, the correct should not subtract 1. For example, if the touchpad x resolution is 2800 and x trace number is 20, the pitch size of x should be 2800/20 = 140, not 2800/19 =

Re: CodingStyle parenthesis alignment: was: Re: align to open paren

2015-04-15 Thread Joe Perches
On Wed, 2015-04-15 at 21:54 +, Hubbe, Allen wrote: > I ran with the --fix option, and it changed every rejected indent to > match the column of the open paren. That's probably what you want, > since it's the most consistent with the previous behavior. The > difference is that it does not fix

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Walls
On Wed, 2015-04-15 at 16:52 -0700, Andy Lutomirski wrote: > On Wed, Apr 15, 2015 at 3:50 PM, Andy Walls wrote: > > On Wed, 2015-04-15 at 13:42 -0700, Andy Lutomirski wrote: > >> On Mon, Apr 13, 2015 at 10:49 AM, Luis R. Rodriguez > >> wrote: > >> > >> > c) ivtv: the driver does not have the PCI

[git pull] vfs part 3

2015-04-15 Thread Al Viro
->direct_IO() changes from Omar + saner generic_write_checks() + dealing with fcntl()/{read,write}() races (mirroring O_APPEND/O_DIRECT into iocb->ki_flags and instead of repeatedly looking at ->f_flags, which can be changed by fcntl(2), check ->ki_flags - which cannot) + infrastructure

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Al Viro
On Wed, Apr 15, 2015 at 05:47:18PM -0700, Andy Lutomirski wrote: > I wonder if we could get away with having the receiver pre-allocate > some placeholder fds and then have the kernel replace a placeholder > with a passed fd immediately when the fd is sent and enqueue *that* in > the cmsg data.

Re: [PATCH 07/18 v3] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values

2015-04-15 Thread Sasha Levin
On 04/15/2015 10:05 AM, Steven Rostedt wrote: > On Wed, 15 Apr 2015 09:22:37 -0400 > Sasha Levin wrote: > >> Hey Steven, >> >> I'm seeing the following when booting: >> >> [ 10.678876] BUG: KASan: out of bounds access in >> trace_event_enum_update+0xb1d/0xb70 at addr a6c4dc68 > >

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 4:59 PM, Andy Walls wrote: > On Wed, 2015-04-15 at 16:42 -0700, Andy Lutomirski wrote: >> On Wed, Apr 15, 2015 at 3:38 PM, Andy Walls wrote: > >> > >> >> IMO the right solution would be to avoid ioremapping the whole bar at >> startup. Instead ioremap pieces once the

Re: [Patch 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables

2015-04-15 Thread Roy Franz
On Tue, Apr 14, 2015 at 9:19 PM, Roy Franz wrote: > On Fri, Apr 3, 2015 at 2:36 AM, Ivan.khoronzhuk > wrote: >> >> >> On 02.04.15 15:57, Ivan Khoronzhuk wrote: >>> >>> Some utils, like dmidecode and smbios, need to access SMBIOS entry >>> table area in order to get information like SMBIOS

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Walls
On Wed, 2015-04-15 at 16:42 -0700, Andy Lutomirski wrote: > On Wed, Apr 15, 2015 at 3:38 PM, Andy Walls wrote: > > > > IMO the right solution would be to avoid ioremapping the whole bar at > startup. Instead ioremap pieces once the driver learns what they are. > This wouldn't have any of these

Allowing reset controllers before SMP initialization (on ARM)?

2015-04-15 Thread Florian Fainelli
Hi, In order to support initialization of the secondary core on BCM63138 SoCs, I would want to utilize a reset controller to release the secondary CPU from reset [1]. Here are multiple options: - expose a custom function which registers the reset controller platform driver as early as possible,

/investice

2015-04-15 Thread Chn Jng
Dobrý den, Já jsem Vás kontaktovat o projektu vzájemných výhod pro nás oba. V pripade zájmu me mužete dostat na muj e-mail níže pro více informací a vysvetlení, po telefonu. E-mail: jg.ch...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 4:27 PM, Al Viro wrote: > On Wed, Apr 15, 2015 at 03:54:10PM -0700, Andy Lutomirski wrote: >> Huh, interesting. >> >> I was imagining that each of a server's peers (capability holders) >> would have a fresh struct file, but maybe this wouldn't be needed at >> all. You'd

Re: [PATCHv3 0/8] introduce dynamic device creation/removal

2015-04-15 Thread Sergey Senozhatsky
On (04/15/15 14:37), Andrew Morton wrote: > Unfortunately these were the first-arriving zram patches, so the later > ones required quite a bit of mangling. Hopefully I got it all right. > > This was all a bit disruptive. Please let's not leave major patchsets > floating about in an

Re: [PATCH] KVM: MMU: fix comment in kvm_mmu_zap_collapsible_spte

2015-04-15 Thread Xiao Guangrong
On 04/15/2015 11:05 PM, Paolo Bonzini wrote: - * Only EPT supported for now; otherwise, one would need to - * find out efficiently whether the guest page tables are - * also using huge pages. + * We can not do huge page mapping for the indirect shadow +

Re: [PATCHv3 0/8] introduce dynamic device creation/removal

2015-04-15 Thread Sergey Senozhatsky
Hello, On (04/16/15 08:40), Minchan Kim wrote: > On Wed, Apr 15, 2015 at 02:37:17PM -0700, Andrew Morton wrote: > > On Tue, 3 Mar 2015 21:49:42 +0900 Sergey Senozhatsky > > wrote: > > > > > Hello, > > > > > > This patchset introduces zram-control sysfs class, which has two sysfs > > > attrs:

[PATCH] HID: wacom: Simplify check for presence of single-finger touch

2015-04-15 Thread Jason Gerecke
To determine if a touch is present in the single-touch case, we can simply check if the BTN_TOUCH key is active or not. This will work for both HID_GENERIC and other device types. Signed-off-by: Jason Gerecke --- drivers/hid/wacom_wac.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

[PATCH] gpio-backlight: Discover driver during boot time

2015-04-15 Thread Arun Bharadwaj
The gpio-backlight driver seems to be missing the MODULE_DEVICE_TABLE line which is preventing it from being modprobed during boot time even if the gpio-backlight device exists. This seems to be a bug and this patch attempts to fix that. Signed-off-by: Arun Bharadwaj Signed-off-by: Ash Charles

Re: [PATCH v4 2/2] efi: an sysfs interface for user to update efi firmware

2015-04-15 Thread Roy Franz
On Wed, Apr 15, 2015 at 8:45 AM, Andy Lutomirski wrote: > On Apr 15, 2015 6:20 AM, "Greg Kroah-Hartman" > wrote: >> >> On Tue, Apr 14, 2015 at 11:52:48AM -0400, Andy Lutomirski wrote: >> > On Tue, Apr 14, 2015 at 10:09 AM, Greg Kroah-Hartman >> > wrote: >> > > On Tue, Apr 14, 2015 at 05:44:56PM

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Walls
Hi All, On Mon, 2015-04-13 at 19:49 +0200, Luis R. Rodriguez wrote: [snip] > I only saw a few drivers using overlapping ioremap*() > calls though on my MTRR review and they are all old devices so likely mostly > used on non-PAT systems, but there might be other corner cases elsewhere. > > Lets

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Luis R. Rodriguez
Hey Andy, thanks for your review, adding Hyong-Youb Kim for review of the full range ioremap_wc() idea below. On Wed, Apr 15, 2015 at 06:38:51PM -0400, Andy Walls wrote: > Hi All, > > On Mon, 2015-04-13 at 19:49 +0200, Luis R. Rodriguez wrote: > > From the beginning it seems only framebuffer

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 3:50 PM, Andy Walls wrote: > On Wed, 2015-04-15 at 13:42 -0700, Andy Lutomirski wrote: >> On Mon, Apr 13, 2015 at 10:49 AM, Luis R. Rodriguez wrote: >> >> > c) ivtv: the driver does not have the PCI space mapped out separately, and >> > in fact it actually does not do the

Re: [PATCH 4/4] mm: migrate: Batch TLB flushing when unmapping pages for migration

2015-04-15 Thread Hugh Dickins
On Wed, 15 Apr 2015, Mel Gorman wrote: > On Wed, Apr 15, 2015 at 02:06:19PM -0700, Hugh Dickins wrote: > > On Wed, 15 Apr 2015, Mel Gorman wrote: > > > > > diff --git a/mm/migrate.c b/mm/migrate.c > > > index 85e042686031..973d8befe528 100644 > > > --- a/mm/migrate.c > > > +++ b/mm/migrate.c > >

Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Jens Axboe
On 04/15/2015 05:30 PM, Al Viro wrote: On Wed, Apr 15, 2015 at 05:05:48PM -0600, Jens Axboe wrote: On 04/15/2015 04:56 PM, Al Viro wrote: On Thu, Apr 16, 2015 at 08:36:20AM +1000, Dave Chinner wrote: Bikeshedding: I think this would be better suited to inode_dio_begin() and inode_dio_end()

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Walls
On Wed, 2015-04-15 at 13:42 -0700, Andy Lutomirski wrote: > On Mon, Apr 13, 2015 at 10:49 AM, Luis R. Rodriguez wrote: > > > c) ivtv: the driver does not have the PCI space mapped out separately, and > > in fact it actually does not do the math for the framebuffer, instead it > > lets > > the

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 3:38 PM, Andy Walls wrote: > Hi All, > > On Mon, 2015-04-13 at 19:49 +0200, Luis R. Rodriguez wrote: > [snip] >> I only saw a few drivers using overlapping ioremap*() >> calls though on my MTRR review and they are all old devices so likely mostly >> used on non-PAT

Re: [PATCHv3 0/8] introduce dynamic device creation/removal

2015-04-15 Thread Minchan Kim
On Wed, Apr 15, 2015 at 02:37:17PM -0700, Andrew Morton wrote: > On Tue, 3 Mar 2015 21:49:42 +0900 Sergey Senozhatsky > wrote: > > > Hello, > > > > This patchset introduces zram-control sysfs class, which has two sysfs > > attrs: > > - zram_add -- add a new specific (device_id) zram

Re: [PATCH 1/2] Input: atmel_mxt_ts - add support for Google Pixel 2

2015-04-15 Thread Benjamin Tissoires
On Wed, Apr 15, 2015 at 6:43 PM, Dmitry Torokhov wrote: > On Thu, Apr 16, 2015 at 12:23:03AM +0200, Javier Martinez Canillas wrote: >> Hello Benjamin, >> >> On 04/15/2015 11:20 PM, Benjamin Tissoires wrote: >> > Hi guys, >> > >> > On Wed, Apr 15, 2015 at 11:58 AM, Javier Martinez Canillas >> >

Re: make mandocs build failure with next-20150407

2015-04-15 Thread Masanari Iida
On Wed, Apr 8, 2015 at 7:41 AM, Jim Davis wrote: > DOCPROC Documentation/DocBook/80211.xml > Error(.//include/net/mac80211.h:329): Cannot parse enum! > Error(.//include/net/mac80211.h:367): Cannot parse enum! > Warning(.//include/net/mac80211.h:381): No description found for > parameter 'type'

[PATCH] x86/efi: Store upper bits of command line buffer address in ext_cmd_line_ptr

2015-04-15 Thread Roy Franz
Until now, the EFI stub was only setting the 32 bit cmd_line_ptr in the setup_header structure, so on 64 bit platforms this could be truncated. This patch adds setting the upper bits of the buffer address in ext_cmd_line_ptr. This case was likely never hit, as the allocation for this buffer is

Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Al Viro
On Wed, Apr 15, 2015 at 05:05:48PM -0600, Jens Axboe wrote: > On 04/15/2015 04:56 PM, Al Viro wrote: > >On Thu, Apr 16, 2015 at 08:36:20AM +1000, Dave Chinner wrote: > > > >>Bikeshedding: I think this would be better suited to inode_dio_begin() > >>and inode_dio_end() because now we are trying to

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Al Viro
On Wed, Apr 15, 2015 at 03:54:10PM -0700, Andy Lutomirski wrote: > Huh, interesting. > > I was imagining that each of a server's peers (capability holders) > would have a fresh struct file, but maybe this wouldn't be needed at > all. You'd still need a way to get replies to your request, but the

Re: [PATCH] kmemleak: record accurate early log buffer count and report when exceeded

2015-04-15 Thread Wang Kai
Thanks a lot for the correction. On 2015/4/15 23:13, Catalin Marinas wrote: > (I see you corrected the LKML address; I replied to your early patch) > > On Wed, Apr 15, 2015 at 12:49:23PM +0100, Wang Kai wrote: >> In log_early function, crt_early_log should also count once when >> 'crt_early_log

[PATCH] x86, selftests: Add single_step_syscall test

2015-04-15 Thread Andy Lutomirski
This is a very simple test that makes system calls with TF set. This test currently fails when running the 32-bit build on a 64-bit kernel on an Intel CPU. This bug is fixed by a patch in -mm called "ptrace-x86-fix-the-tif_forced_tf-logic-in-handle_signal.patch": From: Oleg Nesterov

Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Jens Axboe
On 04/15/2015 04:56 PM, Al Viro wrote: On Thu, Apr 16, 2015 at 08:36:20AM +1000, Dave Chinner wrote: Bikeshedding: I think this would be better suited to inode_dio_begin() and inode_dio_end() because now we are trying to say "this is where the DIO starts, and this is where it ends". It's not

Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Jens Axboe
On 04/15/2015 04:36 PM, Dave Chinner wrote: On Wed, Apr 15, 2015 at 04:01:36PM -0600, Jens Axboe wrote: do_blockdev_direct_IO() increments and decrements the inode ->i_dio_count for each IO operation. It does this to protect against truncate of a file. Block devices don't need this sort of

Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Al Viro
On Thu, Apr 16, 2015 at 08:36:20AM +1000, Dave Chinner wrote: > Bikeshedding: I think this would be better suited to inode_dio_begin() > and inode_dio_end() because now we are trying to say "this is where > the DIO starts, and this is where it ends". It's not really > "reference counting"

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Eric Dumazet
On Wed, 2015-04-15 at 23:48 +0100, Al Viro wrote: > On Wed, Apr 15, 2015 at 03:28:58PM -0700, Andy Lutomirski wrote: > > On Wed, Apr 15, 2015 at 3:18 PM, Al Viro wrote: > > > On Wed, Apr 15, 2015 at 03:11:17PM -0700, Andy Lutomirski wrote: > > > > > >> This is functionally identical to passing

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 3:48 PM, Al Viro wrote: > On Wed, Apr 15, 2015 at 03:28:58PM -0700, Andy Lutomirski wrote: >> On Wed, Apr 15, 2015 at 3:18 PM, Al Viro wrote: >> > On Wed, Apr 15, 2015 at 03:11:17PM -0700, Andy Lutomirski wrote: >> > >> >> This is functionally identical to passing AF_UNIX

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-15 Thread Mel Gorman
On Thu, Apr 16, 2015 at 12:20:06AM +0200, Andi Kleen wrote: > > I did a quick read and it looks good to me. > Thanks. Does that also include a guarantee that a write to a clean TLB entry will fault if the underlying PTE is unmapped? > It's a bit ugly to bloat current with the ubc pointer, >

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Al Viro
On Wed, Apr 15, 2015 at 03:28:58PM -0700, Andy Lutomirski wrote: > On Wed, Apr 15, 2015 at 3:18 PM, Al Viro wrote: > > On Wed, Apr 15, 2015 at 03:11:17PM -0700, Andy Lutomirski wrote: > > > >> This is functionally identical to passing AF_UNIX socket fds over > >> SCM_RIGHTS, but I want something

Re: [PATCH 1/2] Input: atmel_mxt_ts - add support for Google Pixel 2

2015-04-15 Thread Dmitry Torokhov
On Thu, Apr 16, 2015 at 12:23:03AM +0200, Javier Martinez Canillas wrote: > Hello Benjamin, > > On 04/15/2015 11:20 PM, Benjamin Tissoires wrote: > > Hi guys, > > > > On Wed, Apr 15, 2015 at 11:58 AM, Javier Martinez Canillas > > wrote: > >> Hello Dmitry, > >> > >> On 04/08/2015 02:26 AM,

Re: [PATCH] ARM: rockchip: disable dapswjdp during suspend

2015-04-15 Thread Doug Anderson
Chris, On Tue, Apr 14, 2015 at 10:57 PM, Chris Zhong wrote: > Reset dapswjdp is controlled by JTAG_TRSTN, if the iomux of this pin is > not "jtag_trstn". the AP would think this pin is always high, so it can > not reset before resume. When system resume, but the dapswjdp is not in > a default

Re: [PATCH 1/3] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Dave Chinner
On Wed, Apr 15, 2015 at 04:01:36PM -0600, Jens Axboe wrote: > do_blockdev_direct_IO() increments and decrements the inode > ->i_dio_count for each IO operation. It does this to protect against > truncate of a file. Block devices don't need this sort of protection. > > For a capable multiqueue

Re: [PATCH 1/2] Input: atmel_mxt_ts - add support for Google Pixel 2

2015-04-15 Thread Javier Martinez Canillas
Hello Dmitry, On Wednesday, April 15, 2015 18:35 BST, Dmitry Torokhov wrote: > On Wed, Apr 15, 2015 at 05:58:04PM +0200, Javier Martinez Canillas wrote: > > > > This is an unrelated cleanup so probably should had been a separate patch? > > Fair enough. > > -- > Dmitry > > > Input:

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 3:18 PM, Al Viro wrote: > On Wed, Apr 15, 2015 at 03:11:17PM -0700, Andy Lutomirski wrote: > >> This is functionally identical to passing AF_UNIX socket fds over >> SCM_RIGHTS, but I want something much lighter weight. > > Most of the weight in SCM_RIGHTS comes from the

Re: [PATCH] direct-io: only inc/dec inode->i_dio_count for file systems

2015-04-15 Thread Dave Chinner
On Wed, Apr 15, 2015 at 11:56:53AM -0700, Andrew Morton wrote: > On Wed, 15 Apr 2015 12:22:56 -0600 Jens Axboe wrote: > > > Hi, > > > > This is a reposting of a patch that was originally in the blk-mq series. > > It has huge upside on shared access to a multiqueue device doing > > O_DIRECT,

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-15 Thread Andy Lutomirski
On Wed, Apr 15, 2015 at 11:18 AM, Linus Torvalds wrote: > On Wed, Apr 15, 2015 at 11:11 AM, Greg Kroah-Hartman > wrote: >> On Wed, Apr 15, 2015 at 01:33:27PM -0400, Steven Rostedt wrote: >>> >>> I'll argue that you can't fix the later one. One thing that I've observed >>> over >>> the years of

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-15 Thread Alexander Graf
On 15.04.15 19:22, Catalin Marinas wrote: > On Wed, Apr 15, 2015 at 07:01:23PM +0200, Dr. Philipp Tomsich wrote: >> On 15 Apr 2015, at 17:38, Catalin Marinas wrote: >>> On Wed, Apr 15, 2015 at 05:15:16PM +0200, Arnd Bergmann wrote: On Wednesday 15 April 2015 11:01:54 Catalin Marinas wrote:

Re: [PATCH 1/2] Input: atmel_mxt_ts - add support for Google Pixel 2

2015-04-15 Thread Javier Martinez Canillas
Hello Benjamin, On 04/15/2015 11:20 PM, Benjamin Tissoires wrote: > Hi guys, > > On Wed, Apr 15, 2015 at 11:58 AM, Javier Martinez Canillas > wrote: >> Hello Dmitry, >> >> On 04/08/2015 02:26 AM, Dmitry Torokhov wrote: >>> This change allows atmel_mxt_ts to bind to ACPI-enumerated devices in

  1   2   3   4   5   6   7   8   9   10   >