Use-after-free in page_cache_async_readahead

2015-09-02 Thread Andrey Konovalov
Hi! While running KASAN on 4.2 with Trinity I got the following report: == BUG: KASan: use after free in page_cache_async_readahead+0x2cb/0x3f0 at addr 880034bf6690 Read of size 8 by task sshd/2571

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-09-02 Thread Mark Brown
On Tue, Sep 01, 2015 at 11:56:06AM -0700, Tony Lindgren wrote: > * Mark Brown [150901 11:40]: > > That'd work. The other thing I was thinking we could do is to get > > syscon to treat any excessively large address that gets passed in that > > looks like an absolute address

[PATCH 4/4] drivers/misc/sgi-gru: fix dereference of ERR_PTR

2015-09-02 Thread Sudip Mukherjee
gru_alloc_gts() can fail and it can return ERR_PTR(errvalue). We should not dereference it if it has returned error. And incase it has returned error then just downgrade the write lock and exit. Signed-off-by: Sudip Mukherjee --- drivers/misc/sgi-gru/grukservices.c | 3

[PATCH 3/4] drivers/misc/sgi-gru: remove always false condition

2015-09-02 Thread Sudip Mukherjee
The member gid in struct gru_dump_chiplet_state_req is unsigned int. So it can never be less than 0. Signed-off-by: Sudip Mukherjee --- drivers/misc/sgi-gru/grukdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sgi-gru/grukdump.c

Kernel Recipes 2015 conference at end of month

2015-09-02 Thread Willy Tarreau
Hi, as a reminder, the Kernel Recipes 2015 conference is scheduled at the end of this month in Paris. Registrations opened yesterday but there are still some places left. More about it here : https://kernel-recipes.org/ Cheers, Willy -- To unsubscribe from this list: send the line

[PATCH 1/4] drivers/misc/sgi-gru: remove unused variable

2015-09-02 Thread Sudip Mukherjee
These variables were only assigned some value and were never used. Signed-off-by: Sudip Mukherjee --- I have removed the variables in the functions gru_dump_tfm() and gru_dump_tgh() but it appeared that the intended logic might have been something like: bytes =

[PATCH 2/4] drivers/misc/sgi-gru: make functions static

