[PATCH 3.12 21/72] md/raid1: submit_bio_wait() returns 0 on success

2015-11-23 Thread Jiri Slaby
From: Jes Sorensen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 203d27b0226a05202438ddb39ef0ef1acb14a759 upstream. This was introduced with 9e882242c6193ae6f416f2d8d8db0d9126bd996b which changed the return value of submit_bio_wait() to ret

[PATCH 3.12 16/72] xhci: handle no ping response error properly

2015-11-23 Thread Jiri Slaby
From: Mathias Nyman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3b4739b8951d650becbcd855d7d6f18ac98a9a85 upstream. If a host fails to wake up a isochronous SuperSpeed device from U1/U2 in time for a isoch transfer it will generate a "No p

[PATCH 3.12 17/72] xhci: Add spurious wakeup quirk for LynxPoint-LP controllers

2015-11-23 Thread Jiri Slaby
From: Laura Abbott 3.12-stable review patch. If anyone has any objections, please let me know. === commit fd7cd061adcf5f7503515ba52b6a724642a839c8 upstream. We received several reports of systems rebooting and powering on after an attempted shutdown. Testing showed that setting XH

[PATCH 3.12 18/72] xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing)

2015-11-23 Thread Jiri Slaby
From: Cathy Avery 3.12-stable review patch. If anyone has any objections, please let me know. === commit a54c8f0f2d7df525ff997e2afe71866a1a013064 upstream. xen-blkfront will crash if the check to talk_to_blkback() in blkback_changed()(XenbusStateInitWait) returns an error. The dri

[PATCH 3.12 15/72] dm btree: fix leak of bufio-backed block in btree_split_beneath error path

2015-11-23 Thread Jiri Slaby
From: Mike Snitzer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4dcb8b57df3593dcb20481d9d6cf79d1dc1534be upstream. btree_split_beneath()'s error path had an outstanding FIXME that speaks directly to the potential for _not_ cleaning up a pr

[PATCH 3.12 05/72] iommu/amd: Don't clear DTE flags when modifying it

2015-11-23 Thread Jiri Slaby
From: Joerg Roedel 3.12-stable review patch. If anyone has any objections, please let me know. === commit cbf3ccd09d683abf1cacd36e3640872ee912d99b upstream. During device assignment/deassignment the flags in the DTE get lost, which might cause spurious faults, for example when the

[PATCH 3.12 02/72] iwlwifi: dvm: fix D3 firmware PN programming

2015-11-23 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5bd166872d8f99f156fac191299d24f828bb2348 upstream. The code to send the RX PN data (for each TID) to the firmware has a devastating bug: it overwrites the data for TID 0 with

[PATCH 3.12 03/72] iwlwifi: fix firmware filename for 3160

2015-11-23 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit b5a48134f8af08f5243328f8a0b05fc5ae7cf343 upstream. The MODULE_FIRMWARE() for 3160 should be using the 7260 version as it's done in the device configuration struct instead of

[PATCH 3.12 04/72] iwlwifi: mvm: fix D3 firmware PN programming

2015-11-23 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2cf5eb3ab7bb7f2e3a70edcef236cd62c87db030 upstream. The code to send the RX PN data (for each TID) to the firmware has a devastating bug: it overwrites the data for TID 0 with

[PATCH] zram/zcomp: use GFP_NOIO to allocate streams

2015-11-23 Thread Sergey Senozhatsky
We can end up allocating a new compression stream with GFP_KERNEL from within the IO path, which may result is nested (recursive) IO operations. That can introduce problems if the IO path in question is a reclaimer, holding some locks that will deadlock nested IOs. Allocate streams and working mem

Re: dwarf unwinder question

2015-11-23 Thread Vineet Gupta
On Monday 23 November 2015 06:45 PM, Jan Beulich wrote: On 23.11.15 at 14:03, wrote: >> I was wondering if u could answer a question in that respect: >> arch/arc/kernel/unwind.c >> >> If the binary search for a PC fails, it resorts to linear search, which for >> our >> case was taking 3 mil

[PATCH] drivers: net: xgene: optimizing the code

2015-11-23 Thread Saurabh Sengar
this patch does the following: 1 . remove unnecessary if, else condition 2 . reduce one variable 3 . change the return type of 2 functions to void as there return values turn out to be 0 always after above changes Signed-off-by: Saurabh Sengar --- drivers/net/ethernet/apm/xgene/xgene_enet_mai

[PATCH 3/6] x86/efi: Map RAM into the identity page table for mixed mode

2015-11-23 Thread Matt Fleming
We are relying on the pre-existing mappings in 'trampoline_pgd' when accessing function arguments in the EFI mixed mode thunking code. Instead let's map memory explicitly so that things will continue to work when we move to a separate page table in the future. Reviewed-by: Borislav Petkov Cc: Sa

[PATCH v2 5/6] x86/efi: Build our own page table structures

2015-11-23 Thread Matt Fleming
With commit e1a58320a38d ("x86/mm: Warn on W^X mappings") all users booting on 64-bit UEFI machines see the following warning, [ cut here ] WARNING: CPU: 7 PID: 1 at arch/x86/mm/dump_pagetables.c:225 note_page+0x5dc/0x780() x86/mm: Found insecure W+X mapping at addre

