Re: [Bugfix] PCI, x86: Correctly allocate IRQs for PCI devices managed by non-PCI drivers

2015-09-08 Thread Jiang Liu
On 2015/9/9 0:27, Bjorn Helgaas wrote: > Hi Jiang, > > I object to subject lines like "Correctly do such and such." Nobody > writes code to do things *incorrectly*, so the word "correctly" takes > up space without contributing meaning. In this case, it's at least > debatable whether this is ev

Re: [PATCH 3/5] staging: most: remove driver owner

2015-09-08 Thread Greg Kroah-Hartman
On Tue, Sep 08, 2015 at 11:56:29AM +0200, Andrey Shvetsov wrote: > On Mon, Sep 07, 2015 at 06:16:21PM +0530, Sudip Mukherjee wrote: > > On Mon, Sep 07, 2015 at 02:13:38PM +0200, Andrey Shvetsov wrote: > > > On Fri, Sep 04, 2015 at 04:22:04PM +0530, Sudip Mukherjee wrote: > > > > The platform driver

Re: [PATCH] arm64: kernel: Use a separate stack for irq interrupts.

2015-09-08 Thread James Morse
On 08/09/15 15:54, Jungseok Lee wrote: > On Sep 7, 2015, at 11:36 PM, James Morse wrote: > > Hi James, > >> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S >> index e16351819fed..d42371f3f5a1 100644 >> --- a/arch/arm64/kernel/entry.S >> +++ b/arch/arm64/kernel/entry.S >> @@ -19

Re: [PATCH] staging: i2o: Used

2015-09-08 Thread Greg KH
On Tue, Sep 08, 2015 at 01:25:42PM -0300, Albino B Neto wrote: > 2015-09-03 13:46 GMT-03:00 Greg KH : > > On Tue, Aug 18, 2015 at 11:16:46PM +0530, Aparna Karuthodi wrote: > >> Used #include instead of #include to > >> remove a coding style warning detected by checkpatch. > > > > This file isn't

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-08 Thread Kevin O'Connor
On Mon, Sep 07, 2015 at 01:08:29PM +0200, Gerd Hoffmann wrote: > > It's just simplicity. If you want to read a few times from the same > > field (like in ACPI tables, read the data size and then the data), you > > need a way to enable and disable the selector and manage the current > > offset for t

Re: [RFC 2/5] of/serial: move earlycon early_param handling to serial

2015-09-08 Thread Leif Lindholm
On Tue, Sep 08, 2015 at 01:52:45PM +0100, Mark Rutland wrote: > On Tue, Sep 08, 2015 at 01:43:34PM +0100, Leif Lindholm wrote: > > We have multiple "earlycon" early_param handlers - merge the DT one into > > the main earlycon one. This means the earlycon early_param handler does > > not just return

[PATCH v5 4/4] ARM: dts: add suspend opp to exynos4412

2015-09-08 Thread Bartlomiej Zolnierkiewicz
Mark 800MHz OPP as a suspend opp for Exynos4412 based boards so effectively cpufreq-dt driver behavior w.r.t. suspend frequency matches what the old exynos-cpufreq driver has been doing. This patch fixes suspend/resume support on Exynos4412 based Trats2 board and reboot hang on Exynos4412 based Od

RE: [PATCH] infiniband:Fix error handling in the function cm_init_av_by_path

2015-09-08 Thread Hefty, Sean
> This fixes error handling in the function cm_init_av_by_path > to properly check if the internal call to the function > ib_init_ah_from_path has failed by returning a error code and > if so return immediately to the caller with this error code in > order to signal/allow the caller to handle the e

[PATCH v5 1/4] PM / OPP: add dev_pm_opp_get_suspend_opp() helper

2015-09-08 Thread Bartlomiej Zolnierkiewicz
Add dev_pm_opp_get_suspend_opp() helper to obtain suspend opp. Cc: Thomas Abraham Cc: Javier Martinez Canillas Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: Tobias Jakobi Acked-by: Viresh Kumar Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/base/power/opp.c | 30 ++

[PATCH v5 3/4] cpufreq-dt: add suspend frequency support

2015-09-08 Thread Bartlomiej Zolnierkiewicz
Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Cc: Thomas Abraham Cc: Javier Martinez Canillas Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: Tobias Jakobi Acked-by: Viresh Kumar Sign

[PATCH v5 0/4] cpufreq-dt: add suspend frequency support

2015-09-08 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series adds suspend frequency support (using opp-v2 bindings and suspend-opp functionality) to cpufreq-dt driver and then adds suspend opp for Exynos4412 based boards. This patch series fixes suspend/resume support on Exynos4412 based Trats2 board and reboot hang on Exynos4412 base

GFS2 pull request for this merge window delayed a couple days

2015-09-08 Thread Bob Peterson
Hi, I just wanted to give everyone (especially Linus) a heads-up on this. I've been collecting patches for the GFS2 file system's for-next branch. The biggest change this time revolves around allowing GFS2 to use rhashtable for its glocks, providing far greater scalability. Since the patch was po

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 13:43 +0100, Leif Lindholm wrote: > The ACPI DBG2 table defines a debug console. Add support for parsing it > and using it to select earlycon destination when no arguments provided. > > Signed-off-by: Leif Lindholm > --- > arch/arm64/kernel/acpi.c | 2 + > drivers/ac

