Re: RT Scheduler - BUG_ON (idx >= MAX_RT_PRIO)

2015-09-06 Thread Chinmay V S
Thanks for your quick response Mike. > Try without the proprietary modules. You may also want to audit futex > fixes if you can't use a maintained stable tree. 3.2 has a bunch that > 3.1 does not. I see that futex.c has 17 patches in 3.2.y that are missing in my tree. http://git.kernel.org/cgit/

Re: [PATCH 0/5] ACPI probing infrastructure

2015-09-06 Thread Tomasz Nowicki
Hi Marc, On 04.09.2015 19:06, Marc Zyngier wrote: IRQ controllers and timers are the two types of device the kernel requires before being able to use the device driver model. ACPI so far lacks a proper probing infrastructure similar to the one we have with DT, where we're able to declare IRQ ch

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-06 Thread Peter Zijlstra
On Sun, Sep 06, 2015 at 05:05:46PM -0700, Davidlohr Bueso wrote: > On Fri, 04 Sep 2015, Peter Zijlstra wrote: > > >-static inline bool virt_queued_spin_lock(struct qspinlock *lock) > >+static inline bool virt_spin_lock(struct qspinlock *lock) > > Given that we fall back to the cmpxchg loop even w

Re: [PATCH] fixed_phy: pass 'irq' to fixed_phy_add()

2015-09-06 Thread David Miller
From: Sergei Shtylyov Date: Thu, 03 Sep 2015 23:22:16 +0300 > I've noticed that fixed_phy_register() ignores its 'irq' parameter instead of > passing it to fixed_phy_add(). Luckily, fixed_phy_register() seems to always > be called with PHY_POLL for 'irq'... :-) > > Fixes: a75951217472 ("net

Re: [PATCH net] openvswitch: Remove conntrack Kconfig option.

2015-09-06 Thread David Miller
From: Joe Stringer Date: Fri, 4 Sep 2015 13:07:40 -0700 > There's no particular desire to have conntrack action support in Open > vSwitch as an independently configurable bit, rather just to ensure > there is not a hard dependency. This exposed option doesn't accurately > reflect the conntrack d

Re: [PATCH 1/4] clk: bcm2835: Move under bcm/ with other Broadcom SoC clk drivers.

2015-09-06 Thread Lee Jones
On Sun, 06 Sep 2015, Eric Anholt wrote: > clk-bcm2835.c predates the drivers under bcm/, but all the new BCM > drivers are going in there so let's follow them. > > Signed-off-by: Eric Anholt > --- > drivers/clk/Makefile | 1 - > drivers/clk/bcm/Makefile | 1 + > drivers/clk/bcm/

Re: [PATCH v5 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps

2015-09-06 Thread Naoya Horiguchi
On Mon, Sep 07, 2015 at 02:23:44AM +, Horiguchi Naoya(堀口 直也) wrote: > On Mon, Sep 07, 2015 at 02:29:53AM +0100, Pádraig Brady wrote: > > On 20/08/15 09:26, Naoya Horiguchi wrote: > > > Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), > > > which > > > is inconvenient when

Re: [PATCH 3/3] staging: slimport: Add anx7814 driver support by analogix.

2015-09-06 Thread Greg KH
On Mon, Sep 07, 2015 at 07:41:08AM +0200, Enric Balletbo Serra wrote: > 2015-09-07 1:27 GMT+02:00 Greg KH : > > On Sun, Sep 06, 2015 at 11:14:02PM +0200, Enric Balletbo i Serra wrote: > >> The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter > >> designed for portable devices. >

Re: [PATCH v6 2/3] perf,kvm/powerpc: Port perf kvm stat to powerpc

2015-09-06 Thread Michael Ellerman
On Mon, 2015-08-31 at 12:24 +0530, Hemant Kumar wrote: > perf kvm can be used to analyze guest exit reasons. This support already > exists in x86. Hence, porting it to powerpc. > > - To trace KVM events : > perf kvm stat record > If many guests are running, we can track for a specific guest b

Re: [PATCH 12/15] Staging: rt8192u: add spaces around assignment operators in ieee80211_softmac_wx.c

2015-09-06 Thread Sudip Mukherjee
On Sat, Sep 05, 2015 at 07:29:14PM +, Mike Dupuis wrote: > This is a patch to add spaces around assignment operators as identifed by > checkpatch.pl > > Signed-off-by: Mike Dupuis > --- same problem as in 10/15 regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH 10/15] Staging: rtl8192u: open braces should appear on the appropriate line in ieee80211_softmac_wx.c

2015-09-06 Thread Sudip Mukherjee
On Sat, Sep 05, 2015 at 07:24:38PM +, Mike Dupuis wrote: > This is a patch to the ieee80211_softmac_wx.c file that corrects instances > where open braces appear on the incorrect line as identified by checkpatch.pl > > Signed-off-by: Mike Dupuis > --- This patch will not apply because of: 143

