Re: [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 11:21 PM, Sinan Kaya wrote: > On 6/29/2016 5:19 PM, Rafael J. Wysocki wrote: >> On Wed, Jun 29, 2016 at 8:47 PM, Sinan Kaya wrote: >>> On 6/29/2016 9:13 AM, Rafael J. Wysocki wrote: On Wed, Jun 29, 2016 at 10:27 AM, Sinan Kaya wrote: > The change introduced in co

Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 11:19 PM, Sinan Kaya wrote: > On 6/29/2016 5:14 PM, Rafael J. Wysocki wrote: >> On Wed, Jun 29, 2016 at 8:29 PM, Sinan Kaya wrote: >>> On 6/29/2016 9:16 AM, Rafael J. Wysocki wrote: > Signed-off-by: Sinan Kaya Well, this is a rather obvious one, so I'm wondering

Re: [PATCH] drm: mediatek: fix prototypes after API change

2016-06-29 Thread Stephen Rothwell
Hi Arnd, On Wed, 29 Jun 2016 16:51:29 +0200 Arnd Bergmann wrote: > > The newly added mediatek HDMI driver clashes with an API change > for struct hdmi_codec_ops, causing an 'allmodconfig' build to fail: > > drivers/gpu/drm/mediatek/mtk_hdmi.c:1653:15: error: initialization from > incompatible p

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 8:15 PM, wrote: > From: Fu Wei > > This patchset: > (1)Preparation for adding GTDT support in arm_arch_timer > 1. Move some enums and marcos to header file > 2. Add a new enum for spi type. > 3. Improve printk relevant code > > (2)Introduce

Re: modules: add ro_after_init support

2016-06-29 Thread Jessica Yu
+++ Rusty Russell [29/06/16 10:38 +0930]: Jessica Yu writes: Add ro_after_init support for modules by adding a new page-aligned section in the module layout (after rodata) for ro_after_init data and enabling RO protection for that section after module init runs. Signed-off-by: Jessica Yu I

[PATCH] nfit: fix format interface code byte order

2016-06-29 Thread Dan Williams
Per JEDEC Annex L Release 3 the SPD data is: Bits 9~5 00 000 = Function Undefined 00 001 = Byte addressable energy backed 00 010 = Block addressed 00 011 = Byte addressable, no energy backed All other codes reserved Bits 4~0 0 = Proprietary interface

Re: [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 11:21 PM, Sinan Kaya wrote: > On 6/29/2016 5:19 PM, Rafael J. Wysocki wrote: >> On Wed, Jun 29, 2016 at 8:47 PM, Sinan Kaya wrote: >>> On 6/29/2016 9:13 AM, Rafael J. Wysocki wrote: On Wed, Jun 29, 2016 at 10:27 AM, Sinan Kaya wrote: > The change introduced in co

Re: [PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 8:15 PM, wrote: > From: Fu Wei No changelog? > Signed-off-by: Fu Wei Please combine this one with the [5-6/10]. Splitting them the way you did it is not very useful. Thanks, Rafael

Re: [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 8:47 PM, Sinan Kaya wrote: > On 6/29/2016 9:13 AM, Rafael J. Wysocki wrote: >> On Wed, Jun 29, 2016 at 10:27 AM, Sinan Kaya wrote: >>> The change introduced in commit 103544d86976 ("ACPI,PCI,IRQ: reduce >>> resource requirements") omitted the initially assigned POSSIBLE pe

0e80a5db05: WARNING: CPU: 1 PID: 0 at kernel/smp.c:416 smp_call_function_many+0xa7/0x2bb

2016-06-29 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack commit 0e80a5db0584e9505a8dfaa94d4d72fbc8b0315f ("[DEBUG] forcibly free stacks immediately") in testcase: boot on test machine: 2 threads qemu-system-x86_64 -enable-kvm with 360

Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence

2016-06-29 Thread Sinan Kaya
On 6/29/2016 5:14 PM, Rafael J. Wysocki wrote: > On Wed, Jun 29, 2016 at 8:29 PM, Sinan Kaya wrote: >> On 6/29/2016 9:16 AM, Rafael J. Wysocki wrote: Signed-off-by: Sinan Kaya >>> Well, this is a rather obvious one, so I'm wondering why it is the >>> last one in the series? >>> >> >> The fir

Re: [PATCH] power: qcom-smbb: add extcon dependency

2016-06-29 Thread Arnd Bergmann
On Wednesday, June 29, 2016 11:09:58 PM CEST Sebastian Reichel wrote: > On Wed, Jun 29, 2016 at 11:10:34AM -0700, Stephen Boyd wrote: > > On 06/29/2016 07:38 AM, Sebastian Reichel wrote: > > > On Wed, Jun 29, 2016 at 04:30:02PM +0200, Arnd Bergmann wrote: > > >> Building the smbb driver without ext

Re: [PATCH v3 2/9] kexec_file: Generalize kexec_add_buffer.

2016-06-29 Thread Thiago Jung Bauermann
Am Mittwoch, 29 Juni 2016, 15:47:51 schrieb Dave Young: > On 06/28/16 at 07:18pm, Thiago Jung Bauermann wrote: > > diff --git a/include/linux/kexec.h b/include/linux/kexec.h > > index e8acb2b43dd9..e16d845d587f 100644 > > --- a/include/linux/kexec.h > > +++ b/include/linux/kexec.h > > @@ -146,7 +14

Re: [PATCH] acpi, apei: Add Boot Error Record Table (BERT) support

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 10:04 PM, Luck, Tony wrote: > From: Huang Ying > > ACPI/APEI is designed to verifiy/report H/W errors, like Corrected > Error(CE) and Uncorrected Error(UC). It contains four tables: HEST, > ERST, EINJ and BERT. The first three tables have been merged for > a long time, but

RE: [PATCH] acpi, apei: Add Boot Error Record Table (BERT) support

2016-06-29 Thread Luck, Tony
>> but then it looks like it was forgotten again :-( > > Do you want me to take it? Yes please. -Tony

[PATCH V3 1/2] perf/x86/intel/uncore: Add support for Intel SKL client uncore

2016-06-29 Thread kan . liang
From: Kan Liang This patch addes full support for Intel SKL client uncore. - Add support for SKL client cpu uncore, which is similar to BDW client. There are some differences in CBOX number and uncore control MSR. - Add new support for SkyLake Mobile, include both cpu and pci uncore Sign

[PATCH V3 2/2] perf/x86/intel/uncore: add enable_box for client msr uncore

2016-06-29 Thread kan . liang
From: Kan Liang PERF_GLOBAL_CTL could be cleared after Package C7. This patch tries to workaround this issue by re-enable PERF_GLOBAL_CTL in enable_box. The workaround does not cover all cases. It helps for new events after returning from C7. There is no drawback in letting the thing enabled, so

Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence

2016-06-29 Thread Rafael J. Wysocki
On Wed, Jun 29, 2016 at 8:29 PM, Sinan Kaya wrote: > On 6/29/2016 9:16 AM, Rafael J. Wysocki wrote: >>> Signed-off-by: Sinan Kaya >> Well, this is a rather obvious one, so I'm wondering why it is the >> last one in the series? >> > > The first three are more relevant to each other. It makes easy

Re: [PATCH 06/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-29 Thread Ondřej Jirman
On 29.6.2016 22:45, Maxime Ripard wrote: > Hi, > > On Sat, Jun 25, 2016 at 04:50:24PM +0200, Ondřej Jirman wrote: >> On 25.6.2016 09:02, Maxime Ripard wrote: >>> On Sat, Jun 25, 2016 at 09:02:48AM +0800, Chen-Yu Tsai wrote: On Sat, Jun 25, 2016 at 6:51 AM, Ondřej Jirman wrote: > Hello, >

Re: [PATCH] power: qcom-smbb: add extcon dependency

2016-06-29 Thread Sebastian Reichel
Hi, On Wed, Jun 29, 2016 at 11:10:34AM -0700, Stephen Boyd wrote: > On 06/29/2016 07:38 AM, Sebastian Reichel wrote: > > On Wed, Jun 29, 2016 at 04:30:02PM +0200, Arnd Bergmann wrote: > >> Building the smbb driver without extcon results in a link failure: > >> > >> drivers/power/built-in.o: In fun

Re: [PATCH v3 3/9] kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

2016-06-29 Thread Thiago Jung Bauermann
Am Mittwoch, 29 Juni 2016, 15:45:18 schrieb Dave Young: > On 06/28/16 at 07:18pm, Thiago Jung Bauermann wrote: > > Am Dienstag, 28 Juni 2016, 15:20:55 schrieb Dave Young: > > > On 06/27/16 at 04:21pm, Dave Young wrote: > > > Using one argument for both sounds more reasonable than using a > > > sepa

[GIT PULL] Please pull NFS client bugfixes for 4.7

2016-06-29 Thread Anna Schumaker
Hi Linus, The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e: Linux 4.7-rc4 (2016-06-19 21:30:02 -0700) are available in the git repository at: git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.7-2 for you to fetch changes up to e547f2628327fec6afd

Re: [patch] mm, compaction: make sure freeing scanner isn't persistently expensive

2016-06-29 Thread David Rientjes
On Wed, 29 Jun 2016, Vlastimil Babka wrote: > On 06/29/2016 03:39 AM, David Rientjes wrote: > > It's possible that the freeing scanner can be consistently expensive if > > memory is well compacted toward the end of the zone with few free pages > > available in that area. > > > > If all zone memor

Re: [PATCH 1/3] usb: dwc2: Add support for STM32F429/439/469 USB OTG in FS mode with internal PHY

2016-06-29 Thread John Youn
On 6/29/2016 12:47 PM, Bruno Herrera wrote: > On Mon, Jun 27, 2016 at 7:51 PM, John Youn wrote: >> On 6/21/2016 7:26 PM, Bruno Herrera wrote: >>> Signed-off-by: Bruno Herrera >> >> Please add a commit message describing the purpose of your changes, >> some information about the platform you're ad

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Mauro Carvalho Chehab
Em Wed, 29 Jun 2016 11:52:09 -0600 Jonathan Corbet escreveu: > > 2. What is the best way to ship these migrations > > > > or better I asked, what is your recommendation for a > > migration strategy. Jani says, that this better belongs > > to authors, but I have a doubt that we end with the > > m

Re: [PATCH] GenWQE: Change default access rights for device node

2016-06-29 Thread Gabriel Krisman Bertazi
Frank Haverkamp writes: > Since it should always be ok for normal users to operate the accelerator, > it makes sense to change it in our driver, rather than adding udev rules > for all Linux distributions. > > Signed-off-by: Frank Haverkamp Reviewed-by: Gabriel Krisman Bertazi > --- > driver

Re: [PATCH v2 2/2] KVM: x86: fix underflow in TSC deadline calculation

2016-06-29 Thread Paolo Bonzini
On 29/06/2016 19:16, yunhong jiang wrote: >> > + start_sw_tscdeadline(apic); > IMHO, it's not good to start_sw_tscdeadline() on the start_hv_tscdeadline() > function. I think it's expected that the sw_timer is stopped when > start_hv_tscdeadline() returns successsfully, or sw_timer is no

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread Paul Bolle
On di, 2016-06-14 at 11:35 -0700, Luis R. Rodriguez wrote: > copyleft-next [0] [1] is an openly evolved copyleft license, its an > effort to evolve copyleft without participation of the Church (TM) > or State (R), completley openly to the extend development and > discussion of copyleft-next by part

Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode.

2016-06-29 Thread Paolo Bonzini
On 29/06/2016 19:25, Quentin Casasnovas wrote: > On Fri, Jun 24, 2016 at 03:10:03PM +0200, Paolo Bonzini wrote: >> On 24/06/2016 15:04, Quentin Casasnovas wrote: >>> On Thu, Jun 23, 2016 at 06:03:01PM +0200, Paolo Bonzini wrote: On 18/06/2016 11:01, Quentin Casasnovas wrote: >

Re: [PATCH 06/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-29 Thread Maxime Ripard
Hi, On Sat, Jun 25, 2016 at 04:50:24PM +0200, Ondřej Jirman wrote: > On 25.6.2016 09:02, Maxime Ripard wrote: > > On Sat, Jun 25, 2016 at 09:02:48AM +0800, Chen-Yu Tsai wrote: > >> On Sat, Jun 25, 2016 at 6:51 AM, Ondřej Jirman wrote: > >>> Hello, > >>> > >>> comments below. > >>> > >>> On 24.6.2

[PATCH] firmware: qcom_scm: Add missing is_available API

2016-06-29 Thread Andy Gross
Add back function that was dropped when reworking the SCM code. Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 84330c5..89c3775 100644 --- a/drivers/firmware/qco

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 4:15 PM, Andrew Lunn wrote: > On Wed, Jun 29, 2016 at 04:08:20PM -0400, Jon Mason wrote: >> On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: >> > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: >> >> On 06/29/2016 07:13 AM, Andrew Lunn wrote: >> >> > H

Re: [LKP] [x86/KASLR] ed9f007ee6: -- System halted

2016-06-29 Thread Huang, Ying
Hi, Yinghai, Yinghai Lu writes: > On Tue, Jun 28, 2016 at 12:49 PM, Yinghai Lu wrote: >> On Mon, Jun 27, 2016 at 10:43 PM, Ye Xiaolong wrote: >>> On Mon, Jun 27, 2016 at 11:59:37AM -0700, Yinghai Lu wrote: output is: early console in setup code early console in extract_kernel

[PATCH 2/2] fs: befs: remove comment that confuses kernel-doc

2016-06-29 Thread Luis de Bethencourt
This comment with a mysterious unfinished line confuses the kernel-doc system since, because it starts with /**, it thinks it is documenting a function. Signed-off-by: Luis de Bethencourt --- fs/befs/linuxvfs.c | 4 1 file changed, 4 deletions(-) diff --git a/fs/befs/linuxvfs.c b/fs/befs/l

[PATCH 1/2] fs: befs: check silent flag before logging error

2016-06-29 Thread Luis de Bethencourt
Log error only when silent flag is not set. Fixes: dbe6460388bc ("fs/befs/linuxvfs.c: check silent flag before logging errors") Signed-off-by: Luis de Bethencourt --- Hi, Reading the backlog of latest patches to befs, I noticed that Salah's patch missed one call to befs_error() when setting al

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Andrew Lunn
On Wed, Jun 29, 2016 at 04:08:20PM -0400, Jon Mason wrote: > On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: > > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: > >> On 06/29/2016 07:13 AM, Andrew Lunn wrote: > >> > Hi Jon > >> > > >> > I know you are just refactoring code, b

[PATCH] mtdpart: propagate _get/put_device()

2016-06-29 Thread Richard Weinberger
If the master device has callbacks for _get/put_device() and this MTD has slaves a get_mtd_device() call on paritions will never issue the registered callbacks. Fix this by propergating _get/put_device() down. Signed-off-by: Richard Weinberger --- Hi! I've found this issue while heavily reworkin

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread H. Peter Anvin
On June 29, 2016 12:46:35 PM PDT, Greg KH wrote: >On Wed, Jun 29, 2016 at 09:05:47PM +0200, Luis R. Rodriguez wrote: >> On Tue, Jun 14, 2016 at 11:35:11AM -0700, Luis R. Rodriguez wrote: >> > copyleft-next [0] [1] is an openly evolved copyleft license, its an >> > effort to evolve copyleft without

[RFC][PATCH 0/3] vsprintf: Do not dereference pointers in bstr_printf()

2016-06-29 Thread Steven Rostedt
vbin_printf() and bstr_printf() are used by trace_printk(), when it is possible to optimize to copying the binary arguments into the ring buffer and doing the final conversions at the time of reading the ring buffer. This is advantageous as it removes computer processing from the executing of what'

[RFC][PATCH 1/3] vsprintf: Prevent vbin_printf() from using dereferenced pointers

2016-06-29 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" vbin_printf() is used in conjunction with bstr_printf() to record some printf() statment and to show it later. It is currently used exclusively with trace_printk() which records the binary format into the trace ring buffer and formats the output at a later time wh

[RFC][PATCH 3/3] vsprintf: Add support for %pb and friends to vbin_printf()

2016-06-29 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" printk() allows a %pb to print out cpumasks. As it uses a pointer to reference the mask it can be problematic for vbin_printf() to use, as the referencing is done at a later time (via bstr_printf()). Instead of saving the pointer to the cpumask, simply save the en

[RFC][PATCH 2/3] vsprintf: Add support for %pf and %pF to vbin_printf()

2016-06-29 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Some architectures require a dereference of function pointers (See powerpc). The dereferenced poiner must be saved into the buffer in vbin_printf() to be safe to access it later. Cc: Frederic Weisbecker Cc: Jiri Olsa Signed-off-by: Steven Rostedt --- lib/vspr

Re: [RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-29 Thread Jon Mason
On Tue, Jun 28, 2016 at 3:43 PM, Joe Perches wrote: > On Tue, 2016-06-28 at 15:34 -0400, Jon Mason wrote: >> The bgmac_* print wrappers call dev_* prints with the dev pointer from >> the bcma core. In anticipation of removing the bcma requirement for >> this driver, these must be changed to not r

Re: [x86/KASLR] ed9f007ee6: -- System halted

2016-06-29 Thread Yinghai Lu
On Tue, Jun 28, 2016 at 12:49 PM, Yinghai Lu wrote: > On Mon, Jun 27, 2016 at 10:43 PM, Ye Xiaolong wrote: >> On Mon, Jun 27, 2016 at 11:59:37AM -0700, Yinghai Lu wrote: >>>output is: >>> >>>early console in setup code >>>early console in extract_kernel >>>input_data: 0x08fbb276 >>>input_

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: >> On 06/29/2016 07:13 AM, Andrew Lunn wrote: >> > Hi Jon >> > >> > I know you are just refactoring code, but at some point it would be >> > good to take a closer look at this MD

[PATCH] acpi, apei: Add Boot Error Record Table (BERT) support

2016-06-29 Thread Luck, Tony
From: Huang Ying ACPI/APEI is designed to verifiy/report H/W errors, like Corrected Error(CE) and Uncorrected Error(UC). It contains four tables: HEST, ERST, EINJ and BERT. The first three tables have been merged for a long time, but because of lacking BIOS support for BERT, the support for BERT

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread Luis R. Rodriguez
On Wed, Jun 29, 2016 at 12:46:35PM -0700, Greg KH wrote: > On Wed, Jun 29, 2016 at 09:05:47PM +0200, Luis R. Rodriguez wrote: > > On Tue, Jun 14, 2016 at 11:35:11AM -0700, Luis R. Rodriguez wrote: > > > copyleft-next [0] [1] is an openly evolved copyleft license, its an > > > effort to evolve copyl

Re: [PATCH v4] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-06-29 Thread Alex Williamson
On Tue, 28 Jun 2016 13:47:23 -0600 Alex Williamson wrote: > On Tue, 28 Jun 2016 18:09:46 +0800 > Yongji Xie wrote: > > > Hi, Alex > > > > On 2016/6/25 0:43, Alex Williamson wrote: > > > > > On Fri, 24 Jun 2016 23:37:02 +0800 > > > Yongji Xie wrote: > > > > > >> Hi, Alex > > >> > > >> O

[PATCH 3/3] x86, cpufeatures: add helper macro for mask check macros

2016-06-29 Thread Dave Hansen
From: Dave Hansen Every time we add a word to our cpu features, we need to add something like this in two places: (((bit)>>5)==16 && (1UL<<((bit)&31) & REQUIRED_MASK16)) The trick is getting the "16" in this case in both places. I've now screwed this up twice, so as pennance, I've com

[PATCH 1/3] x86, cpufeatures: update cpufeaure macros

2016-06-29 Thread Dave Hansen
From: Dave Hansen We had a new CPUID "NCAPINT" word added, but the REQUIRED_MASK and DISABLED_MASK macros did not get updated. Update them. None of the features was needed in these masks, so there was no harm, but we should keep them updated anyway. Signed-off-by: Dave Hansen --- b/arch/x8

[PATCH 2/3] x86, cpufeatures: make sure DISABLED/REQUIRED macros are updated

2016-06-29 Thread Dave Hansen
From: Dave Hansen x86 has two macros which allow us to evaluate some CPUID-based features at compile time: REQUIRED_MASK_BIT_SET() DISABLED_MASK_BIT_SET() They're both defined by having the compiler check the bit argument against some constant masks of features. But, when addi

Re: [PATCH 0/2] brcmfmac: support removing AP interfaces with new fw

2016-06-29 Thread Rafał Miłecki
On 29 June 2016 at 21:54, Rafał Miłecki wrote: > This is the latest patchset needed to get brcmfmac working reasonably well > with BCM4366. > > Both patches were already sent as V2 RFC (10 days ago), there were no more > comments since then and this is the same code as in V2 RFC. I was mostly > w

[PATCH 1/2] brcmfmac: delete interface directly in code that sent fw request

2016-06-29 Thread Rafał Miłecki
So far when receiving event about in-firmware-interface removal our event worker was notifying listener and afterwards it was removing Linux interface. First of all it was resulting in slightly unexpected order. The listener (del_virtual_intf callback) was (usually) returning with success before w

[PATCH 2/2] brcmfmac: support removing AP interfaces with "interface_remove"

2016-06-29 Thread Rafał Miłecki
New firmwares (e.g. 10.10.69.36 for BCM4366) support "interface_remove" for removing interfaces. Try to use this method on cfg80211 request. In case of older firmwares (e.g. 7.35.177.56 for BCM43602 as I tested) this will just result in firmware rejecting command and this won't change any behavior.

Re: [PATCH 1/6] [media] s5p-mfc: set capablity bus_info as required by VIDIOC_QUERYCAP

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > The driver doesn't set the struct v4l2_capability bus_info field so the > v4l2-compliance tool reports the following errors for VIDIOC_QUERYCAP: > > Required ioctls: > VIDIOC_QUERYCAP returned 0 (Success) > f

Re: [PATCH 2/2] arm64: Always provide compat /proc/cpuinfo for 32-bit tasks

2016-06-29 Thread Brian Norris
Hi all, On Tue, May 31, 2016 at 03:55:04PM +0100, Catalin Marinas wrote: > Currently, the compat /proc/cpuinfo is provided only if a task has the > PER_LINUX32 personality, either by setting it explicitly or by > inheriting it from the parent task. This is in line with the "uname -m" > behaviour.

[PATCH] arm64: Add Broadcom Set Top Box Kconfig entry point

2016-06-29 Thread Markus Mayer
From: Florian Fainelli Add an ARCH_BRCMSTB Kconfig symbol which allows us not to update the dependencies for all STB-related drivers. Select BRCMSTB_L2_IRQ and GENERIC_IRQ_CHIP which are required for proper functioning. Signed-off-by: Doug Berger Signed-off-by: Florian Fainelli Signed-off-by:

Re: [PATCH v3 3/9] kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

2016-06-29 Thread Dave Young
On 06/28/16 at 07:18pm, Thiago Jung Bauermann wrote: > Am Dienstag, 28 Juni 2016, 15:20:55 schrieb Dave Young: > > On 06/27/16 at 04:21pm, Dave Young wrote: > > > Please ignore previous reply, I mistakenly send a broken mail without > > > subject, sorry about it. Resend the reply here. > > > > > >

Re: [PATCH 1/3] usb: dwc2: Add support for STM32F429/439/469 USB OTG in FS mode with internal PHY

2016-06-29 Thread Bruno Herrera
On Mon, Jun 27, 2016 at 7:51 PM, John Youn wrote: > On 6/21/2016 7:26 PM, Bruno Herrera wrote: >> Signed-off-by: Bruno Herrera > > Please add a commit message describing the purpose of your changes, > some information about the platform you're adding, and the special > handling of the GGPIO. > Ok

Re: [PATCH v3 2/9] kexec_file: Generalize kexec_add_buffer.

2016-06-29 Thread Dave Young
On 06/28/16 at 07:18pm, Thiago Jung Bauermann wrote: > Am Donnerstag, 23 Juni 2016, 10:25:06 schrieb Dave Young: > > On 06/22/16 at 08:30pm, Thiago Jung Bauermann wrote: > > > Am Mittwoch, 22 Juni 2016, 18:20:47 schrieb Dave Young: > > > > The patch looks good, but could the subject be more specifi

Re: [Y2038] [PATCH v3 00/24] Delete CURRENT_TIME_SEC and replace current_fs_time()

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 2:37:24 PM CEST Deepa Dinamani wrote: > The series is aimed at getting rid of CURRENT_TIME, CURRENT_TIME_SEC macros > and replacing current_fs_time() with current_time(). > The macros are not y2038 safe. There is no plan to transition them into being > y2038 safe. > ktime

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread Greg KH
On Wed, Jun 29, 2016 at 09:05:47PM +0200, Luis R. Rodriguez wrote: > On Tue, Jun 14, 2016 at 11:35:11AM -0700, Luis R. Rodriguez wrote: > > copyleft-next [0] [1] is an openly evolved copyleft license, its an > > effort to evolve copyleft without participation of the Church (TM) > > or State (R), co

Re: [PATCH 2/6] [media] s5p-mfc: improve v4l2_capability driver and card fields

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > According to the V4L2 documentation the driver and card fields should be > used to identify the driver and the device but the s5p-mfc driver fills > those field using the platform device name, which in turn is the name of > the device DT nod

Re: [PATCH 3/6] [media] s5p-jpeg: set capablity bus_info as required by VIDIOC_QUERYCAP

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > The driver doesn't set the struct v4l2_capability cap_info field so the > v4l2-compliance tool reports the following errors for VIDIOC_QUERYCAP: > > Required ioctls: > VIDIOC_QUERYCAP returned 0 (Success) > f

Re: [PATCH 4/6] [media] s5p-jpeg: only fill driver's name in capabilities driver field

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > The driver fills in both the struct v4l2_capability driver and card fields > the same values, that is the driver's name plus the information if the dev > is a decoder or an encoder. > > But the driver field has a fixed length of 16 bytes so

Re: [tip:perf/core] perf/x86/intel: Add {rd,wr}lbr_{to,from} wrappers

2016-06-29 Thread Peter Zijlstra
On Mon, Jun 27, 2016 at 05:56:02AM -0700, tip-bot for Peter Zijlstra wrote: > +static inline u64 rdlbr_from(unsigned int idx) > +{ > + u64 val; > + > + rdmsrl(x86_pmu.lbr_from + idx, val); > + > + return lbr_from_signext_quirk_rd(val); > +} > + > +static inline u64 rdlbr_to(unsigned int

[PATCH] staging: comedi: daqboard2000: bug fix board type matching code

2016-06-29 Thread Ian Abbott
`daqboard2000_find_boardinfo()` is supposed to check if the DaqBoard/2000 series model is supported, based on the PCI subvendor and subdevice ID. The current code is wrong as it is comparing the PCI device's subdevice ID to an expected, fixed value for the subvendor ID. It should be comparing the

[PATCH] x86: rename "WESTMERE2" family to "NEHALEM_G"

2016-06-29 Thread Dave Hansen
From: Dave Hansen Len Brown noticed something was amiss in our INTEL_FAM6_* definitions. It seems like model 0x1F was a Nehalem part, marketed as "Intel Core i7 and i5 Processors" (according to the SDM). But, although it was a Nehalem 0x1F had some uncore events which were shared with Westmere

Re: [Cocci] [PATCH] Coccinelle: Script to replace NULL test with IS_ERR test for devm_ioremap_resource

2016-06-29 Thread Wolfram Sang
On Thu, Jun 30, 2016 at 12:03:47AM +0530, Amitoj Kaur Chawla wrote: > This script detects cases which have incorrect error handling for > devm_ioremap_resource function, employing a NULL test instead of an > IS_ERR() test. > > Signed-off-by: Amitoj Kaur Chawla Why don't we fix the code at the sa

Re: [PATCH] mmotm: mm-oom-fortify-task_will_free_mem-fix

2016-06-29 Thread Oleg Nesterov
On 06/29, Michal Hocko wrote: > > But it seems that further changes I am > planning in this area will benefit from stable task->mm in this path Oh, so I hope you will cleanup this later, > Just pull the task->mm != > NULL check inside the function. OK, but this means it will always return false

Re: [GIT PULL] (Xen) stable/for-jens-4.7 for v4.7-rc5

2016-06-29 Thread Jens Axboe
On 06/29/2016 10:39 AM, Konrad Rzeszutek Wilk wrote: Hey Jens, Please git pull the 'stable/for-jens-4.7' branch which is based on your 'for-4.7/drivers' branch. It will nicely merge in your 'for-linus' branch: git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jen

[PATCH v3 12/14] clk: sunxi-ng: Add N-K-M-P factor clock

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that use a combination of two linear multipliers (N and K factors), one linear divider (M) and one power of two divider (P). Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 5 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_n

Re: [PATCH v1 1/2] Add the initify gcc plugin

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 23:05:56 +0200 Rasmus Villemoes wrote: > On Tue, Jun 28 2016, Emese Revfy wrote: > > > The kernel already has a mechanism to free up code and data memory that > > is only used during kernel or module initialization. > > This plugin will teach the compiler to find more such c

[PATCH v3 05/14] clk: sunxi-ng: Add mux clock support

2016-06-29 Thread Maxime Ripard
Some clocks in the Allwinner SoCs clocks unit are just muxes. However, those muxes might also be found in some other complicated clocks that would benefit from the code in there to deal with "advanced" features, like pre-dividers. Introduce a set of helpers to reduce the code duplication in such

[PATCH v3 02/14] clk: sunxi-ng: Add common infrastructure

2016-06-29 Thread Maxime Ripard
Start our new clock infrastructure by adding the registration code, common structure and common code. Signed-off-by: Maxime Ripard --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/sunxi-ng/Kconfig | 3 ++ drivers/clk/sunxi-ng/Makefile

[PATCH v3 11/14] clk: sunxi-ng: Add N-K-M Factor clock

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that multiply and divide using two linear multipliers and one linear divider. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 5 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nkm.c | 153 ++

[PATCH v2] sched/deadline: remove useless param from setup_new_dl_entity

2016-06-29 Thread Juri Lelli
setup_new_dl_entity() takes two parameters, but it only actually uses one of them, under a different name, to setup a new dl_entity, after: 2f9f3fdc928 "sched/deadline: Remove dl_new from struct sched_dl_entity" as we currently do setup_new_dl_entity(&p->dl, &p->dl) However, before Luca's cha

[PATCH v3 06/14] clk: sunxi-ng: Add phase clock support

2016-06-29 Thread Maxime Ripard
Add support for the clocks in the CCU that introduce a phase shift from their parent clock. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 3 + drivers/clk/sunxi-ng/Makefile| 1 + drivers/clk/sunxi-ng/ccu_phase.c | 126 +++ drivers

[PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation

2016-06-29 Thread Maxime Ripard
Introduce a new binding with its documentation for the brand new clock sub-framework. Signed-off-by: Maxime Ripard --- .../devicetree/bindings/clock/sunxi-ccu.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/sunx

[PATCH v3 00/14] clk: sunxi: introduce "modern" clock support

2016-06-29 Thread Maxime Ripard
Hi, This is the third attempt at introducing clock support for the Allwinner SoCs following the current model used by pretty much all the other SoCs. Such a conversion has been suggested on a regular basis by Mike and Stephen, and here is a first implementation. This new approach has a good numb

[PATCH v3 04/14] clk: sunxi-ng: Add gate clock support

2016-06-29 Thread Maxime Ripard
Some clocks in the Allwinner SoCs clocks unit are just simple gates. Add support for those clocks. Since it's a feature that can also be found in more complex clocks, provide a bunch of helpers that can be reused later on. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 3 ++

[PATCH v3 03/14] clk: sunxi-ng: Add fractional lib

2016-06-29 Thread Maxime Ripard
Some clocks can be switched to a mode called fractional that have two fixed output rate you can choose from. Add a small library to deal with those clocks. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 9 drivers/clk/sunxi-ng/Makefile | 3 ++ drivers/clk/sunxi-ng

[PATCH v3 07/14] clk: sunxi-ng: Add divider

2016-06-29 Thread Maxime Ripard
Add support for the various dividers (linear, table or pow-of-two based) found in the CCU. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 4 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_div.c | 136 + drivers/clk

[PATCH v3 14/14] ARM: dt: sun8i: switch the H3 to the new CCU driver

2016-06-29 Thread Maxime Ripard
Now that we have a different clock representation, switch to it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-h3.dtsi | 312 1 file changed, 60 insertions(+), 252 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/s

[PATCH v3 13/14] clk: sunxi-ng: Add H3 clocks

2016-06-29 Thread Maxime Ripard
Add the list of clocks and resets found in the H3 CCU. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 13 + drivers/clk/sunxi-ng/Makefile| 3 + drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 826 +++ drivers/clk/sunxi-ng/ccu-sun

[PATCH v3 10/14] clk: sunxi-ng: Add N-M-factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that multiply and divide using linear factors. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 6 +++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nm.c | 114 ++ drivers/clk/sunxi-ng/ccu_nm

[PATCH v3 08/14] clk: sunxi-ng: Add M-P factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for the clocks that combine a linear divider and a power-of-two based one. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 7 ++ drivers/clk/sunxi-ng/Makefile | 3 + drivers/clk/sunxi-ng/ccu_mp.c | 158 ++ drivers/clk

[PATCH v3 09/14] clk: sunxi-ng: Add N-K-factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that use a combination of two linear multipliers. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 4 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nk.c | 147 ++ drivers/clk/sunxi-ng/ccu_

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread Luis R. Rodriguez
On Tue, Jun 14, 2016 at 11:35:11AM -0700, Luis R. Rodriguez wrote: > copyleft-next [0] [1] is an openly evolved copyleft license, its an > effort to evolve copyleft without participation of the Church (TM) > or State (R), completley openly to the extend development and > discussion of copyleft-next

[PATCH v2 1/1] x86/platform/intel-mid: Add pinctrl for Intel Merrifield

2016-06-29 Thread Andy Shevchenko
Intel Merrifield uses a special address space reserved for Family-Level Interface Shim (FLIS) that allows consumers to mux and configure pins. Create a platform device for it. Signed-off-by: Andy Shevchenko --- In v2: - add missed header (asm/intel-mid.h) arch/x86/platform/intel-mid/device_libs

Re: [PATCH 3/3] dt-bindings: Document the STM32 USB OTG DWC2 core binding

2016-06-29 Thread Bruno Herrera
On Tue, Jun 28, 2016 at 5:54 PM, Rob Herring wrote: > On Fri, Jun 24, 2016 at 03:51:18PM -0300, Bruno Herrera wrote: >> On Fri, Jun 24, 2016 at 12:41 PM, Rob Herring wrote: >> > On Tue, Jun 21, 2016 at 11:25:49PM -0300, Bruno Herrera wrote: >> >> Signed-off-by: Bruno Herrera >> >> --- >> >> Doc

Re: [RFC 0/7] net: ethernet: bgmac: Add platform device support

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > I'm sending out this RFC to see if this is the direction the maintainers > would like to go to add support for other, non-bcma iProc SoC's to the > bgmac driver. Specifically, we are interested in adding support for the > NSP, Cygnus, and NS2 families (wi

Re: [PATCH 1/2] lib: hexdump: use a look-up table to do hex_to_bin

2016-06-29 Thread Andy Shevchenko
On Wed, 2016-06-29 at 20:31 +0200, Michal Nazarewicz wrote: > On Thu, Jun 30 2016, zengzhaoxiu wrote: > > From: Zhaoxiu Zeng > > > > Signed-off-by: Zhaoxiu Zeng > > --- > >  include/linux/kernel.h | 15 ++- > >  lib/hexdump.c  | 36 +++- > >  2 f

Re: [PATCH 20/21] phy: Add support for Qualcomm's USB HSIC phy

2016-06-29 Thread Stephen Boyd
Quoting Neil Armstrong (2016-06-29 02:16:51) > On 06/28/2016 11:58 PM, Stephen Boyd wrote: > > Quoting Neil Armstrong (2016-06-28 01:49:37) > >> On 06/26/2016 09:28 AM, Stephen Boyd wrote: > >>> + uphy->cal_sleep_clk = clk = devm_clk_get(&ulpi->dev, "cal_sleep"); > >>> + if (IS_ERR(clk)) >

Re: [PATCH v2 0/4] ASoC: sunxi: Add i2s controller support

2016-06-29 Thread Mark Brown
On Mon, Jun 27, 2016 at 08:32:38PM +0200, Maxime Ripard wrote: > Any comments on this one? Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical b

Re: [RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > The bcma portion of the driver has been split off into a bcma specific > driver. This has been mirrored for the platform driver. The last > references to the bcma core struct have been changed into a generic > function call. These function calls are wra

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-29 Thread Stephen Boyd
Quoting Roger Quadros (2016-06-28 23:10:57) > On 29/06/16 01:01, Stephen Boyd wrote: > > Quoting Roger Quadros (2016-06-28 02:13:57) > >> On 28/06/16 11:47, Stephen Boyd wrote: > >>> > >>> Sorry I must have confused you. There are two modules in the PMIC that > >>> are doing detection here. The cha

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread kbuild test robot
Hi, [auto build test WARNING on linus/master] [also build test WARNING on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Oleg-Nesterov/kthread-to_live_kthread-needs

[PATCH v1 1/1] x86/platform/intel-mid: Add pinctrl for Intel Merrifield

2016-06-29 Thread Andy Shevchenko
Intel Merrifield uses a special address space reserved for Family-Level Interface Shim (FLIS) that allows consumers to mux and configure pins. Create a platform device for it. Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/device_libs/Makefile | 2 ++ .../intel-mid/device_lib

Re: [PATCH v1 2/2] Mark functions with the __nocapture attribute

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 14:00:57 -0700 Joe Perches wrote: > On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote: > > On Tue, 28 Jun 2016 09:43:31 -0700 Joe Perches wrote: > > > On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wrote: > > > > The nocapture gcc attribute can be on functions only. > > >

<    1   2   3   4   5   6   7   8   9   >