[PATCH v2 0/5] KVM: VMX: Fix single stepping with emulated instructions

2016-11-29 Thread Kyle Huey
KVM does not currently honor the trap flag when emulating instructions that cause VM exits. This is observable from guest userspace, try stepping on a CPUID instruction in gdb in a KVM guest. The program will stop two instructions after CPUID. To fix this, add kvm_skip_emulated_instruction that ca

BUG: oops and lock with rfcomm, while connecting

2016-11-29 Thread P. Christeas
Hi, I would appreciate if somebody can take a quick look and tell me if the attached trace makes any sense. Story is, this happened while trying to connect ppp over BT, with USB external dongle and device (bt phone) in range. Kernel is Linus's latest, but I suspect the bug is a one-off probab

[PATCH v2 4/5] KVM: x86: Add kvm_skip_emulated_instruction and use it.

2016-11-29 Thread Kyle Huey
kvm_skip_emulated_instruction calls both kvm_x86_ops->skip_emulated_instruction and kvm_vcpu_check_singlestep, skipping the emulated instruction and generating a trap if necessary. Replacing skip_emulated_instruction calls with kvm_skip_emulated_instruction is straightforward, except for: - ICEBP

[PATCH v2 3/5] KVM: VMX: Move skip_emulated_instruction out of nested_vmx_check_vmcs12

2016-11-29 Thread Kyle Huey
We can't return both the pass/fail boolean for the vmcs and the upcoming continue/exit-to-userspace boolean for skip_emulated_instruction out of nested_vmx_check_vmcs, so move skip_emulated_instruction out of it instead. Additionally, VMENTER/VMRESUME only trigger singlestep exceptions when they a

[PATCH v2 1/5] KVM: x86: Add a return value to kvm_emulate_cpuid

2016-11-29 Thread Kyle Huey
Once skipping the emulated instruction can potentially trigger an exit to userspace (via KVM_GUESTDBG_SINGLESTEP) kvm_emulate_cpuid will need to propagate a return value. Signed-off-by: Kyle Huey --- arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/cpuid.c| 3 ++- arch/x86/kvm/sv

[PATCH v2 2/5] KVM: VMX: Reorder some skip_emulated_instruction calls

2016-11-29 Thread Kyle Huey
The functions being moved ahead of skip_emulated_instruction here don't need updated IPs, and skipping the emulated instruction at the end will make it easier to return its value. Signed-off-by: Kyle Huey --- arch/x86/kvm/vmx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

[PATCH v2 5/5] KVM: x86: Do not clear RFLAGS.TF when a singlestep trap occurs.

2016-11-29 Thread Kyle Huey
The trap flag stays set until software clears it. Signed-off-by: Kyle Huey --- arch/x86/kvm/x86.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 7b38c5e..dd6b41e 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -5414,17 +5414,16 @@ sta

Re: [RFD] Common userspace tool for fscypto

2016-11-29 Thread Richard Weinberger
Michael, On 19.10.2016 19:36, Michael Halcrow wrote: >> That said, what about implementing such a tool as part of util-linux to >> control >> fscrypto? We (David and I) would volunteer. > > While discussing several changes we have staged for release (we're > trying to minimize churn by batching

Re: [PATCH] Input: mouse: pxa930_trkball - change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Yong Yao, Greetings! I am Aniroop Mathur from Samsung R&D Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it before actually applying it. As you are t

Re: [PATCH 1/2] bcache: Remove redundant set_capacity

2016-11-29 Thread Eric Wheeler
On Fri, 25 Nov 2016, Yijing Wang wrote: > set_capacity() has been called in bcache_device_init(), > remove the redundant one. > > Signed-off-by: Yijing Wang > --- > drivers/md/bcache/super.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/md/bcache/super.c b/drivers/md/bcach

RE: [PATCH] staging: unisys: ix spelling mistake of "outstanding"

2016-11-29 Thread Kershner, David A
> -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Tuesday, November 29, 2016 2:07 PM > To: Kershner, David A ; Greg Kroah-Hartman > ; Sell, Timothy C ; > Binder, David Anthony ; Arfvidson, Erik > ; Frisch, Jon ; Amitoj > Kaur Chawla ; *S-Par-Maintainer > ;

Re: [PATCH v2 1/1] staging: ks7010: fixed 'space prohibited after that *' erros.

2016-11-29 Thread Greg KH
On Fri, Nov 25, 2016 at 03:20:41PM +0530, Yamanappagouda Patil wrote: > Fixed checkpatch.pl errors related to "space prohibited after that '*' > or '&'" in ks_wlan_net.c file. > > Signed-off-by: Yamanappagouda Patil > --- > drivers/staging/ks7010/ks_wlan_net.c | 12 ++-- > 1 file changed

Re: [PATCH] Input: touchscreen: edt_ft5x06 - change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Simon Budig / Daniel Wagener / Lothar Waßmann, Greetings! I am Aniroop Mathur from Samsung R&D Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it bef

Re: [PATCH]: Staging: rtl8192e: Block comments use a trailing */ on a separate line

2016-11-29 Thread Greg KH
On Sat, Nov 26, 2016 at 11:06:40PM +0530, Rahul Krishnan wrote: > This patch fixes the following checkpath.pl warning > WARNING: Block comments use a trailing */ on a separate line Why is this indented? And why does your Subject have an extra ':' right after "[PATCH]"? Please fix. thanks, gr

Re: [PATCH] staging: fbtft: remove duplicate entries of ili9225

2016-11-29 Thread Greg KH
On Mon, Nov 28, 2016 at 05:55:29PM +0530, Amitesh Singh wrote: > Signed-off-by: Amitesh Singh > --- I can't take patches without a changelog text :(

Re: [PATCH] PM / OPP: Allow inactive opp_device to be present in dev list

2016-11-29 Thread Stephen Boyd
On 11/29, Viresh Kumar wrote: > On 28-11-16, 18:46, Stephen Boyd wrote: > > Anyway, rant over, how about handing out the opp table pointer to > > the caller so they can pass it back in when they call the put > > side? That should fix the same problem if I understand correctly. > > Hmm, so the prob

Re: [PATCH] Staging: gs_fpgaboot: fix indentation sytle in io.c

2016-11-29 Thread Greg KH
On Tue, Nov 29, 2016 at 11:46:56AM -0500, Thomas Casey wrote: > This patch properly aligns a statement with arguments on multiple lines > found by the checkpatch.pl script > > Signed-off-by: Thomas Casey > --- > drivers/staging/gs_fpgaboot/io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH] Input: touchscreen: w90p910 - change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Wan ZongShun, Greetings! I am Aniroop Mathur from Samsung R&D Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it before actually applying it. As you a