Re: RT Scheduler - BUG_ON (idx >= MAX_RT_PRIO)

2015-09-06 Thread Mike Galbraith
On Mon, 2015-09-07 at 11:00 +0530, Chinmay V S wrote: > So how could rt_nr_running be non-zero AND active-bitmap NOT have any > valid bit set? It can't without being busted. > Also including the kernel OOPS below. > Do you see any tell-tale signs in the register-dump/backtrace that can > point m

Re: thermal: mediatek: Add cpu power cooling model

2015-09-06 Thread Viresh Kumar
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 > CPU temperature. Sorry but this isn't enough really.. I don't have time to

Re: [Xen-devel] [PATCH] xen-blkback: free requests on disconnection

2015-09-06 Thread Bob Liu
Hi Julien, On 09/04/2015 09:51 PM, Julien Grall wrote: > Hi Roger, > > On 04/09/15 11:08, Roger Pau Monne wrote: >> Request allocation has been moved to connect_ring, which is called every >> time blkback connects to the frontend (this can happen multiple times during >> a blkback instance life c

Re: [PATCH] mmc: sdhci-acpi: detect sd card reader on asus x205ta

2015-09-06 Thread Adrian Hunter
On 05/09/15 09:49, Michele Curti wrote: > Add an entry to the sdhci_acpi_uids list to detect the SD card > reader on the Asus X205Ta laptop. > > dstd table: > > Device (SDHC) > { > Name (_ADR, Zero) // _ADR: Address > Name (_HID, "PNP0FFF") // _HID: Hardware ID > Name (_CID, "PNP0D

Re: [PATCH v3 3/3] ARM: dts: add suspend opp to exynos4412

2015-09-06 Thread Viresh Kumar
On 03-09-15, 20:11, Bartlomiej Zolnierkiewicz wrote: > 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 Exy

Re: [PATCH v3 2/3] cpufreq-dt: add suspend frequency support

2015-09-06 Thread Viresh Kumar
On 03-09-15, 20:11, Bartlomiej Zolnierkiewicz wrote: > 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). Also implement > custom suspend method (needed to not error out on platforms > which

Re: [PATCH v3 1/3] PM / OPP: add dev_pm_opp_get_suspend_opp() helper

2015-09-06 Thread Viresh Kumar
On 03-09-15, 20:11, Bartlomiej Zolnierkiewicz wrote: > Add dev_pm_opp_get_suspend_opp() helper to obtain suspend opp. > > Cc: Viresh Kumar > Cc: Thomas Abraham > Cc: Javier Martinez Canillas > Cc: Krzysztof Kozlowski > Cc: Marek Szyprowski > Cc: Tobias Jakobi > Signed-off-by: Bartlomiej Zoln

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

2015-09-06 Thread Joonsoo Kim
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 reason to return COMPACT_PARTIAL is that we think

Re: [PATCH 3/3] staging: slimport: Add anx7814 driver support by analogix.

2015-09-06 Thread Enric Balletbo Serra
2015-09-07 1:27 GMT+02:00 Greg KH : > On Sun, Sep 06, 2015 at 11:14:02PM +0200, Enric Balletbo i Serra wrote: >> The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter >> designed for portable devices. >> >> This driver adds initial support and supports HDMI to DP pass-through mod

Re: [PATCH] soc: mediatek: Move the initial setting of pmic wrap interrupt before requesting irq.

2015-09-06 Thread Sascha Hauer
On Fri, Sep 04, 2015 at 12:05:12PM +0800, Henry Chen wrote: > Seperate the initialization of pmic wrap interrupt from pmic wrap init to > make sure setting is correct before requesting irq. It seems the problem this patch solves is the missing watchdog initialization when the pwrap is already ini

Re: Dealing with the NMI mess

2015-09-06 Thread Maciej W. Rozycki
On Fri, 31 Jul 2015, Borislav Petkov wrote: > Yeah, INT 1. I wonder whether INT 1, i.e. CD imm8 does the same thing. > > But why do you say it is special - it simply raises #DB, i.e. vector 1. > Web page seems to say so when interrupt redirection is disabled. It > sounds like a nice and quick way

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

2015-09-06 Thread Joonsoo Kim
On Mon, Aug 24, 2015 at 11:07:12AM +0200, Vlastimil Babka wrote: > On 08/24/2015 04:19 AM, Joonsoo Kim wrote: > >Cached pfn is used to determine the start position of scanner > >at next compaction run. Current cached pfn points the skipped pageblock > >so we uselessly checks whether pageblock is va

Re: [PATCH 0/2] prepare zram for crypto api-powered zcomp

2015-09-06 Thread Joonsoo Kim
On Tue, Sep 01, 2015 at 11:12:39AM +0900, Sergey Senozhatsky wrote: > On (09/01/15 11:06), Minchan Kim wrote: > > Thanks. > > > > I want to include this patchset in Joonsoo's crypto support patch > > if you don't mind. Hello, Sorry for long delay. I will work crypto support with this patchset. S

RT Scheduler - BUG_ON (idx >= MAX_RT_PRIO)

2015-09-06 Thread Chinmay V S
Hello everyone, TL;DR: In Linux RT scheduler, how can rt_nr_running be non-zero AND active-bitmap NOT have any valid bit set? Details: Recently i encountered the following BUG() within the realtime scheduler (sched_rt.c) on 3.1.10 kernel. [101640.492840] kernel BUG at kernel/sched_rt.c:1126! Thi

how to check how much data left to sync to disk at umount?

2015-09-06 Thread Jeff Chua
When umount a slow device such as an SD card, the command will take a while to run depending on how much data is left to write to the device. Is there way to check how much data is remaining waiting to write to the device? Thanks, Jeff. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2 4/4] sched/numa: Convert sched_numa_balancing to a static_branch

2015-09-06 Thread Wanpeng Li
On 9/7/15 12:10 PM, Srikar Dronamraju wrote: * Wanpeng Li [2015-09-06 12:01:10]: Hi Wanpeng Li, Hi Srikar, On 8/12/15 12:24 AM, Srikar Dronamraju wrote: Variable sched_numa_balancing toggles numa_balancing feature. Hence moving from a simple read mostly variable to a more apt static_branch

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

2015-09-06 Thread Michael Ellerman
On Fri, 2015-09-04 at 17:51 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 01, 2015 at 12:18:47PM +0530, Hemant Kumar escreveu: > > >Should I try to process the 5 together, applying thest two first? > > > Yes, this patchset needs to be applied before applying the other patchset, > > since t

Re: [PATCHv5 1/7] mm: drop page->slab_page

2015-09-06 Thread Alexander Duyck
On 09/03/2015 05:35 AM, Kirill A. Shutemov wrote: Since 8456a648cf44 ("slab: use struct page for slab management") nobody uses slab_page field in struct page. Let's drop it. Signed-off-by: Kirill A. Shutemov Acked-by: Christoph Lameter Acked-by: David Rientjes Acked-by: Vlastimil Babka Cc:

Re: [RFC v2 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-06 Thread Matt Ranostay
Thinking this over do we needed a IIO_CHAN_INFO_PROCESSED_OFFSET to signal that it needs to be after the (value - offset) * scale calculation? Thanks, Matt On Sun, Sep 6, 2015 at 9:20 PM, Matt Ranostay wrote: > Also one thing to note here is calculation is ((value - 13) * scale)) > + offset ver

[PATCH V4 2/2] watchdog: Read device status through sysfs attributes

2015-09-06 Thread Pratyush Anand
This patch adds following attributes to watchdog device's sysfs interface to read its different status. * state - reads whether device is active or not * identity - reads Watchdog device's identity string. * timeout - reads current timeout. * timeleft - reads timeleft before watchdog generates a r

[PATCH V4 1/2] watchdog: Use static struct class watchdog_class in stead of pointer

2015-09-06 Thread Pratyush Anand
We need few sysfs attributes to know different status of a watchdog device. To do that, we need to associate .dev_groups with watchdog_class. So convert it from pointer to static. Putting this static struct in watchdog_dev.c, so that static device attributes defined in that file can be attached to

[PATCH] CMA: fix CONFIG_CMA_SIZE_MBYTES overflow in 64bit

2015-09-06 Thread Tan Xiaojun
In 64bit system, if you set CONFIG_CMA_SIZE_MBYTES>=2048, it will overflow and size_bytes will be a big wrong number. Set CONFIG_CMA_SIZE_MBYTES=2048 and you will get an info below during system boot: * cma: Failed to reserve 17592186042368 MiB * Signed-off-by: Tan Xiaojun ---

Re: [RFC v2 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-06 Thread Matt Ranostay
Also one thing to note here is calculation is ((value - 13) * scale)) + offset versus the normal (value + offset) * scale.. Not sure the best way to handle this possibly could be.. Thanks, Matt On Sun, Sep 6, 2015 at 8:13 PM, George McCollister wrote: > > > On Sun, Sep 6, 2015 at 9:39 PM, Matt

Re: [PATCH 01/11] ARM64 / PCI: introduce struct pci_controller for ACPI

2015-09-06 Thread Ganapatrao Kulkarni
Hi Hanjun, On Wed, May 27, 2015 at 1:51 PM, Hanjun Guo wrote: > Hi Liviu, > > On 2015年05月27日 01:20, Jiang Liu wrote: >> >> On 2015/5/27 0:58, Liviu Dudau wrote: >>> >>> On Tue, May 26, 2015 at 01:49:14PM +0100, Hanjun Guo wrote: ARM64 ACPI based PCI host bridge init needs a arch depende

Re: [PATCH 0/3] net: irda: pxaficp_ir: dmaengine conversion

2015-09-06 Thread Petr Cvek
Dne 3.9.2015 v 08:20 Robert Jarzmik napsal(a): > Hi, > > This serie aims at converting pxaficp_ir to dmaengine. This is almost the last > driver to be converted, and once this is gone, legacy DMA support in pxa > architecture can be gone. > > Nothing fancy here, standard readl/writel conversion,

[PATCH] PCIe: SPEAr13xx: fix dw_pcie_cfg_read/write() usage

2015-09-06 Thread Pratyush Anand
dw_pcie_cfg_read/write() expects 1st argument 'addr' as a 32 bit word aligned address, 2nd argument 'where' as the offset within that word(0, 1, 2 or 3) and 3rd argument 'size' is the number of bytes need to be read at the offset(could be 1, 2 ,4). SPEAr13xx is using dw_pcie_cfg_read() and dw_pcie

Re: [PATCH v2 4/4] sched/numa: Convert sched_numa_balancing to a static_branch

2015-09-06 Thread Srikar Dronamraju
* Wanpeng Li [2015-09-06 12:01:10]: Hi Wanpeng Li, > Hi Srikar, > On 8/12/15 12:24 AM, Srikar Dronamraju wrote: > >Variable sched_numa_balancing toggles numa_balancing feature. Hence > >moving from a simple read mostly variable to a more apt static_branch. > > > >Suggested-by: Peter Zijlstra

Re: [PATCH] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-06 Thread joeyli
Hi, On Fri, Sep 04, 2015 at 02:14:07PM +0100, Matt Fleming wrote: > From: Matt Fleming > > Beginning with UEFI v2.5 EFI_PROPERTIES_TABLE was introduced that > signals that the firmware PE/COFF loader supports splitting code and > data sections of PE/COFF images into separate EFI memory map entr

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

2015-09-06 Thread Daniel Kurtz
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 >> --- >> This patch is base on following patches >> https://patchwork.kernel.org/patch/6969581/ >> ht

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

2015-09-06 Thread Daniel Kurtz
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 > --- > This patch is base on following patches > https://patchwork.kernel.org/patch/6969581/ > https://patchwork.kernel.org/patch/6969571/ > https://patchwork.kern

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-06 Thread Krzysztof Kozlowski
2015-09-07 2:23 GMT+09:00 Ramakrishna Pallala : > > Add new charger driver support for BQ24261 charger IC. > > BQ24261 charger driver relies on extcon notifications to get the > charger cable type and based on that it will set the charging parameters. > > Signed-off-by: Ramakrishna Pallala > Signe

[PATCH net 2/2] r8152: fix the runtime suspend issues

2015-09-06 Thread Hayes Wang
Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets. Case 2: a) Nway results in linking down. b) autosusp