Re: [PATCH] locking/static_keys: fix a silly typo

2015-09-08 Thread Jason Baron
On 09/07/2015 03:18 PM, Jonathan Corbet wrote: > 412758cb2670 (jump label, locking/static_keys: Update docs) introduced a > typo that might as well get fixed. > > Signed-off-by: Jonathan Corbet > --- > Documentation/static-keys.txt | 2 +- > include/linux/jump_label.h| 2 +- > 2 files chan

Re: [PATCH] kernel/sysctl.c: If "count" including the terminating byte '\0' the write system call should retrun success.

2015-09-08 Thread Steven Rostedt
On Tue, 08 Sep 2015 11:19:14 -0500 ebied...@xmission.com (Eric W. Biederman) wrote: > This patch does not implement the old behavior. > > The old code does use '\0' as a buffer terminator, and because it does > not check things closely I can see how it could accept a '\0' from > userspace and tr

RE: [PATCH] infiniband:core:Fix mutex locking to lock before unlocking in the function cma_ib_mc_handler

2015-09-08 Thread Hefty, Sean
> This fixes mutex locking to lock before unlocking in the function > cma_ib_mc_handler for the mutex handler_mutex as part of the pointer > id_priv before unlocking it after the critical region for event handler > work and execution in order to have actual proper concurrent execution > protection

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 01:13:59PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Sep 08, 2015 at 12:58:31PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Sep 08, 2015 at 12:49:10PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Tue, Sep 08, 2015 at 05:34:56PM +0200, Jiri Olsa escr

Re: [PATCH 1/3] Revert "ahci: added support for Freescale AHCI sata"

2015-09-08 Thread Tejun Heo
On Mon, Sep 07, 2015 at 10:52:14AM +0200, Hans de Goede wrote: > Hi, > > On 07-09-15 10:23, yuantian.t...@freescale.com wrote: > >From: Tang Yuantian > > > >This reverts commit 5163fb62541e > >("ahci: added support for Freescale AHCI sata") > > > >The reverted patch added Freescale QorIQ AHCI sat

Re: [PATCH v2 1/9] mm/compaction: skip useless pfn when updating cached pfn

2015-09-08 Thread Vlastimil Babka
On 09/07/2015 07:35 AM, Joonsoo Kim wrote: > On Mon, Aug 24, 2015 at 11:07:12AM +0200, Vlastimil Babka wrote: >> On 08/24/2015 04:19 AM, Joonsoo Kim wrote: >> >> In isolate_freepages_block() this means we actually go logically >> *back* one pageblock, as the direction is opposite? I know it's not

Re: [PATCH linux-next v5 1/5] mtd: spi-nor: notify (Q)SPI controller about protocol change

2015-09-08 Thread Marek Vasut
On Tuesday, September 08, 2015 at 06:20:05 PM, Cyrille Pitchen wrote: > Hi Jonas, > > taking your comments into account I'm about to test a new series with > additional patches to handle the Read ID command in multiple I/O protocols > and relying on new members in the struct spi_nor: > > * @eras

Re: [PATCH 3/3] mm, compaction: disginguish contended status in tracepoint

2015-09-08 Thread Vlastimil Babka
On 09/07/2015 07:53 AM, Joonsoo Kim wrote: > On Thu, Aug 27, 2015 at 05:24:04PM +0200, Vlastimil Babka wrote: >> Compaction returns prematurely with COMPACT_PARTIAL when contended or has >> fatal >> signal pending. This is ok for the callers, but might be misleading in the >> traces, as the usual

Re: [Bugfix] PCI, x86: Correctly allocate IRQs for PCI devices managed by non-PCI drivers

2015-09-08 Thread Bjorn Helgaas
Hi Jiang, I object to subject lines like "Correctly do such and such." Nobody writes code to do things *incorrectly*, so the word "correctly" takes up space without contributing meaning. In this case, it's at least debatable whether this is even the "correct" approach; see below. On Tue, Sep 08

Re: [PATCH 0/4] Fix how CPUs are enumerated when there's more than 255 CPUs

2015-09-08 Thread Marc Zyngier
On 08/09/15 12:07, Lukasz Anaczkowski wrote: > This series of patches attempts to fix how CPUs are enumerated by kernel when > there's more than 255 of them on single processor. > In such case, BIOS may interleave APIC/X2APIC MADT subtables, to obey > requirements > specified in ACPI spec. Without

Re: [PATCH linux-next v9 0/3] mfd: flexcom: add a driver for Flexcom

2015-09-08 Thread Lee Jones
On Tue, 08 Sep 2015, Cyrille Pitchen wrote: > Hi all, > > Le 01/09/2015 16:46, Cyrille Pitchen a écrit : > > ChangeLog > > > > v9: > > - go back to v5 (use the new "atmel,flexcom-mode" DT property). > > - fix the name of the spi node in the DT example: from spi@f8034400 to > > spi@400 > > - al

Re: [PATCH] kernel/sysctl.c: If "count" including the terminating byte '\0' the write system call should retrun success.

2015-09-08 Thread Eric W. Biederman
Steven Rostedt writes: > On Tue, 8 Sep 2015 11:11:38 +0800 > Sean Fu wrote: > >> On Fri, Aug 28, 2015 at 11:31 AM, Sean Fu wrote: >> > On Thu, Aug 27, 2015 at 4:32 PM, Sean Fu wrote: >> >> On Thu, Aug 27, 2015 at 10:32 AM, Steven Rostedt >> >> wrote: >> >>> On Thu, 27 Aug 2015 08:17:29 +0800

