[PATCH v2] extcon: gpio: Add the support for Device tree bindings

2015-10-04 Thread Chanwoo Choi
This patch adds the support for Device tree bindings of extcon-gpio driver. The extcon-gpio device tree node must include the both 'extcon-id' and 'extcon-gpio' property. For exmaple: usb_cable: extcon-gpio-0 { compatible = "extcon-gpio"; extcon-id = ;

[PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings

2015-10-04 Thread kbuild test robot
drivers/iio/adc/palmas_gpadc.c:798:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: H. Nikolaus Schaller Signed-off-by: Fengguang Wu --- palmas_gpadc.c

Re: [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-10-04 Thread kbuild test robot
Hi Nikolaus, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/iio/adc/palmas_gpadc.c:798:3-8: No need to set .owner here. The core >> will do it. Please review and possibly fold the followup patch. -

Re: [PATCH] cfg80211: drop unlikely behind WARN_ON()

2015-10-04 Thread Johannes Berg
The subject is entirely wrong - this is not a cfg80211 patch. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://

Re: [PATCH v4 2/5] mtd: nand: Qualcomm NAND controller driver

2015-10-04 Thread Archit Taneja
Hi Brian, Thanks for the review. On 10/02/2015 08:35 AM, Brian Norris wrote: Hi Archit, On Wed, Aug 19, 2015 at 10:19:03AM +0530, Archit Taneja wrote: The Qualcomm NAND controller is found in SoCs like IPQ806x, MSM7xx, MDM9x15 series. It exists as a sub block inside the IPs EBI2 (External Bu

Re: Regression: at24 eeprom writing

2015-10-04 Thread Christian Gmeiner
Hi Peter. Sorry for the late answer - I am currently on my way to Dublin. Maybe it helps if you enable I2C_DEBUG_CORE and I2C_DEBUG_BUS. In theory you should see a little bit better what happens on the bus. Greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner 2015-10-04 21

[PATCH] Add quirk for Lenovo Yoga 2 with ITE Chips

2015-10-04 Thread Ritesh Raj Sarraf
Signed-off-by: Ritesh Raj Sarraf --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-sensor-hub.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index f769208..127c777 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -510

Re: [PATCH 1/2] ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-04 Thread Krzysztof Kozlowski
On 05.10.2015 15:29, Anand Moon wrote: > Enable CONFIG_USB_RTL8152 for Odroid-XU4. Why? Best regards, Krzysztof > > Signed-off-by: Anand Moon > --- > arch/arm/configs/exynos_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/configs/exynos_defconfig > b/arch/arm/con

Re: [PATCH v3] arm64: Introduce IRQ stack

2015-10-04 Thread AKASHI Takahiro
On 10/04/2015 11:32 PM, Jungseok Lee wrote: On Oct 3, 2015, at 1:23 AM, James Morse wrote: Hi, Hi James, On 22/09/15 13:11, Jungseok Lee wrote: Currently, kernel context and interrupts are handled using a single kernel stack navigated by sp_el1. This forces a system to use 16KB stack, not

[PATCH 2/2] ARM: multi_v7_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-04 Thread Anand Moon
Enable CONFIG_USB_RTL8152 for Odroid-XU4. Signed-off-by: Anand Moon --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 03deb7f..009d714 100644 --- a/arch/arm/configs/multi_v7

[PATCH 1/2] ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-04 Thread Anand Moon
Enable CONFIG_USB_RTL8152 for Odroid-XU4. Signed-off-by: Anand Moon --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 1ff2bfa..5d1937b 100644 --- a/arch/arm/configs/exynos_defconf

Re: [PATCH v2] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-10-04 Thread Nikolay Borisov
On 10/05/2015 09:21 AM, Darrick J. Wong wrote: > On Mon, Oct 05, 2015 at 08:43:34AM +0300, Nikolay Borisov wrote: >> It is just me or am I not seeing this feature test helper in this patch ? >> >> On 10/03/2015 06:46 AM, Darrick J. Wong wrote: >>> Change the journal's checksum functions to gate o

[PATCH v2 1/2] Document: DT: Add bindings for mediatek MT2701 SoC Platform

2015-10-04 Thread Erin Lo
This adds a DT binding documentation for the MT2701 SoC from Mediatek. Signed-off-by: Erin Lo --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 .../devicetree/bindings/arm/mediatek/mediatek,sysirq.txt | 1 + Documentation/devicetree/bindings/serial/mtk-uart.txt |

[PATCH v2 2/2] ARM: dts: mediatek: add MT2701 basic support

2015-10-04 Thread Erin Lo
This adds basic chip support for Mediatek 2701. Signed-off-by: Erin Lo --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/mt2701-evb.dts | 29 arch/arm/boot/dts/mt2701.dtsi| 146 +++ 3 files changed, 176 insertions(+) create mode 10

[PATCH v2 0/2] Add basic support for Mediatek MT2701 SoC

2015-10-04 Thread Erin Lo
MT2701 is a SoC based on 32bit ARMv7 architecture. It contains 4 CA7 cores. MT2701 share many HW IP with MT65xx series. This patchset was tested on MT2701 evaluation board, and boot to shell ok. This series contains document bindings, device tree including interrupt, uart, timer and wdt. Change i

RE: [PATCH 3/5] mtd: brcmnand: Optional DT flag to reset IPROC NAND controller

2015-10-04 Thread Anup Patel
> -Original Message- > From: Brian Norris [mailto:computersforpe...@gmail.com] > Sent: 05 October 2015 03:20 > To: Anup Patel > Cc: linux-arm-ker...@lists.infradead.org; Rob Herring; Pawel Moll; Mark > Rutland; Ian Campbell; Kumar Gala; Catalin Marinas; Will Deacon; David > Woodhouse; Ray

Re: [PATCH v2] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-10-04 Thread Darrick J. Wong
On Mon, Oct 05, 2015 at 08:43:34AM +0300, Nikolay Borisov wrote: > It is just me or am I not seeing this feature test helper in this patch ? > > On 10/03/2015 06:46 AM, Darrick J. Wong wrote: > > Change the journal's checksum functions to gate on whether or not the > > crc32c driver is loaded, and

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-04 Thread PINTU KUMAR
Hi, > -Original Message- > From: Anshuman Khandual [mailto:khand...@linux.vnet.ibm.com] > Sent: Thursday, October 01, 2015 7:00 PM > To: Pintu Kumar; a...@linux-foundation.org; minc...@kernel.org; > d...@stgolabs.net; mho...@suse.cz; koc...@gmail.com; rient...@google.com; > han...@cmpxchg.

[PATCH v2 2/3] iio:adc:palmas: add DT support

2015-10-04 Thread H. Nikolaus Schaller
From: Marek Belisko Code was found at: https://android.googlesource.com/kernel/tegra/+/a90856a6626d502d42c6e7abccbdf9d730b36270%5E%21/#F1 Signed-off-by: Laxman Dewangan [Fixed minor typos + add channels list to documentation] Signed-off-by: Marek Belisko --- .../devicetree/bindings/iio/adc/pa

[PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-10-04 Thread H. Nikolaus Schaller
This driver code was found as: https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc Fixed various compilation issues and test this driver on omap5 evm. Signed-off-by: Pradeep Goudagunta Signed-off-by: H. Nikolaus Schaller Signed-off-b

[PATCH v2 0/3] Add Palmas iio gpadc

2015-10-04 Thread H. Nikolaus Schaller
V2 changes: - worked in review comments by Peter Meerwald - made channels 1 and 3 report (raw) temperature values - moved PALMAS_GPADC_TRIMINVALID to driver core - worked in review comments by Jonathan Cameron - iio_map removed Add iio driver for the TI Palmas (twl6035, 6037) including device tree

[PATCH v2 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas

2015-10-04 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5-uevm.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 3b16e8f..c78ee2f 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/om

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-04 Thread PINTU KUMAR
Hi, > -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Thursday, October 01, 2015 7:09 PM > To: Pintu Kumar > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > koc...@gmail.com; rient...@google.com; han...@cmpxchg.org; penguin- > ker...@i-lov

RE: [PATCH 1/3][v4] Documentation: dt: dwc3: Add snps,quirk-frame-length-adjustment property

2015-10-04 Thread RAJESH BHAGAT
Hi Shawn, Regarding below patch, Felipe has suggested to talk to you: > [PATCH 3/3][v4] arm: dts: ls1021a: Add quirk for Erratum A009116 talk to you ARM-SoC maintainer. https://lkml.org/lkml/2015/9/4/7 Please provide your comments. Inform me in case, if a resend is required. Best Regards, Raj

[PATCH] unicore32: nb0916: Use PWM lookup table

2015-10-04 Thread Thierry Reding
Use a PWM lookup table to provide the PWM to the pwm-backlight device. The driver has a legacy code path that is required only because boards still use the legacy method of requesting PWMs by global ID. Replacing these usages allows that legacy fallback to be removed. Cc: Guan Xuetao Signed-off-b

Which PCI development git repo to use?

2015-10-04 Thread Ruud
Hello all, Looking at the changes in this sundays rc, it seems the PCI patches of Yinghai do not get picked up in RC2 and later. I did see some patches from helgaas. git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git Does someone know the plans with regard to PCIe support fo

[PATCH] security: selinux: Use a kmem_cache for allocation struct file_security_struct

2015-10-04 Thread Sangwoo
The size of struct file_security_struct is 16byte at my setup. But, the real allocation size for per each file_security_struct is 64bytes in my setup that kmalloc min size is 64bytes because ARCH_DMA_MINALIGN is 64. This allocation is called every times at file allocation(alloc_file()). So, the to

Re: [PATCH] staging: lustre: lustre: llite: Added const

2015-10-04 Thread Sudip Mukherjee
On Sat, Oct 03, 2015 at 09:13:36PM +0530, Anjali Menon wrote: > Added const to the struct statement which fixed the coding > style warning detected by chekpatch.pl > > WARNING: struct seq_operations should normally be const > > Signed-off-by: Anjali Menon > --- Again same problem. This has alrea

Re: [PATCH] staging: i20: Added a blank line after declaration

2015-10-04 Thread Sudip Mukherjee
On Sat, Oct 03, 2015 at 10:47:47AM +0530, Anjali Menon wrote: > Added a blank line after declaration to fix the coding style > warning detected by checkpatch.pl > > WARNING: Missing a blank line after declarations > > Signed-off-by: Anjali Menon > --- > drivers/staging/i2o/pci.c | 1 + > 1 file

Re: Re: [PATCH] clk: qcom: Make oxili GDSC parent of oxili_cx GDSC

2015-10-04 Thread kbuild test robot
Hi Rajendra, [auto build test ERROR on next-20151002 -- if it's inappropriate base, please ignore] config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "pm_genp

Re: [PATCH 03/17] input: tegra-kbc: drop use of IRQF_NO_SUSPEND flag

2015-10-04 Thread Thierry Reding
On Mon, Sep 21, 2015 at 04:46:59PM +0100, Sudeep Holla wrote: > The driver handles wakeup irq correctly using device_init_wakeup and > enable_irq_wake. There's no need to use IRQF_NO_SUSPEND while registering > the interrupt. > > This patch removes the use of IRQF_NO_SUSPEND flag. > > Cc: Laxman

Re: [PATCH v2] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-10-04 Thread Nikolay Borisov
It is just me or am I not seeing this feature test helper in this patch ? On 10/03/2015 06:46 AM, Darrick J. Wong wrote: > Change the journal's checksum functions to gate on whether or not the > crc32c driver is loaded, and gate the loading on the superblock bits. > This prevents a journal crash i

Re: [PATCH] clk: qcom: Make oxili GDSC parent of oxili_cx GDSC

2015-10-04 Thread Rajendra Nayak
[]... >>> It would also be nicer if this parent/child relationship can >>> somehow be represented in data (struct gdsc) that gets passed to >>> the gdsc driver which then sets it up, instead of individual >>> clock drivers doing it. >> >> Agreed. I'd rather that we do nothing besides register doma

Re: [PATCH v4 4/4] mm, procfs: Display VmAnon, VmFile and VmShm in /proc/pid/status

2015-10-04 Thread Hugh Dickins
On Fri, 2 Oct 2015, Vlastimil Babka wrote: > From: Jerome Marchand > > It's currently inconvenient to retrieve MM_ANONPAGES value from status > and statm files and there is no way to separate MM_FILEPAGES and > MM_SHMEMPAGES. Add RssAnon, RssFile and RssShm lines in /proc//status > to solve thes

[PATCH v2] x86/apic: Use smaller array for __apicid_to_node[] mapping

2015-10-04 Thread Daniel J Blueman
The Intel x2APIC spec states the upper 16-bits of APIC ID is the cluster ID [1, p2-12], intended for future distributed systems. Beyond the legacy 8-bit APIC ID, Numascale NumaConnect uses 4-bits for the position of a server on each axis of a multi-dimension torus; SGI NUMAlink also structures the

Re: [PATCH v4 3/4] mm, shmem: Add shmem resident memory accounting

2015-10-04 Thread Hugh Dickins
On Fri, 2 Oct 2015, Vlastimil Babka wrote: > From: Jerome Marchand > > Currently looking at /proc//status or statm, there is no way to > distinguish shmem pages from pages mapped to a regular file (shmem > pages are mapped to /dev/zero), even though their implication in > actual memory use is qu

Re: [PATCH] ARM: multi_v7_defconfig: Add missing QCOM APQ8064 configs

2015-10-04 Thread Andy Gross
On Thu, Oct 01, 2015 at 01:57:38PM +0100, Srinivas Kandagatla wrote: > This patch adds few missing essential configs in the multi_v7_defconf, > absense of some configs like PINCTRL_APQ8064 would prevent the board from > getting access to serial. > > cc: Kevin Hilman > cc: Tyler Baker > Signed-of

[PATCH] vme: tsi148: silence uninitialized variable warning

2015-10-04 Thread Dmitry Kalinkin
The warning is a false positive. drivers/vme/bridges/vme_tsi148.c: In function 'tsi148_master_write': drivers/vme/bridges/vme_tsi148.c:1358:31: warning: 'handler' may be used uninitialized in this function [-Wmaybe-uninitialized] vme_unregister_error_handler(handler);

Re: [PATCH 3/3] mm/nommu: drop unlikely behind BUG_ON()

2015-10-04 Thread Davidlohr Bueso
On Mon, 05 Oct 2015, Geliang Tang wrote: On Sun, Oct 04, 2015 at 06:50:55PM -0700, Davidlohr Bueso wrote: On Sun, 04 Oct 2015, Geliang Tang wrote: >BUG_ON() already contain an unlikely compiler flag. Drop it. > >Signed-off-by: Geliang Tang Acked-by: Davidlohr Bueso ... but I believe you do

Re: [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver

2015-10-04 Thread santosh.shilim...@oracle.com
On 10/4/15 9:23 AM, Luis de Bethencourt wrote: Hi, Resending this patch series as requested by Greg. So he can have them in his queue for picking up. https://lkml.org/lkml/2015/10/4/76 These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the cor

Re: [PATCH 0/2] memory: Fix module autoload for OF platform driver

2015-10-04 Thread santosh.shilim...@oracle.com
On 10/4/15 4:36 AM, Greg Kroah-Hartman wrote: On Tue, Sep 29, 2015 at 10:40:17AM -0700, santosh shilimkar wrote: +Greg, arm-sock folks On 9/17/2015 10:56 AM, santosh shilimkar wrote: On 9/17/2015 10:41 AM, Luis de Bethencourt wrote: Hello, These patches add the missing MODULE_DEVICE_TABLE()

APPLY TODAY

2015-10-04 Thread Roland S
WE OFFER LOAN AT 3% INTEREST RATE -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/2] drivers: staging: wilc1000: Call kfree only for error cases

2015-10-04 Thread Tony Cho
On 2015년 10월 04일 19:28, Chandra Gorentla wrote: On Sun, Oct 04, 2015 at 09:44:57AM +0100, Greg KH wrote: On Sat, Oct 03, 2015 at 02:57:30PM +0530, Chandra S Gorentla wrote: - kfree is being called for the members of the queue without de-queuing them; they are just inserted within this f

Re: [PATCH 1/2] drivers: staging: wilc1000: Move spin lock to the start of critical section

2015-10-04 Thread Tony Cho
On 2015년 10월 04일 17:43, Greg KH wrote: On Sat, Oct 03, 2015 at 02:57:29PM +0530, Chandra S Gorentla wrote: The spin_lock_irqsave is moved to just beginning of critical section. This change moves a couple of return statements out of the lock. Signed-off-by: Chandra S Gorentla --- drivers/st

Re: [PATCH 8/8] bdc_pci: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Greg KH
On Mon, Oct 05, 2015 at 12:08:26AM +0300, Sergei Shtylyov wrote: > Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Why? I hate PCI_VDEVICE(), it's impossible to grep for things and does not help with readability and is pointless. My one wish was that when I was the PCI ma

APPLY TODAY

2015-10-04 Thread Roland S
WE OFFER LOAN AT 3% INTEREST RATE -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-10-04 Thread Ley Foon Tan
On Sat, Oct 3, 2015 at 5:56 AM, Arnd Bergmann wrote: > On Friday 02 October 2015 15:53:44 Ley Foon Tan wrote: >> > Strictly speaking, if you have undocumented bindings downstream that >> > is your problem and we don't have to accept them as-is upstream. I'm >> > not going to worry about that here.

Re: [PATCH v3 2/3] uio_pci_generic: add MSI/MSI-X support

2015-10-04 Thread Greg KH
On Sun, Oct 04, 2015 at 11:43:17PM +0300, Vlad Zolotarov wrote: > Add support for MSI and MSI-X interrupt modes: >- Interrupt mode selection order is: > INT#X (for backward compatibility) -> MSI-X -> MSI. >- Add ioctl() commands: > - UIO_PCI_GENERIC_INT_MODE_GET: query the cur

[PATCH v2] arm: Adding support for atomic half word exchange

2015-10-04 Thread Sarbojit Ganguly
Hello Will, This is my second version of the patch which covers the byte exclusive case as pointed out by you. Please share your opinion on this. v1-->v2 : Extended the guard code to cover the byte exchange case as well following opinion of Will Deacon. Checkpatch has been run and issues were

Re: [PATCH v3 1/3] uio: add ioctl support

2015-10-04 Thread Greg KH
On Sun, Oct 04, 2015 at 11:43:16PM +0300, Vlad Zolotarov wrote: > Signed-off-by: Vlad Zolotarov > --- > drivers/uio/uio.c | 15 +++ > include/linux/uio_driver.h | 3 +++ > 2 files changed, 18 insertions(+) You add an ioctl yet fail to justify _why_ you need/want that ioctl,

Re: [PATCH v4 2/4] mm, proc: account for shmem swap in /proc/pid/smaps

2015-10-04 Thread Hugh Dickins
On Fri, 2 Oct 2015, Vlastimil Babka wrote: > Currently, /proc/pid/smaps will always show "Swap: 0 kB" for shmem-backed > mappings, even if the mapped portion does contain pages that were swapped out. > This is because unlike private anonymous mappings, shmem does not change pte > to swap entry, bu

Re: [PATCH 2/2] NTB: remove unused variable

2015-10-04 Thread Jon Mason
On Sat, Oct 3, 2015 at 4:09 AM, Sudip Mukherjee wrote: > These variables were not used anywhere. So remove them. > > Signed-off-by: Sudip Mukherjee Applied. Thanks, Jon > --- > drivers/ntb/ntb_transport.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/ntb/ntb_transport.c

Re: [PATCH 1/2] NTB: fix access of free-ed pointer

2015-10-04 Thread Jon Mason
On Sat, Oct 3, 2015 at 4:09 AM, Sudip Mukherjee wrote: > We were accessing nt->mw_vec after freeing it. Fix the error path so > that we free nt->mw_vec after we have finished using it. > > Signed-off-by: Sudip Mukherjee Good catch. Pulled into my ntb branch. Thanks, Jon > --- > drivers/ntb/

Re: [PATCH 3/3] mm/nommu: drop unlikely behind BUG_ON()

2015-10-04 Thread Geliang Tang
On Sun, Oct 04, 2015 at 06:50:55PM -0700, Davidlohr Bueso wrote: > On Sun, 04 Oct 2015, Geliang Tang wrote: > > >BUG_ON() already contain an unlikely compiler flag. Drop it. > > > >Signed-off-by: Geliang Tang > > Acked-by: Davidlohr Bueso > > ... but I believe you do have some left: > > drive

Re: [PATCH v4 07/26] ARM: pxa: magician: Fix HTC Magician pin mux definitions

2015-10-04 Thread Petr Cvek
Dne 3.10.2015 v 14:30 Philipp Zabel napsal(a): > Am Montag, den 28.09.2015, 23:15 +0200 schrieb Petr Cvek: >> This patch fixes a pin mux for the HTC Magician machine. Wrong and >> missing >> definitions caused a bad LCD operation and an unavailability of >> several >> peripherals. >> >> Signed-off-

Lucky Email Winner

2015-10-04 Thread POSTCODESLOTERIJ.NL
We are please to inform you of our yearly promotion award program held 1st October 2015,have pronounce your email-address as the lucky winner of a total sum:of €500,000.00(Five Hundred Thousand Euros Only) CONTACT: The claim office/Email:posti...@luckymail.com,with your winning Serial-No:LE0031

Re: [PATCH 0/2] Add RT5033 Flash LED driver

2015-10-04 Thread Ingi Kim
Hi, Jacek Thanks for review my patch Oops! old version patch is sent. I should have checked.. I'll send new patch, soon. Thanks Ingi Kim On 2015년 10월 02일 23:59, Jacek Anaszewski wrote: > Hi Ingi, > > Thanks for the patches. Please fix build errors > and resubmit. > > On 10/02/2015 11:41 AM, In

Re: [PATCH 3/3] mm/nommu: drop unlikely behind BUG_ON()

2015-10-04 Thread Davidlohr Bueso
On Sun, 04 Oct 2015, Leon Romanovsky wrote: On Sun, Oct 4, 2015 at 9:18 AM, Geliang Tang wrote: BUG_ON() already contain an unlikely compiler flag. Drop it. It is not the case if CONFIG_BUG and HAVE_ARCH_BUG_ON are not set. Yeah, but that's like the 1% of the cases -- and those probably don

Re: [PATCH v4 17/26] ARM: pxa: magician: Fix wrongly enabled USB host ports

2015-10-04 Thread Petr Cvek
Dne 3.10.2015 v 14:45 Philipp Zabel napsal(a): > Am Montag, den 28.09.2015, 23:38 +0200 schrieb Petr Cvek: >> USB host ports on the HTC Magician are wrongly enabled. Port 1 is for >> bluetooth and port 2 is for OTG (mux in the charger connector). >> >> Signed-off-by: Petr Cvek >> --- >> arch/arm/

RE: [V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option

2015-10-04 Thread 河合英宏 / KAWAI,HIDEHIRO
> On Fri, Oct 02, 2015 at 12:58:02AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > > On Thu, Oct 01, 2015 at 10:24:19AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > > > But how do we check if the starting kernel is a dump capture kernel? > > > > > > How does that first kernel pass info to the capture kernel?

Re: [PATCH 3/3] mm/nommu: drop unlikely behind BUG_ON()

2015-10-04 Thread Davidlohr Bueso
On Sun, 04 Oct 2015, Geliang Tang wrote: BUG_ON() already contain an unlikely compiler flag. Drop it. Signed-off-by: Geliang Tang Acked-by: Davidlohr Bueso ... but I believe you do have some left: drivers/scsi/scsi_lib.c:BUG_ON(unlikely(count > ivecs)); drivers/scsi/scsi_l

[PATCH 3/4] sched/fair: Remove scale_load_down() for load_avg

2015-10-04 Thread Yuyang Du
Currently, load_avg = scale_load_down(load) * runnable%. This does not make much sense, because load_avg is primarily the load that takes runnable time ratio into account. We therefore remove scale_load_down() for load_avg. But we need to carefully consider the overflow risk if load has higher res

[PATCH 4/4] sched/fair: Rename scale_load() and scale_load_down()

2015-10-04 Thread Yuyang Du
Rename scale_load() and scale_load_down() to user_to_kernel_load() and kernel_to_user_load() respectively, to allow the names to bear what they are really about. Signed-off-by: Yuyang Du --- kernel/sched/core.c | 8 kernel/sched/fair.c | 7 --- kernel/sched/sched.h | 15

[PATCH 0/4] sched/fair: Clean up sched metric definitions

2015-10-04 Thread Yuyang Du
Hi Peter and Ingo, As discussed recently, the sched metrics need a little bit cleanup. This series of patches attempt to do that: refactor, rename, remove... Thanks a lot to Ben, Morten, Dietmar, Vincent, and others who provided valuable comments. Thanks, Yuyang Yuyang Du (4): sched/fair: Gen

[PATCH 2/4] sched/fair: Remove SCHED_LOAD_SHIFT and SCHED_LOAD_SCALE

2015-10-04 Thread Yuyang Du
After cleaning up the sched metrics, these two definitions that cause ambiguity are not needed any more. Use NICE_0_LOAD_SHIFT and NICE_0_LOAD instead (the names suggest clearly who they are). Suggested-by: Ben Segall Signed-off-by: Yuyang Du --- kernel/sched/fair.c | 4 ++-- kernel/sched/sch

[PATCH 1/4] sched/fair: Generalize the load/util averages resolution definition

2015-10-04 Thread Yuyang Du
Metric needs certain resolution to allow detail we can look into, which also determines the range of the metric. For instance, increasing the resolution of [0, 1] (two levels), one can multiply 1024 and get [0..1024] (1025 levels). In sched/fair, a few metrics depend on the resolution: weight, lo

Re: [RFC PATCH v8 0/10] Add external dma support for Synopsys MSHC

2015-10-04 Thread Jaehoon Chung
Hi, Shawn. On 10/02/2015 06:49 PM, Shawn Lin wrote: > On 2015/10/1 17:14, Jaehoon Chung wrote: >> Dear, All. >> >> I will apply patch 01-03 at my repository on today. >> But i don't know better how i do about other patches relevant to config file. >> > > Thanks, Jaehoon. :) > > I guess it would

RE: [GIT PULL] Samsung fixes for v4.3

2015-10-04 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > > On 30.09.2015 15:50, Kukjin Kim wrote: > > On 09/30/15 08:59, Krzysztof Kozlowski wrote: > >> Dear Kukjin, > >> > >> Below you will find fixes for current release cycle which are not > >> present yet in your tree. > >> > >> Best regards, > >> Krzysztof > >> > >> > >>

Re: [PATCH v4 1/4] mm, documentation: clarify /proc/pid/status VmSwap limitations

2015-10-04 Thread Hugh Dickins
On Fri, 2 Oct 2015, Vlastimil Babka wrote: > The documentation for /proc/pid/status does not mention that the value of > VmSwap counts only swapped out anonymous private pages and not shmem. This is > not obvious, so document this limitation. > > Signed-off-by: Vlastimil Babka > Acked-by: Konsta

RE: [PATCH] usb-host: Remove fusbh200 driver

2015-10-04 Thread 江峰興
Hi Balbi, >> John Feng-Hsin Chiang, can you confirm that from your side the >> fusbh200 driver can be deleted? >... but let's get this confirmation. Yes, you can delete fusbh200. Best Regards, John Chiang -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Sunday, October

[PATCH v2] misc: mic: replace kfree with put_device

2015-10-04 Thread Geliang Tang
Handle a failed device_register(), replace kfree() with put_device(), which will call mbus_release_dev() or scif_release_dev(). Signed-off-by: Geliang Tang --- Changes in v2: - Just refresh this patch. --- drivers/misc/mic/bus/mic_bus.c | 2 +- drivers/misc/mic/bus/scif_bus.c | 2 +- 2 files

Re: [GIT PULL] Samsung fixes for v4.3

2015-10-04 Thread Krzysztof Kozlowski
On 30.09.2015 15:50, Kukjin Kim wrote: > On 09/30/15 08:59, Krzysztof Kozlowski wrote: >> Dear Kukjin, >> >> Below you will find fixes for current release cycle which are not >> present yet in your tree. >> >> Best regards, >> Krzysztof >> >> >> The following changes since commit 6ff33f3902c3b1c5d0

Re: [PATCH][RESEND] drm: panel-simple: add URT UMSH-8596MD-xT panel support

2015-10-04 Thread Maciej S. Szmigiero
Hi Emil, Thanks for your response, On 04.10.2015 12:43, Emil Velikov wrote: > Hi Maciej, > > On 2 October 2015 at 22:40, Maciej S. Szmigiero > wrote: >> Anybody here? >> >> I've already submitted this patch two times but received no response... >> > Seems that the maintainer (Thierry) isn't Cc'

[PATCHv4 2/2] staging: rtl8192u: r8192U_core: reuse local temporary variables to keep lines under 80 characters

2015-10-04 Thread Raphaël Beamonte
Reuse some local temporary variables to reduce line length under the maximum of 80 characters, as per the kernel code style. Signed-off-by: Raphaël Beamonte --- drivers/staging/rtl8192u/r8192U_core.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8

Re: [PATCH v4 1/5] gadget: Introduce the notifier functions

2015-10-04 Thread Mark Brown
On Fri, Oct 02, 2015 at 02:11:25PM -0500, Felipe Balbi wrote: > On Fri, Oct 02, 2015 at 07:49:09PM +0100, Mark Brown wrote: > > On Fri, Oct 02, 2015 at 12:23:11PM -0500, Felipe Balbi wrote: > > > > Things more difficult, if nothing else it means we need to get whatever > > > > userspace component

[PATCHv4 1/2] staging: rtl8192u: r8192U_core: add temporary variables to keep lines under 80 characters

2015-10-04 Thread Raphaël Beamonte
Add some temporary variables to reduce line length under the maximum of 80 characters, as per the kernel code style. Signed-off-by: Raphaël Beamonte --- drivers/staging/rtl8192u/r8192U_core.c | 130 ++--- 1 file changed, 88 insertions(+), 42 deletions(-) diff --git a

[PATCH] rbtree: clarify documentation of rbtree_postorder_for_each_entry_safe()

2015-10-04 Thread Cody P Schafer
Noticed that commit a20135ffbc44 ("writeback: don't drain bdi_writeback_congested on bdi destruction") added a usage of rbtree_postorder_for_each_entry_safe() in mm/backing-dev.c which appears to try to rb_erase() elements from an rbtree while iterating over it using rbtree_postorder_for_each_entry

[PATCH 1/3] memcg: simplify charging kmem pages

2015-10-04 Thread Vladimir Davydov
Charging kmem pages proceeds in two steps. First, we try to charge the allocation size to the memcg the current task belongs to, then we allocate a page and "commit" the charge storing the pointer to the memcg in the page struct. Such a design looks overcomplicated, because there is no much sense

[PATCH 3/3] memcg: simplify and inline __mem_cgroup_from_kmem

2015-10-04 Thread Vladimir Davydov
Before the previous patch, __mem_cgroup_from_kmem had to handle two types of kmem - slab pages and pages allocated with alloc_kmem_pages - differently, because slab pages did not store information about owner memcg in the page struct. Now we can unify it. Since after it, this function becomes tiny

[PATCH 2/3] memcg: unify slab and other kmem pages charging

2015-10-04 Thread Vladimir Davydov
We have memcg_kmem_charge and memcg_kmem_uncharge methods for charging and uncharging kmem pages to memcg, but currently they are not used for charging slab pages (i.e. they are only used for charging pages allocated with alloc_kmem_pages). The only reason why the slab subsystem uses special helper

Re: [PATCH] ebpf, events: make it actually more configurable

2015-10-04 Thread Daniel Borkmann
On 10/03/2015 10:24 AM, Ingo Molnar wrote: ... Feel free to send a patch that adds a sentence to that help text that explains that this is an internal helper Kconfig entry that does not need to be interactively configurable. Sorry for the late reply. I think it's actually fine as-is, noticed th

[PATCH] PCI: prevent out of bounds access in numa_node override

2015-10-04 Thread Sasha Levin
Commit 63692df1 ("PCI: Allow numa_node override via sysfs") didn't check that the numa node provided by userspace is valid. Passing a node number too high would attempt to access invalid memory and trigger a kernel panic. Fixes: 63692df1 ("PCI: Allow numa_node override via sysfs") Signed-off-by: S

Re: [PATCH 3/5] mtd: brcmnand: Optional DT flag to reset IPROC NAND controller

2015-10-04 Thread Brian Norris
+ Rafal (to extend this mighty CC list) On Fri, Oct 02, 2015 at 11:26:44PM +0530, Anup Patel wrote: > The BRCM NAND controller on NS2 SoC requires a reset to > cleanup previously configured NAND controller state. > > This patch adds optional boolean device tree flag named > "brcm,nand-iproc-reset

Re: [PATCH 1/2] pinctrl: at91-pio4: Use irq_set_handler_locked()

2015-10-04 Thread Nicolas Ferre
Le 02/10/2015 15:57, Nicolas Ferre a écrit : > Hi all, > > Well it seems my cover letter is missing. So, here it is: > > ---8< > pinctrl: at91-pio4: fixes for current linux-next (irq) > > While testing the sama5d2 on today's linux-next I discovered that some > adaptations were missing. So, I

[PATCH 8/8] bdc_pci: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/gadget/udc/bdc/bdc_pci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: usb/drivers/usb/gadget/udc/bdc/bdc_pci.c =

[PATCH 7/8] pch_udc: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/gadget/udc/pch_udc.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Index: usb/drivers/usb/gadget/udc/pch_udc.c

[PATCH 6/8] amd5536udc: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/gadget/udc/amd5536udc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: usb/drivers/usb/gadget/udc/amd5536udc.c ===

Re: [PATCH] usbhid: Fix for the WiiU adapter from Mayflash

2015-10-04 Thread Jiri Kosina
On Sat, 3 Oct 2015, Felipe Balbi wrote: > > The WiiU adapter from Mayflash (see > > http://www.mayflash.com/Products/NINTENDOWiiU/W009.html) is not > > working correctly. > > > > The "XInput" mode works fine, the controller is recognized as a xbox > > controller. But it is only possible to conn

[PATCH 5/8] dwc3-pci: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/dwc3/dwc3-pci.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) Index: usb/drivers/usb/dwc3/dwc3-pci.c =

Re: [PATCH] brcm80211:Use proper skb wrapper function in the function brcmf_sdio_txpkt_postp

2015-10-04 Thread Arend van Spriel
On 10/03/2015 06:24 AM, Nicholas Krause wrote: This uses the proper skb wrapper function sk_unlink in the function brcmf_sdio_txpkt_postp to properly protect against concurrent users accessing this skb_buff pointer or skb_buff_head pointer by locking the spinlock as part of the passed skb_buff_he

Re: [PATCH RFC] IB/mad: remove obsolete snoop interface

2015-10-04 Thread Or Gerlitz
On Wed, Sep 30, 2015 at 9:01 AM, wrote: > This interface has no current users and is obsolete. mmm, how does Sean's madeye util is working? Or. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info a

[PATCH 4/8] dwc2: pci: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/dwc2/pci.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: usb/drivers/usb/dwc2/pci.c ===

[PATCH 3/8] chipidea: ci_hdrc_pci: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/chipidea/ci_hdrc_pci.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: usb/drivers/usb/chipidea/ci_hdrc_pci.c ===

Re: [PATCH] brcm80211:Fix locking region in the function brcmf_sdio_sendfromq

2015-10-04 Thread Arend van Spriel
On 10/03/2015 06:19 PM, Nicholas Krause wrote: This fixes the locking region in the function brcmf_sdio_sendfromq to properly lock around the call to the function brcmrf_sdio_txpkt in order to avoid concurrent access issues when calling this function as stated in the function's comments about the

[PATCH 2/8] ohci-pci:-use-PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/host/ohci-pci.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Index: usb/drivers/usb/host/ohci-pci.c =

[PATCH 1/8] ehci-pci: use PCI_VDEVICE() instead of PCI_DEVICE()

2015-10-04 Thread Sergei Shtylyov
Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/host/ehci-pci.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: usb/drivers/usb/host/ehci-pci.c =

Re: [dpdk-dev] [PATCH 0/2] uio_msi: device driver

2015-10-04 Thread Vlad Zolotarov
On 10/04/15 22:03, Greg KH wrote: On Sun, Oct 04, 2015 at 07:49:35PM +0300, Vlad Zolotarov wrote: FYI: I've just posted to linux-kernel list patches that add support for both MSI and MSI-X interrupt modes to uio_pci_generic driver. It addresses most (all) remarks on this thread and also fixes

Re: [PATCH v3 0/3] uio: add MSI/MSI-X support to uio_pci_generic driver

2015-10-04 Thread Vlad Zolotarov
This is the same v3 but with the correct email address of Greg. In the first iteration the first letter of the email was missing... ;) On 10/04/15 23:43, Vlad Zolotarov wrote: This series add support for MSI and MSI-X interrupts to uio_pci_generic driver. Currently uio_pci_generic supports o

[PATCH v3 0/3] uio: add MSI/MSI-X support to uio_pci_generic driver

2015-10-04 Thread Vlad Zolotarov
This series add support for MSI and MSI-X interrupts to uio_pci_generic driver. Currently uio_pci_generic supports only legacy INT#x interrupts source. However there are situations when this is not enough, for instance SR-IOV VF devices that simply don't have INT#x capability. For such devices u

[PATCH v3 3/3] Documentation: update uio-howto

2015-10-04 Thread Vlad Zolotarov
Change the chapters related to uio_pci_generic that refer interrupt mode. Add the relevant explanation regarding MSI and MSI-X interrupt modes support. Signed-off-by: Vlad Zolotarov --- Documentation/DocBook/uio-howto.tmpl | 29 ++--- 1 file changed, 26 insertions(+), 3 d

  1   2   3   >