[PATCH net 1/2] r8152: split DRIVER_VERSION

2015-09-06 Thread Hayes Wang
Split DRIVER_VERSION into NETNEXT_VERSION and NET_VERSION. Then, according to the value of DRIVER_VERSION, we could know which patches are used generally without comparing the source code. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 9 +++-- 1 file changed, 7 insertions(+), 2 del

[PATCH net 0/2] fix the autoresume may fail

2015-09-06 Thread Hayes Wang
Fix the autosuspend issues which occur about linking change. Hayes Wang (2): r8152: split DRIVER_VERSION r8152: fix the runtime suspend issues drivers/net/usb/r8152.c | 66 ++--- 1 file changed, 63 insertions(+), 3 deletions(-) -- 2.4.3 -- To un

Re: [PATCH] of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.

2015-09-06 Thread Frank Rowand
On 9/6/2015 7:16 PM, Frank Rowand wrote: > On 9/6/2015 1:46 PM, Rob Herring wrote: >> On Fri, Sep 4, 2015 at 8:14 PM, Frank Rowand wrote: >>> On 9/4/2015 12:12 PM, David Daney wrote: From: David Daney It is perfectly legitimate for a PCI device to have an PCI_INTERRUPT_PIN val

Re: [PATCH 1/2] [RFC] m68k: Wire up direct socket calls