Re: [PATCH] staging: i2o: Used

2015-09-08 Thread Albino B Neto
2015-09-03 13:46 GMT-03:00 Greg KH : > On Tue, Aug 18, 2015 at 11:16:46PM +0530, Aparna Karuthodi wrote: >> Used #include instead of #include to >> remove a coding style warning detected by checkpatch. > > This file isn't in any kernel tree that I see anymore, what kernel did > you make this aga

Re: [PATCH 1/2] dax: fix O_DIRECT I/O to the last block of a blockdev

2015-09-08 Thread Dan Williams
On Tue, Sep 8, 2015 at 9:10 AM, Linda Knippers wrote: > This patch and the 2/2 patch don't seem to have gone anywhere. > Willy? or Ross? > Yes, these should have gone into 4.2, The nvdimm.git tree will pick them up after 4.3-rc1 and tag them for -stable. -- To unsubscribe from this list: send th

[PATCH 1/2] staging: lustre: lov: fix dereference of ERR_PTR

2015-09-08 Thread Sudip Mukherjee
If lov_sub_get() fails then it returns the error code in ERR_PTR, but here we were dereferencing sub without checking if lov_sub_get() has actually succeeded or not. And on error we can directly return the error code from lov_io_fault_start() as it return 0 on success and the error code on error.

[PATCH 2/2] staging: lustre: lov: remove always false condition

2015-09-08 Thread Sudip Mukherjee
The member qc_idx of struct if_quotactl is unsigned and hence it can never be less than zero. Signed-off-by: Sudip Mukherjee --- drivers/staging/lustre/lustre/lov/lov_obd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/

Re: Dealing with the NMI mess

2015-09-08 Thread Maciej W. Rozycki
On Mon, 7 Sep 2015, Andy Lutomirski wrote: > > It does not have to be mentioned, because it's implied by how the #DB > > exception is propagated: regardless of its origin it never checks the DPL. > > And user-mode software may well use POPF at any time to set the TF bit in > > the flags register

[PATCH block/for-linus] block: don't release bdi while request_queue has live references

2015-09-08 Thread Tejun Heo
bdi's are initialized in two steps, bdi_init() and bdi_register(), but destroyed in a single step by bdi_destroy() which, for a bdi embedded in a request_queue, is called during blk_cleanup_queue() which makes the queue invisible and starts the draining of remaining usages. A request_queue's user

Re: [PATCH 2/6] perf, tools, stat: Abstract stat metrics printing

2015-09-08 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 09:03:17AM -0700, Andi Kleen wrote: > > - introduce the print_metrics interface for perf_stat__print_shadow_stats > > - introduce printout function > > - introduce support for printing metrics in csv in interval mode > > That's already a separate patch. > > > - and

Re: [PATCH linux-next v5 1/5] mtd: spi-nor: notify (Q)SPI controller about protocol change

2015-09-08 Thread Cyrille Pitchen
Hi Jonas, taking your comments into account I'm about to test a new series with additional patches to handle the Read ID command in multiple I/O protocols and relying on new members in the struct spi_nor: * @erase_proto:the SPI protocol used by erase operations * @read_proto: th

Re: [PATCH 1/2] dax: fix O_DIRECT I/O to the last block of a blockdev

2015-09-08 Thread Linda Knippers
This patch and the 2/2 patch don't seem to have gone anywhere. Willy? or Ross? -- ljk On 8/14/2015 4:53 PM, Linda Knippers wrote: > On 8/14/2015 4:15 PM, Jeff Moyer wrote: >> commit bbab37ddc20b (block: Add support for DAX reads/writes to >> block devices) caused a regression in mkfs.xfs. That

RE: [PATCH v3 1/2] perf,x86: add Intel Memory Bandwidth Monitoring (MBM) PMU

2015-09-08 Thread Juvva, Kanaka D
Hi Matt, This is regarding Event IDs for perf event: There are two aspects: 1) Programming MSRs 2) EVENT_ATTR_STR(llc_local_bw, intel_cqm_llc_local_bw, "event=0x04"); 1 is used for programming MSRs 2 event attribute for perf For MBM_LOCAL_EVENT HW ID is 0x3. We don't want to use 0x3

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 12:58:31PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Sep 08, 2015 at 12:49:10PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Sep 08, 2015 at 05:34:56PM +0200, Jiri Olsa escreveu: > > > On Tue, Sep 08, 2015 at 12:18:13PM -0300, Arnaldo Carvalho de Melo wrot

[GIT PULL] eCryptfs fixes for 4.3-rc1

2015-09-08 Thread Tyler Hicks
Hi Linus, The following changes since commit 4469942bbbe5ebf845e04971d8c74e9b6178f9fa: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2015-08-05 18:50:38 +0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git

[GIT PULL] Kselftest updates for 4.3-rc1

2015-09-08 Thread Shuah Khan
Hi Linus, Please pull the first update for Kselftest 4.3-rc1. I will send another update later on this week to fix kselftest breakage due to commit "2bf9e0a locking/static_keys: Provide a selftest" after the fix soaks in next for a couple of days. thanks, -- Shuah The following changes since com

Re: [PATCH linux-next v9 0/3] mfd: flexcom: add a driver for Flexcom

