[PATCH] tty: fix data race in flush_to_ldisc

2015-09-02 Thread Dmitry Vyukov
The data race is found with KernelThreadSanitizer (on rev 21bdb584af8c): ThreadSanitizer: data-race in release_tty Write of size 8 by thread T325 (K2579): release_tty+0xf3/0x1c0 drivers/tty/tty_io.c:1688 tty_release+0x698/0x7c0 drivers/tty/tty_io.c:1920 __fput+0x15f/0x310

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

2015-09-02 Thread Kees Cook
On Wed, Sep 2, 2015 at 10:46 AM, Josh Boyer wrote: > On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >> I'd be amenable to switching the default back to y and perhaps adding >> a sysctl to make the distros more comfortable. Ingo, Kees,

Re: [PATCH 2/2] mmc: sdhci-pxav3: Print ret value on error from sdhci_add_host() fn

2015-09-02 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 08:37 PM, Joe Perches wrote: On Wed, 2015-09-02 at 18:37 +0530, Vaibhav Hiremath wrote: On Wednesday 02 September 2015 02:07 AM, Joe Perches wrote: On Wed, 2015-09-02 at 00:54 +0530, Vaibhav Hiremath wrote: Return value would give clear information about the

Re: [PATCH v2] security: device_cgroup: fix RCU lockdep splat

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 9:12 AM, Felipe Balbi wrote: > while booting AM437x device, the following splat > triggered: > > [ 12.005238] === > [ 12.009749] [ INFO: suspicious RCU usage. ] > [ 12.014116] 4.2.0-next-20150831 #1154 Not tainted > [

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

2015-09-02 Thread Pranith Kumar
On Wed, Sep 2, 2015 at 11:23 AM, Pranith Kumar wrote: > Hi Will, > > On 09/02/2015 05:59 AM, Will Deacon wrote: >> I just thought it was worth making this point, because it is prohibited >> in SC and I don't want people to think that our RELEASE/ACQUIRE operations >> are SC

[PATCH v3] x86: fix small LDT allocation for Xen

2015-09-02 Thread Jan Beulich
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 size path. As I'm unaware of guarantees for kmalloc(PAGE_SIZE, ) to return

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

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 8:27 AM, Andrew Bird wrote: > Hi Andy, > Yes I know of a least one instance of a company specifically running 32bit > server purely so that they can eek out every last drop of performance from > a legacy DOS business application using the hardware