2015-09-06 Thread Greg Ungerer
Hi Geert, On 06/09/15 20:06, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Both of these syscall patches look good to me: Acked-by: Greg Ungerer Regards Greg > --- > arch/m68k/include/asm/unistd.h | 2 +- > arch/m68k/include/uapi/asm/unistd.h | 15 +++ > a

Re: Possible deadlock related to CPU hotplug and kernfs

2015-09-06 Thread Jiang Liu
On 2015/9/4 22:16, Rafael J. Wysocki wrote: > Hi, > > On Fri, Sep 4, 2015 at 9:20 AM, Jiang Liu wrote: >> On 2015/9/4 4:08, Rafael J. Wysocki wrote: >>> Hi Tejun, >>> >>> On Thu, Sep 3, 2015 at 6:19 PM, Tejun Heo wrote: Hello, Rafael. On Thu, Sep 03, 2015 at 02:58:16AM +0200, Rafa

Re: eata fails to load on post 4.2 kernels

2015-09-06 Thread Jiang Liu
On 2015/9/7 4:31, Arthur Marsh wrote: > Arthur Marsh wrote on 06/09/15 21:07: >> Arthur Marsh wrote on 06/09/15 18:34: >>> Arthur Marsh wrote on 06/09/15 15:58: Hi, I'm seeing the following on post 4.2 kernels, am currently bisecting to find where it started: >> >> First kernel in th