2015-09-02 Thread Sudip Mukherjee
The functions gru_get_cb_exception_detail_str() and gru_abort() were only called locally from that file. We can make them static. Signed-off-by: Sudip Mukherjee --- drivers/misc/sgi-gru/grukservices.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 3/4] [resend #2] fb_ddc: Allow I2C adapters without SCL read capability

2015-09-02 Thread Tomi Valkeinen
On 24/08/15 22:37, Ondrej Zary wrote: > i2c-algo-bit allows I2C adapters without SCL read capability to work but > fb_ddc_read fails to work on them. > > Fix fb_ddc_read to work with I2C adapters not capable of reading SCL. > > Signed-off-by: Ondrej Zary >

Re: Only 1 cpu scheduled in 4.2.0

2015-09-02 Thread Martin van Es
On Wed, Sep 2, 2015 at 12:50 PM, Mike Galbraith wrote: > On Wed, 2015-09-02 at 11:38 +0200, Martin van Es wrote: >> Hi, >> >> I recently compiled 4.2.0 based on my previous 4.1.6 config (make oldconfig). >> On 4.1.6 all cores are equally scheduled. > > Do you have

Re: [PATCH 3/8] mmc: core: Add mmc_regulator_set_vqmmc()

2015-09-02 Thread Ulf Hansson
On 31 August 2015 at 20:24, Heiko Stuebner wrote: > From: Douglas Anderson > > This adds logic to the MMC core to set VQMMC. This is expected to be > called by MMC drivers like dw_mmc as part of (or instead of) their > start_signal_voltage_switch()

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Marc Zyngier
On 02/09/15 11:48, Qais Yousef wrote: > On 09/02/2015 10:55 AM, Marc Zyngier wrote: >> On 02/09/15 10:33, Qais Yousef wrote: >>> On 08/28/2015 03:22 PM, Thomas Gleixner wrote: On Fri, 28 Aug 2015, Qais Yousef wrote: > Thanks a lot for the detailed explanation. I wasn't looking for a quick

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote: > Sorry, forget to CC kernel mailing list... > > On 2015/9/2 14:49, Wang Nan wrote: > >If parse_events__scanner() collects no entry, perf_evlist__last(evlist) > >is invalid. > > > >Although it shouldn't happen at this point, before

[PATCH] [v3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-02 Thread Chen Yu
On some platforms, there is occasional panic triggered when trying to resume from hibernation, a typical panic looks like: BUG: unable to handle kernel paging request at 880085894000 IP: [] load_image_lzo+0x8c2/0xe70 This is because e820 map has been changed by BIOS before/after hibernation,

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 11:50 AM, Markus Trippelsdorf wrote: On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes,

Re: [PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Lucas Stach
Am Mittwoch, den 02.09.2015, 14:36 +0530 schrieb Viresh Kumar: > Tolerance applies on both sides of the target voltage, i.e. both min and > max sides. While I'm not really comfortable with the above, it is exactly how OPPv1 and the voltage tolerance property are specified. Reviewed-by: Lucas

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Markus Trippelsdorf
On 2015.09.02 at 17:17 +0800, Xiao Guangrong wrote: > > > > No. PAT is of course enabled and booting is successful sometimes even > > with the BUG() in allback_mtrr_type(). I suspect a setup (timing) issue. > > Thanks for your confirmation. > > > > > markus@x4 linux % cat .config | grep X86_PAT

[PATCH 1/4] sched/{cpuset,core}: restore complete root_domain status across hotplug

2015-09-02 Thread Juri Lelli
Hotplug operations are destructive w.r.t data associated with cpuset; in this case we care about root_domains. SCHED_DEADLINE puts bandwidth information regarding admitted tasks on root_domains, information that is gone when an hotplug operation happens. Also, it is not currently possible to tell

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Ard Biesheuvel
On 2 September 2015 at 11:42, Suzuki K. Poulose wrote: > On 02/09/15 10:38, Ard Biesheuvel wrote: >> >> On 13 August 2015 at 13:33, Suzuki K. Poulose >> wrote: >>> >>> From: "Suzuki K. Poulose" >>> >>> We use section maps

[PATCH 3/4] locking/rtmutex: fix open coded check in rt_mutex_waiter_less()

2015-09-02 Thread Juri Lelli
rt_mutex_waiter_less() check of tasks deadlines is open coded. Since this is subject to wraparound issues, make it use the correct helper. Cc: Ingo Molnar Cc: Peter Zijlstra Reported-by: Luca Abeni Signed-off-by: Juri Lelli

Re: [RFC PATCH 3/9] arm64: allocate sys_membarrier system call number

2015-09-02 Thread Will Deacon
On Thu, Aug 27, 2015 at 06:56:49PM +0100, Mathieu Desnoyers wrote: > arm64 sys_membarrier number is already wired for arm64 through > asm-generic/unistd.h, but needs to be allocated separately for > the 32-bit compability layer of arm64. > > [ Untested on this architecture. To try it out: fetch

Re: [PATCH 00/14] arm64: 16K translation granule support

2015-09-02 Thread Suzuki K. Poulose
On 02/09/15 10:55, Ard Biesheuvel wrote: On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" Patches 1-7 cleans up the kernel page size handling code. Patches 8-11 Fixes some issues with the KVM bits, mainly the

[PATCH v3 03/15] scsi: ufs: verify command tag validity

2015-09-02 Thread Yaniv Gardi
A race condition appear to exist between request completion when scsi_done() is called to end the request and set the tag back to -1 (at blk_queue_end_tag() scsi_end_request), and scsi layer error handling which aborts the command and reuses it to request sense data. Sending the request sense is

[PATCH v3 02/15] scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers

2015-09-02 Thread Yaniv Gardi
Some of the data structures (like response UPIU) and/or its elements (unused fields) should be cleared before sending out the respective command to UFS device. This change clears the UPIU response data structure for query commands and NOP command before sending out the command. We also initialize

[PATCH v3 07/15] scsi: ufs: set REQUEST_SENSE command size to 18 bytes

2015-09-02 Thread Yaniv Gardi
According to UFS device specification REQUEST_SENSE command can only report back up to 18 bytes of data. Signed-off-by: Gilad Broner Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c | 11 ++- 1 file changed, 6 insertions(+), 5

Re: [PATCH v6 3/6] task_isolation: support PR_TASK_ISOLATION_STRICT mode

2015-09-02 Thread Will Deacon
On Wed, Aug 26, 2015 at 04:10:34PM +0100, Chris Metcalf wrote: > On 08/26/2015 06:36 AM, Will Deacon wrote: > > On Tue, Aug 25, 2015 at 08:55:52PM +0100, Chris Metcalf wrote: > >> diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c > >> index d882b833dbdb..e3d83a12f3cf 100644 > >>

Re: [PATCH] arm64: add kc_offset_to_vaddr and kc_vaddr_to_offset macro

2015-09-02 Thread Will Deacon
On Sun, Aug 30, 2015 at 07:19:59AM +0100, yalin wang wrote: > This patch add kc_offset_to_vaddr() and kc_vaddr_to_offset(), > the default version doesn't work on arm64, because arm64 kernel address > is below the PAGE_OFFSET, like module address and vmemmap address are > all below PAGE_OFFSET

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:47 PM, Kirill A. Shutemov wrote: <> > > I don't insist on applying the patch. And I worry about false-positives. > Thanks, yes Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH] regulator: core: fix possible NULL dereference

2015-09-02 Thread Sudip Mukherjee
We were checking rdev->supply for NULL after dereferencing it. Lets check for rdev->supply along with _regulator_is_enabled() and call regulator_enable() only if rdev->supply is not NULL. Signed-off-by: Sudip Mukherjee --- drivers/regulator/core.c | 5 ++--- 1 file

[PATCH 4/6] ARM: dts: omap3: use "ti,pbias-omap3" compatible string for pbias

2015-09-02 Thread Kishon Vijay Abraham I
Use "ti,pbias-omap3" compatible string which is specifically added for OMAP3. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi

Re: Only 1 cpu scheduled in 4.2.0

2015-09-02 Thread Mike Galbraith
On Wed, 2015-09-02 at 11:38 +0200, Martin van Es wrote: > Hi, > > I recently compiled 4.2.0 based on my previous 4.1.6 config (make oldconfig). > On 4.1.6 all cores are equally scheduled. Do you have CONFIG_NO_HZ_FULL_ALL enabled? -Mike -- To unsubscribe from this list: send the line

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Qais Yousef
On 09/02/2015 10:55 AM, Marc Zyngier wrote: On 02/09/15 10:33, Qais Yousef wrote: On 08/28/2015 03:22 PM, Thomas Gleixner wrote: On Fri, 28 Aug 2015, Qais Yousef wrote: Thanks a lot for the detailed explanation. I wasn't looking for a quick and dirty solution but my view of the problem is

Re: [RFC 3/5] powerpc: atomic: implement atomic{,64}_{add,sub}_return_* variants

2015-09-02 Thread Paul E. McKenney
On Wed, Sep 02, 2015 at 10:59:06AM +0100, Will Deacon wrote: > Hi Paul, > > On Tue, Sep 01, 2015 at 10:45:40PM +0100, Paul E. McKenney wrote: > > On Tue, Sep 01, 2015 at 08:00:27PM +0100, Will Deacon wrote: > > > On Fri, Aug 28, 2015 at 04:39:21PM +0100, Peter Zijlstra wrote: > > > > Yes, the

[PATCH 5/6] ARM: dts: OMAP4: use "ti,pbias-omap4" compatible string for pbias

2015-09-02 Thread Kishon Vijay Abraham I
Use "ti,pbias-omap4" compatible string which is specifically added for OMAP4. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 06:54 PM, Markus Trippelsdorf wrote: On 2015.09.02 at 18:27 +0800, Xiao Guangrong wrote: On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: On 2015.09.02 at 17:17 +0800, Xiao Guangrong wrote: No. PAT is of course enabled and booting is successful sometimes even with the

Re: [PATCH 3/4] [resend #2] fb_ddc: Allow I2C adapters without SCL read capability

2015-09-02 Thread Ondrej Zary
On Wednesday 02 September 2015, Tomi Valkeinen wrote: > On 24/08/15 22:37, Ondrej Zary wrote: > > i2c-algo-bit allows I2C adapters without SCL read capability to work but > > fb_ddc_read fails to work on them. > > > > Fix fb_ddc_read to work with I2C adapters not capable of reading SCL. > > > >

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread pi3orama
发自我的 iPhone > 在 2015年9月2日,下午7:54,Jiri Olsa 写道: > >> On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote: >> Sorry, forget to CC kernel mailing list... >> >>> On 2015/9/2 14:49, Wang Nan wrote: >>> If parse_events__scanner() collects no entry,

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-02 Thread Austin S Hemmelgarn
On 2015-09-02 01:46, Raymond Jennings wrote: On 09/01/15 20:30, Albino B Neto wrote: 2015-08-31 23:53 GMT-03:00 Theodore Ts'o : Yes, you can go back to ext3-only. In fact, we do *not* automatically upgrade the file system to use ext4-specific features. So it's not just a "you

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-02 Thread Austin S Hemmelgarn
On 2015-09-02 07:58, Chuck Ebbert wrote: On Tue, 1 Sep 2015 15:39:45 -0400 Austin S Hemmelgarn wrote: On 2015-09-01 06:29, Albino B Neto wrote: 2015-08-31 19:31 GMT-03:00 Raymond Jennings : I think also that we should remove the ext2 driver before

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Roger Willcocks
On Wed, 2015-09-02 at 23:03 +1000, Stephen Rothwell wrote: > Hi Roger, > > On Wed, 2 Sep 2015 10:45:29 +0100 Roger Willcocks > wrote: > > > > On 2 Sep 2015, at 03:16, Stephen Rothwell wrote: > > > > > ++if (!ioend->io_error) > > > ++

[PATCH] kobject: explain what kobject's sd field is

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson (More) unclear, especially name-wise, after sysfs_dirent became kernfs_node. Signed-off-by: Ulf Magnusson --- include/linux/kobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/kobject.h

Re: [PATCH 06/15] tools lib api: Make tracing_path_strerror_open message generic

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 10:18:44AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:36AM +0200, Jiri Olsa escreveu: > > Making tracing_path__strerror_open_tp message generic by mentioning > > What means "making message generic"? What is the current behaviour you > think is

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > > interface that returns bool state of the filesystem mount: > > true - mounted,

RE: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-09-02 Thread Deucher, Alexander
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Wednesday, September 02, 2015 6:03 AM > To: Andreas Mohr; maarten.lankho...@canonical.com; Deucher, Alexander > Cc: linux-kernel@vger.kernel.org > Subject: Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon

Re: [RFC 3/3] mmc: sdhci-pxav3: Add ->voltage_switch callback support

2015-09-02 Thread Shawn Lin
On 2015/9/2 3:32, Vaibhav Hiremath wrote: In case PXA1928 family of devices, there is device/controller specific configuration to control voltage/power on the IO pins. This patch implements and enables the sdhci_ops->voltage_switch() callback api. Note that IO pad register addresses are fetched

[PATCH v2 0/2] arm64: introduce run-time detection of aarch32 support

2015-09-02 Thread Yury Norov
This is needed to avoid loading aarch32 binaries if COMPAT is enabled, but aarch32 is not supported by specific platform. First patch fixes hidden header dependencies in arch/arm64/include/asm/cpufeature.h. It's not related to the issue, but helps to avoid build failure that happens if one

[PATCH v2 2/2] arm64: don't load 32-bit binaries if platform has no aarch32_el0

2015-09-02 Thread Yury Norov
Kernel option COMPAT defines the ability of executing aarch32 binaries. Some platforms does not support aarch32 mode, and so cannot execute that binaries. But we cannot just disable COMPAT for them because the same kernel binary may be used by multiple platforms. In this patch,

[PATCH v2 1/2] arm64: cpufeature.h: resolve hidden header dependencies

2015-09-02 Thread Yury Norov
Functions implemented in cpufeature.h depend on some headers, but cpufeature.h does not include them. This may cause build failure if cpufeature.h user does not include that headers by itself. (Like it happens in next patch of this series.) Signed-off-by: Yury Norov

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread pi3orama
发自我的 iPhone > 在 2015年9月2日,下午9:55,Arnaldo Carvalho de Melo 写道: > > Em Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama escreveu: >> 发自我的 iPhone >>> 在 2015年9月2日,下午7:54,Jiri Olsa 写道: > On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote: > @@

Re: [PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-02 Thread Rob Herring
On Tue, Sep 1, 2015 at 1:04 AM, Yakir Yang wrote: > This phy driver would control the Rockchip DisplayPort module > phy clock and phy power, it is relate to analogix_dp-rockchip > dp driver. If you want DP works rightly on rockchip platform, > then you should select both of

Re: [PATCH 01/15] perf tools: Fix parse_events_add_pmu caller

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 10:00:53AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:31AM +0200, Jiri Olsa escreveu: > > Following commit changed parse_events_add_pmu interface: > > 36adec85a86f perf tools: Change parse_events_add_pmu interface > > > > but forgot to change

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Stephen Rothwell
Hi Roger, On Wed, 02 Sep 2015 14:34:51 +0100 Roger Willcocks wrote: > > Huh, now I've had my coffee, that extra check doesn't add anything. > (There's no harm done in assigning zero to io_error if it's already > zero.) Apologies for the noise. That's OK, my excuse is

[PATCH V5 1/1] perf,test: test cpu topology

2015-09-02 Thread Kan Liang
From: Kan Liang This patch test cpu core_id and socket_id which are stored in perf_env. Based-on-a-patch-by: Jiri Olsa Signed-off-by: Kan Liang --- Changes since jirka's original version - Use pr_debug to replace fprintf - Add

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > interface that returns bool state of the filesystem mount: > true - mounted, false - not mounted Well, why not take the opportunity and call it...

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > > interface that returns bool state of the filesystem mount: > > true - mounted,

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama escreveu: > 发自我的 iPhone > > 在 2015年9月2日,下午7:54,Jiri Olsa 写道: > >> On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote: > >>> @@ -1252,7 +1262,13 @@ foreach_evsel_in_last_glob(struct perf_evlist > >>> *evlist, > >>>

Re: RFC: adding Linux vsyscall-disable and similar backwards-incompatibility flags to ELF headers?

2015-09-02 Thread Brian Gerst
On Tue, Sep 1, 2015 at 10:21 PM, Andy Lutomirski wrote: > On Sep 1, 2015 6:53 PM, "Brian Gerst" wrote: >> >> On Tue, Sep 1, 2015 at 8:51 PM, Andy Lutomirski wrote: >> > Hi all- >> > >> > Linux has a handful of weird features that are

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-02 Thread Siarhei Siamashka
On Wed, 2 Sep 2015 00:28:28 + "Pinski, Andrew" wrote: > > On Sep 2, 2015, at 3:13 AM, Siarhei Siamashka > > wrote: > > > > On Wed, 2 Sep 2015 01:58:56 +0800 > > pins...@gmail.com wrote: > > > >>> On Sep 2, 2015, at 1:30 AM,

Re: RFC: adding Linux vsyscall-disable and similar backwards-incompatibility flags to ELF headers?

2015-09-02 Thread Andy Lutomirski
On Sep 2, 2015 6:57 AM, "Brian Gerst" wrote: > > On Tue, Sep 1, 2015 at 10:21 PM, Andy Lutomirski wrote: > > On Sep 1, 2015 6:53 PM, "Brian Gerst" wrote: > >> > >> On Tue, Sep 1, 2015 at 8:51 PM, Andy Lutomirski >

Re: [PATCH v2] x86: fix small LDT allocation for Xen

2015-09-02 Thread Andy Lutomirski
On Sep 2, 2015 5:46 AM, "Jan Beulich" wrote: > > While commit 37868fe113 ("x86/ldt: Make modify_ldt synchronous") added > a nice comment explaining that Xen needs page-aligned whole page chunks > for guest descriptor tables, it then nevertheless used kzalloc() on the > small

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Andy Lutomirski
On Sep 2, 2015 2:51 AM, "Stas Sergeev" wrote: > > https://lkml.org/lkml/2015/7/21/208 > > Guys, you gonna be kidding. > Is this a new trend of breaking dosemu, or what? > >> VM86 is entirely broken if ptrace, syscall auditing, or >> NOHZ_FULL is in use. The code is a big

Re: [PATCH v2 0/3] Disable sched_numa_balancing on uma systems

2015-09-02 Thread Peter Zijlstra
On Tue, Aug 11, 2015 at 04:30:10PM +0530, Srikar Dronamraju wrote: > With recent commit 2a1ed24 ("sched/numa: Prefer NUMA hotness over cache > hotness") sets sched feature NUMA to true. This can enable numa hinting > faults on a uma system. > > This patchset ensures that numa hinting faults occur

stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Stas Sergeev
https://lkml.org/lkml/2015/7/21/208 Guys, you gonna be kidding. Is this a new trend of breaking dosemu, or what? VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is in use. The code is a big undocumented mess, it's a real PITA to test, and it looks like a big chunk of

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:37 PM, Boaz Harrosh wrote: >> >> + /* >> +* Make sure that for VM_MIXEDMAP VMA has both >> +* vm_ops->page_mkwrite and vm_ops->pfn_mkwrite or has none. >> +*/ >> + if ((vma->vm_ops->page_mkwrite ||

Re: [PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Viresh Kumar
On 02-09-15, 11:39, Lucas Stach wrote: > Am Mittwoch, den 02.09.2015, 14:36 +0530 schrieb Viresh Kumar: > > Tolerance applies on both sides of the target voltage, i.e. both min and > > max sides. > > While I'm not really comfortable with the above, it is exactly how OPPv1 > and the voltage

Schváleno Claire

2015-09-02 Thread Sidney L. Waddington
Schváleno Claire El Gordo Award 20th/08/2015 Email Gratulujeme práve vyhrál 150,000,00 Euro bylo mezi víteze mesíce množství Won 150,000,00 úcastníku Euro .Všechny byly vybrány náhodne z World Wide webu pres pocítac cerpá systemTo Facebook pro váš soubor Claire kontaktujte prosím naše duverník

Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-02 Thread Adrian Hunter
On 01/09/15 12:30, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros are renamed to >

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Roger Willcocks
On 2 Sep 2015, at 03:16, Stephen Rothwell wrote: > Hi Jens, > > Today's linux-next merge of the block tree got a conflict in: > > fs/xfs/xfs_aops.c > > between commit: > > c9eb256eda44 ("xfs: return errors from partial I/O failures to files") > > from the xfs tree

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Marc Zyngier
On 02/09/15 10:33, Qais Yousef wrote: > On 08/28/2015 03:22 PM, Thomas Gleixner wrote: >> On Fri, 28 Aug 2015, Qais Yousef wrote: >>> Thanks a lot for the detailed explanation. I wasn't looking for a quick and >>> dirty solution but my view of the problem is much simpler than yours so my >>> idea

Re: [PATCH 00/14] arm64: 16K translation granule support

2015-09-02 Thread Ard Biesheuvel
On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > This series enables the 16K page size support on Linux for arm64. > This series adds support for 48bit VA(4 level), 47bit VA(3 level) and > 36bit VA(2 level) with

[PATCH 4/4] sched/rt: make (do_)balance_runtime() return void

2015-09-02 Thread Juri Lelli
The return value of (do_)balance_runtime() is not consumed by anybody. Make them return void. Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Juri Lelli --- kernel/sched/rt.c | 22 ++ 1 file changed, 6

[PATCH 2/4] sched/deadline: unify dl_time_before usage

2015-09-02 Thread Juri Lelli
Move dl_time_before static definition in include/linux/sched/deadline.h so that it can be used by different parties without being re-defined. Cc: Ingo Molnar Cc: Peter Zijlstra Reported-by: Luca Abeni Signed-off-by: Juri Lelli

[PATCH 0/4] sched fixes and clean-ups

2015-09-02 Thread Juri Lelli
Hi all, while trying to come up with 01/04, I collected the following set of fixes. Patches 02-04/04 are simple refactoring of code and clean-ups. Patch 01/04 is instead my attempt to fix a problem highlighted some time back by Wanpeng Li regarding hotplug and the way SCHED_DEADLINE keeps track

[PATCH v3 00/15] Big fixes, retries, handle a race condition

2015-09-02 Thread Yaniv Gardi
Important: This serie of 15 small patches should be pushed after the series of 8 patches "Fix error message and present UFS variant probe" V3: removed specific calls to wmb() since they are redundant. V2: a few minor changes V1: This serie of 15 small patches should be pushed after the series

[PATCH v3 01/15] scsi: ufs: clear UTRD, UPIU req and rsp before new transfers

2015-09-02 Thread Yaniv Gardi
Clear the UFS data structures before sending new request. The SCSI command is sent to the device within the UFS UPIU request. As part of the transfer UPIU preparation, the SCSI command is copied to the UPIU structure according to the SCSI command size. As different SCSI commands differ in size

[PATCH v3 13/15] scsi: ufs: add missing memory barriers

2015-09-02 Thread Yaniv Gardi
Performing several writes to UFS host controller registers has no gurrantee of ordering, so we must make sure register writes to setup request list base address etc. are performed before the run/stop register is enabled. In addition, when setting up a task request, we must make sure the updating

[PATCH v3 04/15] scsi: ufs: clear outstanding_request bit in case query timeout

2015-09-02 Thread Yaniv Gardi
When sending a query to the device returns with a timeout error, we clear the corresponding bit in the DOORBELL register but we don't clear the outstanding_request field as we should. This patch fixes this bug. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c |

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 08:17 AM, Dave Chinner wrote: > On Tue, Sep 01, 2015 at 09:19:45PM -0600, Ross Zwisler wrote: >> On Wed, Sep 02, 2015 at 08:21:20AM +1000, Dave Chinner wrote: >>> Which means applications that should "just work" without >>> modification on DAX are now subtly broken and don't actually

RE: [PATCH 0/4] x86/insn: perf tools: Add a few new x86 instructions

2015-09-02 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo Molnar > > > > sure, np you can use my ack > > > > I'm also OK for this patch. I just concern that is OK for Adrian too? > > Since this ensures all the copied code should be dead copy (not modified > > anymore), > > if we

Re: [PATCH] perf tools: Support bpf prologue for arm64

2015-09-02 Thread Will Deacon
On Mon, Aug 31, 2015 at 09:16:28PM +0100, Arnaldo Carvalho de Melo wrote: > Em Sat, Aug 29, 2015 at 03:16:52AM +, He Kuang escreveu: > > This patch implements arch_get_reg_info() for arm64 to enable > > HAVE_BPF_PROLOGUE feature. For arm64, structure pt_regs is not composed > > by fields of

[PATCH] xen: fix the check of e_pfn in xen_find_pfn_range

2015-09-02 Thread Zhenzhong Duan
On some numa system, after dom0 up, we see below warning even if there are enough pfn ranges could be used for remapping. "Unable to find available pfn range, not remapping identity pages" Fix it to avoid getting a memory region of zero size in xen_find_pfn_range. Signed-off-by: Zhenzhong Duan

[PATCH 3/6] ARM: dts: omap243x: use "ti,pbias-omap2" compatible string for pbias

2015-09-02 Thread Kishon Vijay Abraham I
Use "ti,pbias-omap2" compatible string which is specifically added for OMAP2. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap2430.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap2430.dtsi

[PATCH 0/6] Fix pbias regulator enable

2015-09-02 Thread Kishon Vijay Abraham I
vsel_reg and enable_reg of the pbias regulator descriptor should actually have the offset from syscon. However after "ARM: dts: : add minimal l4 bus layout with control module support" vsel_reg and enable_reg started to have the absolute address because of address translation that happens due to

[PATCH 2/6] ARM: dts: dra7: use "ti,pbias-dra7" compatible string for pbias

2015-09-02 Thread Kishon Vijay Abraham I
Use "ti,pbias-dra7" compatible string which is specifically added for DRA7 SoCs. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi

Re: [PATCH] perf tools: Support bpf prologue for arm64

2015-09-02 Thread Wangnan (F)
On 2015/9/2 18:34, Will Deacon wrote: On Mon, Aug 31, 2015 at 09:16:28PM +0100, Arnaldo Carvalho de Melo wrote: Em Sat, Aug 29, 2015 at 03:16:52AM +, He Kuang escreveu: This patch implements arch_get_reg_info() for arm64 to enable HAVE_BPF_PROLOGUE feature. For arm64, structure pt_regs

Re: [PATCH] xen: fix the check of e_pfn in xen_find_pfn_range

2015-09-02 Thread Juergen Gross
On 09/02/2015 12:51 PM, Zhenzhong Duan wrote: On some numa system, after dom0 up, we see below warning even if there are enough pfn ranges could be used for remapping. "Unable to find available pfn range, not remapping identity pages" Fix it to avoid getting a memory region of zero size in

Re: [PATCH] ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers

2015-09-02 Thread Lee Jones
On Thu, 27 Aug 2015, Luis de Bethencourt wrote: > These platform drivers have a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- > sound/soc/bcm/bcm2835-i2s.c | 2 ++ >

[PATCH] virtio-gpu: fix compilation warnings

2015-09-02 Thread Mike Rapoport
Update snprintf format in virtgpu_fence.c and virtgpu_debugfs.c to fix the following compilation warnings: C [M] drivers/gpu/drm/virtio/virtgpu_fence.o drivers/gpu/drm/virtio/virtgpu_fence.c: In function ‘virtio_timeline_value_str’ : drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:13 PM, Kirill A. Shutemov wrote: > On Wed, Sep 02, 2015 at 08:49:22AM +1000, Dave Chinner wrote: >> On Tue, Sep 01, 2015 at 01:08:04PM +0300, Kirill A. Shutemov wrote: >>> On Tue, Sep 01, 2015 at 09:38:03AM +1000, Dave Chinner wrote: On Mon, Aug 31, 2015 at 12:59:44PM -0600,

Re: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Mike Galbraith
On Tue, 2015-09-01 at 22:47 +0200, Frederic Weisbecker wrote: > On Tue, Sep 01, 2015 at 07:14:13PM +, Jiang, Yunhong wrote: > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > index 8b864ec..0902e4d 100644 > > > --- a/kernel/sched/core.c > > > +++ b/kernel/sched/core.c > > > @@

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Ard Biesheuvel
On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > We use section maps with 4K page size to create the > swapper/idmaps. So far we have used !64K or 4K checks > to handle the case where we use the section maps.

Only 1 cpu scheduled in 4.2.0

2015-09-02 Thread Martin van Es
Hi, I recently compiled 4.2.0 based on my previous 4.1.6 config (make oldconfig). On 4.1.6 all cores are equally scheduled. This new 4.2.0 kernel however only schedules cpu0 on my 4 cpu i7-3537U (which is actually 2 cores x 2HT, as far as I understand the specs). CPU1 is scheduled for 0.5% now

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Kirill A. Shutemov
On Wed, Sep 02, 2015 at 12:41:44PM +0300, Boaz Harrosh wrote: > On 09/02/2015 12:37 PM, Boaz Harrosh wrote: > >> > >> + /* > >> +* Make sure that for VM_MIXEDMAP VMA has both > >> +* vm_ops->page_mkwrite and vm_ops->pfn_mkwrite or has > >> none. >

Re: [PATCH 0/6] sched/fair: Compute capacity invariant load/utilization tracking

2015-09-02 Thread Dietmar Eggemann
On 08/31/2015 11:24 AM, Peter Zijlstra wrote: On Fri, Aug 14, 2015 at 05:23:08PM +0100, Morten Rasmussen wrote: Target: ARM TC2 A7-only (x3) Test: hackbench -g 25 --threads -l 1 Before After 315.545 313.408 -0.68% Target: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz Test: hackbench -g 25

Re: [PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-02 Thread Yakir Yang
Thierry, 在 2015/9/2 16:34, Thierry Reding 写道: On Wed, Sep 02, 2015 at 10:06:36AM +0800, Yakir Yang wrote: 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: Am Dienstag, 1. September 2015, 14:01:48 schrieb Yakir Yang: [...] diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-09-02 Thread Pavel Machek
On Wed 2015-06-17 21:01:55, Andreas Mohr wrote: > Hi, > > [unable to set In-Reply-To: since lkml.org "headers" view remains broken...] > > > Hibernation works well here, including X. (Which has small glitch with > > mouse cursor being corrupted until it is changed by application). > > I

Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices

2015-09-02 Thread Charles Keepax
On Wed, Aug 19, 2015 at 08:58:24AM +0530, Pratyush Anand wrote: > /sys/class/watchdog/watchdogn/device/modalias can help to identify the > driver/module for a given watchdog node. However, many wdt devices does not > set > its parent and so, we do not see an entry for device in sysfs for such >

[PATCH v3 08/15] scsi: ufs: add retries to dme_peer get and set attribute

2015-09-02 Thread Yaniv Gardi
The dme_peer get/set attribute commands are prone to errors, therefore we add three retries for the UIC command sending. Error code returned from ufshcd_send_uic_cmd() is checked, and unless it was successful or the retries have finished, another command will be sent. Signed-off-by: Lee Susman

[PATCH v3 11/15] scsi: ufs: retry failed query flag requests

2015-09-02 Thread Yaniv Gardi
UFS flag query requests may fail sometimes due to timeouts etc. Add a wrapper function to retry up to 10 times in case of such failure, similar to retries being made for attribute queries. Signed-off-by: Gilad Broner Signed-off-by: Yaniv Gardi ---

[PATCH v3 12/15] scsi: ufs: reduce the interrupts for power mode change requests

2015-09-02 Thread Yaniv Gardi
DME commands such as Hibern8 enter/exit and gear switch generate 2 completion interrupts, one for confirmation that command is received by local UniPro and 2nd one is the final confirmation after communication with remote UniPro. Currently both of these completions are registered as interrupt

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: On 2015.09.02 at 17:17 +0800, Xiao Guangrong wrote: No. PAT is of course enabled and booting is successful sometimes even with the BUG() in allback_mtrr_type(). I suspect a setup (timing) issue. Thanks for your confirmation. markus@x4

<    1   2   3   4   5   6   7   8   >