[PATCH v3 6/6] Documentation/x86: Update EFI memory region description

2015-11-23 Thread Matt Fleming
Make it clear that the EFI page tables are only available during EFI runtime calls since that subject has come up a fair numbers of times in the past. Additionally, add the EFI region start and end addresses to the table so that it's possible to see at a glance where they fall in relation to other

[PATCH v2 4/6] x86/efi: Hoist page table switching code into efi_call_virt()

2015-11-23 Thread Matt Fleming
This change is a prerequisite for pending patches that switch to a dedicated EFI page table, instead of using 'trampoline_pgd' which shares PGD entries with 'swapper_pg_dir'. The pending patches make it impossible to dereference the runtime service function pointer without first switching %cr3. It

[PATCH] md: avoid warning for 32-bit sector_t

2015-11-23 Thread Arnd Bergmann
When CONFIG_LBDAF is not set, sector_t is only 32-bits wide, which means we cannot have devices with more than 2TB, and the code that is trying to handle compatibility support for large devices in md version 0.90 is meaningless but also causes a compile-time warning: drivers/md/md.c: In function '

[PATCH v3 2/6] x86/mm/pageattr: Ensure cpa->pfn only contains page frame numbers

2015-11-23 Thread Matt Fleming
The x86 pageattr code is confused about the data that is stored in cpa->pfn, sometimes it's treated as a page frame number, sometimes it's treated as an unshifted physical address, and in one place it's treated as a pte. The result of this is that the mapping functions do not map the intended phys

[PATCH 1/6] x86/efi: PFN_ALIGN() _text and _end when calculating number of pages

2015-11-23 Thread Matt Fleming
While _text is currently aligned to PAGE_SIZE in the vmlinux linker script because it's based on CONFIG_PHYSICAL_ALIGN, it's always better to be explicit about these things to be sure no alignment bugs are lurking. There's no analogous enforcement for _end. Dave provided an example of why the 'npa

[GIT PULL v3 0/6] EFI page table isolation

2015-11-23 Thread Matt Fleming
Folks, This patch series is a response to the report that the EFI region mappings trigger warnings when booting with CONFIG_DEBUG_WX enabled. They allocate a new page table structure and ensure that all the mappings we require during EFI runtime calls are only setup there. It turns out that it st

[PATCH] mtd: cfi: enforce valid geometry configuration

2015-11-23 Thread Arnd Bergmann
MTD allows compile-time configuration of the possible CFI geometry settings that are allowed by the kernel, but that includes a couple of invalid configurations, where no bank width or no interleave setting is allowed. These are then caught with a compile-time warning: include/linux/mtd/cfi.h:76:2

Re: dwarf unwinder question

2015-11-23 Thread Jan Beulich
>>> On 23.11.15 at 14:27, wrote: > On Monday 23 November 2015 06:45 PM, Jan Beulich wrote: > On 23.11.15 at 14:03, wrote: >>> I was wondering if u could answer a question in that respect: >>> arch/arc/kernel/unwind.c >>> >>> If the binary search for a PC fails, it resorts to linear search, w