Re: [PATCH 0/2] ACPI: Ignore Consumer/Producer for QWord/DWord/Word Address Space

2016-11-29 Thread Rafael J. Wysocki
Hi, On Tue, Nov 29, 2016 at 7:43 PM, Bjorn Helgaas wrote: > Per spec, the Consumer/Producer bit is defined only for Extended > Address Space descriptors and should be ignored for QWord/DWord/Word > Address Space descriptors. My understanding is that this is because > x86 BIOSes didn't use the bi

Donation

2016-11-29 Thread Lopez Omar
Hello, My name is Gloria C. Mackenzie, i have a Monetary Donation to make for less privilege and yourself and your organization, am writing you with a friend's email, please contact me on g_macken...@rogers.com

Re: [PATCH] Input: touchscreen: zylonite_wm97xx - change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Mark Brown / Ian Molton / Andrew Zabolotny, Greetings! I am Aniroop Mathur from Samsung R&D Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it before

Re: [PATCH] staging: unisys: ix spelling mistake of "outstanding"

2016-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 29, 2016 at 08:37:35PM +, Kershner, David A wrote: > > > > -Original Message- > > From: Colin King [mailto:colin.k...@canonical.com] > > Sent: Tuesday, November 29, 2016 2:07 PM > > To: Kershner, David A ; Greg Kroah-Hartman > > ; Sell, Timothy C ; > > Binder, David Anthon

Re: [PATCH] Staging: comedi: cb_pcidda: fixed a comment style issue

2016-11-29 Thread Greg KH
On Mon, Nov 28, 2016 at 10:50:33PM -0800, Elias Carter wrote: > Fixed a coding style issue What one? Be specific. > > Signed-off-by: Elias Carter > --- > drivers/staging/comedi/drivers/cb_pcidda.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) This patch doesn't apply to my tree

Re: [PATCH] Input: mouse: synaptics - change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Mike Rapoport, Igor Grinberg, Greetings! I am Aniroop Mathur from Samsung R&D Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it before actually apply

Re: AMD Bulldozer topology regression since 4.6

2016-11-29 Thread Brice Goglin
Le 29/11/2016 20:39, Borislav Petkov a écrit : > Does that fix it? > > Patch is against latest tip/master because we have some more changes in > that area. I tested the second patch on top of 4.8.11, it brings core_id back to where it was before 4.6, thanks. Reported-and-tested-by: Brice Goglin

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-29 Thread Stephen Boyd
On 11/24, Kuninori Morimoto wrote: > > Hi Stephen, again > > > > I've seen bindings that have the 'clocks' property at the top > > > level and the appropriate 'clock-names' property to relate the > > > clocks to a subnode. > > > > > > sound_soc { > > > clocks = <&xxx>, <&xxx>; > > >

Re: [tip:x86/urgent] x86/apic/uv: Silence a shift wrapping warning

2016-11-29 Thread Alex Thorlton
On Wed, Nov 23, 2016 at 10:25:48PM -0800, tip-bot for Dan Carpenter wrote: > Commit-ID: c4597fd756836a5fb7900f2091797ab564390ad0 > Gitweb: http://git.kernel.org/tip/c4597fd756836a5fb7900f2091797ab564390ad0 > Author: Dan Carpenter > AuthorDate: Thu, 24 Nov 2016 01:19:08 +0300 > Committer:

Re: [PATCH] kernel/watchdog.c: Do not hardcode CPU 0 as the initial thread