Re: [RFC PATCH v1 0/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-06 Thread Yang Yingliang
On 2015/9/6 16:07, Jiang Liu wrote: On 2015/9/6 12:23, Yang Yingliang wrote: Hi All, There is a bug: When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's aff

Re: [PATCH net-next] net: dsa: mv88e6171: add hardware 802.1Q support

2015-09-06 Thread David Miller
From: Vivien Didelot Date: Fri, 4 Sep 2015 11:22:24 -0400 > The Marvell 88E6171 switch is in the 88E6351 family, which supports > 802.1Q, thus add support from the generic mv88e6xxx functions. > > Signed-off-by: Vivien Didelot Applied. -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning

2015-09-06 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 4 Sep 2015 12:49:32 +0200 > drivers/net/vxlan.c: In function ‘vxlan_udp_encap_recv’: > drivers/net/vxlan.c:1226: warning: ‘info’ may be used uninitialized in this > function > > While this warning is a false positive, it can be killed easily by > getting rid

Re: [PATCH] ethernet: synopsys: SYNOPSYS_DWC_ETH_QOS should depend on HAS_DMA

2015-09-06 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 4 Sep 2015 14:44:12 +0200 > If NO_DMA=y: > > ERROR: "dma_alloc_coherent" > [drivers/net/ethernet/synopsys/dwc_eth_qos.ko] undefined! > ERROR: "dma_free_coherent" [drivers/net/ethernet/synopsys/dwc_eth_qos.ko] > undefined! > ERROR: "dma_unmap_sin

Re: [PATCH] lan78xx: Fix ladv/radv error handling in lan78xx_link_reset()

2015-09-06 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 4 Sep 2015 12:47:28 +0200 > net/usb/lan78xx.c: In function ‘lan78xx_link_reset’: > net/usb/lan78xx.c:1107: warning: comparison is always false due to limited > range of data type > net/usb/lan78xx.c:: warning: comparison is always false due to limited >

[RFC v2 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-06 Thread Matt Ranostay
Add support for VZ89X sensors VOC and CO2 reporting channels in percentage which can be converted to part per million. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-chemical-vz89x | 30 +++ .../devicetree/bindings/i2c/trivial-devices.txt| 1 + drivers/iio/Kconfig

[RFC v2 2/4] iio: resistance: add IIO_RESISTANCE channel type

2015-09-06 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + 3 files changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/s

[RFC v2 1/4] iio: chemical: Add IIO_CONCENTRATION channel type

2015-09-06 Thread Matt Ranostay
There are air quality sensors that report data back in parts per million of VOC (Volatile Organic Compounds) which are usually indexed from CO2 or another common pollutant. This patchset adds an IIO_CONCENTRATION type that returns a percentage of substance because no other channels types fit this

[RFC v2 3/4] devicetree: add SGX Sensortech vendor id

2015-09-06 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ac5f0c3..281e8f0 100644 --- a/Documentati

[RFC v2 0/4] iio: new chemical sensor framework and channel types

2015-09-06 Thread Matt Ranostay
Changes from RFC v1: * Removed IIO_MOD_PPM/PPB modifiers * Fixed issues with driver that would have caused null readings * Return IIO_VAL_INT_PLUS_MICRO/IIO_VAL_INT_PLUS_NANO for CO2 and VOC channel readings * Return IIO_VAL_INT_PLUS_MICRO for IIO_CHAN_INFO_OFFSET * Add sysfs-bus-iio-chemical-v

Re: [PATCH v4 04/13] otg-fsm: move usb_bus_start_enum into otg-fsm->ops

2015-09-06 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:15PM +0300, Roger Quadros wrote: > This is to prevent missing symbol build error if OTG is > enabled (built-in) and HCD core (CONFIG_USB) is module. > > Signed-off-by: Roger Quadros > Acked-by: Peter Chen > --- > drivers/usb/common/usb-otg-fsm.c | 6 -- > drive

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-06 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:18PM +0300, Roger Quadros wrote: > + * This is used by the USB Host stack to register the Host controller > + * to the OTG core. Host controller must not be started by the > + * caller as it is left upto the OTG state machine to do so. > + * > + * Returns: 0 on success

Re: [RFC PATCH v1 4/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-06 Thread Yang Yingliang
On 2015/9/6 13:55, Jiang Liu wrote: On 2015/9/6 12:23, Yang Yingliang wrote: When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's affinity will not be coppied

Re: [PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/07/2015 08:22 AM, Krzysztof Kozlowski 写道: On 06.09.2015 16:49, Yakir Yang wrote: Hi Krzysztof, 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: On 03.09.2015 14:30, Yakir Yang wrote: Hi Krzysztof, 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: On 01.09.2015 14:49, Yakir Ya

Re: [PATCH v5 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps

2015-09-06 Thread Naoya Horiguchi
On Mon, Sep 07, 2015 at 02:29:53AM +0100, Pádraig Brady wrote: > On 20/08/15 09:26, Naoya Horiguchi wrote: > > Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), which > > is inconvenient when we want to know per-task or per-vma base hugetlb usage. > > To solve this, this patch a

Re: [PATCH] of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.

2015-09-06 Thread Frank Rowand
On 9/6/2015 1:46 PM, Rob Herring wrote: > On Fri, Sep 4, 2015 at 8:14 PM, Frank Rowand wrote: >> On 9/4/2015 12:12 PM, David Daney wrote: >>> From: David Daney >>> >>> It is perfectly legitimate for a PCI device to have an >>> PCI_INTERRUPT_PIN value of zero. This happens if the device doesn't >

Re: [RFC PATCH v1 2/4] irqchip: GICv3: set non-percpu irqs status with _IRQ_MOVE_PCNTXT

2015-09-06 Thread Yang Yingliang
On 2015/9/6 13:56, Jiang Liu wrote: On 2015/9/6 12:23, Yang Yingliang wrote: Use irq_settings_set_move_pcntxt() helper irqs status with _IRQ_MOVE_PCNTXT. So that it can do set affinity when calling irq_set_affinity_locked(). Hi Yingliang, We could only set _IRQ_MOVE_PCNTCT flag to ena

Re: [RFC PATCH v1 0/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-06 Thread Jiang Liu
On 2015/9/6 12:23, Yang Yingliang wrote: > Hi All, > > There is a bug: > > When cpu is disabled, all irqs will be migratged to another cpu. > In some cases, a new affinity is different, it needed to be coppied > to irq's affinity. But if the type of irq is LPI, it's affinity will > not be coppied

[git pull] m68knommu/coldfire fixes for 4.3

2015-09-06 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only a couple of patches this time. One migrating the clock driver code to the new set-state interface. The other cleaning up to use the PFN_DOWN macro. Regards Greg The following changes since commit c13dcf9f2d6f5f06ef1bf7

Re: [RFC PATCH v1 1/4] genirq: Introduce irq_settings_set_move_pcntxt() helper

2015-09-06 Thread Yang Yingliang
On 2015/9/7 6:08, Thomas Gleixner wrote: On Sun, 6 Sep 2015, Yang Yingliang wrote: It's expected to use the helper when interrupt can be moved in process. What's wrong with using the existing helper? irq_set_status_flags(irq, IRQ_MOVE_PCNTXT); It looks OK. I will use it next vers

Re: [PATCH] [media] atmel-isi: Protect PM-only functions to kill warning

2015-09-06 Thread Josh Wu
Hi, Geert Uytterhoeven Thanks for the patch. On 9/6/2015 6:08 PM, Geert Uytterhoeven wrote: If CONFIG_PM=n: drivers/media/platform/soc_camera/atmel-isi.c:1044: warning: ‘atmel_isi_runtime_suspend’ defined but not used drivers/media/platform/soc_camera/atmel-isi.c:1054: warning: ‘at

Re: [PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/07/2015 07:55 AM, Krzysztof Kozlowski 写道: On 06.09.2015 13:07, Yakir Yang wrote: Hi Krzysztof, 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: On 01.09.2015 15:07, Yakir Yang wrote: Empty commit message. Please explain here why you want to add platform device type support.

Re: [PATCH v5 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps

2015-09-06 Thread Pádraig Brady
On 20/08/15 09:26, Naoya Horiguchi wrote: > Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), which > is inconvenient when we want to know per-task or per-vma base hugetlb usage. > To solve this, this patch adds a new line for hugetlb usage like below: > > Size:

Re: [PATCH v4 1/2] Add the driver of mbigen interrupt controller

2015-09-06 Thread majun (F)
Hi Alexey: 在 2015/9/4 8:56, Alexey Klimov 写道: > Hi Ma Jun, > > On Tue, Sep 1, 2015 at 4:45 AM, majun (F) wrote: >> Hi Alexey: >> [...] + mgn_chip->base = base; + mgn_chip->node = node; + + domain = irq_domain_add_tree(node, &mbigen_domain_ops, mgn_chip); >>>

RE: [PATCH v2 5/5] perf probe: Print deleted events in cmd_probe()

2015-09-06 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >Showing actual trace event when deleteing perf events is only needed in >perf probe command. But the add functionality itself can be used by >other places. So move the printing code into the cmd_probe(). > >The output is

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

2015-09-06 Thread Vince Weaver
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_intel_ds.c:1210 > > intel_pmu_drain_pebs_nhm+0x305/0x320() > > [ 1800.303301] PEBS record without PEBS event! status

Re: [PATCH v3 3/5] ARM: imx_v6_v7_defconfig: enable imx6ul_tsc

2015-09-06 Thread Shawn Guo
On Fri, Aug 28, 2015 at 05:09:34PM +0800, Haibo Chen wrote: > Enable imx6ul touchscreen controller > > Signed-off-by: Haibo Chen Applied 3 ~ 5, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-06 Thread Krzysztof Kozlowski
On 06.09.2015 16:49, Yakir Yang wrote: > Hi Krzysztof, > > 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: >> On 03.09.2015 14:30, Yakir Yang wrote: >>> Hi Krzysztof, >>> >>> 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: On 01.09.2015 14:49, Yakir Yang wrote: > Split the dp core driver fr

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-06 Thread Davidlohr Bueso
On Fri, 04 Sep 2015, Peter Zijlstra wrote: -static inline bool virt_queued_spin_lock(struct qspinlock *lock) +static inline bool virt_spin_lock(struct qspinlock *lock) Given that we fall back to the cmpxchg loop even when PARAVIRT is not in the picture, I believe this function is horribly misn

Re: [PATCH 4/4] ARM: multi_v7_defconfig: Enable DW USB2 support and rockchip phy

2015-09-06 Thread Krzysztof Kozlowski
On 07.09.2015 05:16, Sjoerd Simons wrote: > The DesignWare HS OTG USB 2.0 is used in various SoC families among wich > the various rockchip SoCs, enable the driver and the PHY glue for > rockchip > > Signed-off-by: Sjoerd Simons > > --- > > arch/arm/configs/multi_v7_defconfig | 2 ++ > 1 file

[PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-06 Thread Boqun Feng
Currently, little endian is only supported on powernv and pseries, however, Kconfigs still allow us to include other platforms in a LE kernel, this may result in space wasting or even build error if some BE-only platforms always assume they are built for a BE kernel. So just modify the Kconfigs of

Re: [PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-06 Thread Krzysztof Kozlowski
On 06.09.2015 13:07, Yakir Yang wrote: > Hi Krzysztof, > > 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: >> On 01.09.2015 15:07, Yakir Yang wrote: >> >> Empty commit message. Please explain here why you want to add platform >> device type support. >> >> Actually the title is confusing. You are no

Re: [PATCH] ARM: fix alignement of __bug_table section entries

2015-09-06 Thread Russell King - ARM Linux
On Sun, Sep 06, 2015 at 11:31:34PM +0200, Robert Jarzmik wrote: > Russell King - ARM Linux writes: > > >> [1] Approach 1 : translation table sync > >> === > ... > > The important place is in arch/arm/include/asm/domain.h, which is where > > we manipulate the DA

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-06 Thread Dave Chinner
On Fri, Sep 04, 2015 at 01:32:33PM +0200, Peter Zijlstra wrote: > On Fri, Sep 04, 2015 at 06:12:34PM +1000, Dave Chinner wrote: > > You probably don't even need a VM to reproduce it - that would > > certainly be an interesting counterpoint if it didn't > > Even though you managed to restore yo

Re: [PATCH] ARM: multi_v7_defconfig: Enable PBIAS regulator

2015-09-06 Thread Guenter Roeck
On Thu, Sep 03, 2015 at 03:25:11PM +0530, Kishon Vijay Abraham I wrote: > PBIAS regulator is required for MMC module in OMAP2, OMAP3, OMAP4, > OMAP5 and DRA7 SoCs. Enable it here. > > Signed-off-by: Kishon Vijay Abraham I Tested-by: Guenter Roeck > --- > arch/arm/configs/multi_v7_defconfig |

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-06 Thread Dave Chinner
On Fri, Sep 04, 2015 at 05:25:23PM +0200, Peter Zijlstra wrote: > Something like so... > > --- > Subject: locking: Fix virt test-and-set lock implementation > > Dave ran into horrible performance on a VM without PARAVIRT_SPINLOCKS > set and Linus noted that the test-and-set implementation was ret

Re: [PATCH 3/3] staging: slimport: Add anx7814 driver support by analogix.

2015-09-06 Thread Greg KH
On Sun, Sep 06, 2015 at 11:14:02PM +0200, Enric Balletbo i Serra wrote: > The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter > designed for portable devices. > > This driver adds initial support and supports HDMI to DP pass-through mode. > > Signed-off-by: Enric Balletbo i S

Re: [PATCH] MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16.

2015-09-06 Thread Maciej W. Rozycki
On Sun, 6 Sep 2015, Yousong Zhou wrote: > Hi, Maciej, first of all, thank you for your time on this, > appreciate it. You're welcome! > > The bug certainly was there, it's just your analysis and consequently the > > fix that are wrong in the general case for some reason, maybe a buggy > > comp

[PATCH] binfmt_elf: Don't clobber passed executable's file header

2015-09-06 Thread Maciej W. Rozycki
Do not clobber the buffer space passed from `search_binary_handler' and originally preloaded by `prepare_binprm' with the executable's file header by overwriting it with its interpreter's file header. Instead keep the buffer space intact and directly use the data structure locally allocated fo

Re: [PATCH v7 2/3] KVM: dynamic halt-polling

2015-09-06 Thread Wanpeng Li
On 9/6/15 10:32 PM, Paolo Bonzini wrote: On 05/09/2015 00:38, Wanpeng Li wrote: @@ -1940,11 +1975,16 @@ void kvm_vcpu_block(struct kvm_vcpu *vcpu) * arrives. */ if (kvm_vcpu_check_block(vcpu) < 0) { +polled = true;

[PATCH] binfmt_elf: Correct `arch_check_elf's description

2015-09-06 Thread Maciej W. Rozycki
Correct `arch_check_elf's description, mistakenly copied and pasted from `arch_elf_pt_proc'. Signed-off-by: Maciej W. Rozycki --- linux-arch-check-elf-doc-fix.diff Index: linux-org-test/fs/binfmt_elf.c === --- linux-org-test.orig/fs

Re: [RFC PATCH v1 1/4] genirq: Introduce irq_settings_set_move_pcntxt() helper

2015-09-06 Thread Thomas Gleixner
On Sun, 6 Sep 2015, Yang Yingliang wrote: > It's expected to use the helper when interrupt can be moved > in process. What's wrong with using the existing helper? irq_set_status_flags(irq, IRQ_MOVE_PCNTXT); Thanks, tglx -- To unsubscribe from this list: send the line "unsubscrib

[PATCH v2] Documentation: add Device tree bindings for hwmon/nct7802

2015-09-06 Thread Constantine Shulyupin
Changed in v2: - Removed nct7802,reg-init - Added registers initialization by names Introduced in v1: - nct7802,reg-init Signed-off-by: Constantine Shulyupin --- --- .../devicetree/bindings/hwmon/nct7802.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 10

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

2015-09-06 Thread Stephane Eranian
Hi Vince, On Thu, Sep 3, 2015 at 11:04 PM, Vince Weaver wrote: > > Hello > > running a fresh copy of current git and I can still crash my Haswell test > machine using the perf_fuzzer. > > It looks like the pebs issue still, it triggered the new warning, and > was stuck looping with these messages

Re: [PATCH] ARM: fix alignement of __bug_table section entries

2015-09-06 Thread Robert Jarzmik
Russell King - ARM Linux writes: >> [1] Approach 1 : translation table sync >> === ... > The important place is in arch/arm/include/asm/domain.h, which is where > we manipulate the DACR within probe_kernel_address(). Gah, silly me. But even with [1], I still g

Re: [PATCH v4 3/3] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-09-06 Thread Ezequiel Garcia
On 27 Jul 03:21 PM, Alex Smith wrote: > Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as > well as the hardware BCH controller. DMA is not currently implemented. > > While older 47xx SoCs also have a BCH controller, they are incompatible > with the one in the 4780 due to diff

[PATCH 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-06 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. You can add support to your board with current binding. Example: anx7814: anx7814@38 { compatible = "analogix,anx7814"; reg = <0x38>; pd

[PATCH 3/3] staging: slimport: Add anx7814 driver support by analogix.

2015-09-06 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support and supports HDMI to DP pass-through mode. Signed-off-by: Enric Balletbo i Serra --- drivers/staging/Kconfig|2 + drivers/staging/Make

[PATCH 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-06 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/device

[PATCH 0/3] Add initial support for slimport anx78xx

2015-09-06 Thread Enric Balletbo i Serra
Hi all, The following series add initial support for the Slimport ANX7814 transmitter, a ultra-low power Full-HD (1080p60) transmitter designed for portable device. The driver was originally created and based from the work of Junhua Xia from Analogix. This driver is a refactor of the original dri

Re: Problems booting 4.1.6

2015-09-06 Thread Matt
Hi Peter, does the following patch help: x86/idle: Restore trace_cpu_idle to mwait_idle() calls http://marc.info/?l=linux-kernel&m=144009977312088 x86/idle: Restore trace_cpu_idle to mwait_idle() calls Commit b253149b843f ("sched/idle/x86: Restore mwait_idle() to fix boot hangs, to improve

  1   2   3   >