2015-09-08 Thread Cyrille Pitchen
Hi all, Le 01/09/2015 16:46, Cyrille Pitchen a écrit : > ChangeLog > > v9: > - go back to v5 (use the new "atmel,flexcom-mode" DT property). > - fix the name of the spi node in the DT example: from spi@f8034400 to > spi@400 > - align the fields of the struct platform_driver atmel_flexcom_driver

Re: [PATCH 2/6] perf, tools, stat: Abstract stat metrics printing

2015-09-08 Thread Andi Kleen
> - introduce the print_metrics interface for perf_stat__print_shadow_stats > - introduce printout function > - introduce support for printing metrics in csv in interval mode That's already a separate patch. > - and enable i > > > or any other way you find feasible *easy to review*.. I

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 12:49:10PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Sep 08, 2015 at 05:34:56PM +0200, Jiri Olsa escreveu: > > On Tue, Sep 08, 2015 at 12:18:13PM -0300, Arnaldo Carvalho de Melo wrote: > > > Humm, I think that we can have a pointer to the current perf_env, be it >

[PATCH RESEND] writeback: account BDI's min_ratio for unregistered device

2015-09-08 Thread Akinobu Mita
>From mm/page-writeback.c: /* * bdi_min_ratio keeps the sum of the minimum dirty shares of all * registered backing devices, which, for obvious reasons, can not * exceed 100%. */ static unsigned int bdi_min_ratio; But when a backing device is un

Re: similar files: fusbh200-hcd.c and fotg210-hcd.c

2015-09-08 Thread Felipe Balbi
On Mon, Sep 07, 2015 at 04:47:45PM +0200, Peter Senna Tschudin wrote: > I executed a clone detection tool* on drivers source code and I found > that the files > > drivers/usb/host/fusbh200-hcd.c > > and > > drivers/usb/host/fotg210-hcd.c > > are very similar. The main difference between the two

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-09-08 Thread Stuart Yoder
> -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Monday, September 07, 2015 1:05 PM > To: David Daney > Cc: Marc Zyngier; tirumalesh.chalama...@caviumnetworks.com; Richter, Robert; > Chintakuntla, Radha; > devicet...@vger.kernel.org; linux-kernel@vger.kernel

[GIT PULL] xen: features and fixes for 4.3-rc0

2015-09-08 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.3-rc0-tag xen: features and fixes for 4.3-rc0 - - Convert xen-blkfront to the multiqueue API - - [arm] Support binding event channels t