2016-11-29 Thread Don Zickus
On Tue, Nov 29, 2016 at 08:15:21AM -0500, Prarit Bhargava wrote: > When CONFIG_BOOTPARAM_HOTPLUG_CPU0 is enabled, the socket containing the > boot cpu can be replaced. During the hot add event, the message > > NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter. > > is out

Re: [PATCH v2 2/3] Input: ti_am335x_tsc: Add support for ti,charge-delay-ns

2016-11-29 Thread Dmitry Torokhov
On Fri, Nov 11, 2016 at 01:28:19PM +0530, Mugunthan V N wrote: > ti,charge-delay will be deprecated as it represents number of > clock cycles and the DT entries are done in assumption of 3MHz > TSCADC clock, but clock can be set upto 24MHz. So driver add > support for ti,charge-delay-ns and do not

Re: [PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS

2016-11-29 Thread Dmitry Torokhov
On Tue, Nov 29, 2016 at 11:11:35AM +0530, Mugunthan V N wrote: > On Friday 25 November 2016 03:29 PM, Lee Jones wrote: > > On Fri, 25 Nov 2016, Mugunthan V N wrote: > > > >> Hi Dmitry Torokhov, > >> > >> On Thursday 10 November 2016 10:05 PM, Mugunthan V N wrote: > >>> This patch series enables AD

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-29 Thread Stephen Boyd
On 11/24, Xiaolong Zhang wrote: > On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > > > We're really off track now though. Can you please point to some > > code that needs this change? If we're using DT then we should be > > able to use the of_clk_*() path to find the clk. > > > > Act

Re: [PATCH v2 1/3] clk: uniphier: remove unneeded member name for union

2016-11-29 Thread Stephen Boyd
On 11/24, Masahiro Yamada wrote: > The struct member name of a union is unneeded. This makes the code > a bit shorter. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2 3/3] clk: uniphier: add cpufreq data for LD11, LD20 SoCs

2016-11-29 Thread Stephen Boyd
On 11/24, Masahiro Yamada wrote: > Add more data to 64bit SoCs for the cpufreq support. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2 2/3] clk: uniphier: add CPU-gear change (cpufreq) support

2016-11-29 Thread Stephen Boyd
On 11/24, Masahiro Yamada wrote: > Core support code for CPU frequency changes, which will be used by > the generic cpufreq driver. > > The register view is different from the generic clk-mux; it has > a separate status register, and an update bit to load the register > setting. > > Signed-off-by

Re: [PATCH v2 2/2] eeprom: Add IDT 89HPESx driver bindings file

2016-11-29 Thread Serge Semin
On Tue, Nov 29, 2016 at 08:34:36PM +0100, Greg KH wrote: > On Tue, Nov 29, 2016 at 01:38:21AM +0300, Serge Semin wrote: > > See cover-letter for changelog > > There is no cover letter in an individual patch when it gets committed > to the tree... > > So please fix, personally, I never read cove

Re: AMD Bulldozer topology regression since 4.6