Re: [PATCH v5 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread ygardi
> On Wed, Sep 2, 2015 at 3:32 AM, Yaniv Gardi wrote: >> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS >> a platform device. >> In order to do so a few additional changes are required: >> 1. The ufshcd-pltfrm is no longer serves as a platform device. >>Now

Re: futex atomic vs ordering constraints

2015-09-02 Thread Chris Metcalf
On 09/02/2015 08:55 AM, Peter Zijlstra wrote: So here goes.. Chris, I'm awfully sorry, but I seem to be Tile challenged. TileGX seems to define: #define smp_mb__before_atomic() smp_mb() #define smp_mb__after_atomic() smp_mb() However, its atomic_add_return() implementation looks like:

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

2015-09-02 Thread Doug Anderson
Ulf, On Wed, Sep 2, 2015 at 4:38 AM, Ulf Hansson wrote: >> +/** >> + * mmc_regulator_set_vqmmc - Set VQMMC as per the ios >> + * >> + * For 3.3V signaling, we try to match VQMMC to VMMC as closely as possible. > > Looking at the code, I don't think this statement is

Re: ip_rcv_finish() NULL pointer and possibly related Oopses

2015-09-02 Thread Shaun Crampton
> Make sure you backported commit > 10e2eb878f3ca07ac2f05fa5ca5e6c4c9174a27a > ("udp: fix dst races with multicast early demux") I just tried the latest CoreOS alpha, which had that patch. Sadly, I saw just as many reboots. Here's a sample of the different types of Oopses I see (I've put the

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

2015-09-02 Thread Stas Sergeev
02.09.2015 20:46, Josh Boyer пишет: > On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >> I'd be amenable to switching the default back to y and perhaps adding >> a sysctl to make the distros more comfortable. Ingo, Kees, Brian, >> what do you think? > > Can you

[GIT PULL] perf fixes

2015-09-02 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 5b923564ccf43f92969c9e0fd199c8c5db657039 Merge tag 'perf-urgent-for-mingo' of

Re: [PATCH v6 0/3] KVM: Dynamic Halt-Polling

2015-09-02 Thread David Matlack
On Wed, Sep 2, 2015 at 12:29 AM, Wanpeng Li wrote: > v5 -> v6: > * fix wait_ns and poll_ns Thanks for bearing with me through all the reviews. I think it's on the verge of being done :). There are just few small things to fix. > > v4 -> v5: > * set base case 10us and

Re: [PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver

2015-09-02 Thread Kevin Hilman
Caesar Wang writes: > This driver is found on RK3288 SoCs. > > In order to meet high performance and low power requirements, a power > management unit is designed or saving power when RK3288 in low power > mode. > The RK3288 PMU is dedicated for managing the power of the

Re: [PATCH] null_blk: fix memory leak on cleanup

2015-09-02 Thread Ross Zwisler
On Mon, Aug 31, 2015 at 02:17:18PM +0200, Matias Bjørling wrote: > From: Matias Bjørling > > Driver was not freeing the memory allocated for internal nullb queues. > This patch frees the memory during driver unload. You may want to consider devm_* style allocations instead.

Re: Linux Firmware Signing

2015-09-02 Thread Luis R. Rodriguez
On Tue, Sep 01, 2015 at 11:35:05PM -0400, Mimi Zohar wrote: > > OK great, I think that instead of passing the actual routine name we should > > instead pass an enum type for to the LSM, that'd be easier to parse and we'd > > then have each case well documented. Each LSM then could add its own > >

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

2015-09-02 Thread Darrick J. Wong
On Wed, Sep 02, 2015 at 05:52:01PM +0100, Mel Gorman wrote: > On Mon, Aug 31, 2015 at 02:37:38PM -0700, Linus Torvalds wrote: > > On Sun, Aug 30, 2015 at 11:19 PM, Jan Kara wrote: > > > > > > The biggest change in the pull is the removal of ext3 filesystem driver > > > (~28k lines

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread J. Bruce Fields
On Tue, Aug 04, 2015 at 01:53:00PM +0200, Andreas Gruenbacher wrote: > Richacls distinguish between creating non-directories and directories. To > support that, add an isdir parameter to may_create(). When checking > inode_permission() for create permission, pass in an additional > MAY_CREATE_FILE

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

2015-09-02 Thread Jiang, Yunhong
> -Original Message- > From: Chris Metcalf [mailto:cmetc...@ezchip.com] > Sent: Wednesday, September 2, 2015 9:17 AM > To: Mike Galbraith; Frederic Weisbecker > Cc: Jiang, Yunhong; Ingo Molnar; Peter Zijlstra; LKML; Vatika Harlalka; Thomas > Gleixner; Preeti U Murthy; Christoph Lameter;

Re: [PATCH 10/98] via_drm.h: hide struct via_file_private in userspace

2015-09-02 Thread Mikko Rapeli
On Wed, Jun 03, 2015 at 05:50:22PM +0100, Emil Velikov wrote: > Hi Mikko, > > On 30 May 2015 at 16:38, Mikko Rapeli wrote: > > Fixes compiler error since list_head is not exported to userspace headers. > > > > Signed-off-by: Mikko Rapeli > > --- > >

Re: [PATCH v3 05/10] VFIO: platform: add vfio_platform_is_active

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:20:59PM +0200, Eric Auger wrote: > This function returns whether the IRQ is active at irqchip level or > VFIO masked. If either is true, it is considered the IRQ is active. > Currently there is no way to differentiate userspace masked IRQ from > automasked IRQ. There

Re: [PATCH v3 07/10] KVM: arm/arm64: vgic: Allow HW interrupts for non-shared devices

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:21:01PM +0200, Eric Auger wrote: > From: Marc Zyngier > > So far, the only use of the HW interrupt facility was the timer, > implying that the active state is context-switched for each vcpu, > as the device is is shared across all vcpus. > > This

Re: [RFC v6 08/40] richacl: Compute maximum file masks from an acl

2015-09-02 Thread J. Bruce Fields
On Wed, Sep 02, 2015 at 03:54:08PM -0400, bfields wrote: > On Tue, Aug 04, 2015 at 01:53:06PM +0200, Andreas Gruenbacher wrote: > > Compute upper bound owner, group, and other file masks with as few > > permissions as possible without denying any permissions that the NFSv4 > > acl in a richacl

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

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 1:50 PM, Stas Sergeev wrote: > 02.09.2015 20:46, Josh Boyer пишет: >> On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >>> I'd be amenable to switching the default back to y and perhaps adding >>> a sysctl to make the distros more

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread Andreas Gruenbacher
2015-09-02 21:20 GMT+02:00 J. Bruce Fields : > Got it. And maybe it should be obvious, but it might be worth a > sentence in the changelog if it's not already explained elsewhere.--b. Let me try adding a comment. Also I'll fix the next commit which adds MAY_DELETE_SELF

Re: [PATCH v7 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-09-02 Thread Rob Herring
On Wed, Sep 2, 2015 at 9:45 AM, Yaniv Gardi wrote: > This change fixes a compilation warning that happens if SCSI_UFS_QCOM > is compiled as a module. > Also this patch fixes an error happens when insmod the module: > "ufs_qcom: module license 'unspecified' taints kernel." >

[PATCH v2 2/2] ARM: dts: rockchip: Remove specific cts pullup from veyron

2015-09-02 Thread Alexandru M Stan
With the previous patch ("rk3288: pull up cts lines") this is redundant, I sent that patch for the same reason this existed here, so the lines don't wiggle randomly when disconnected. Signed-off-by: Alexandru M Stan --- Changes in v2: - Restrict changes only to cts pin,

[PATCH v2 0/2] ARM: dts: rockchip: pull up cts lines

2015-09-02 Thread Alexandru M Stan
The flow control lines from a user accessible UART are optional, the user might not have anything connected to those pins. In order to prevent random interrupts happening and noise affecting the cts pin should be pulled up. The only boards affected (that care about uart*_cts ) are the veyron

[PATCH 13/15] x86, fpu: correct and check XSAVE xstate size calculations

2015-09-02 Thread Dave Hansen
From: Dave Hansen Note: our xsaves support is currently broken and disabled. This patch does not fix it, but it is an incremental improvement. This might be useful to someone backporting the entire set of XSAVES patches at some point, but it should not be

[PATCH 11/15] x86, fpu: rework YMM definition

2015-09-02 Thread Dave Hansen
From: Dave Hansen We are about to rework all of the "extended state" definitions. This makes the 'ymm' naming consistent with the AVX-512 types we will introduce later. We also add a convenience type: "reg_128_bit" so that we do not have to spell out our

[PATCH 01/15] x86, fpu: print xfeature buffer size in decimal

2015-09-02 Thread Dave Hansen
From: Dave Hansen This is utterly a personal taste thing, but I find it way easier to read structure sizes in decimal than in hex. Signed-off-by: Dave Hansen Cc: Ingo Molnar Cc: x...@kernel.org Cc: Borislav Petkov

[PATCH 00/15] [v4] x86, fpu: XSAVE cleanups and sanity checks

2015-09-02 Thread Dave Hansen
Changes in v4: * Fix up a few compile errors/warnings Changes in v3: * rework XSTATE_* macros using Ingo's suggested naming * change state size printk to be in decimal * add some more sanity-checking to detect and work around an undersized 'xregs_state' * remove "nr_" from some of the

[PATCH 14/15] x86, fpu: check to ensure increasing-offset xstate offsets

2015-09-02 Thread Dave Hansen
From: Dave Hansen The xstate CPUID leaves enumerate where each state component is inside the XSAVE buffer, along with the size of the entire buffer. Our new XSAVE sanity-checking code extrapolates an expected _total_ buffer size by looking at the last component

[PATCH 15/15] x86, fpu: check CPU-provided sizes against struct declarations

2015-09-02 Thread Dave Hansen
From: Dave Hansen Changes from v2: * remove XSTATE_RESERVED check, since it is gone now -- From: Dave Hansen We now have C structures defined for each of the XSAVE state components that we support. This patch adds checks during our

[PATCH 08/15] x86, fpu: remove xfeature_nr

2015-09-02 Thread Dave Hansen
From: Dave Hansen xfeature_nr ended up being initialized too late for me to use it in the "xsave size sanity check" patch which is later in the series. I tried to move around its initialization but realized that it was just as easy to get rid of it. We only have 9

[PATCH 04/15] x86, fpu: kill LWP support

2015-09-02 Thread Dave Hansen
From: Dave Hansen LightWeight Profiling was evidently an AMD profiling feature that we never got around to implementing. Remove the references to it. Signed-off-by: Dave Hansen Cc: Ingo Molnar Cc: x...@kernel.org

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

2015-09-02 Thread Andi Kleen
From: Andi Kleen Abstract the printing of shadow metrics. Instead of every metric calling fprintf directly and taking care of indentation, use two call backs: one to print metrics and another to start a new line. This will allow adding metrics to CSV mode and also using

[PATCH 3/9] perf, tools, stat: Add support for metrics in interval mode

2015-09-02 Thread Andi Kleen
From: Andi Kleen Now that we can modify the metrics printout functions easily, it's straight forward to support metric printing for interval mode. All that is needed is to print the time stamp on every new line. Pass the prefix into the context and print it out.

[PATCH 7/9] perf, tools: Support metrics in --per-core/socket mode

2015-09-02 Thread Andi Kleen
From: Andi Kleen Enable metrics printing in --per-core / --per-socket mode. We need to save the shadow metrics in a unique place. Always use the first CPU in the aggregation. Then use the same CPU to retrieve the shadow value later. Example output: % perf stat --per-core

perf, tools: Refactor and support interval and CSV metrics v3

2015-09-02 Thread Andi Kleen
[v3: Addressed all review feedback. Update manpage for CSV. Various changes (see individual patches). Remove some more redundant code in printout callers.] [v2: Addressed (near) all review feedback. No manpage updates so far. Add support for --per-core metrics. Various cleanups.]

[PATCH 5/9] perf, tools, stat: Implement CSV metrics output

2015-09-02 Thread Andi Kleen
From: Andi Kleen Now support CSV output for metrics. With the new output callbacks this is relatively straight forward by creating new callbacks. The new line callback needs to know the number of fields to skip them correctly v2: Split out function argument changes

[PATCH 6/9] perf, tools, stat: Move non counting counter printing to printout

2015-09-02 Thread Andi Kleen
From: Andi Kleen Move the special case printing for non-running counters to printout, so it can be shared by all the output options. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 73 --- 1 file

[PATCH 8/9] perf, tools, stat: Remove extra unsupported/not counted handling

2015-09-02 Thread Andi Kleen
From: Andi Kleen printout now handles unsupported/not counted printing, so we can remove one extra instance in the aggregated printing. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 22 ++ 1 file changed, 2

[PATCH 4/9] perf, tools, stat: Move noise/running printing into printout

2015-09-02 Thread Andi Kleen
From: Andi Kleen Move the running/noise printing into printout to avoid duplicated code in the callers. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-)

[PATCH 9/9] perf, tools, stat: Document CSV format in manpage

2015-09-02 Thread Andi Kleen
From: Andi Kleen With all the recently added fields in the perf stat CSV output we should finally document them in the man page. Do this here. Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-stat.txt | 19 +++ 1 file

Re: [PATCH v4 07/16] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-09-02 Thread Krzysztof Kozlowski
On 01.09.2015 15:01, Yakir Yang wrote: > After exynos_dp have been splited the common IP code into analogix_dp driver, s/splited/split/ > the analogix_dp driver have deprecated some samsung platform properties which s/samsung/Samsung/ > could be dynamic parsed from EDID/MODE/DPCD message, so

Re: [PATCH V2 Resend 2/5] PM / OPP: Prefix exported opp routines with dev_pm_opp_

2015-09-02 Thread Stephen Boyd
On 09/02, Viresh Kumar wrote: > > From: Viresh Kumar > Date: Mon, 3 Aug 2015 14:34:23 +0530 > Subject: [PATCH 2/3] PM / OPP: Prefix exported opp routines with dev_pm_opp_ > > That's the naming convention followed in most of opp core, but few > routines didn't follow

Re: Warning in irq_work_queue_on()

2015-09-02 Thread Frederic Weisbecker
On Thu, Sep 03, 2015 at 12:24:27AM +0200, Peter Zijlstra wrote: > On Wed, Sep 02, 2015 at 11:50:22PM +0200, Frederic Weisbecker wrote: > > > > [ 875.703227] [] tick_nohz_full_kick_cpu+0x44/0x50 > > > > It happens in nohz full, but I'm not sure the guilty is nohz full. > > > > The problem here

Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron

2015-09-02 Thread Doug Anderson
Rob, On Wed, Sep 2, 2015 at 5:13 PM, Rob Herring wrote: > On Wed, Sep 2, 2015 at 4:25 PM, Douglas Anderson > wrote: >> The ddc-i2c-bus property was missing from the veyron dtsi file since >> downstream the ddc-i2c-bus was still being specified in

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > > > wrote: > > >

Re: [PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment

2015-09-02 Thread Rafael J. Wysocki
On Wednesday, September 02, 2015 04:18:57 PM Lina Iyer wrote: > cpu_cluster_pm_exit() must be sent after cpu_cluster_pm_enter() has been > sent for the cluster and before any cpu_pm_exit() notifications are sent > for any CPU. > > Cc: Nicolas Pitre > Acked-by: Kevin

[PATCH v12 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-09-02 Thread Stefan Agner
This driver supports Freescale NFC (NAND flash controller) found on Vybrid (VF610), MPC5125, MCF54418 and Kinetis K70. The driver has been tested using 8-bit and 16-bit NAND interface on the ARM based Vybrid SoC VF500 and VF610 platform. parameter page reading. Limitations: - Untested on MPC5125

[PATCH v12 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-09-02 Thread Stefan Agner
This v12 fixes a race condition which sometimes has been lead to corrupted reads. This has been observed while continously rebooting or in the io_paral ubi-test, see also: http://thread.gmane.org/gmane.linux.drivers.mtd/59955 Since the 11th revision the driver rereads the OOB area in case

[PATCH v12 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-09-02 Thread Stefan Agner
This adds hardware ECC support using the BCH encoder in the NFC IP. The ECC encoder supports up to 32-bit correction by using 60 error correction bytes. There is no sub-page ECC step, ECC is calculated always accross the whole page (up to 2k pages). Limitations: - HW ECC: Only 2K page with 64+

Re: [PATCH v3] cpuidle/coupled: Add sanity check for safe_state_index

2015-09-02 Thread Rafael J. Wysocki
On Monday, August 31, 2015 11:34:05 AM Xunlei Pang wrote: > From: Xunlei Pang > > Since we are using cpuidle_driver::safe_state_index directly as the > target state index, it is better to add the sanity check at the point > of registering the driver. > > Signed-off-by:

[PATCH v12 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-09-02 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Reviewed-by: Brian Norris Signed-off-by:

Re: [PATCHv4 1/2] staging: wilc1000: remove FREE_WILC_BUFFER()

2015-09-02 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2015 at 11:14:49PM -0400, Raphaël Beamonte wrote: > It was just a wrapper around kfree(), so call that instead. > > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/wilc1000/wilc_exported_buf.c | 9 +++-- > 1 file changed, 3 insertions(+),

Re: [PATCH v2] cpufreq-dt: add suspend frequency support

2015-09-02 Thread Stephen Boyd
On 09/02/2015 09:47 AM, Bartlomiej Zolnierkiewicz wrote: > Add suspend frequency support and set it to the boot frequency, > this 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

Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-02 Thread David Matlack
On Wed, Sep 2, 2015 at 12:29 AM, Wanpeng Li wrote: > There is a downside of always-poll since poll is still happened for idle > vCPUs which can waste cpu usage. This patch adds the ability to adjust > halt_poll_ns dynamically, to grow halt_poll_ns when shot halt is

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

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 10:46 AM, Josh Boyer wrote: > On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >> I'd be amenable to switching the default back to y and perhaps adding >> a sysctl to make the distros more comfortable. Ingo, Kees,

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-09-02 Thread Luis R. Rodriguez
On Wed, Sep 02, 2015 at 02:13:49PM +0200, Arend van Spriel wrote: > On 09/02/2015 02:09 PM, Arend van Spriel wrote: > >On 09/02/2015 03:19 AM, Luis R. Rodriguez wrote: > >>On Mon, Aug 31, 2015 at 10:21:34PM +0800, Ming Lei wrote: > >>>On Sun, Aug 30, 2015 at 4:25 PM, Arend van Spriel >

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-02 Thread Richard W.M. Jones
On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > On Tue, 1 Sep 2015, Richard W.M. Jones wrote: > > On Sun, Aug 30, 2015 at 10:37:57PM -0400, Chuck Ebbert wrote: > > > This is from https://bugzilla.redhat.com/show_bug.cgi?id=1258223 > > > > > > [0.036000] BUG: unable to

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

2015-09-02 Thread Ross Zwisler
On Tue, Sep 01, 2015 at 03:18:41PM +0300, Boaz Harrosh wrote: > So the approach we took was a bit different to exactly solve these > problem, and to also not over flush too much. here is what we did. > > * At vm_operations_struct we also override the .close vector (say call it > dax_vm_close) >

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread J. Bruce Fields
On Wed, Sep 02, 2015 at 09:06:32PM +0200, Andreas Gruenbacher wrote: > 2015-09-02 20:53 GMT+02:00 J. Bruce Fields : > >> @@ -453,7 +453,8 @@ static int sb_permission(struct super_block *sb, > >> struct inode *inode, int mask) > >> * this, letting us set arbitrary

Re: Use-after-free in page_cache_async_readahead

2015-09-02 Thread Tejun Heo
Hello, Andrey. On Wed, Sep 02, 2015 at 01:08:52PM +0200, Andrey Konovalov wrote: > 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 >

Re: [PATCH] perf tools: Fix use of wrong event when processing exit events

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 04:00:08PM +0300, Adrian Hunter escreveu: > On 18/08/15 12:07, Adrian Hunter wrote: > > In a couple of cases the 'comm' member of 'union event' has > > been used instead of the correct member ('fork') when processing > > exit events. > > > > In the cases where it has been

Re: [PATCH] tipc: fix stall during bclink wakeup procedure

2015-09-02 Thread David Miller
From: Kolmakov Dmitriy Date: Wed, 2 Sep 2015 15:33:00 + > If an attempt to wake up users of broadcast link is made when there > is no enough place in send queue than it may hang up inside the > tipc_sk_rcv() function since the loop breaks only after the wake up >

Re: [PATCH v2 1/2] ARM: dts: rockchip: pull up cts lines on rk3288

2015-09-02 Thread Doug Anderson
Alex, On Wed, Sep 2, 2015 at 4:27 PM, Alexandru M Stan wrote: > The flow control lines from a user accessible UART are optional, > the user might not have anything connected to those pins. > In order to prevent random interrupts happening and noise affecting > the cts pin

[PATCH 07/15] x86, fpu: rework XSTATE_* macros to remove magic '2'

2015-09-02 Thread Dave Hansen
From: Dave Hansen The 'xstate.c' code has a bunch of references to '2'. This is because we have a lot more work to do for the "extended" xstates than the "legacy" ones and state component 2 is the first "extended" state. This patch replaces all of the instances of

[PATCH 03/15] x86, fpu: remove XSTATE_RESERVE

2015-09-02 Thread Dave Hansen
From: Dave Hansen The original purpose of XSTATE_RESERVE was to carve out space to store all of the possible extended state components that get saved with the XSAVE instruction(s). However, we are now almost entirely dynamically allocating the buffers we use for

[PATCH 1/9] perf, tools, stat: Move sw clock metrics printout to stat-shadow

2015-09-02 Thread Andi Kleen
From: Andi Kleen The sw clock metrics printing was missed in the earlier move to stat-shadow of all the other metric printouts. Move it too. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 9 - tools/perf/util/stat-shadow.c | 3

[PATCH 06/15] x86, fpu: rename XFEATURES_NR_MAX

2015-09-02 Thread Dave Hansen
From: Dave Hansen This is a logcal followon to the last patch. It makes the XFEATURE_MAX naming consistent with the other enum values. This is what Ingo suggested. Signed-off-by: Dave Hansen Cc: Ingo Molnar Cc:

Re: [PATCH v2 2/2] ARM: dts: rockchip: Remove specific cts pullup from veyron

2015-09-02 Thread Doug Anderson
Alex, On Wed, Sep 2, 2015 at 4:27 PM, Alexandru M Stan wrote: > With the previous patch ("rk3288: pull up cts lines") this is redundant, > I sent that patch for the same reason this existed here, so the lines don't > wiggle randomly when disconnected. > > Signed-off-by:

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

2015-09-02 Thread Linus Torvalds
On Wed, Sep 2, 2015 at 11:45 AM, Darrick J. Wong wrote: > On Wed, Sep 02, 2015 at 05:52:01PM +0100, Mel Gorman wrote: >> On the flip side, there does not appear to be any good reason for >> keeping the ext3 driver around because if there ever is a case where an >> old

Re: [PATCH v2 2/2] clk: qcom: Add MSM8916 RPM clock driver

2015-09-02 Thread Stephen Boyd
On 08/03, Georgi Djakov wrote: > diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > new file mode 100644 > index ..bd0fd0cd50dc > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt

Re: [PATCH 14/31] perf tools: Suppress probing messages when probing by BPF loading

2015-09-02 Thread Namhyung Kim
On Sat, Aug 29, 2015 at 04:21:48AM +, Wang Nan wrote: > This patch suppresses message output by add_perf_probe_events() and > del_perf_probe_events() if they are triggered by BPF loading. Before > this patch, when using 'perf record' with BPF object/source as event > selector, following

[GIT PULL] ext4 changes for 4.3

2015-09-02 Thread Theodore Ts'o
The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus for you to fetch changes up to

Re: [PATCH 03/31] perf tools: Introduce dummy evsel

2015-09-02 Thread pi3orama
发自我的 iPhone > 在 2015年9月3日,上午8:11,Namhyung Kim 写道: > > Hi, > >> On Sat, Aug 29, 2015 at 04:21:37AM +, Wang Nan wrote: >> This patch allows linking dummy evsel onto evlist as a placeholder. It >> is for following patch which allows passing BPF object using '--event >>

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

2015-09-02 Thread Rafael J. Wysocki
On Wednesday, September 02, 2015 08:06:28 PM Chen Yu wrote: > 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 > >

Re: [PATCH] drivers:staging:vt6655: Fix coding style issues

2015-09-02 Thread Greg KH
On Fri, Aug 28, 2015 at 01:51:44PM +0300, lysanovser...@gmail.com wrote: > From: Sergey Lysanov > > This patch fixes the following issues reported by checkpatch.pl: > - code indent should use tabs where possible > - space prohibited before that ',' > > Signed-off-by:

Re: [PATCH] staging: fbtft: Removed a space

2015-09-02 Thread Greg KH
On Fri, Aug 21, 2015 at 06:31:33PM +0530, Aparna Karuthodi wrote: > I fetched it yesterday using git fetch origin master. So, I thought I am in > the recent kernel tree. That's a horrible changelog text :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 7/7] usb: dwc2: refactor common low-level hw code to platform.c

2015-09-02 Thread John Youn
On 8/21/2015 5:39 AM, Marek Szyprowski wrote: > DWC2 module on some platforms needs three additional hardware > resources: phy controller, clock and power supply. All of them must be > enabled/activated to properly initialize and operate. This was initially > handled in s3c-hsotg driver, which has

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

2015-09-02 Thread Mike Galbraith
On Wed, 2015-09-02 at 12:16 -0400, Chris Metcalf wrote: > On 09/02/2015 05:38 AM, Mike Galbraith wrote: > > IMHO, nohz_full -> cpu_isolated_map removal really wants to happen. > > NO_HZ_FULL_ALL currently means "Woohoo, next stop NR_CPUS=0". > > Yeah, the problem seems to be folks who use it as a

Re: [RFC] firmware: annotate thou shalt not request fw on init or probe

2015-09-02 Thread Luis R. Rodriguez
On Sat, Aug 29, 2015 at 06:18:20PM +0200, Julia Lawall wrote: > > +@ defines_module_init exists @ > > +declarer name module_init; > > +identifier init; > > +@@ > > + > > +module_init(init); > > + > > +@ has_probe depends on defines_module_init @ > > +identifier drv_calls, drv_probe; > > +type

Re: [PATCH 3/3] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-02 Thread Greg Kroah-Hartman
On Thu, Aug 27, 2015 at 07:10:48PM +0600, Alexander Kuleshov wrote: > printk() supports %pM format specifier for printing 6-byte MAC/FDDI > addresses in hex notation small buffers, let's use it intead of %x:%x... > > Signed-off-by: Alexander Kuleshov > --- >

RE: [PATCH] csiostor:Fix locking issues in the function csio_scsim_cleanup_io_lnode

2015-09-02 Thread Anish Bhatt
> -Original Message- > From: Nicholas Krause [mailto:xerofo...@gmail.com] > Sent: Wednesday, September 2, 2015 10:36 AM > To: jbottom...@odin.com > Cc: h...@suse.de; micha...@cs.wisc.edu; da...@davemloft.net; Anish > Bhatt; Hariprasad S; linux-s...@vger.kernel.org; linux- >

Re: [RFC] asm-generic/pci_iomap.h: make custom PCI BAR requirements explicit

2015-09-02 Thread Luis R. Rodriguez
On Wed, Sep 2, 2015 at 6:44 PM, Luis R. Rodriguez wrote: >> I don't think we really need to spell it out here. s390 PCI is different >> from everybody else's in a lot of ways, so a simple 'depends on PCI && >> !S390' for CONFIG_PCI_IOMAP seems simpler and more intuitive. > > Sure

The tick when exit idle for nohz_full cpu

2015-09-02 Thread Jiang, Yunhong
Hi, Frederic I noticed currently the tick_nohz_idle_exit() will always restart the sched_tick, even when it's on the nohz_full cpu. I'm not sure if we can keep the sched_tick stopped if it's on a nohz_full_cpu. The sched tick will be enabled on tick_nohz_task_switch() if needed. Is it

[PATCH 09/15] x86, fpu: add helper xfeature_enabled() instead of test_bit()

2015-09-02 Thread Dave Hansen
From: Dave Hansen We currently use test_bit() in a few places to see if an xfeature is enabled. It ends up being a bit ugly because 'xfeatures_mask' is a u64 and test_bit wants an 'unsigned long' so it requires a cast. The *_bit() functions are also techincally

[PATCH 05/15] x86, fpu: XSAVE macro renames

2015-09-02 Thread Dave Hansen
From: Dave Hansen There are two concepts that have some confusing naming: 1. Extended State Component numbers (currently called XFEATURE_BIT_*) 2. Extended State Component masks (currently called XSTATE_*) The numbers are (currently) from 0-9. State

[PATCH 10/15] x86, fpu: rework MPX 'xstate' types

2015-09-02 Thread Dave Hansen
From: Dave Hansen MPX includes two separate "extended state components". There is no real need to have an 'mpx_struct' because we never really manage the states together. We also separate out the actual data in 'mpx_bndcsr_state' from the padding. We will shortly

[PATCH 12/15] x86, fpu: add C structures for AVX-512 state components

2015-09-02 Thread Dave Hansen
From: Dave Hansen AVX-512 has 3 separate state components: 1. opmask registers 2. zmm upper half of registers 0-15 3. new zmm registers (16-31) This patch adds C structures for the three components along with a few comments mostly lifted from the SDM to explain

Re: [PATCH] clk: Hi6220: separately build stub clock driver

2015-09-02 Thread Stephen Boyd
On 09/02, Leo Yan wrote: > The previous code, kernel builds Hi6220's common clock driver and stub > clock driver together. Stub clock driver has introduced the dependency > with CONFIG_MAILBOX, so kernel will not build Hi6220's common clock > driver due ARM64's defconfig have not enabled

Re: Linux Firmware Signing

2015-09-02 Thread Luis R. Rodriguez
On Wed, Sep 02, 2015 at 07:54:13PM -0400, Mimi Zohar wrote: > On Wed, 2015-09-02 at 01:43 +0200, Luis R. Rodriguez wrote: > > On Mon, Aug 31, 2015 at 10:18:55AM -0400, Mimi Zohar wrote: > > > On Sat, 2015-08-29 at 04:16 +0200, Luis R. Rodriguez wrote: > > > > On Thu, Aug 27, 2015 at 07:54:33PM

Re: [PATCH 03/31] perf tools: Introduce dummy evsel

2015-09-02 Thread Namhyung Kim
Hi, On Sat, Aug 29, 2015 at 04:21:37AM +, Wang Nan wrote: > This patch allows linking dummy evsel onto evlist as a placeholder. It > is for following patch which allows passing BPF object using '--event > object.o'. > > Doesn't link other event selectors, if passing a BPF object file to >

[PATCH] cputime: fix invalid gtime

2015-09-02 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto /proc/stats shows invalid gtime when the thread is running in guest. When vtime accounting is not enabled, we cannot get a valid delta. Just return gtime when vtime accounting is not enabled in task_gtime(). Before 10987 (qemu-kvm) S 1 10923

linux-next: build failure after merge of the drm-misc tree

2015-09-02 Thread Stephen Rothwell
m/atomic: Make prepare_fb/cleanup_fb only take state, v3") Well, that was clearly never build tested :-( I have used the drm-misc tree from next-20150902 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line "

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

2015-09-02 Thread Dave Chinner
On Wed, Sep 02, 2015 at 12:13:21PM +0300, 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,

Re: [PATCH V2] PM / Domains: Remove cpuidle attach

2015-09-02 Thread Rafael J. Wysocki
On Tuesday, September 01, 2015 08:37:49 PM Daniel Lezcano wrote: > The power domains code allows to tie a cpuidle state with a power domain. > > Preventing the cpuidle framework to enter a specific idle state by disabling > from the power domain framework is a good idea. Unfortunately, the

<    1   2   3   4   5   6   7   8   >