Re: [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

2015-11-23 Thread Steven Rostedt
selftest-Save-restore-migrate_disable_atomic-in-locking-selftest/20151123-152217 > config: x86_64-randconfig-x013-11230343 (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): >

[PATCH] power: bq27xxx_battery: avoid unused function warnings

2015-11-23 Thread Arnd Bergmann
We can configure the bq27xxx_battery driver with neither the I2C nor the platform driver backends, which leaves out all references to some of the symbols, causing a couple of warnings in many randconfig builds: drivers/power/bq27xxx_battery.c:288:12: warning: 'bq27xxx_regs' defined but not used [

Re: [PATCH 9/9] netfilter: implement xt_cgroup cgroup2 path match

2015-11-23 Thread Daniel Borkmann
On 11/21/2015 07:54 PM, Florian Westphal wrote: Tejun Heo wrote: On Sat, Nov 21, 2015 at 05:56:06PM +0100, Florian Westphal wrote: +struct xt_cgroup_info_v1 { + __u8has_path; + __u8has_classid; + __u8invert_path; + __u8inv

[PATCH] backlight: adp88x0: fix uninitialized variable use

2015-11-23 Thread Arnd Bergmann
gcc correctly warns about both the adp8860 and adp8870 backlight drivers using an uninitialized variable in their error handling path: drivers/video/backlight/adp8870_bl.c: In function 'adp8870_bl_ambient_light_zone_store': drivers/video/backlight/adp8870_bl.c:811:11: warning: 'reg_val' may be us

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2015-11-23 Thread Benjamin Tissoires
On Fri, Nov 20, 2015 at 11:21 AM, Allen Hung wrote: > The usage Confidence is mandary to Windows Precision Touchpad devices. The > appearance of this usage is checked in hidinput_connect but the quirk > MT_QUIRK_VALID_IS_CONFIDENCE is not applied to device accordingly. > Apply this quirk and also

Re: [PATCH 9/9] netfilter: implement xt_cgroup cgroup2 path match

2015-11-23 Thread Daniel Borkmann
On 11/23/2015 02:43 PM, Daniel Borkmann wrote: On 11/21/2015 07:54 PM, Florian Westphal wrote: Tejun Heo wrote: On Sat, Nov 21, 2015 at 05:56:06PM +0100, Florian Westphal wrote: +struct xt_cgroup_info_v1 { +__u8has_path; +__u8has_classid; +__u8invert_path;

[PATCH] ARM: tegra: select USB_ULPI from EHCI rather than platform

2015-11-23 Thread Arnd Bergmann
For historic reasons, the tegra platform selects USB_ULPI from architecture code, but that hasn't really made sense for a long time, as the only user of that code is the Tegra EHCI driver that has its own Kconfig symbol. This removes the 'select' statements from mach-tegra and drivers/soc/tegra an

[PATCH] net: fec: no need to test for the return type of of_property_read_u32

2015-11-23 Thread Saurabh Sengar
in case of error no need to set num_tx and num_rx = 1, because in case of error these variables will remain unchanged by of_property_read_u32 ie 1 only Signed-off-by: Saurabh Sengar --- drivers/net/ethernet/freescale/fec_main.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

[PATCH] usb: phy: allow modular build of DT helper

2015-11-23 Thread Arnd Bergmann
This one is a curious Kbuild glitch: The drivers/usb/phy/of.o file is currently always built-in if CONFIG_OF is set, independent of whether USB is modular or not. For the case of CONFIG_USB=m && CONFIG_USB_GADGET=m && CONFIG_USB_PHY=n, however the file is not built at all, because drivers/Makefile

[PATCH] ARM: ixp4xx: fix read{b,w,l} return types

2015-11-23 Thread Arnd Bergmann
On ixp4xx, the readl() function returns an 'unsigned long' output when indirect I/O is used. This is unlike any other platform, and it causes lots of harmless compiler warnings, such as: drivers/ata/libahci.c: In function 'ahci_show_host_version': drivers/ata/libahci.c:254:22: warning: format '%x'

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-23 Thread Laurent Dufour
On 23/11/2015 00:20, Mark Salter wrote: > On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: >> On Sat, 21 Nov 2015 12:30:14 +0100 >> Laurent Dufour wrote: >> >>> On 20/11/2015 13:10, Michael Ellerman wrote: On Thu, 2015-11-19 at 00:23 -0800, Christoph Hellwig wrote: > It's pretty mu

Re: [PATCH] backlight: adp88x0: fix uninitialized variable use

2015-11-23 Thread Michael Hennerich
On 11/23/2015 02:44 PM, Arnd Bergmann wrote: gcc correctly warns about both the adp8860 and adp8870 backlight drivers using an uninitialized variable in their error handling path: drivers/video/backlight/adp8870_bl.c: In function 'adp8870_bl_ambient_light_zone_store': drivers/video/backlight/ad

Re: [PATCH 2/4] mtd: nand: sunxi: add missing of_node_put

2015-11-23 Thread Boris Brezillon
On Wed, 18 Nov 2015 23:04:12 +0100 Julia Lawall wrote: > for_each_child_of_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > A simplified version of the semantic patch that fixes this problem is as > follows (http://coccinelle.lip6.fr): >

Re: severe regression in alx ethernet driver

2015-11-23 Thread Ldap Tester
The severe regression in alx ethernet driver is still present in the latest released kernel. Patches have been posted in https://bugzilla.kernel.org/show_bug.cgi?id=70761 There are reports that these patches have resolved the problem. Could you please review these patches and see if they can be i

dw_mmc: HLE errors

2015-11-23 Thread Jorge Ramirez-Ortiz
Doug/Jaehoon, Were there any follow ups to this thread [1] from March 30, 2015? We are seeing HLE errors on 3.18 and we are trying to determine if a solution was ever delivered. On inspection, I can't find anything specific in recent kernels that address this particular issue (was the actual root

[PATCH] thermal: exynos: use of_property_read_u8()

2015-11-23 Thread Saurabh Sengar
use of_property_read_u8() for u8 variables, also changed the return type to void as this function return type is nowhere used. Signed-off-by: Saurabh Sengar --- drivers/thermal/samsung/exynos_tmu.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git

Re: Hibernate resume bug around 3,18-rc2 - Full PAT support

2015-11-23 Thread vasvir
On 11/20/2015 02:23 PM, Juergen Gross wrote: > > As the BIOS obviously isn't disabling MTRR I don't think we have > to go that route any longer. ok. >> >> In the weekend I will return to 3.18-rc2 and I will try to verify my >> bisection is correct. Double guessing your self is a terrible thing..

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-23 Thread Christopher Covington
On 11/23/2015 03:15 AM, Arnd Bergmann wrote: > On Sunday 22 November 2015 21:36:45 Nicolas Pitre wrote: >> On Sun, 22 Nov 2015, Arnd Bergmann wrote: >> >>> I've also found some /proc/cpuinfo output to cross-reference SoCs >>> to their core names. >>> >>> variant partrevision

Re: [kbuild-all] [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

2015-11-23 Thread Fengguang Wu
url: > > https://github.com/0day-ci/linux/commits/jianchuan-wang-windriver-com/locking_selftest-Save-restore-migrate_disable_atomic-in-locking-selftest/20151123-152217 > > config: x86_64-randconfig-x013-11230343 (attached as .config) > > reproduce: > > # save

Re: [PATCH] crypto: nx: use of_property_read_u32()

2015-11-23 Thread Dan Streetman
On Mon, Nov 23, 2015 at 4:56 AM, Saurabh Sengar wrote: > use of_propert_read_u32() for reading int value, > it can help reducing number of variables used > > Signed-off-by: Saurabh Sengar Acked-by: Dan Streetman > --- > drivers/crypto/nx/nx-842-powernv.c | 11 --- > 1 file changed, 4

Re: [PATCH v11 RESEND 02/24] perf tools: Add perf-config document

2015-11-23 Thread Arnaldo Carvalho de Melo
Em Sun, Nov 22, 2015 at 07:11:56PM +0900, Taeung Song escreveu: > Add perf-config document to describe the perf configuration > and a subcommand 'list’. Worked this time, applied, will continue processing the other patches soon. - Arnaldo > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Ta

Re: [kbuild-all] [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

2015-11-23 Thread Steven Rostedt
On Mon, 23 Nov 2015 22:14:08 +0800 Fengguang Wu wrote: > > Need to add RT in the subject like "[PATCH RT]". Then perhaps Fengguang > > can have his tests either ignore these or test against the -rt trees. > > Yes sure. Shall I apply RT patches to this tree/branch? > > https://git.kernel.org/p

Re: Hibernate resume bug around 3,18-rc2 - Full PAT support

2015-11-23 Thread Juergen Gross
On 23/11/15 15:11, vas...@iit.demokritos.gr wrote: > Ok I will send the .config when I get back home. I have all kernels I > build in .deb archive. The problem is that the debian kernel build > procedure does not hold somewhere in the deb file the git commit hash. > > Fow which kernel would you ca

Re: [PATCH 6/7] cputime: Introduce vtime accounting check for readers

2015-11-23 Thread Frederic Weisbecker
On Thu, Nov 19, 2015 at 09:28:28PM +0100, Peter Zijlstra wrote: > On Thu, Nov 19, 2015 at 04:47:33PM +0100, Frederic Weisbecker wrote: > > +++ b/include/linux/vtime.h > > @@ -17,9 +17,20 @@ static inline bool vtime_accounting_cpu_enabled(void) { > > return true; } > > #endif /* CONFIG_VIRT_CPU_AC

[PATCH] [media] rc-core: Try loading modules if the kernel supports them

2015-11-23 Thread Sjoerd Simons
Always try to load modules for RC keymaps when the kernel supports modules, not just when the RC Core is build as a module. Fixes module autoloading issues when the core is builtin but the keymaps are not. Signed-off-by: Sjoerd Simons --- drivers/media/rc/rc-main.c | 2 +- 1 file changed, 1 in

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2015-11-23 Thread Steven Rostedt
On Mon, 23 Nov 2015 17:28:05 +0900 Joonsoo Kim wrote: > On Fri, Nov 20, 2015 at 11:42:25AM -0500, Steven Rostedt wrote: > > On Fri, 20 Nov 2015 15:33:25 +0900 > > Joonsoo Kim wrote: > > > > > > > Steven, is it possible to add tracepoint to inlined fucntion such as > > > get_page() in include

Re: [PATCH 3.12 25/72] serial: 8250_pci: Add support for 16 port Exar boards

2015-11-23 Thread Soeren Grunewald
Dear Jiri, You should also add upstream commit 899f0c1c7dbcc487fdc8756a49ff70b1d5d75f89 Greg had a merge conflict in 4-1.y with another back-ported patch. But in 3.12 this shouldn't be the case. -- Cheers, Soeren On 11/23/2015 02:08 PM, Jiri Slaby wrote: From: Soeren Grunewald 3.12-stable

[PATCH] PCI: MSI: Only use the generic MSI layer when domain is hierarchical

2015-11-23 Thread Marc Zyngier
Since d8a1cb757550 ("PCI/MSI: Let pci_msi_get_domain use struct device::msi_domain"), we use the MSI domain associated to the PCI device. But finding a MSI domain doesn't mean that the domain is implemented using the generic MSI domain API, and a number of MSI controllers are still using the arch_

[PATCH] mtd: nand: use of_property_read_u8()

2015-11-23 Thread Saurabh Sengar
use of_property_read_u8() for u8 values Signed-off-by: Saurabh Sengar --- drivers/mtd/nand/orion_nand.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index ee83749..1a68145 100644 --- a/dr

Re: [RESEND PATCH v5 0/3] mfd: sec: add S2MPS15 PMIC support

2015-11-23 Thread Lee Jones
Mark, Alexandre, Enjoy! The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/ib-mfd-regulator-rtc-v4.5 for you to fetch

[RFC PATCH 1/8] ARM: initialize cpu_scale to its default

2015-11-23 Thread Juri Lelli
Instead of looping through all cpus calling set_capacity_scale, we can initialise cpu_scale per-cpu variables to SCHED_CAPACITY_SCALE with their definition. Cc: Russell King Signed-off-by: Juri Lelli --- arch/arm/kernel/topology.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -

[RFC PATCH 0/8] CPUs capacity information for heterogeneous systems

2015-11-23 Thread Juri Lelli
Hi all, ARM systems may be configured to have CPUs with different power/performance characteristics within the same chip. In this case, additional information has to be made available to the kernel (the scheduler in particular) for it to be aware of such differences and take decisions accordingly.

[RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-11-23 Thread Juri Lelli
ARM systems may be configured to have cpus with different power/performance characteristics within the same chip. In this case, additional information has to be made available to the kernel (the scheduler in particular) for it to be aware of such differences and take decisions accordingly. Therefo

[RFC PATCH 5/8] arm64: parse cpu capacity from DT

2015-11-23 Thread Juri Lelli
With the introduction of cpu capacity bindings, CPU capacities can now be extracted from DT. Add parsing of such information at boot time. Also, store such information using per CPU variables, as we do for arm. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Brown Cc: Sudeep Holla Signed-off-by:

[RFC PATCH 4/8] arm, dts: add TC2 cpu capacity information

2015-11-23 Thread Juri Lelli
Add TC2 cpu capacity binding information. Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: devicet...@vger.kernel.org Signed-off-by: Juri Lelli --- arch/arm/boot/dts/vexpress-v2p-c

[RFC PATCH 6/8] arm64, dts: add Juno cpu capacity information

2015-11-23 Thread Juri Lelli
Add Juno cpu capacity bindings information. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Catalin Marinas Cc: Will Deacon Cc: Liviu Dudau Cc: Sudeep Holla Cc: Arnd Bergmann Cc: Jon Medhurst Cc: Olof Johansson Cc: Robin Murphy Cc: devicet...@vger.k

[RFC PATCH 7/8] arm: add sysfs cpu_capacity attribute

2015-11-23 Thread Juri Lelli
Add a sysfs cpu_capacity attribute with which it is possible to read and write (thus over-writing default values) CPUs capacity. This might be useful in situation where there is no way to get proper default values at boot time. The new attribute shows up as: /sys/devices/system/cpu/cpu*/cpu_capa

[RFC PATCH 8/8] arm64: add sysfs cpu_capacity attribute

2015-11-23 Thread Juri Lelli
Add a sysfs cpu_capacity attribute with which it is possible to read and write (thus over-writing default values) CPUs capacity. This might be useful in situation where there is no way to get proper default values at boot time. The new attribute shows up as: /sys/devices/system/cpu/cpu*/cpu_capa

[GIT PULL] Immutable branch between MFD, Regulator and RTC

2015-11-23 Thread Lee Jones
Better $SUBJECT for ya'll -- so it doesn't get lost in the noise. > Mark, Alexandre, > > Enjoy! > > The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: > > Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) > > are available in the git repository at: > > git://git.kernel.o

[RFC PATCH 3/8] arm: parse cpu capacity from DT

2015-11-23 Thread Juri Lelli
With the introduction of cpu capacity bindings, CPU capacities can now be extracted from DT. Add parsing of such information at boot time. We keep code that can produce same information, based on different DT properties and hard-coded values, as fall-back for backward compatibility. Cc: Russell Ki

Re: multi-codec support for arizona-ldo1 was Re: System with multiple arizona (wm5102) codecs

2015-11-23 Thread Lee Jones
On Mon, 23 Nov 2015, Charles Keepax wrote: > On Mon, Nov 23, 2015 at 11:30:41AM +, Mark Brown wrote: > > On Mon, Nov 23, 2015 at 10:25:22AM +, Richard Fitzgerald wrote: > > > On Mon, 2015-11-23 at 11:11 +0100, Pavel Machek wrote: > > > > > > That's what I'm saying. It is good to know who

Re: [PATCH] perf callchain: Add missing parent_val initialization

2015-11-23 Thread Arnaldo Carvalho de Melo
Em Sat, Nov 21, 2015 at 11:23:55AM +0100, Jiri Olsa escreveu: > Adding missing parent_val callchain_node initialization. > It's causing segfault in perf top: Thanks, applied. - Arnaldo > $ sudo perf top -g > perf: Segmentation fault > backtrace > free_callchain_node(+0

Re: [PATCH 3.14 35/37] serial: 8250_pci: Add support for 16 port Exar boards

2015-11-23 Thread Soeren Grunewald
Dear Greg, Could you please also add upstream commit 899f0c1c7dbcc487fdc8756a49ff70b1d5d75f89 There was a merge conflict in the 4-1.y tree with another back-ported patch. But in 3.14 this shouldn't be the case. -- Thanks & regrads, Soeren On 11/06/2015 08:24 PM, Greg Kroah-Hartman wrote:

Re: [PATCH 3/9] IB: add a helper to safely drain a QP

2015-11-23 Thread 'Christoph Hellwig'
On Mon, Nov 23, 2015 at 12:35:44PM +0200, Sagi Grimberg wrote: > >> So Maybe we should have: >> void ib_drain_qp(struct ib_qp *qp) > > Christoph suggested that this flushing would be taken care > of by rdma_disconnect which sounds even better I think.. Note that will only work once we've converted

Re: [PATCH 6/7] cputime: Introduce vtime accounting check for readers

2015-11-23 Thread Peter Zijlstra
On Mon, Nov 23, 2015 at 03:19:19PM +0100, Frederic Weisbecker wrote: > On Thu, Nov 19, 2015 at 09:28:28PM +0100, Peter Zijlstra wrote: > > On Thu, Nov 19, 2015 at 04:47:33PM +0100, Frederic Weisbecker wrote: > > > +++ b/include/linux/vtime.h > > > @@ -17,9 +17,20 @@ static inline bool vtime_account

Re: [kbuild-all] [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

2015-11-23 Thread Sebastian Andrzej Siewior
On 11/23/2015 03:14 PM, Fengguang Wu wrote: >> Need to add RT in the subject like "[PATCH RT]". Then perhaps Fengguang >> can have his tests either ignore these or test against the -rt trees. > > Yes sure. Shall I apply RT patches to this tree/branch? > > https://git.kernel.org/pub/scm/linux/ker

Re: [PATCH 31/37] perf callchain: Add count fields to struct callchain_node

2015-11-23 Thread Frederic Weisbecker
Namhyung, On Thu, Nov 19, 2015 at 02:53:17PM -0300, Arnaldo Carvalho de Melo wrote: > From: Namhyung Kim > > It's to track the count of occurrences of the callchains. Please explain why you do something like this in the changelog, even just a single line to tell which feature is going to use t

[PATCH] ARM: dts: rockchip: Add IR receiver to Radxa Rock 2 Square

2015-11-23 Thread Sjoerd Simons
Add support for the IR receiver as present on the Radxa Rock 2 Square board. Signed-off-by: Sjoerd Simons --- arch/arm/boot/dts/rk3288-rock2-square.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2

RE: [PATCH] drm/radeon: Retry DDC probing on DVI on failure if we got an HPD interrupt

2015-11-23 Thread Deucher, Alexander
> -Original Message- > From: Lyude [mailto:cp...@redhat.com] > Sent: Sunday, November 22, 2015 9:45 PM > To: Koenig, Christian; Daniel Stone > Cc: Deucher, Alexander; David Airlie; dri-devel; Linux Kernel Mailing List; > Jerome Glisse; Benjamin Tissoires > Subject: Re: [PATCH] drm/radeon: R

Re: 4.4-rc0: 5 W+X pages found

2015-11-23 Thread Mihai Donțu
On Sun, 15 Nov 2015 08:00:22 +0100 Pavel Machek wrote: > Kernel complains: > > [5.256044] [ cut here ] > [5.259267] WARNING: CPU: 0 PID: 1 at > arch/x86/mm/dump_pagetables.c:225 note_page+0x5ec/0x790() > [5.262668] x86/mm: Found insecure W+X mapping at address >

Re: [PATCH RT 0/4] Warning fixes for PREEMPT_RT

2015-11-23 Thread Steven Rostedt
On Sat, 21 Nov 2015 00:20:41 + Ben Hutchings wrote: > On Tue, 2015-10-06 at 03:41 +0100, Ben Hutchings wrote: > > These patches fix various warnings I got when building 3.2.71-rt104; > > some of them are applicable to other RT branches as well. > > Ping. > Sorry, I've been behind in read

Re: [PATCH] backlight: adp88x0: fix uninitialized variable use

2015-11-23 Thread Lee Jones
On Mon, 23 Nov 2015, Arnd Bergmann wrote: > gcc correctly warns about both the adp8860 and adp8870 backlight > drivers using an uninitialized variable in their error handling > path: > > drivers/video/backlight/adp8870_bl.c: In function > 'adp8870_bl_ambient_light_zone_store': > drivers/video/ba

Re: [PATCH 1/2] dmaengine: at_xdmac: fix macro typo

2015-11-23 Thread Nicolas Ferre
Le 23/11/2015 14:09, Ludovic Desroches a écrit : > Fix typo in a macro which was not used until now. It explains why there > is no error at compilation time. > > Signed-off-by: Ludovic Desroches > Fixes: e1f7c9eee707 "dmaengine: at_xdmac: creation of the atmel eXtended > DMA Controller driver" >

Re: [PATCH 2/2] dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers

2015-11-23 Thread Nicolas Ferre
Le 23/11/2015 14:09, Ludovic Desroches a écrit : > When setting the channel configuration register, the perid field is not > set to 0 since it is useless for mem2mem transfers. Unfortunately, a > device has 0 as perid. It could cause spurious flags status because > the controller could mix some eve

RE: [PATCH 3/9] IB: add a helper to safely drain a QP

2015-11-23 Thread Steve Wise
> -Original Message- > From: Sagi Grimberg [mailto:sa...@dev.mellanox.co.il] > Sent: Monday, November 23, 2015 4:29 AM > To: Steve Wise; 'Christoph Hellwig'; linux-r...@vger.kernel.org > Cc: bart.vanass...@sandisk.com; ax...@fb.com; linux-s...@vger.kernel.org; > linux-kernel@vger.kernel.

Re: [PATCH] ARM: tegra: select USB_ULPI from EHCI rather than platform

2015-11-23 Thread Thierry Reding
On Mon, Nov 23, 2015 at 02:51:29PM +0100, Arnd Bergmann wrote: > For historic reasons, the tegra platform selects USB_ULPI from architecture > code, but that hasn't really made sense for a long time, as the only > user of that code is the Tegra EHCI driver that has its own Kconfig > symbol. > > Th

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-23 Thread Pali Rohár
On Sunday 22 November 2015 07:51:46 Pavel Machek wrote: > On Wed 2015-11-11 17:10:46, Frank Rowand wrote: > > Adding devicetree list. > > > > Thread starts at > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/354459.html > > > > On 11/5/2015 8:17 AM, Tony Lindgren wrote: > > > *

Re: [PATCH] dma-mapping: use offset_in_page macro

2015-11-23 Thread Geliang Tang
On Mon, Nov 23, 2015 at 01:22:35PM +, Will Deacon wrote: > On Sat, Nov 21, 2015 at 10:14:44PM +0800, Geliang Tang wrote: > > Use offset_in_page macro instead of (addr & ~PAGE_MASK). > > > > Signed-off-by: Geliang Tang > > --- > > include/linux/dma-mapping.h | 4 ++-- > > 1 file changed, 2 in

RE: [PATCH 3/9] IB: add a helper to safely drain a QP

2015-11-23 Thread Steve Wise
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Sagi Grimberg > Sent: Monday, November 23, 2015 4:36 AM > To: Steve Wise; 'Christoph Hellwig'; linux-r...@vger.kernel.org > Cc: bart.vanass...@sandisk.com; ax...@fb.

Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended

2015-11-23 Thread Pali Rohár
On Saturday 21 November 2015 15:16:15 Gabriele Mazzotta wrote: > Some BIOSes unconditionally send an ACPI notification to RBTN when the > system is resuming from suspend. This makes dell-rbtn send an input > event to userspace as if a function key was pressed. Prevent this by > ignoring all the not

Re: [PATCH 2/2] keys, trusted: seal with a policy

2015-11-23 Thread Jarkko Sakkinen
On Tue, Nov 17, 2015 at 06:27:22PM +0200, Jarkko Sakkinen wrote: > Support for sealing with a authorization policy. > > Two new options for trusted keys: > > * 'policydigest=': provide an auth policy digest for sealing. > * 'policyhandle=': provide a policy session handle for unsealing. > > Sign

Re: [PATCH] USB: quirks: Fix another ELAN touchscreen

2015-11-23 Thread Jiri Kosina
On Sat, 21 Nov 2015, Adrien Vergé wrote: > Like other buggy models that had their fixes [1], the touchscreen with > id 04f3:21b8 from ELAN Microelectronics needs the device-qualifier > quirk. Otherwise, it fails to respond, blocks the boot for a random > amount of time and pollutes dmesg with: >

Re: [GIT PULL] optimize 64-by-32 ddivision for constant divisors on 32-bit machines

2015-11-23 Thread Nicolas Pitre
On Mon, 23 Nov 2015, Arnd Bergmann wrote: > On Sunday 22 November 2015 17:28:33 Nicolas Pitre wrote: > > On Sun, 22 Nov 2015, Arnd Bergmann wrote: > > > On Monday 16 November 2015 20:20:38 you wrote: > > > I'm now getting a build regressing with the attached randconfig > > > configuration, > > >

Re: [kbuild-all] [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

2015-11-23 Thread Fengguang Wu
On Mon, Nov 23, 2015 at 09:17:56AM -0500, Steven Rostedt wrote: > On Mon, 23 Nov 2015 22:14:08 +0800 > Fengguang Wu wrote: > > > > Need to add RT in the subject like "[PATCH RT]". Then perhaps Fengguang > > > can have his tests either ignore these or test against the -rt trees. > > > > Yes sur

Re: multi-codec support for arizona-ldo1 was Re: System with multiple arizona (wm5102) codecs

2015-11-23 Thread Pavel Machek
On Mon 2015-11-23 11:46:37, Charles Keepax wrote: > On Mon, Nov 23, 2015 at 11:30:41AM +, Mark Brown wrote: > > On Mon, Nov 23, 2015 at 10:25:22AM +, Richard Fitzgerald wrote: > > > On Mon, 2015-11-23 at 11:11 +0100, Pavel Machek wrote: > > > > > > That's what I'm saying. It is good to kno

Re: [PATCH 6/10] watchdog: bcm63xx_wdt: Obtain watchdog clock HZ from "periph" clk

2015-11-23 Thread Jonas Gorski
Hi, On Sun, Nov 22, 2015 at 3:07 PM, Simon Arlott wrote: > Instead of using a fixed clock HZ in the driver, obtain it from the > "periph" clk that the watchdog timer uses. > > Signed-off-by: Simon Arlott > --- > drivers/watchdog/bcm63xx_wdt.c | 36 +++- > 1 file

Re: [kbuild-all] [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

2015-11-23 Thread Fengguang Wu
On Mon, Nov 23, 2015 at 03:35:11PM +0100, Sebastian Andrzej Siewior wrote: > On 11/23/2015 03:14 PM, Fengguang Wu wrote: > > >> Need to add RT in the subject like "[PATCH RT]". Then perhaps Fengguang > >> can have his tests either ignore these or test against the -rt trees. > > > > Yes sure. Shal

Re: [PATCH v3 3/4] arm64: mm: support ARCH_MMAP_RND_BITS.

2015-11-23 Thread Will Deacon
On Wed, Nov 18, 2015 at 03:20:07PM -0800, Daniel Cashman wrote: > From: dcashman > > arm64: arch_mmap_rnd() uses STACK_RND_MASK to generate the > random offset for the mmap base address. This value represents a > compromise between increased ASLR effectiveness and avoiding > address-space fragme

[PATCH] extcon: arizona: Update naming for micd-timeout DT to include units

2015-11-23 Thread Charles Keepax
Add time units of -ms (milliseconds) to wlf,micd-timeout. Signed-off-by: Charles Keepax --- .../devicetree/bindings/extcon/extcon-arizona.txt |2 +- drivers/extcon/extcon-arizona.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/dev

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-23 Thread Pratyush Anand
On 23/11/2015:02:57:19 PM, Laurent Dufour wrote: > On 23/11/2015 00:20, Mark Salter wrote: > > On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: > >> On Sat, 21 Nov 2015 12:30:14 +0100 > >> Laurent Dufour wrote: > >> > >>> On 20/11/2015 13:10, Michael Ellerman wrote: > On Thu, 2015-11-19 at

Re: [PATCH] lightnvm: fix memory leak

2015-11-23 Thread Matias Bjørling
On 11/23/2015 11:35 AM, Sudip Mukherjee wrote: If copy_to_user() fails we returned error but we missed releasing devices. Signed-off-by: Sudip Mukherjee --- drivers/lightnvm/core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/lightnvm/core.c b/drivers/light

Re: [PATCH 34/37] perf hists browser: Support flat callchains

2015-11-23 Thread Frederic Weisbecker
On Thu, Nov 19, 2015 at 02:53:20PM -0300, Arnaldo Carvalho de Melo wrote: > From: Namhyung Kim > > The flat callchain mode is to print all chains in a single, simple > hierarchy so make it easy to see. > > Currently perf report --tui doesn't show flat callchains properly. With > flat callchains

Re: [PATCH v4 2/5] mfd: syscon: add a DT property to set value width

2015-11-23 Thread Arnd Bergmann
On Monday 23 November 2015 10:17:38 Damien Riegel wrote: > Currently syscon has a fixed configuration of 32 bits for register and > values widths. In some cases, it would be desirable to be able to > customize the value width. > > For example, certain boards (like the ones manufactured by Technolo

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-23 Thread Laurent Dufour
On 23/11/2015 16:13, Pratyush Anand wrote: > On 23/11/2015:02:57:19 PM, Laurent Dufour wrote: >> On 23/11/2015 00:20, Mark Salter wrote: >>> On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: On Sat, 21 Nov 2015 12:30:14 +0100 Laurent Dufour wrote: > On 20/11/2015 13:10, Michael

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-23 Thread Ming Lei
On Mon, 23 Nov 2015 10:46:20 +0800 Ming Lei wrote: > Hi Mark, > > On Mon, Nov 23, 2015 at 9:50 AM, Mark Salter wrote: > > On Mon, 2015-11-23 at 08:36 +0800, Ming Lei wrote: > >> On Mon, Nov 23, 2015 at 7:20 AM, Mark Salter wrote: > >> > On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: > >> >

Re: [PATCH 6/7] cputime: Introduce vtime accounting check for readers

2015-11-23 Thread Frederic Weisbecker
On Mon, Nov 23, 2015 at 03:35:16PM +0100, Peter Zijlstra wrote: > On Mon, Nov 23, 2015 at 03:19:19PM +0100, Frederic Weisbecker wrote: > > On Thu, Nov 19, 2015 at 09:28:28PM +0100, Peter Zijlstra wrote: > > > On Thu, Nov 19, 2015 at 04:47:33PM +0100, Frederic Weisbecker wrote: > > > > +++ b/include

Re: [PATCH] ARM64: fix building without CONFIG_UID16

2015-11-23 Thread Will Deacon
On Fri, Nov 20, 2015 at 12:12:21PM +0100, Arnd Bergmann wrote: > As reported by Michal Simek, building an ARM64 kernel with CONFIG_UID16 > disabled currently fails because the system call table still needs to > reference the individual function entry points that are provided by > kernel/sys_ni.c in

[PATCH] Gpio: use dev_get_platdata()

2015-11-23 Thread Nizam Haider
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. Signed-off-by: Nizam Haider --- drivers/gpio/gpio-ath79.c | 2 +- drivers/gpio/gpio-davinci.c | 2 +- drivers/gpio/gpio-f7188x.c | 2 +- drivers/gpio/gpio-octeon.c | 2 +- drivers/gpio

<    1   2   3   4   5   6   7   8   9   10   >