2016-11-29 Thread Borislav Petkov
On Tue, Nov 29, 2016 at 10:02:00PM +0100, Brice Goglin wrote: > However thread_siblings isn't back to where it was in 4.5. Now we have a > single bit in each thread_siblings mask. That's correct with respect to > the sysfs topology documentation. In 4.5, there were two bits (one for > each core of

Re: [PATCH v2 1/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Serge Semin
On Tue, Nov 29, 2016 at 08:37:50PM +0100, Greg KH wrote: > On Tue, Nov 29, 2016 at 01:38:20AM +0300, Serge Semin wrote: > > +struct idt_89hpesx_dev { > > + u32 eesize; > > + bool eero; > > + u8 eeaddr; > > + > > + u8 inieecmd; > > + u8 inicsrcmd; > > + u8 iniccode; > > + > > + atomi

Re: [PATCH] staging: unisys: ix spelling mistake of "outstanding"

2016-11-29 Thread Colin Ian King
On 29/11/16 21:02, Greg Kroah-Hartman wrote: > On Tue, Nov 29, 2016 at 08:37:35PM +, Kershner, David A wrote: >> >> >>> -Original Message- >>> From: Colin King [mailto:colin.k...@canonical.com] >>> Sent: Tuesday, November 29, 2016 2:07 PM >>> To: Kershner, David A ; Greg Kroah-Hartman >

[ANNOUNCE] Git v2.11.0

2016-11-29 Thread Junio C Hamano
The latest feature release Git v2.11.0 is now available at the usual places. It is comprised of 673 non-merge commits since v2.10.0, contributed by 74 people, 15 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories

next: Commit 'mm: Prevent __alloc_pages_nodemask() RCU CPU stall ...' causing hang on sparc32 qemu

2016-11-29 Thread Guenter Roeck
Hi Paul, most of my qemu tests for sparc32 targets started to fail in next-20161129. The problem is only seen in SMP builds; non-SMP builds are fine. Bisect points to commit 2d66cccd73436 ("mm: Prevent __alloc_pages_nodemask() RCU CPU stall warnings"); reverting that commit fixes t

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-29 Thread Michal Marek
Dne 29.11.2016 v 18:10 Linus Torvalds napsal(a): > How about this stupid patch? It weakens modversions, but that may be > ok for Debian, and a better alternative than just saying "we don't > support it at all". [...] > - pr_warn("%s: no symbol version for %s\n", mod->name, symname); > - ret

Re: [PATCH v2 1/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Greg KH
On Wed, Nov 30, 2016 at 12:16:25AM +0300, Serge Semin wrote: > On Tue, Nov 29, 2016 at 08:37:50PM +0100, Greg KH > wrote: > > On Tue, Nov 29, 2016 at 01:38:20AM +0300, Serge Semin wrote: > > > +struct idt_89hpesx_dev { > > > + u32 eesize; > > > + bool eero; > > > + u8 eeaddr; > > > + > > > + u8 i

Re: [PATCH v4] clkdev: add devm_of_clk_get()

2016-11-29 Thread Stephen Boyd
On 11/29, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get(). > This patch adds it. It is implemeted in clk-devres.c to share > devm_clk_release(). Please add an explanation of why we want this sort of API. The example you

Re: [PATCH RFC] user-namespaced file capabilities - now with even more magic

2016-11-29 Thread Serge E. Hallyn
Quoting Michael Kerrisk (man-pages) (mtk.manpa...@gmail.com): > On 11/25/2016 06:50 PM, Serge E. Hallyn wrote: > > On Fri, Nov 25, 2016 at 09:33:50AM +0100, Michael Kerrisk (man-pages) wrote: > >> Hi Serge, > >> > >> On 11/24/2016 11:52 PM, Serge E. Hallyn wrote: > >>> Quoting Michael Kerrisk (man-

Idea behind EXT4_IOC_GET_ENCRYPTION_PWSALT?

2016-11-29 Thread Richard Weinberger
Hi! As the subject states, I'm a bit confused wrt. EXT4_IOC_GET_ENCRYPTION_PWSALT. Will common fscrypt userspace depend on it? IIUC you want to store some salt to seed the user password. But what if /home/rw and /home/dags have different keys? Is it okay to use the same salt for both keys? Or is

Re: [char-msic 1/3] mei: me: disable driver on SPT SPS firmware

2016-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 29, 2016 at 07:21:43PM +, Winkler, Tomas wrote: > > > > On Tue, Nov 29, 2016 at 02:44:44PM +0200, Tomas Winkler wrote: > > > commit 8c57cac1457f3125a5d13dc03635c0708c61bff0 upstream > > > > > > Sunrise Point PCH with SPS Firmware doesn't expose working MEI > > > interface, we need

Re: [char-msic 2/3] mei: me: fix place for kaby point device ids.

2016-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 29, 2016 at 08:24:08PM +, Winkler, Tomas wrote: > > > > > On Tue, Nov 29, 2016 at 02:44:45PM +0200, Tomas Winkler wrote: > > > > This is fix of the backported patch only, it places KBL DIDs on > > > > correct place to easy on backporting of further DIDs. > > > > > > > > Fixes: 5c9

[PATCH v2] PCI: Add information about describing PCI in ACPI

2016-11-29 Thread Bjorn Helgaas
Here's another stab at this writeup. I'd appreciate any comments! Changes from v1 to v2: - Consumer/Producer is defined for Extended Address Space descriptors; should be ignored for QWord/DWord/Word Address Space descriptors - New arches may use Extended Address Space descriptors in PNP0A

Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add ADI pinconf support

2016-11-29 Thread Geert Uytterhoeven
Hi Laurent, On Tue, Nov 29, 2016 at 8:30 PM, Laurent Pinchart wrote: > On Tuesday 29 Nov 2016 10:11:56 Jacopo Mondi wrote: >> Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC. >> >> The Gyro-ADC supports three different configurations: >> a single ADC (adi and adi_b groups), 2

[PATCH v2] PCI: Add information about describing PCI in ACPI

2016-11-29 Thread Bjorn Helgaas
Add a writeup about how PCI host bridges should be described in ACPI using PNP0A03/PNP0A08 devices, PNP0C02 devices, and the MCFG table. Signed-off-by: Bjorn Helgaas --- Documentation/PCI/00-INDEX |2 Documentation/PCI/acpi-info.txt | 180 +++ 2 fil

RE: [char-msic 1/3] mei: me: disable driver on SPT SPS firmware

2016-11-29 Thread Winkler, Tomas
> > On Tue, Nov 29, 2016 at 07:21:43PM +, Winkler, Tomas wrote: > > > > > > On Tue, Nov 29, 2016 at 02:44:44PM +0200, Tomas Winkler wrote: > > > > commit 8c57cac1457f3125a5d13dc03635c0708c61bff0 upstream > > > > > > > > Sunrise Point PCH with SPS Firmware doesn't expose working MEI > > > > i

Re: [RFD] Common userspace tool for fscypto

2016-11-29 Thread Joe Richey
Hi Richard, I'm Joe Richey, and I work on Mike's team. We've been playing around with a few design ideas regarding a tool for managing filesystem encryption. After going though some iterations with Ted, we have a fairly good idea about where to head design wise, and I'm working on a design documen

[tip:x86/timers 8/13] arch/x86/kernel/tsc_sync.c:34: warning: unused variable 'ref'

2016-11-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers head: cc4db26899dcd0e6ff0448c77abd8eb61b1a1333 commit: 8b223bc7abe0e30e8d297a24ee6c6c07ef8d0bb9 [8/13] x86/tsc: Store and check TSC ADJUST MSR config: x86_64-randconfig-a0-11300349 (attached as .config) compiler: gcc-

RE: [char-msic 2/3] mei: me: fix place for kaby point device ids.

2016-11-29 Thread Winkler, Tomas
> > On Tue, Nov 29, 2016 at 08:24:08PM +, Winkler, Tomas wrote: > > > > > > > > On Tue, Nov 29, 2016 at 02:44:45PM +0200, Tomas Winkler wrote: > > > > > This is fix of the backported patch only, it places KBL DIDs on > > > > > correct place to easy on backporting of further DIDs. > > > > > > >

Re: [PATCH v2 1/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Serge Semin
On Tue, Nov 29, 2016 at 10:24:12PM +0100, Greg KH wrote: > On Wed, Nov 30, 2016 at 12:16:25AM +0300, Serge Semin wrote: > > On Tue, Nov 29, 2016 at 08:37:50PM +0100, Greg KH > > wrote: > > > On Tue, Nov 29, 2016 at 01:38:20AM +0300, Serge Semin wrote: > > > > +struct idt_89hpesx_dev { > > > > +

Re: [PATCH v11 0/8] powerpc: Implement kexec_file_load()

2016-11-29 Thread Andrew Morton
On Tue, 29 Nov 2016 23:45:46 +1100 Michael Ellerman wrote: > This is v11 of the kexec_file_load() for powerpc series. > > I've stripped this down to the minimum we need, so we can get this in for > 4.10. > Any additions can come later incrementally. This made a bit of a mess of Mimi's series "

Re: [v6,2/2] i2c: qup: support SMBus block read

2016-11-29 Thread Wolfram Sang
On Tue, Oct 11, 2016 at 10:27:57AM -0600, Austin Christ wrote: > From: Naveen Kaje > > I2C QUP driver relies on SMBus emulation support from the framework. > To handle SMBus block reads, the driver should check I2C_M_RECV_LEN > flag and should read the first byte received as the message length. >

[PATCH] mpt3sas: Recognize and act on iopriority info

2016-11-29 Thread Adam Manzanares
From: Adam Manzanares This patch adds support for request iopriority handling in the mpt3sas layer. This works only when a ATA device is behind the SATL. The ATA device also has to indicate that it supports command priorities in the identify information that is pulled from the SATL. This patch d

Re: [v6,1/2] i2c: qup: add ACPI support

2016-11-29 Thread Wolfram Sang
On Tue, Oct 11, 2016 at 10:27:56AM -0600, Austin Christ wrote: > From: Naveen Kaje > > Add support to get the device parameters from ACPI. Assume > that the clocks are managed by firmware. > > Signed-off-by: Naveen Kaje > Signed-off-by: Austin Christ > Reviewed-by: Sricharan R Applied to for

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-29 Thread Maxime Ripard
On Mon, Nov 28, 2016 at 06:24:24PM +0800, Chen-Yu Tsai wrote: > On Mon, Nov 28, 2016 at 6:19 PM, Icenowy Zheng wrote: > > > > > > 28.11.2016, 18:07, "Chen-Yu Tsai" : > >> On Mon, Nov 28, 2016 at 5:59 PM, Icenowy Zheng wrote: > >>> As there's currently a fork of U-Boot which provides simplefb sup

Re: [PATCH v3 0/8] mm/swap: Regular page swap optimizations

2016-11-29 Thread Andrew Morton
On Mon, 28 Nov 2016 13:14:01 -0800 Tim Chen wrote: > On Tue, 2016-11-15 at 15:47 -0800, Tim Chen wrote: > > Andrew, > > > > It seems like there are no objections to this patch series so far. > > Can you help us get this patch series to be code reviewed in more__ > > depth so it can be considered

Re: [POC/RFC PATCH] overlayfs: constant inode numbers

2016-11-29 Thread Miklos Szeredi
On Tue, Nov 29, 2016 at 1:03 PM, Amir Goldstein wrote: > On Tue, Nov 29, 2016 at 1:34 PM, Amir Goldstein wrote: >> On Tue, Nov 29, 2016 at 12:16 PM, Miklos Szeredi wrote: >>> On Mon, Nov 28, 2016 at 12:56 PM, Amir Goldstein wrote: >> Not sure that I understand what you are suggesting, but I wo

Re: [PATCH v3 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-29 Thread Brian Norris
Hi Eduardo, I'm not sure I completely understand what you're asking, but I'll see what I can answer. On Mon, Nov 28, 2016 at 05:45:54PM -0800, Eduardo Valentin wrote: > On Mon, Nov 28, 2016 at 07:12:02PM +0800, Caesar Wang wrote: > > The temp_to_code function will return 0 when we set the tempera

Re: [RFD] Common userspace tool for fscypto

2016-11-29 Thread Richard Weinberger
Joe, On 29.11.2016 22:42, Joe Richey wrote: > Hi Richard, > > I'm Joe Richey, and I work on Mike's team. We've been playing around > with a few design > ideas regarding a tool for managing filesystem encryption. After going > though some iterations > with Ted, we have a fairly good idea about whe

Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-29 Thread Maxime Ripard
On Mon, Nov 28, 2016 at 11:42:18AM +0100, Jean-Francois Moine wrote: > On Mon, 28 Nov 2016 17:59:00 +0800 > Icenowy Zheng wrote: > > > As there's currently a fork of U-Boot which provides simplefb support > > for H3, a simplefb node can be added to the device tree. > > > > Signed-off-by: Icenowy

Re: [PATCH v3 0/8] mm/swap: Regular page swap optimizations

2016-11-29 Thread Tim Chen
On Tue, 2016-11-29 at 13:50 -0800, Andrew Morton wrote: > On Mon, 28 Nov 2016 13:14:01 -0800 Tim Chen > wrote: > > > > > On Tue, 2016-11-15 at 15:47 -0800, Tim Chen wrote: > > > > > > Andrew, > > > > > > It seems like there are no objections to this patch series so far. > > > Can you help us

Re: [PATCH v2] vfs: fix put_compat_statfs64() does not handle errors

2016-11-29 Thread Andreas Dilger
> On Nov 15, 2016, at 2:19 AM, Li Wang wrote: > > put_compat_statfs64() does NOT return -1 and setting errno to EOVERFLOW > when some variables(like: f_bsize) overflowed in the returned struct. > > The reason is that the ubuf->f_blocks is __u64 type, it couldn't be > 4bits as the judgement in p

Re: [PATCH RESEND 2/2] gpio: axp209: add pinctrl support

2016-11-29 Thread Quentin Schulz
Hi Linus, On 24/11/2016 15:17, Linus Walleij wrote: > On Wed, Nov 23, 2016 at 3:11 PM, Quentin Schulz > wrote: > >> The GPIOs present in the AXP209 PMIC have multiple functions. They >> typically allow a pin to be used as GPIO input or output and can also be >> used as ADC or regulator for examp

[PATCH] soc: ti: qmss: fix the case when !SMP

2016-11-29 Thread Grygorii Strashko
The irq_set_affinity_hint() will always fail when !SMP and Networking will fail on Keystone 2 devices in this case. Hence, fix by ignoring IRQ affinity settings when !SMP. Cc: Murali Karicheri Signed-off-by: Grygorii Strashko --- drivers/soc/ti/knav_qmss_queue.c | 2 +- 1 file changed, 1 insert

Re: [PATCH v11 0/8] powerpc: Implement kexec_file_load()

2016-11-29 Thread Thiago Jung Bauermann
Hello Andrew, Am Dienstag, 29. November 2016, 13:45:18 BRST schrieb Andrew Morton: > On Tue, 29 Nov 2016 23:45:46 +1100 Michael Ellerman wrote: > > This is v11 of the kexec_file_load() for powerpc series. > > > > I've stripped this down to the minimum we need, so we can get this in for > > 4.10

Re: [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Boris Ostrovsky
On 11/29/2016 01:55 PM, Laura Abbott wrote: > __pa_symbol is the correct macro to use on kernel > symbols. Switch to this from __pa. > > Signed-off-by: Laura Abbott > --- > Found during a sweep of the kernel. Untested. > --- > drivers/xen/xenbus/xenbus_dev_backend.c | 2 +- > drivers/xen/xenfs/xe

[PATCH] net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during resume

2016-11-29 Thread Grygorii Strashko
netif_set_real_num_tx/rx_queues() are required to be called with rtnl_lock taken, otherwise ASSERT_RTNL() warning will be triggered - which happens now during System resume from suspend: cpsw_resume() |- cpsw_ndo_open() |- netif_set_real_num_tx/rx_queues() |- ASSERT_RTNL(); Hence, fix it by

[PATCH v3 0/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Serge Semin
Changelog v3: - Get rid of dev_*_idt() macros - Replace to_pdev_kobj() macro with naked dev_get_drvdata() call - Return naked 0 instead of SUCCESS macro - IDT CSR debug file is moved to debugfs - BIN_ATTR_RW is used to declare sysfs binary attribute - Moved bindings file to a separate patch - Need

[PATCH v3 2/2] eeprom: Add IDT 89HPESx driver dts-binding file

2016-11-29 Thread Serge Semin
IDT 89HPESx PCIe-switches exposes SMBus interface to have an access to the device CSRs and EEPROM. So to properly utilize the interface functionality, developer should declare a valid dts-file node, which would refer to the corresponding 89HPESx device. Signed-off-by: Serge Semin --- .../devicet

linux-next: build failure after merge of the cifs tree

2016-11-29 Thread Stephen Rothwell
Caused by commit 36c659cf9241 ("SMB3: parsing for new snapshot timestamp mount parm") CONFIG_CIFS_SMB2 is not set for this build ... I have used the cifs tree from next-20161129 for today. -- Cheers, Stephen Rothwell

[PATCH v3 1/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Serge Semin
This driver provides an access to EEPROM of IDT PCIe-switches. IDT PCIe- switches expose a simple SMBus interface to perform IO-operations from/to EEPROM, which is located at private (so called Master) SMBus. The driver creates a simple binary sysfs-file to have an access to the EEPROM using the

Re: [PATCH 3/3] z3fold: discourage use of pages that weren't compacted

2016-11-29 Thread Dan Streetman
On Mon, Nov 28, 2016 at 9:14 AM, Vitaly Wool wrote: > On Fri, Nov 25, 2016 at 7:25 PM, Dan Streetman wrote: >> On Tue, Nov 15, 2016 at 11:00 AM, Vitaly Wool wrote: >>> If a z3fold page couldn't be compacted, we don't want it to be >>> used for next object allocation in the first place. >> >> why

Re: [PATCH 0/2] z3fold fixes

2016-11-29 Thread Dan Streetman
On Sat, Nov 26, 2016 at 2:15 PM, Vitaly Wool wrote: > Here come 2 patches with z3fold fixes for chunks counting and locking. As > commit 50a50d2 ("z3fold: don't fail kernel build is z3fold_header is too > big") was NAK'ed [1], I would suggest that we removed that one and the next > z3fold commi

Re: [PATCH 0/2] z3fold fixes

2016-11-29 Thread Andrew Morton
On Tue, 29 Nov 2016 17:33:19 -0500 Dan Streetman wrote: > On Sat, Nov 26, 2016 at 2:15 PM, Vitaly Wool wrote: > > Here come 2 patches with z3fold fixes for chunks counting and locking. As > > commit 50a50d2 ("z3fold: don't fail kernel build is z3fold_header is too > > big") was NAK'ed [1], I w

Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO latency

2016-11-29 Thread Tejun Heo
Hello, On Tue, Nov 29, 2016 at 10:30:44AM -0800, Shaohua Li wrote: > > As discussed separately, it might make more sense to just use the avg > > of the closest bucket instead of trying to line-fit the buckets, but > > it's an implementation detail and whatever which works is fine. > > that is sti

[RELEASE] LTTng-modules 2.9.0 (Linux kernel tracer)

2016-11-29 Thread Mathieu Desnoyers
This is the official announcement of the release of LTTng-modules 2.9.0. Release name: Joannès. The LTTng modules provide Linux kernel tracing capability to the LTTng 2.9 tracer toolset. New and Noteworthy for LTTng-modules 2.9: * Various performance improvements. Tested on x86-64 and ARM32. * A

[RELEASE] LTTng-UST 2.9.0 (Linux user-space tracer)

2016-11-29 Thread Mathieu Desnoyers
This is the official announcement of the release of LTTng-UST 2.9.0. Release name: Joannès. LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a low-overhead application tracer. The library "liblttng-ust" enables tracing of applications and libraries. New and Noteworthy for L

Re: [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Laura Abbott
On 11/29/2016 02:26 PM, Boris Ostrovsky wrote: > On 11/29/2016 01:55 PM, Laura Abbott wrote: >> __pa_symbol is the correct macro to use on kernel >> symbols. Switch to this from __pa. >> >> Signed-off-by: Laura Abbott >> --- >> Found during a sweep of the kernel. Untested. >> --- >> drivers/xen/x

PROBLEM-PERSISTS: dmesg spam: alloc_contig_range: [XX, YY) PFNs busy

2016-11-29 Thread Robin H. Johnson
I didn't get any responses to this. git bisect shows that the problem did actually exist in 4.5.0-rc6, but has gotten worse by many orders of magnitude (< 1/week to ~20M/hour). Presently with 4.9-rc5, it's now writing ~2.5GB/hour to syslog. The list of addresses in that time is only ~80 unique r

[PATCH] arm: add stat support to fiq

2016-11-29 Thread Oussama Ghorbel
This patch allows drivers that uses fiq to have a stat on the execution number of the fiq handler. For that three APIs has been defined: - fiq_kstat_enable: this function enables fiq stat and allocates required memory for it - fiq_kstat_disable: this function disable fiq stat and free its allocated

[PATCH v7] Input: synaptics-rmi4 - add support for F34 V7 bootloader

2016-11-29 Thread Nick Dyer
Port firmware update code from Samsung Galaxy S7 driver into mainline framework. This patch has been tested on Synaptics S7813. Signed-off-by: Nick Dyer Tested-by: Chris Healy --- Hi Dmitry- Here's an updated version of the F34 V7 support. This patch applies on top of dtor/synaptics-rmi4. Th

Re: [PATCH V4 15/15] blk-throttle: add latency target support

2016-11-29 Thread Tejun Heo
Hello, On Tue, Nov 29, 2016 at 10:14:03AM -0800, Shaohua Li wrote: > What the patches do doesn't conflict what you are talking about. We need a way > to detect if cgroups are idle or active. I think the problem is how to define > 'active' and 'idle'. We must quantify the state. We could use: > 1.

[PATCH V8 0/3] irqchip: qcom: Add IRQ combiner driver

2016-11-29 Thread Agustin Vega-Frias
Add support for IRQ combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. The first patch adds support for ResourceSource/IRQ domain mapping when using Extended IRQ Resources with a specific ResourceSource. The patch prevents the ACPI core fr

[PATCH V8 2/3] ACPI: Retry IRQ conversion if it failed previously

2016-11-29 Thread Agustin Vega-Frias
This allows probe deferral to work properly when a dependent device fails to get a valid IRQ because the IRQ domain was not registered at the time the resources were added to the platform_device. Signed-off-by: Agustin Vega-Frias --- drivers/acpi/irq.c | 144

[PATCH V8 3/3] irqchip: qcom: Add IRQ combiner driver

2016-11-29 Thread Agustin Vega-Frias
Driver for interrupt combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. An interrupt combiner in this block combines a set of interrupts by OR'ing the individual interrupt signals into a summary interrupt signal routed to a parent interrup

[PATCH V8 1/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-11-29 Thread Agustin Vega-Frias
When an Extended IRQ Resource contains a valid ResourceSource use it to map the IRQ on the domain associated with the ACPI device referenced. With this in place an irqchip driver can create its domain using irq_domain_create_linear and pass the device fwnode to create the domain mapping. When depe

Re: 4.9-rc7: (forcedeth?) BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-11-29 Thread Eric Dumazet
On Tue, 2016-11-29 at 12:06 -0800, Linus Torvalds wrote: > On Nov 29, 2016 11:58 AM, "Eric Dumazet" > wrote: > > > > nv_do_nic_poll() is simply buggy and needs a fix. > > > > synchronize_irq() can sleep. > > Yes, but why did it start showing up now? None of this has changed as > far as I can see?

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-29 Thread Marc MERLIN
On Tue, Nov 29, 2016 at 09:40:19AM -0800, Marc MERLIN wrote: > Thanks for the reply and suggestions. > > On Tue, Nov 29, 2016 at 09:07:03AM -0800, Linus Torvalds wrote: > > On Tue, Nov 29, 2016 at 8:34 AM, Marc MERLIN wrote: > > > Now, to be fair, this is not a new problem, it's just varying degr

[PATCH for-next 0/6] IB/hns: Bug Fixes for HNS RoCE Driver

2016-11-29 Thread Salil Mehta
This patch-set contains bug fixes for the HNS RoCE driver. Lijun Ou (1): IB/hns: Fix the IB device name Shaobo Xu (2): IB/hns: Fix the bug when free mr IB/hns: Fix the bug when free cq Wei Hu (Xavier) (3): IB/hns: Fix the bug when destroy qp IB/hns: Fix the bug of setting port mtu IB

[PATCH for-next 3/6] IB/hns: Fix the bug of setting port mtu

2016-11-29 Thread Salil Mehta
From: "Wei Hu (Xavier)" In hns_roce driver, we need not call iboe_get_mtu to reduce IB headers from effective IBoE MTU because hr_dev->caps.max_mtu has already been reduced. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta --- drivers/infiniband/hw/hns/hns_roce_main.c | 16 ++--

[PATCH for-next 2/6] IB/hns: Fix the bug when free mr

2016-11-29 Thread Salil Mehta
From: Shaobo Xu If the resources of mr are freed while executing the user case, hardware can not been notified in hip06 SoC. Then hardware will hold on when it reads the payload by the PA which has been released. In order to slove this problem, RoCE driver creates 8 reserved loopback QPs to ensu

[PATCH for-next 4/6] IB/hns: Delete the redundant memset operation

2016-11-29 Thread Salil Mehta
From: "Wei Hu (Xavier)" It deleted the redundant memset operation because the memory allocated by ib_alloc_device has been set zero. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta --- drivers/infiniband/hw/hns/hns_roce_main.c |3 --- 1 file changed, 3 deletions(-) diff --git a

[PATCH for-next 6/6] IB/hns: Fix the IB device name

2016-11-29 Thread Salil Mehta
From: Lijun Ou This patch mainly fix the name for IB device in order to match with libhns. Signed-off-by: Lijun Ou Signed-off-by: Salil Mehta --- drivers/infiniband/hw/hns/hns_roce_main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/hns/hns_roce

[PATCH for-next 1/6] IB/hns: Fix the bug when destroy qp

2016-11-29 Thread Salil Mehta
From: "Wei Hu (Xavier)" If send queue is still working when qp is in reset state by modify qp in destroy qp function, hardware will hold on and don't work in hip06 SoC. In current codes, RoCE driver check hardware pointer of sending and hardware pointer of processing to ensure that hardware has p

[PATCH for-next 5/6] IB/hns: Fix the bug when free cq

2016-11-29 Thread Salil Mehta
From: Shaobo Xu If the resources of cq are freed while executing the user case, hardware can not been notified in hip06 SoC. Then hardware will hold on when it writes the cq buffer which has been released. In order to slove this problem, RoCE driver checks the CQE counter, and ensure that the ou

<    4   5   6   7   8   9   10   11   >