Re: [PATCH 06/14] perf tools: show NMI overhead

2016-11-24 Thread Andi Kleen
> how about we display the overhead information same way the main perf output: > > CPUNMI NMI timeMTX MTX time SB SB time > ... . . .. > 6 27 111379 0 0 57 90045 > > > would be just matter of ad

Getting at gpio- and pinctrl-devices as a consumer

2016-11-24 Thread Peter Rosin
On 2016-11-24 20:52, Wolfram Sang wrote: >> Yes, I never liked that include, but I don't know how to get >> from struct gpio_desc * to the relevant struct device * >> without it... > > Looks to me like we should ask the GPIO maintainers if they are willing > to export this value? I am probably not

Re: [PATCH 2/5] mm: migrate: Change migrate_mode to support combination migration modes.

2016-11-24 Thread Balbir Singh
On 23/11/16 03:25, Zi Yan wrote: > From: Zi Yan > > From: Zi Yan > > No functionality is changed. I think you'd want to say that the modes are no longer exclusive. We can use them as flags in combination? Balbir Singh.

Re: [V4] powerpc: Implement {cmp}xchg for u8 and u16

2016-11-24 Thread Michael Ellerman
On Wed, 2016-04-27 at 09:16:45 UTC, xinhui wrote: > From: Pan Xinhui > > Implement xchg{u8,u16}{local,relaxed}, and > cmpxchg{u8,u16}{,local,acquire,relaxed}. > > It works on all ppc. > > remove volatile of first parameter in __cmpxchg_local and __cmpxchg > > Suggested-by: Peter Zijlstra (Inte

Re: [PATCH -tip v3 3/9] selftests: ftrace: Add --quiet option not to show error logs on screen

2016-11-24 Thread Masami Hiramatsu
On Tue, 22 Nov 2016 14:44:59 -0500 Steven Rostedt wrote: > On Wed, 16 Nov 2016 17:13:17 +0900 > Masami Hiramatsu wrote: > > > Since the verbose error logs scrolls out previous test results > > --quiet option suppress to show such message. > > I wonder if -q should be default, and -v be what we

Re: [v2, 1/2] powerpc: initial stack protector (-fstack-protector) support

2016-11-24 Thread Michael Ellerman
On Tue, 2016-11-22 at 10:49:30 UTC, Christophe Leroy wrote: > Partialy copied from commit c743f38013aef ("ARM: initial stack protector > (-fstack-protector) support") > > This is the very basic stuff without the changing canary upon > task switch yet. Just the Kconfig option and a constant canary

Re: [PATCH 0/5] Parallel hugepage migration optimization

2016-11-24 Thread Balbir Singh
On 23/11/16 03:25, Zi Yan wrote: > From: Zi Yan > > Hi all, > > This patchset boosts the hugepage migration throughput and helps THP migration > which is added by Naoya's patches: https://lwn.net/Articles/705879/. > > Motivation > === > > In x86, 4KB page migratio

Re: [PATCH 1/5] mm: migrate: Add mode parameter to support additional page copy routines.

2016-11-24 Thread Balbir Singh
On 23/11/16 03:25, Zi Yan wrote: > From: Zi Yan > > From: Zi Yan > > migrate_page_copy() and copy_huge_page() are affected. > > Signed-off-by: Zi Yan > Signed-off-by: Zi Yan > --- > fs/aio.c| 2 +- > fs/hugetlbfs/inode.c| 2 +- > fs/ubifs/file.c | 2 +- > in

[mdadm PATCH] Add failfast support.

2016-11-24 Thread NeilBrown
Allow per-device "failfast" flag to be set when creating an array or adding devices to an array. When re-adding a device which had the failfast flag, it can be removed using --nofailfast. failfast status is printed in --detail and --examine output. Signed-off-by: NeilBrown --- Hi Jes, this p

Multiple problems with the Linux kernel on an AMD desktop

2016-11-24 Thread Rogério Brito
Dear developers, I have been having problems that are starting to accumulate on my main Desktop and I decided to ask here for help, since I perceive that the majority (not all, of course) of developers are likely to use recent, Intel-based systems for their x86-64 work. My desktop has an AMD Phen

Re: [PATCH 06/14] perf tools: show NMI overhead

2016-11-24 Thread Jiri Olsa
On Fri, Nov 25, 2016 at 08:20:13AM +0900, Namhyung Kim wrote: > Hi, > > On Thu, Nov 24, 2016 at 04:27:21PM +0100, Jiri Olsa wrote: > > On Thu, Nov 24, 2016 at 01:37:04PM +, Liang, Kan wrote: > > > > > > > > > > > > > > On Wed, Nov 23, 2016 at 04:44:44AM -0500, kan.li...@intel.com wrote: > >

Re: linux-next: build failure after merge of the akpm-current tree

2016-11-24 Thread Stephen Rothwell
Hi Thiago, On Thu, 24 Nov 2016 13:02:39 -0200 Thiago Jung Bauermann wrote: > > Am Donnerstag, 24. November 2016, 16:01:51 BRST schrieb Stephen Rothwell: > > Hi Andrew, > > > > After merging the akpm-current tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > >

Re: [PATCH 0/2] KEYS: Fixes

2016-11-24 Thread David Howells
James Morris wrote: > $ git pull > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > keys-fixes-20161124-3 > fatal: Couldn't find remote ref keys-fixes-20161124-3 Ummm... Weird. I can see the tag through the web interface: http://git.kern

[RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-24 Thread Gary Bisson
This change is inspired from the pinctrl-single architecture. The problem with current implementation is that it isn't possible to add/remove functions and/or groups dynamically. The radix tree offers an easy way to do so. The intent is to offer a follow-up patch later that will enable the use of

Re: [PATCH 1/6] PM / devfreq: Fix the checkpatch warnings

2016-11-24 Thread Chanwoo Choi
On 2016년 11월 24일 19:52, Joe Perches wrote: > On Thu, 2016-11-24 at 19:46 +0900, Chanwoo Choi wrote: >> On 2016년 11월 24일 19:20, Joe Perches wrote: >>> On Thu, 2016-11-24 at 14:01 +0900, Chanwoo Choi wrote: This patch just fixes the checkpatch warnings. >>> >>> unrelated trivia: >>> diff --

Re: Getting at gpio- and pinctrl-devices as a consumer

2016-11-24 Thread Linus Walleij
On Thu, Nov 24, 2016 at 10:35 PM, Peter Rosin wrote: > The background is that the gpio- and pinctrl-based i2c-mux drivers > need to know if the device that is used to control the mux of the > i2c-bus is also sitting on that very same i2c-bus. If it is, the > locking has to be different and a bit

Re: [PATCH 0/2] KEYS: Fixes

2016-11-24 Thread James Morris
On Thu, 24 Nov 2016, David Howells wrote: > James Morris wrote: > > > $ git pull > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > > keys-fixes-20161124 > > fatal: Couldn't find remote ref keys-fixes-20161124 > > I've p

Re: [PATCH 02/14] perf/x86: output NMI overhead

2016-11-24 Thread Namhyung Kim
On Thu, Nov 24, 2016 at 07:40:21PM +, Liang, Kan wrote: > > > > > @@ -1492,8 +1507,10 @@ perf_event_nmi_handler(unsigned int cmd, > > struct pt_regs *regs) > > > start_clock = sched_clock(); > > > ret = x86_pmu.handle_irq(regs); > > > finish_clock = sched_clock(); > > > + clock = finish

Re: [PATCH] gpio: tegra186: Add support for T186 GPIO

2016-11-24 Thread Linus Walleij
Mostly it seems we are in understanding here, looking forward to the patches... On Thu, Nov 24, 2016 at 5:32 PM, Thierry Reding wrote: > On Thu, Nov 24, 2016 at 04:08:08PM +0100, Linus Walleij wrote: >> I don't understand. Userspace should have no concern about the >> numberspace. Lines can be n

[PATCH 2/3] pinctrl: sx150x: sort chips by part number

2016-11-24 Thread Peter Rosin
Signed-off-by: Peter Rosin --- .../devicetree/bindings/pinctrl/pinctrl-sx150x.txt | 6 +- drivers/pinctrl/pinctrl-sx150x.c | 142 ++--- 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-sx150x.txt

Re: [PATCH 06/14] perf tools: show NMI overhead

2016-11-24 Thread Namhyung Kim
Hi, On Thu, Nov 24, 2016 at 04:27:21PM +0100, Jiri Olsa wrote: > On Thu, Nov 24, 2016 at 01:37:04PM +, Liang, Kan wrote: > > > > > > > > > > On Wed, Nov 23, 2016 at 04:44:44AM -0500, kan.li...@intel.com wrote: > > > > From: Kan Liang > > > > > > > > Caculate the total NMI overhead on each

[PATCH v3 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-24 Thread Alexis Berlemont
Hi Hemant, Once more thank you for your answer. Sorry for this bug: I tested the patches only on small sample binaries. Now it is tested against the systemtap-enabled libraries libc and libpthread. There were 2 problems: * The one you disclosed: in indirect addressing mode, positive offsets no

[PATCH v3 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-24 Thread Alexis Berlemont
An sdt probe can be associated with arguments but they were not passed to the user probe tracing interface (uprobe_events); this patch adapts the sdt argument descriptors according to the uprobe input format. As the uprobe parser does not support scaled address mode, perf will skip arguments which

[PATCH v3 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-24 Thread Alexis Berlemont
During a "perf buildid-cache --add" command, the section ".note.stapsdt" of the "added" binary is scanned in order to list the available SDT markers available in a binary. The parts containing the probes arguments were left unscanned. The whole section is now parsed; the probe arguments are extrac

Re: [PATCH 0/2] KEYS: Fixes

2016-11-24 Thread David Howells
James Morris wrote: > $ git pull > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > keys-fixes-20161124 > fatal: Couldn't find remote ref keys-fixes-20161124 I've produced two further versions of this. Can you look at keys-fixes-20161124-3 instead? David

[PATCH v2 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-24 Thread Lino Sanfilippo
Add driver for Alacritech gigabit ethernet cards with SLIC (session-layer interface control) technology. The driver provides basic support without SLIC for the following devices: - Mojave cards (single port PCI Gigabit) both copper and fiber - Oasis cards (single and dual port PCI-x Gigabit) coppe

[PATCH v2 net-next 2/2] MAINTAINERS: add entry for slicoss ethernet driver

2016-11-24 Thread Lino Sanfilippo
Add myself as maintainer for the slicoss ethernet driver. Signed-off-by: Lino Sanfilippo --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6781a3f..bb9af28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -562,6 +562,11 @@ T: git git://linuxtv.

Gigabit ethernet driver for Alacritechs SLIC devices

2016-11-24 Thread Lino Sanfilippo
Hi, this is the second version of the slicoss gigabit ethernet driver (which is a rework of the driver from Alacritech which can currently be found under drivers/staging/slicoss). The driver is supposed to support Mojave, Oasis and Kalahari cards, for both copper and fiber. If this code is accept

Re: [PATCH 4.4 00/31] 4.4.35-stable review

2016-11-24 Thread Guenter Roeck
On 11/24/2016 06:55 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.35 release. There are 31 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

[PATCH] MAINTAINERS: Add bug tracking system location entry type

2016-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Following the kernel Bugzilla discussion during the Kernel Summit (https://lwn.net/Articles/705245/), add bug tracking system location entry type (B) to MAINTAINERS and populate it for several subsystems known to be using the kernel BZ actively (and add the upstream BZ for

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

2016-11-24 Thread Serge E. Hallyn
Quoting Michael Kerrisk (man-pages) (mtk.manpa...@gmail.com): > Hi Serge, > > On 11/19/2016 04:17 PM, Serge E. Hallyn wrote: > > Root in a user ns cannot be trusted to write a traditional > > security.capability xattr. If it were allowed to do so, then any > > unprivileged user on the host could

Re: [PATCH v2 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-11-24 Thread kbuild test robot
Hi Hari, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.9-rc6] [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/Hari-Bathini/perf-add-support-for-analyzing-events-for-contai

[PATCH] locking-selftest: Fix output since KERN_CONT changes

2016-11-24 Thread Michael Ellerman
Since the KERN_CONT changes the locking-selftest output is messed up, eg: | spin |wlock |rlock |mutex | wsem | rsem | --

Re: [PATCH 0/2] KEYS: Fixes

2016-11-24 Thread James Morris
double free in X.509 error handling. > > The patches can be found here also: > > > http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes > > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git >

RE: [char-misc-next] mei: request async autosuspend at the end of enumeration

2016-11-24 Thread Winkler, Tomas
> > On Thu, Nov 24, 2016 at 04:10:49PM +, Winkler, Tomas wrote: > > > > Cc: # 4.4+ > > > > Looks like git send-email is not able to parse this address correctly > > though this is suggested format by Documentation/stable_kernel_rules.txt. > > Create wrong address If git parsers is used : 'st

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-24 Thread Joe Perches
On Thu, 2016-11-24 at 22:44 +0100, Pavel Machek wrote: > On Thu 2016-11-24 12:05:25, Joe Perches wrote: > > On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > > > Remove duplicate code from _tx routines. > > > > trivia: > > > > > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.

hey!

2016-11-24 Thread Brown Baby
I just wanna be your friend if you can reply me back, Call me Monica.

Re: [PATCH] ARM: pxa: ezx: fix a910 camera data

2016-11-24 Thread Stefan Schmidt
Hello. On 24.11.2016 17:29, Arnd Bergmann wrote: > The camera_supply_dummy_device definition is shared between a780 and a910, > but only provided when the first is enabled and fails to build for a > configuration with only a910: > > arch/arm/mach-pxa/ezx.c:1097:3: error: 'camera_supply_dummy_devi

[PATCH] dt-bindings: document how to setup rockchip timers as clocksource

2016-11-24 Thread Alexander Kochetkov
The patch describes how to setup rockchip timers in device tree so they can be used as clocksource. I'm going to implement this feature. Signed-off-by: Alexander Kochetkov --- .../bindings/timer/rockchip,rk-timer.txt | 35 +++- 1 file changed, 34 insertions(+), 1 del

[PATCH] staging: most: Eliminate symbolic permissions usage

2016-11-24 Thread Jason Litzinger
Fix checkpatch warnings regarding the use of symbolic permissions. Where the MOST_CHANNEL_ATTR macro is used, convert to octal permissions over symbolic. Where _ATTR is used directly, replace with _ATTR_RW/_ATTR_WO and update the show/store function names appropriately. Signed-off-by: Jason Litz

[PATCH] dt-bindings: clarify compatible field usage for rockchip timers

2016-11-24 Thread Alexander Kochetkov
rk3036 dtsi file already use compatible field as "rockchip,rk3036-timer", "rockchip,rk3288-timer". The patch clearly shows how that filed should be used on other chips. Signed-off-by: Alexander Kochetkov --- .../bindings/timer/rockchip,rk-timer.txt | 12 +--- 1 file changed,

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-24 Thread Pavel Machek
On Thu 2016-11-24 12:05:25, Joe Perches wrote: > On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > > Remove duplicate code from _tx routines. > > trivia: > > > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > [] > > @

[PATCH v3] i2c: i2c-mux-gpio: update mux with gpiod_set_array_value_cansleep

2016-11-24 Thread Peter Rosin
If the gpio controller supports it and the gpio lines are concentrated to one gpio chip, the mux controller pins will get updated simultaneously. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-gpio.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) Hi! v2 ->

Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-24 Thread Maxime Ripard
On Wed, Nov 23, 2016 at 09:23:49AM +, Andre Przywara wrote: > Hi Maxime, > > On 23/11/16 07:57, Maxime Ripard wrote: > > On Tue, Nov 22, 2016 at 12:24:20AM +0800, Icenowy Zheng wrote: > >> Orange Pi Zero is a board that came with the new Allwinner H2+ SoC. > >> > >> Add a device tree file for

Re: [PATCH 1/1 linux-next] ext4: add compatibility flag check

2016-11-24 Thread Fabian Frederick
> On 24 November 2016 at 21:39 Al Viro wrote: > > > On Thu, Nov 24, 2016 at 08:47:41PM +0100, Fabian Frederick wrote: > > data=journal mount option should disable O_DIRECT access > > (See Documentation/filesystems/ext4.txt) but open operations > > using O_CREAT|O_RDWR|O_DIRECT|O_SYNC have no war

RFC: documentation of the autogroup feature [v2]

2016-11-24 Thread Michael Kerrisk (man-pages)
Hi Mike, I reworked the text on autogroups, and in the process learned something/have another question. Could you tell me if anything in the below needs fixing/improving, and also let me know about the FIXME? Thanks, Michael The autogroup feature Since Linux 2.6.38, the kernel provi

Re: [PATCH 3/3] ARM: dts: sunxi: enable SDIO Wi-Fi on Orange Pi Zero

2016-11-24 Thread Maxime Ripard
On Wed, Nov 23, 2016 at 10:25:57PM +0800, Chen-Yu Tsai wrote: > >> &r_pio { > >> @@ -111,6 +148,11 @@ > >> pins = "PL10"; > >> function = "gpio_out"; > >> }; > >> + > >> + wifi_pwrseq_pin_opi0: wifi_pwrseq_pin@0 { > >> + allwinner,pins = "PL7"; > >

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-11-24 Thread Pavel Machek
Hi! > >> I'm debugging strange delays during transmit in stmmac driver. They > >> seem to be present in 4.4 kernel (and older kernels, too). Workload is > >> burst of udp packets being sent, pause, burst of udp packets, ... ... > > 4.9-rc6 still has the delays. With the > > > > #define STMMAC_COA

[PATCH 0/3] sx150x update - bugfix, cleanup, last 4 chips

2016-11-24 Thread Peter Rosin
Hi! Yet another sx150x update, only the first is critical. Cheers, Peter Peter Rosin (3): pinctrl: sx150x: use correct registers for reg_sense (sx1502 and sx1508) pinctrl: sx150x: sort chips by part number pinctrl: sx150x: add support for sx1501, sx1504, sx1505 and sx1507 .../devicet

Re: [PATCH v5 4/5] ACPI 2.0 / AML: Improve module level execution by moving the If/Else/While execution to per-table basis

2016-11-24 Thread Rafael J. Wysocki
On Fri, Sep 23, 2016 at 5:26 AM, Lv Zheng wrote: > This reverts commit 00c611def8748a0a1cf1d31842e49b42dfdb3de1. It would be good to say why it is now OK to revert it. Thanks, Rafael

Re: [PATCH v5 2/3] tpm: enhance read_log_of() to support Physical TPM event log

2016-11-24 Thread Jarkko Sakkinen
On Wed, Nov 23, 2016 at 12:27:36PM -0500, Nayna Jain wrote: > - memcpy(log->bios_event_log, __va(*basep), *sizep); > + if (of_property_match_string(np, "compatible", "IBM,vtpm") < 0) > + memcpy(chip->log.bios_event_log, __va(be64_to_cpup(basep)), > +log_size)

Re: [PATCH] cpufreq: schedutil: Rectify comment in sugov_irq_work() function

2016-11-24 Thread Rafael J. Wysocki
On Thu, Nov 24, 2016 at 9:45 AM, Ingo Molnar wrote: > > * Viresh Kumar wrote: > >> This patch rectifies a comment present in sugov_irq_work() function to >> follow proper grammar. >> >> Suggested-by: Ingo Molnar >> Signed-off-by: Viresh Kumar >> --- >> kernel/sched/cpufreq_schedutil.c | 12 +++

Re: [PATCH v5 3/3] tpm: add securityfs support for TPM 2.0 firmware event log

2016-11-24 Thread Jarkko Sakkinen
On Wed, Nov 23, 2016 at 12:27:37PM -0500, Nayna Jain wrote: > Unlike the device driver support for TPM 1.2, the TPM 2.0 does > not support the securityfs pseudo files for displaying the > firmware event log. > > This patch enables support for providing the TPM 2.0 event log in > binary form. TPM 2

Re: [PATCH] powercap/intel_rapl: fix and tidy up error handling

2016-11-24 Thread Rafael J. Wysocki
On Wed, Nov 23, 2016 at 8:01 PM, Jacob Pan wrote: > Commit e1399ba20eee ("powercap / RAPL: handle missing MSRs") added > contraint_to_pl() function to return index into an array. But it > can potentially return -EINVAL if powercap layer sends an out of > range constraint ID. This patch adds sanity

[PATCH] x86/head_64: Use defines for page size

2016-11-24 Thread Borislav Petkov
From: Borislav Petkov ... instead of naked numbers like the rest of the asm does in this file. No code changed: # arch/x86/kernel/head_64.o: textdata bss dec hex filename 1124 2908644096 296084 48494 head_64.o.before 1124 2908644096 296084 48494 head_

Re: [PATCH net-next] tuntap: remove unnecessary sk_receive_queue length check during xmit

2016-11-24 Thread David Miller
From: Jason Wang Date: Wed, 23 Nov 2016 10:26:49 +0800 > After commit 1576d9860599 ("tun: switch to use skb array for tx"), > sk_receive_queue was not used any more. So remove the uncessary > sk_receive_queue length check during xmit. > > Signed-off-by: Jason Wang Good catch, applied, thanks J

Re: [patch 0/5] powercap/intel_rapl: Fixes, hotplug conversion and simplifcation

2016-11-24 Thread Rafael J. Wysocki
On Thu, Nov 24, 2016 at 9:33 AM, Thomas Gleixner wrote: > Rafael, > > On Wed, 23 Nov 2016, Rafael J. Wysocki wrote: >> On Wed, Nov 23, 2016 at 8:06 PM, Jacob Pan >> > Looks good to me. The cpu topology management is much more streamlined. >> > Thanks. I also sent out this patch below on top of you

Re: [PATCH 3/3] pinctrl: sx150x: add support for sx1501, sx1504, sx1505 and sx1507

2016-11-24 Thread Peter Rosin
On 2016-11-24 21:45, Peter Rosin wrote: > Untested, register offsets carefully copied from datasheets. > > Signed-off-by: Peter Rosin > --- > .../devicetree/bindings/pinctrl/pinctrl-sx150x.txt | 8 +- > drivers/pinctrl/pinctrl-sx150x.c | 98 > ++ > 2 files

Re: [PATCH v5 1/3] tpm: move event log init functions to tpm_eventlog_init.c

2016-11-24 Thread Jarkko Sakkinen
On Wed, Nov 23, 2016 at 12:38:30PM -0700, Jason Gunthorpe wrote: > On Wed, Nov 23, 2016 at 12:27:35PM -0500, Nayna Jain wrote: > > The device driver code for the event log has the init functions and > > TPM 1.2 parsing logic both defined in same file(tpm_eventlog.c). > > > > Since the initializati

[PATCH 1/3] pinctrl: sx150x: use correct registers for reg_sense (sx1502 and sx1508)

2016-11-24 Thread Peter Rosin
All other registers on these chips are 8-bit, but reg_sense is 16-bits and therefore needs to be moved down one notch. This was apparently overlooked in the conversion to regmap, which only updated the register locations for the 16-bit chips. Fixes: 6489677f86c3 ("pinctrl-sx150x: Replace sx150x_*_

Re: next: s390 crash due to 's390: move sys_call_table and last_break from thread_info to thread_struct'

2016-11-24 Thread Guenter Roeck
Martin, On 11/15/2016 07:54 AM, Martin Schwidefsky wrote: On Tue, 15 Nov 2016 07:35:54 -0800 Guenter Roeck wrote: Hi Martin, my s390 qemu boot test crashes in -next as follows. Kernel stack overflow. CPU: 0 PID: 923 Comm: modprobe Not tainted 4.9.0-rc5-next-20161115 #1 Hardware name: QEMU

Re: [PATCH v2 0/3] x86: SVM: add additional SVM NPF error and use HW GPA

2016-11-24 Thread Radim Krčmář
2016-11-23 12:01-0500, Brijesh Singh: > This patch series is taken from SEV RFC series [1]. These patches do not > depend on the SEV feature and can be reviewed and merged on their own. > > - Add support for additional SVM NFP error codes > - Add kvm_fast_pio_in support First two applied to kvm/q

Re: [PATCH 0/7] overlayfs: fix ro/rw fd data inconsistecies

2016-11-24 Thread Amir Goldstein
On Thu, Nov 24, 2016 at 4:14 PM, Miklos Szeredi wrote: > On Thu, Nov 24, 2016 at 11:55 AM, Miklos Szeredi wrote: >> A file is opened for read-only, opened read-write (resulting in a copy up) >> and modified. The data read back from the the read-only fd will be stale >> in this case (the read-onl

Re: mmiotracer hangs the system

2016-11-24 Thread Karol Herbst
sorry for that, but I forgot the patch 2016-11-19 11:56 GMT+01:00 Karol Herbst : > this is odd, I found a bug related to nouveau (modprobe/bind doesn't > return), but that isn't related to your issue at all or maybe it is > exactly this, cause the binding of the device doesn't return and > dependi

Re: [char-misc-next] mei: request async autosuspend at the end of enumeration

2016-11-24 Thread Jeff King
On Thu, Nov 24, 2016 at 04:10:49PM +, Winkler, Tomas wrote: > > Cc: # 4.4+ > > Looks like git send-email is not able to parse this address correctly > though this is suggested format by Documentation/stable_kernel_rules.txt. > Create wrong address If git parsers is used : 'sta...@vger.kernel

[PATCH 3/3] pinctrl: sx150x: add support for sx1501, sx1504, sx1505 and sx1507

2016-11-24 Thread Peter Rosin
Untested, register offsets carefully copied from datasheets. Signed-off-by: Peter Rosin --- .../devicetree/bindings/pinctrl/pinctrl-sx150x.txt | 8 +- drivers/pinctrl/pinctrl-sx150x.c | 98 ++ 2 files changed, 104 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH v2] iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor

2016-11-24 Thread Jonathan Cameron
On 19/11/16 16:46, Srinivas Pandruvada wrote: > On Sat, 2016-11-19 at 12:56 +, Jonathan Cameron wrote: >> On 16/11/16 09:43, Ooi, Joyce wrote: >>> >>> There are 2 usage types (Magnetic Flux and Heading data field) for >>> HID >>> compass sensor, thus the values of offset, scale, and sensitivity

Re: [PATCH v3 2/6] iio: adc: Add support for STM32 ADC core

2016-11-24 Thread Jonathan Cameron
On 21/11/16 08:54, Fabrice Gasnier wrote: > On 11/19/2016 01:17 PM, Jonathan Cameron wrote: >> On 15/11/16 15:30, Fabrice Gasnier wrote: >>> Add core driver for STMicroelectronics STM32 ADC (Analog to Digital >>> Converter). STM32 ADC can be composed of up to 3 ADCs with shared >>> resources like c

Re: [PATCH 1/1 linux-next] ext4: add compatibility flag check

2016-11-24 Thread Al Viro
On Thu, Nov 24, 2016 at 08:47:41PM +0100, Fabian Frederick wrote: > data=journal mount option should disable O_DIRECT access > (See Documentation/filesystems/ext4.txt) but open operations > using O_CREAT|O_RDWR|O_DIRECT|O_SYNC have no warning in return and file is > being > created. This patch add

Re: [PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()

2016-11-24 Thread Michael S. Tsirkin
On Thu, Nov 24, 2016 at 10:25:11AM +, Mark Rutland wrote: > For several reasons, it would be beneficial to kill off ACCESS_ONCE() > tree-wide, in favour of {READ,WRITE}_ONCE(). These work with aggregate types, > more obviously document their intended behaviour, and are necessary for tools > lik

RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-24 Thread Levy, Amir (Jer)
On Tue, Nov 22 2016, 07:28 PM, Simon Guinot wrote: > Hi Amir, > > I tested the thunderbolt-icm driver (v9 series) on an Gigabyte > motherboard > (Z170X-UD5 TH-CF) with a Thunderbolt 3 controller (Alpine Ridge 4C). > > I can see that the network interface is well created when the > motherboard i

Re: [PATCH v2 2/2] staging: slicoss: remove UPDATE_STATS_GB macro and inline code

2016-11-24 Thread Sergio Paracuellos
On Thu, Nov 24, 2016 at 8:41 PM, Markus Böhme wrote: > On 11/24/2016 08:21 PM, Sergio Paracuellos wrote: >> This patch removes UPDATE_STATS_GB macro in slic.h header file >> and just inline code. This improve readability. >> >> Signed-off-by: Sergio Paracuellos >> --- >> drivers/staging/slicoss/

Re: [PATCH v2] iio: adc: New driver for TI ADS7950 chips

2016-11-24 Thread Jonathan Cameron
On 21/11/16 19:52, David Lechner wrote: > On 11/20/2016 12:28 PM, David Lechner wrote: >> This adds a new driver for the TI ADS7950 family of ADC chips. These >> communicate using SPI and come in 8/10/12-bit and 4/8/12/16 channel >> varieties. >> >> Signed-off-by: David Lechner >> --- >> >> v2 cha

Re: [PATCH net] udplite: call proper backlog handlers

2016-11-24 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Nov 2016 09:06:45 -0800 > From: Eric Dumazet > > In commits 93821778def10 ("udp: Fix rcv socket locking") and > f7ad74fef3af ("net/ipv6/udp: UDP encapsulation: break backlog_rcv into > __udpv6_queue_rcv_skb") UDP backlog handlers were renamed, but UDPlite > was

RE: [patch v9 1/1] i2c: add master driver for mellanox systems

2016-11-24 Thread Vadim Pasternak
> -Original Message- > From: Wolfram Sang [mailto:wsa-...@sang-engineering.com] > Sent: Thursday, November 24, 2016 4:52 PM > To: Vadim Pasternak > Cc: w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@resnulli.us; Michael Shych > > Subject: Re: [patch

[PATCH v3 1/2] staging: slicoss: remove not used UPDATE_STATS macro

2016-11-24 Thread Sergio Paracuellos
This patch remove UPDATE_STATS macro from header slic.h which is not being used. Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slic.h | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h index 1f6562c..2c05868

[PATCH v3 2/2] staging: slicoss: remove UPDATE_STATS_GB macro and inline code

2016-11-24 Thread Sergio Paracuellos
This patch removes UPDATE_STATS_GB macro in slic.h header file and just inline code. This improve readability. Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slic.h| 5 drivers/staging/slicoss/slicoss.c | 52 +++ 2 files changed, 25 in

[PATCH v3 0/2] staging: slicoss: minor changes to clean some code

2016-11-24 Thread Sergio Paracuellos
This patchset clean some code in slicoss driver: * Removes not used macro. * Remove a macro and just inline code. Changes in v2: * Remove inline function into inline code. Changes in v3: * Replace '=' in favour of '+='. Sergio Paracuellos (2): staging: slicoss: remove not used UPDATE_STATS mac

[PATCH v3 0/3] timekeeping: Introduce a fast boot clock derived from fast monotonic clock

2016-11-24 Thread Joel Fernandes
Currently no trace clock can account for suspend time, using monotonic during tracing in the suspend path means the trace times wont be advaced. Using the boot clock with ktime_get_with_offset is not an option due to live locking concerns in NMI context as suggested by Thomas [1]. These patches ad

[PATCH v3 3/3] trace: Update documentation for mono, mono_raw and boot clock

2016-11-24 Thread Joel Fernandes
Documentation was missing for mono and mono_raw, add them and also for the boot clock introduced in this series. Cc: Steven Rostedt Cc: Thomas Gleixner Cc: John Stultz Cc: Ingo Molnar Signed-off-by: Joel Fernandes --- Documentation/trace/ftrace.txt | 20 1 file changed,

[PATCH v3 2/3] trace: Add an option for boot clock as trace clock

2016-11-24 Thread Joel Fernandes
Unlike monotonic clock, boot clock as a trace clock will account for time spent in suspend useful for tracing suspend/resume. This uses earlier introduced infrastructure for using the fast boot clock. Cc: Steven Rostedt Cc: Thomas Gleixner Cc: John Stultz Cc: Ingo Molnar Signed-off-by: Joel Fe

[PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2016-11-24 Thread Joel Fernandes
This boot clock can be used as a tracing clock and will account for suspend time. To keep it NMI safe since we're accessing from tracing, we're not using a separate timekeeper with updates to monotonic clock and boot offset protected with seqlocks. This has the following minor side effects: (1) I

Re: [PATCH] Lock down drivers that can have io ports, io mem, irqs and dma changed

2016-11-24 Thread Dominik Brodowski
On Thu, Nov 24, 2016 at 05:34:45PM +, David Howells wrote: > Dominik Brodowski wrote: > > > > > - Abort in drivers/pcmcia/cistpl.c::pccard_store_cis() or remove > > > > write access to the "cis" file in > > > > drivers/pcmcia/cistpl.c::pccard_cis_attr > > > > > >

Re: [PATCH] pinctrl: imx: fix imx_pinctrl_desc initialization

2016-11-24 Thread Vladimir Zapolskiy
Hi Gary, On 11/24/2016 08:11 PM, Gary Bisson wrote: Was introduced by: 6e408ed pinctrl: imx: fix initialization of imx_pinctrl_desc Signed-off-by: Gary Bisson --- drivers/pinctrl/freescale/pinctrl-imx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctr

Re: [patch] iio: tsl2583: make array large enough

2016-11-24 Thread Jonathan Cameron
On 24/11/16 17:51, Brian Masney wrote: > On Thu, Nov 24, 2016 at 05:54:17PM +0100, walter harms wrote: >> >> >> Am 24.11.2016 16:48, schrieb Brian Masney: >>> On Thu, Nov 24, 2016 at 04:38:07PM +0300, Dan Carpenter wrote: This array is supposed to have 10 elements. Smatch complains that with

Re: [PATCH] ARM: dts: sunxi: Enable UEXT related nodes for Olimex A20 SOM EVB

2016-11-24 Thread Emmanuel Vadot
On Wed, 23 Nov 2016 18:16:10 +0100 Emmanuel Vadot wrote: > On Wed, 23 Nov 2016 09:03:50 +0100 > Maxime Ripard wrote: > > > On Mon, Nov 21, 2016 at 05:49:11PM +0100, Emmanuel Vadot wrote: > > > UEXT are Universal EXTension connector from Olimex. They embed i2c, spi > > > and uart pins along powe

[tip:x86/core] x86/sysctl: Add sysctl for ITMT scheduling feature

2016-11-24 Thread tip-bot for Tim Chen
Commit-ID: f9793e34952cda133caaa35738a4b46053331c96 Gitweb: http://git.kernel.org/tip/f9793e34952cda133caaa35738a4b46053331c96 Author: Tim Chen AuthorDate: Tue, 22 Nov 2016 12:23:56 -0800 Committer: Thomas Gleixner CommitDate: Thu, 24 Nov 2016 20:44:19 +0100 x86/sysctl: Add sysctl for

[PATCH] Input: evdev: fix queueing of SYN_DROPPED event for EVIOCG[type] IOCTL case

2016-11-24 Thread Aniroop Mathur
Currently, when EVIOCG[type] ioctl call is issued and bits_to_user fails, then SYN_DROPPED event is inserted in the event queue always. However, it is not compulsory that some events are flushed out on every EVIOCG[type] ioctl call like in case of empty event queue and in case when EVIOCG[type] io

Re: [PATCH] ARM: dts: sun6i: hummingbird: Enable USB OTG

2016-11-24 Thread Maxime Ripard
On Thu, Nov 24, 2016 at 07:29:08PM +0800, Chen-Yu Tsai wrote: > The A31 Hummingbird has a mini USB OTG port, and uses GPIO pins from the > SoC for ID pin and VBUS detection and VBUS control. The PMIC can also do > VBUS detection and control. > > Here we prefer to use the PMIC's DRIVEVBUS function

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-11-24 Thread Emmanuel Vadot
On Thu, 24 Nov 2016 20:55:17 +0100 Maxime Ripard wrote: > On Tue, Nov 22, 2016 at 06:06:16PM +0100, Emmanuel Vadot wrote: > > The spi0 controller on the A20 have up to 4 CS (Chip Select) while the > > others three only have 1. > > Add the num-cs property to each node. > > > > Signed-off-by: Emma

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-24 Thread Joe Perches
On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > Remove duplicate code from _tx routines. trivia: > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c [] > @@ -1960,6 +1960,38 @@ static void stmmac_tso_allocator(struct stm

9pfs hangs since 4.7

2016-11-24 Thread Tuomas Tynkkynen
Hi fsdevel, I have been observing hangs when running xfstests generic/224. Curiously enough, the test is *not* causing problems on the FS under test (I've tried both ext4 and f2fs) but instead it's causing the 9pfs that I'm using as the root filesystem to crap out. How it shows up is that the tes

Re: [PATCH] arm64: mm: Fix memmap to be initialized for the entire section

2016-11-24 Thread Robert Richter
Ard, > > >> On 24 November 2016 at 13:51, Robert Richter > > >> wrote: > > >> > On 24.11.16 13:44:31, Ard Biesheuvel wrote: > > >> Regions containing firmware tables are owned by the firmware, and it > > >> is the firmware that tells us which memory attributes we are allowed > > >> to use. If t

Re: [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default

2016-11-24 Thread Maxime Ripard
On Thu, Nov 24, 2016 at 02:43:37PM +0800, Chen-Yu Tsai wrote: > Hi, > > While we now support the internal display pipeline found on sun6i, it > is possible that we are unable to enable the display for some boards, > due to a lack of drivers for the panels or bridges found on them. If > the display

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-11-24 Thread Maxime Ripard
On Tue, Nov 22, 2016 at 06:06:16PM +0100, Emmanuel Vadot wrote: > The spi0 controller on the A20 have up to 4 CS (Chip Select) while the > others three only have 1. > Add the num-cs property to each node. > > Signed-off-by: Emmanuel Vadot I don't think we have any code that uses it at the moment

[tip:smp/hotplug] net/iucv: Use explicit clean up labels in iucv_init()

2016-11-24 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 97023a53c5f907e061d6bfa90462e36541f0ae65 Gitweb: http://git.kernel.org/tip/97023a53c5f907e061d6bfa90462e36541f0ae65 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 24 Nov 2016 17:10:13 +0100 Committer: Thomas Gleixner CommitDate: Thu, 24 Nov 2016 20:48:51 +0100 net/iucv:

[tip:x86/core] acpi/bus: Enable HWP CPPC objects

2016-11-24 Thread tip-bot for Srinivas Pandruvada
Commit-ID: 5c2832e91a3ed45f35531ae1c5afba8eac22c81f Gitweb: http://git.kernel.org/tip/5c2832e91a3ed45f35531ae1c5afba8eac22c81f Author: Srinivas Pandruvada AuthorDate: Tue, 22 Nov 2016 12:23:58 -0800 Committer: Thomas Gleixner CommitDate: Thu, 24 Nov 2016 20:44:20 +0100 acpi/bus: Enable

[tip:x86/core] acpi/bus: Set _OSC for diverse core support

2016-11-24 Thread tip-bot for Srinivas Pandruvada
Commit-ID: 8b533a0eeefc5861cea57163dd3cec2798a77f6c Gitweb: http://git.kernel.org/tip/8b533a0eeefc5861cea57163dd3cec2798a77f6c Author: Srinivas Pandruvada AuthorDate: Tue, 22 Nov 2016 12:23:59 -0800 Committer: Thomas Gleixner CommitDate: Thu, 24 Nov 2016 20:44:20 +0100 acpi/bus: Set _O

[tip:x86/core] cpufreq/intel_pstate: Use CPPC to get max performance

2016-11-24 Thread tip-bot for Rafael J. Wysocki
Commit-ID: 17669006adf64d35a74cb21e3c8dfb6fb8be689f Gitweb: http://git.kernel.org/tip/17669006adf64d35a74cb21e3c8dfb6fb8be689f Author: Rafael J. Wysocki AuthorDate: Tue, 22 Nov 2016 12:24:00 -0800 Committer: Thomas Gleixner CommitDate: Thu, 24 Nov 2016 20:44:20 +0100 cpufreq/intel_psta

[tip:x86/core] x86/sched: Add SD_ASYM_PACKING flags to x86 ITMT CPU

2016-11-24 Thread tip-bot for Tim Chen
Commit-ID: d3d37d850d1d77bd66bceb8326e6353d3314b270 Gitweb: http://git.kernel.org/tip/d3d37d850d1d77bd66bceb8326e6353d3314b270 Author: Tim Chen AuthorDate: Tue, 22 Nov 2016 12:23:57 -0800 Committer: Thomas Gleixner CommitDate: Thu, 24 Nov 2016 20:44:20 +0100 x86/sched: Add SD_ASYM_PACK

<    1   2   3   4   5   6   7   8   9   >