Re: [PATCH 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-09-08 Thread dawei chien
Hi Daniel, On Mon, 2015-09-07 at 12:05 +0800, Daniel Kurtz wrote: > On Mon, Sep 7, 2015 at 12:00 PM, Daniel Kurtz wrote: > > Hi Dawei, > > > > On Fri, Sep 4, 2015 at 5:01 PM, Dawei Chien > > wrote: > >> Add thermal zone node to mt8173.dtsi. > >> > >> Signed-off-by: Dawei Chien > >> --- > >> Thi

[PATCH] staging: emxx_udc: Remove unused parameter from function parameter list parameter list

2015-09-08 Thread Ravi Teja Darbha
struct nbu2ss_ep *ep parameter in functions _nbu2ss_ep0_in_transfer() and _nbu2ss_ep0_out_transfer() is not used anywhere inside. Hence, removed. Signed-off-by: Ravi Teja Darbha --- drivers/staging/emxx_udc/emxx_udc.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git

Re: thermal: mediatek: Add cpu power cooling model

2015-09-08 Thread dawei chien
Hi Viresh, On Mon, 2015-09-07 at 11:39 +0530, Viresh Kumar wrote: > On 04-09-15, 17:01, Dawei Chien wrote: > > Use Intelligent Power Allocation (IPA) technical to add > > static/dynamic power model for binding CPU thermal zone. > > The power allocator governor allocates power budget to control > >

[GIT PULL] kbuild misc changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linus, these are the non-core kbuild changes for 4.3-rc1: - deb-pkg: + module signing fix + dtb files are added to the package + do not require `hostname -f` to work during build + make deb-pkg generates a source package, bindeb-pkg has been added to only generate the binary packag

Re: [PATCH] ftrace: allow dumping traces without tracking trace started cpus

2015-09-08 Thread Steven Rostedt
On Tue, 08 Sep 2015 10:17:15 -0400 Sasha Levin wrote: > Yes, I agree that it would be nicer if we init it rather than ignore it, > but I wanted to avoid trying to do an extra allocation on this path since > it usually happens when the system oopsed, so allocations might be reliable > and we want

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-08 Thread Sergey Senozhatsky
On (09/08/15 23:21), Minchan Kim wrote: [..] > > > If you ignore tailling space, your change would make a bug. > > > If you fix it, it looks good to me. > > > > that's why find_backend() calls sysfs_streq(), which takes care of > > a trailing new line. unless you're speaking about something else.

Re: [PATCH block/for-linus] block: blkg_destroy_all() should clear q->root_blkg and ->root_rl.blkg

2015-09-08 Thread Jens Axboe
On 09/08/2015 09:31 AM, Tejun Heo wrote: On Sat, Sep 05, 2015 at 03:47:36PM -0400, Tejun Heo wrote: While making the root blkg unconditional, ec13b1d6f0a0 ("blkcg: always create the blkcg_gq for the root blkcg") removed the part which clears q->root_blkg and ->root_rl.blkg during q exit. This l

Re: perf: fuzzer PEBS record without PEBS event! crash

2015-09-08 Thread Vince Weaver
On Tue, 8 Sep 2015, Stephane Eranian wrote: > Has to do with inlining. Make the function not inlined. OK I'll do that. This current kernel isn't crashing, but I'm getting this a lot [ 7877.413225] PEBS record without PEBS event! status=1 pebs_enabled=8 active_mask=0 vince@haswell:~$ dmesg |

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-08 Thread Peter Zijlstra
On Tue, Sep 08, 2015 at 03:31:58PM +0100, Morten Rasmussen wrote: > On Tue, Sep 08, 2015 at 02:52:05PM +0200, Peter Zijlstra wrote: > > > Tricky that, LOAD_AVG_MAX very much relies on the unit being 1<<10. > > I don't get why LOAD_AVG_MAX relies on the util_avg shifting being > 1<<10, it is just t

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-08 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 12:18:13PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 08, 2015 at 09:37:47AM +0200, Jiri Olsa escreveu: > > On Mon, Sep 07, 2015 at 09:27:26PM +0800, Wangnan (F) wrote: > > > > SNIP > > > > > > > > I found the problem. > > > > > > perf relies on build_cpu_topol

Re: [PATCH block/for-linus] block: blkg_destroy_all() should clear q->root_blkg and ->root_rl.blkg

2015-09-08 Thread Tejun Heo
On Sat, Sep 05, 2015 at 03:47:36PM -0400, Tejun Heo wrote: > While making the root blkg unconditional, ec13b1d6f0a0 ("blkcg: always > create the blkcg_gq for the root blkcg") removed the part which clears > q->root_blkg and ->root_rl.blkg during q exit. This leaves the two > pointers dangling afte

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Guenter Roeck
Emilio, On Tue, Sep 08, 2015 at 09:07:44AM -0300, Emilio López wrote: > According to the sysfs header file: > > "The returned value will replace static permissions defined in > struct attribute or struct bin_attribute." > > but this isn't the case, as is_visible is only called on > stru

Re: perf: fuzzer PEBS record without PEBS event! crash

2015-09-08 Thread Stephane Eranian
On Tue, Sep 8, 2015 at 5:32 PM, Vince Weaver wrote: > On Mon, 7 Sep 2015, Stephane Eranian wrote: > >> On Mon, Sep 7, 2015 at 2:44 AM, Vince Weaver >> wrote: >> > On Sun, 6 Sep 2015, Stephane Eranian wrote: >> > >> >> > [ 1800.285152] [ cut here ] >> >> > [ 1800.290757] W

[GIT PULL] kconfig changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linux, please pull these kconfig changes for v4.3-rc1: - kconfig warns about junk characters in Kconfig files - merge_config.sh error handling - small cleanup Thanks, Michal The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -07

Re: perf: fuzzer PEBS record without PEBS event! crash

2015-09-08 Thread Vince Weaver
On Mon, 7 Sep 2015, Stephane Eranian wrote: > On Mon, Sep 7, 2015 at 2:44 AM, Vince Weaver wrote: > > On Sun, 6 Sep 2015, Stephane Eranian wrote: > > > >> > [ 1800.285152] [ cut here ] > >> > [ 1800.290757] WARNING: CPU: 0 PID: 0 at > >> > arch/x86/kernel/cpu/perf_event_i

[GIT PULL] kbuild core changes for v4.3-rc1

2015-09-08 Thread Michal Marek
Hi Linus, please pull these kbuild changes for v4.3-rc1: - modpost portability fix - linker script fix - genksyms segfault fix - fixdep cleanup - fix for clang detection Thanks, Michal The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-08 Thread Tejun Heo
Hello, Parav. On Tue, Sep 08, 2015 at 02:08:16AM +0530, Parav Pandit wrote: > Currently user space applications can easily take away all the rdma > device specific resources such as AH, CQ, QP, MR etc. Due to which other > applications in other cgroup or kernel space ULPs may not even get chance >

Re: [PATCH 4/4] x86, acpi: Handle apic/x2apic entries in MADT in correct order

2015-09-08 Thread Marc Zyngier
On 08/09/15 12:08, Lukasz Anaczkowski wrote: > ACPI specifies the following rules when listing APIC IDs: > (1) Boot processor is listed first > (2) For multi-threaded processors, BIOS should list the first logical > processor of each of the individual multi-threaded processors in MADT > bef

RE: [PATCH V8 3/7] perf, record: introduce --freq-perf option

2015-09-08 Thread Liang, Kan
> > On Thu, Sep 03, 2015 at 08:30:59AM -0400, kan.li...@intel.com wrote: > > From: Kan Liang > > > > To generate the frequency and performance output, perf must sample > > read special events like cycles, ref-cycles, msr/tsc/, msr/aperf/ or > > msr/mperf/. > > With the --freq-perf option, perf

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 09:37:47AM +0200, Jiri Olsa escreveu: > On Mon, Sep 07, 2015 at 09:27:26PM +0800, Wangnan (F) wrote: > > SNIP > > > > > I found the problem. > > > > perf relies on build_cpu_topology() to fetch CPU_TOPOLOGY from sysfs. It > > depend on > > the existance of > > > > /sys/

Re: [PATCH] block: Fix compiler warnings in blk-merge.c

2015-09-08 Thread Jens Axboe
On 09/06/2015 09:24 AM, Geliang Tang wrote: Fix the following warnings: CC block/blk-merge.o In file included from block/blk-merge.c:7:0: block/blk-merge.c: In function ‘blk_queue_split’: include/linux/blkdev.h:1368:21: warning: ‘bvprv.bv_offset’ may be used uninitialized in this functio

Re: [PATCH 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-08 Thread Ezequiel Garcia
On 8 September 2015 at 08:53, Jagan Teki wrote: > On 8 September 2015 at 15:19, Bayi Cheng wrote: >> Add Mediatek nor flash node >> >> Signed-off-by: Bayi Cheng >> --- >> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/arch/arm64/

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-08 Thread Vincent Guittot
On 8 September 2015 at 16:10, Peter Zijlstra wrote: > On Tue, Sep 08, 2015 at 03:39:37PM +0200, Vincent Guittot wrote: >> > Now, given all that, units are a complete mess here, and I'd not mind >> > something like: >> > >> > #if (SCHED_LOAD_SHIFT - SCHED_LOAD_RESOLUTION) != SCHED_CAPACITY_SHIFT >>

Re: [PATCH] kernel/sysctl.c: If "count" including the terminating byte '\0' the write system call should retrun success.

2015-09-08 Thread Steven Rostedt
On Tue, 8 Sep 2015 11:11:38 +0800 Sean Fu wrote: > On Fri, Aug 28, 2015 at 11:31 AM, Sean Fu wrote: > > On Thu, Aug 27, 2015 at 4:32 PM, Sean Fu wrote: > >> On Thu, Aug 27, 2015 at 10:32 AM, Steven Rostedt > >> wrote: > >>> On Thu, 27 Aug 2015 08:17:29 +0800 > >>> Sean Fu wrote: > strac

Re: [PATCH, newbie, HELP] lirc devices: Missing uapi header lirc.h

2015-09-08 Thread Randy Dunlap
[adding linux-media + Alan Cox] On 09/08/15 03:51, Alec Leamas wrote: > Hi, > > I have filed a bug + a patch at [1]. This is my first contact with the kernel > community, and I probably make it the wrong way. That said, after a first > acknowledge in the tracker that this indeed a bug, I've go

Re: Kernel 4.1.6 Panic due to slab corruption

2015-09-08 Thread Christoph Lameter
On Tue, 8 Sep 2015, Nikolay Borisov wrote: > > You have read https://www.kernel.org/doc/Documentation/vm/slub.txt? > > I've read that I'm also following the merge/nomerge thread on the DM > mailing list. I guess my understanding is wrong in that if multiple slab > caches are merged, then it's enou

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-08 Thread Tony Lindgren
* Murali Karicheri [150903 12:21]: > Tony, > On 09/03/2015 10:26 AM, Tony Lindgren wrote: > >* santosh shilimkar [150902 08:55]: > >> > >>I suspected the same. I know back then we started with SERDES code > >>with NETCP but as you already know, its a separate block which > >>is needed for NIC car

Re: linux-next: Tree for Sep 8 (netfilter build error)

2015-09-08 Thread Randy Dunlap
On 09/07/15 22:21, Stephen Rothwell wrote: > Hi all, > > Please do not add material for v4.4 until after v4.3-rc1 is out. > > Changes since 20150903: > on i386: net/built-in.o: In function `nf_dup_ipv6': (.text+0x16dfba): undefined reference to `nf_conntrack_untracked' net/built-in.o: In funct

Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 06:33:45PM +1000, Michael Ellerman escreveu: > On Tue, 2015-09-08 at 10:26 +0530, Hemant Kumar wrote: > > > > On 09/07/2015 10:40 AM, Michael Ellerman wrote: > > > On Fri, 2015-09-04 at 17:51 -0300, Arnaldo Carvalho de Melo wrote: > > >> Em Tue, Sep 01, 2015 at 12:18:47PM +

Re: [RFC PATCH 0/2] Containerise nproc count

2015-09-08 Thread Eric W. Biederman
Nikolay Borisov writes: > From: Nikolay Borisov > > Hello, > > This is an initial try to have nproc count apply per-userns, > rather than per the global user struct. The implementation is > really simple - a hashtable holding uid->nproc mapping for each > id inside the respective namespace. I

Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on guest VM

2015-09-08 Thread Thomas Gleixner
On Tue, 8 Sep 2015, Mathieu Desnoyers wrote: > Introduce WATCHDOG_RETRY to bound the number of retry (in the > unlikely event of a bogus clock source for wdnow). If the > number of retry has been reached, disable the watchdog timer. This does not make any sense at all. Why would the clocksource be

Re: [PATCH 05/11] x86, pci, acpi: Move arch-agnostic MMCONFIG (aka ECAM) and ACPI code out of arch/x86/ directory

2015-09-08 Thread Lorenzo Pieralisi
Hi Tomasz, On Mon, Sep 07, 2015 at 10:59:44AM +0100, Tomasz Nowicki wrote: > On 31.08.2015 13:01, Tomasz Nowicki wrote: > > On 08.06.2015 17:14, Lorenzo Pieralisi wrote: > >> On Mon, Jun 08, 2015 at 03:57:38AM +0100, Hanjun Guo wrote: > >> > >> [...] > >> > > Why can't we make use of the E

Re: [PATCH-v2 4/7] mmc: sdhci-pxav3: Add pinctl setting according to bus clock

2015-09-08 Thread Vaibhav Hiremath
On Tuesday 08 September 2015 08:12 PM, Linus Walleij wrote: On Mon, Sep 7, 2015 at 1:18 PM, Vaibhav Hiremath wrote: Different bus clock may need different pin setting. For example, fast bus clock like 208Mhz need pin drive fast while slow bus clock prefer pin drive slow to guarantee signal q

RE: [PATCH v8 2/2] ARM: imx: support suspend states on imx7D

2015-09-08 Thread Shenwei Wang
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > > This patch adds a new suspend driver to manage the power states on IMX7D. > > It currently supports "SUSPEND_STANDBY" and "SUSPEND_MEM" states. > > > > Signed-off-by: Shenwei Wang > > Signed-off-by: Anson Huang > >

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-08 Thread Alan Stern
On Tue, 8 Sep 2015, Rafael J. Wysocki wrote: > > > [1] http://marc.info/?l=linux-input&m=140564626306396&w=2 > > > > Purely as a matter of interest, in that email Rafael also mentioned > > that he and I had discussed a way to disable remote wakeup during > > runtime suspend. Oddly enough, the m

Re: [PATCH] ARM: fix bug which lowmem size is limited to 760MB

2015-09-08 Thread Nicolas Pitre
On Tue, 8 Sep 2015, Russell King - ARM Linux wrote: > On Mon, Sep 07, 2015 at 10:01:41PM -0400, Nicolas Pitre wrote: > [...] > > This is passed to iotable_init(), then to create_mapping(). There you > > have: > > > > if ((md->type == MT_DEVICE || md->type == MT_ROM) && > > m

Re: [PATCH V1] audit: add warning that an old auditd may be starved out by a new auditd

2015-09-08 Thread Eric Paris
This is already going to be in the audit log, right? We're going to send a CONFIG_CHANGE record with old_pid == the existing auditd. I bet it gets delivered to the old auditd. But why is this a printk(KERN_WARN) ? On Mon, 2015-09-07 at 12:48 -0400, Richard Guy Briggs wrote: > Nothing prevents a n

Re: [PATCH] arm64: kernel: Use a separate stack for irq interrupts.

2015-09-08 Thread Jungseok Lee
On Sep 8, 2015, at 10:45 AM, AKASHI Takahiro wrote: > Jungseok, Hi Akashi, > On 09/08/2015 01:34 AM, Jungseok Lee wrote: >> On Sep 8, 2015, at 1:06 AM, James Morse wrote: >>> On 07/09/15 16:48, Jungseok Lee wrote: On Sep 7, 2015, at 11:36 PM, James Morse wrote: Hi James, >>>

[PATCH] pinctrl: samsung: s3c24xx: fix syntax error

2015-09-08 Thread Linus Walleij
?SYNTAX ERROR irq_desc_get_irq_chip() does not exist. It should be irq_desc_get_chip(). Tested by compiling s3c2410_defconfig. Cc: Thomas Gleixner Reported-by: Paul Gortmaker Signed-off-by: Linus Walleij --- drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH v2] RDS: verify the underlying transport exists before creating a connection

2015-09-08 Thread Sasha Levin
There was no verification that an underlying transport exists when creating a connection, this would cause dereferencing a NULL ptr. It might happen on sockets that weren't properly bound before attempting to send a message, which will cause a NULL ptr deref: [135546.047719] kasan: GPF could be c

Re: [PATCH] arm64: kernel: Use a separate stack for irq interrupts.

2015-09-08 Thread Jungseok Lee
On Sep 7, 2015, at 11:36 PM, James Morse wrote: Hi James, > Having to handle interrupts on top of an existing kernel stack means the > kernel stack must be large enough to accomodate both the maximum kernel > usage, and the maximum irq handler usage. Switching to a different stack > when processi

Re: [patch 15/22] pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-09-08 Thread Linus Walleij
On Tue, Sep 8, 2015 at 4:10 PM, Thomas Gleixner wrote: > On Tue, 8 Sep 2015, Linus Walleij wrote: >> On Mon, Aug 31, 2015 at 11:28 PM, Paul Gortmaker >> wrote: >> > On Mon, Jul 13, 2015 at 4:47 PM, Thomas Gleixner >> > wrote: >> >> From: Jiang Liu >> >> >> >> Use irq_desc_get_xxx() to avoid re

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-08 Thread Rafael J. Wysocki
On Tuesday, September 08, 2015 10:44:04 AM Alan Stern wrote: > On Tue, 8 Sep 2015, Tirdea, Irina wrote: > > > In the previous discussion thread , there were a couple of options > > mentioned, but none seemed to reach a consensus. You mentioned > > adding a "more aggressive runtime PM mode" [1]. I'

Re: [PATCH] mm/mmap.c: Only call vma_unlock_anon_vm() when failure occurs in expand_upwards() and expand_downwards()

2015-09-08 Thread Chen Gang
On 9/7/15 15:24, Michal Hocko wrote: > On Sat 05-09-15 18:11:40, Chen Gang wrote: >> Hello All: >> >> I have send 2 new patches about mm, and 1 patch for arch metag via my >> 21cn mail. Could any members help to tell me, whether he/she have >> received the patches or not? > > Yes they seem to be in

Re: [PATCH] x86, arm64, acpi: Handle lapic/x2apic entries in MADT

2015-09-08 Thread Tomasz Nowicki
On 07.09.2015 16:04, Anaczkowski, Lukasz wrote: From: Tomasz Nowicki [mailto:tomasz.nowi...@linaro.org] Sent: Tuesday, September 1, 2015 3:37 PM On 01.09.2015 14:07, Anaczkowski, Lukasz wrote: From: Tomasz Nowicki [mailto:tomasz.nowi...@linaro.org] Sent: Tuesday, September 1, 2015 10:03 AM

RE: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-08 Thread Alan Stern
On Tue, 8 Sep 2015, Tirdea, Irina wrote: > In the previous discussion thread , there were a couple of options > mentioned, but none seemed to reach a consensus. You mentioned > adding a "more aggressive runtime PM mode" [1]. I'm not sure how > this would work except for adding a sysfs attribute th

Re: Kernel 4.1.6 Panic due to slab corruption

2015-09-08 Thread Nikolay Borisov
On 09/08/2015 05:27 PM, Christoph Lameter wrote: > On Tue, 8 Sep 2015, Nikolay Borisov wrote: > >> Unfortunately I haven't found a way to reproduce it so the only option >> would be to do this on a live server. However, the performance impact I >> believe is going to be very prohibitive :(. Alt

[tip:perf/core] perf trace: Add read/write to the file group

2015-09-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: cf2f33a4e54096f90652cca3511fd6a456ea5abe Gitweb: http://git.kernel.org/tip/cf2f33a4e54096f90652cca3511fd6a456ea5abe Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Sep 2015 13:22:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Sep 2015 13:22:06 -0300 perf

Re: [PATCH-v2 4/7] mmc: sdhci-pxav3: Add pinctl setting according to bus clock

2015-09-08 Thread Linus Walleij
On Mon, Sep 7, 2015 at 1:18 PM, Vaibhav Hiremath wrote: > Different bus clock may need different pin setting. > For example, fast bus clock like 208Mhz need pin drive fast > while slow bus clock prefer pin drive slow to guarantee > signal quality. > > So this patch creates two states, > - Defau

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-08 Thread Vincent Guittot
On 8 September 2015 at 16:35, Morten Rasmussen wrote: > On Tue, Sep 08, 2015 at 04:06:36PM +0200, Vincent Guittot wrote: >> On 8 September 2015 at 14:52, Peter Zijlstra wrote: >> > On Tue, Sep 08, 2015 at 02:26:06PM +0200, Peter Zijlstra wrote: >> >> On Tue, Sep 08, 2015 at 09:22:05AM +0200, Vinc

[tip:perf/core] x86/insn: perf tools: Add new SHA instructions

2015-09-08 Thread tip-bot for Adrian Hunter
Commit-ID: 3fe78d6af9e2f08c4014fd3ccbf9e1ff312dedf1 Gitweb: http://git.kernel.org/tip/3fe78d6af9e2f08c4014fd3ccbf9e1ff312dedf1 Author: Adrian Hunter AuthorDate: Wed, 2 Sep 2015 15:15:28 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Sep 2015 12:01:03 -0300 x86/insn: perf

[tip:perf/core] x86/insn: perf tools: Pedantically tweak opcode map for MPX instructions

2015-09-08 Thread tip-bot for Adrian Hunter
Commit-ID: 78173ec6311a22ca9f42cf949cf37754a8b71633 Gitweb: http://git.kernel.org/tip/78173ec6311a22ca9f42cf949cf37754a8b71633 Author: Adrian Hunter AuthorDate: Wed, 2 Sep 2015 15:15:27 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Sep 2015 12:01:02 -0300 x86/insn: perf

[tip:perf/core] perf tools: Remove mountpoint arg from perf_debugfs_mount

2015-09-08 Thread tip-bot for Jiri Olsa
Commit-ID: f6a09af7de3b39b1e4fcff7374871f834498b7f0 Gitweb: http://git.kernel.org/tip/f6a09af7de3b39b1e4fcff7374871f834498b7f0 Author: Jiri Olsa AuthorDate: Wed, 2 Sep 2015 09:56:32 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 2 Sep 2015 16:30:47 -0300 perf tools: Remove

[tip:perf/core] x86/insn: perf tools: Add new xsave instructions

2015-09-08 Thread tip-bot for Adrian Hunter
Commit-ID: f83b6b64eba155cfb43ab8a5d9c422c3e7f603e6 Gitweb: http://git.kernel.org/tip/f83b6b64eba155cfb43ab8a5d9c422c3e7f603e6 Author: Adrian Hunter AuthorDate: Wed, 2 Sep 2015 15:15:31 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Sep 2015 12:01:04 -0300 x86/insn: perf

[tip:perf/core] perf probe: Move print logic into cmd_probe()

2015-09-08 Thread tip-bot for Namhyung Kim
Commit-ID: b02137cc6550c1fa28e9a7c943a79fe6e4c4378d Gitweb: http://git.kernel.org/tip/b02137cc6550c1fa28e9a7c943a79fe6e4c4378d Author: Namhyung Kim AuthorDate: Fri, 4 Sep 2015 21:16:01 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Sep 2015 12:37:17 -0300 perf probe: Move

<    1   2   3   4   5   6   7   8   >