Re: [PATCH v5 1/5] powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro

2017-01-12 Thread Balbir Singh
On Tue, Jan 10, 2017 at 02:37:00PM +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > Currently all the low-power idle states are expected to wake up > at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SEQ > that puts the CPU to an idle state

Re: kvm: deadlock in kvm_vgic_map_resources

2017-01-12 Thread Andre Przywara
Hi, On 12/01/17 09:32, Marc Zyngier wrote: > Hi Dmitry, > > On 11/01/17 19:01, Dmitry Vyukov wrote: >> Hello, >> >> While running syzkaller fuzzer I've got the following deadlock. >> On commit 9c763584b7c8911106bb77af7e648bef09af9d80. >> >> >> = >> [

Re: [PATCH v5 2/5] powernv:stop: Uniformly rename power9 to arch300

2017-01-12 Thread Balbir Singh
On Tue, Jan 10, 2017 at 02:37:01PM +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > Balbir pointed out that in idle_book3s.S and powernv/idle.c some > functions and variables had power9 in their names while some others > had arch300. > I would prefer

[tip:locking/core] locking/jump_labels: Update bug_at() boot message

2017-01-12 Thread tip-bot for Andy Shevchenko
Commit-ID: 6e03f66c001790d6ca853c68a56c87460bc86467 Gitweb: http://git.kernel.org/tip/6e03f66c001790d6ca853c68a56c87460bc86467 Author: Andy Shevchenko AuthorDate: Tue, 10 Jan 2017 18:43:54 +0200 Committer: Ingo Molnar CommitDate:

Re: NVMe vs DMA addressing limitations

2017-01-12 Thread Sagi Grimberg
Another workaround me might need is to limit amount of concurrent DMA in the NVMe driver based on some platform quirk. The way that NVMe works, it can have very large amounts of data that is concurrently mapped into the device. That's not really just NVMe - other storage and network

[PATCH 1/2] mmc: mediatek: Use data tune for CMD line tune

2017-01-12 Thread Yong Mao
From: yong mao CMD response CRC error may cause cannot boot up Change to use data tune for CMD line Separate cmd internal delay for HS200/HS400 mode Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing ---

Re: [PATCH 04/10] blk-mq: un-export blk_mq_free_hctx_request()

2017-01-12 Thread Johannes Thumshirn
On Wed, Jan 11, 2017 at 02:39:57PM -0700, Jens Axboe wrote: > It's only used in blk-mq, kill it from the main exported header > and kill the symbol export as well. > > Signed-off-by: Jens Axboe > --- Looks good, Reviewed-by: Johannes Thumshirn -- Johannes

[tip:x86/urgent] x86/unwind: Disable KASAN checks for non-current tasks

2017-01-12 Thread tip-bot for Josh Poimboeuf
Commit-ID: 84936118bdf37bda513d4a361c38181a216427e0 Gitweb: http://git.kernel.org/tip/84936118bdf37bda513d4a361c38181a216427e0 Author: Josh Poimboeuf AuthorDate: Mon, 9 Jan 2017 12:00:23 -0600 Committer: Ingo Molnar CommitDate: Thu, 12 Jan 2017

[tip:x86/urgent] x86/unwind: Silence warnings for non-current tasks

2017-01-12 Thread tip-bot for Josh Poimboeuf
Commit-ID: 900742d89c1b4e04bd373aec8470b88e183f08ca Gitweb: http://git.kernel.org/tip/900742d89c1b4e04bd373aec8470b88e183f08ca Author: Josh Poimboeuf AuthorDate: Mon, 9 Jan 2017 12:00:22 -0600 Committer: Ingo Molnar CommitDate: Thu, 12 Jan 2017

Re: [PATCH 03/10] block: move rq_ioc() to blk.h

2017-01-12 Thread Johannes Thumshirn
On Wed, Jan 11, 2017 at 02:39:56PM -0700, Jens Axboe wrote: > We want to use it outside of blk-core.c. > > Signed-off-by: Jens Axboe > --- Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage

Re: [PATCH] doc: add note on usleep_range range

2017-01-12 Thread Pavel Machek
On Wed 2017-01-11 08:50:07, Nicholas Mc Guire wrote: > On Tue, Jan 10, 2017 at 10:25:29PM +0100, Pavel Machek wrote: > > Hi! > > > > > > "to have zero jitter" at least. I believe it is "does not". > > > > > > > > I don't see how atomic vs. non-atomic context makes difference. There > > > > are

[PATCH 34/37] tools: PCI: Add sample test script to invoke pcitest

2017-01-12 Thread Kishon Vijay Abraham I
Add a simple test script that invokes the pcitest userspace tool to perform all the PCI endpoint tests (BAR tests, interrupt tests, read tests, write tests and copy tests). Signed-off-by: Kishon Vijay Abraham I --- tools/pci/pcitest.sh | 56

[PATCH 31/37] misc: Add host side pci driver for pci test function device

2017-01-12 Thread Kishon Vijay Abraham I
Add PCI endpoint test driver that can verify base address register, legacy interrupt/MSI interrupt and read/write/copy buffers between host and device. The corresponding pci-epf-test function driver should be used on the EP side. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 29/37] PCI: dwc: dra7xx: Workaround for errata id i870

2017-01-12 Thread Kishon Vijay Abraham I
According to errata i870, access to the PCIe slave port that are not 32-bit aligned will result in incorrect mapping to TLP Address and Byte enable fields. Accessing non 32-bit aligned data causes incorrect data in the target buffer if memcpy is used. Implement the workaround for this errata

[PATCH 25/37] dt-bindings: PCI: Add dt bindings for pci designware EP mode

2017-01-12 Thread Kishon Vijay Abraham I
Add device tree binding documentation for pci designware EP mode. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/pci/designware-pcie.txt| 26 ++-- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git

Linux 4.9.3

2017-01-12 Thread Greg KH
I'm announcing the release of the 4.9.3 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

[PATCH] ASoC: rt5660: use msleep() for long delay

2017-01-12 Thread Nicholas Mc Guire
...@osadl.org> --- Problem was found by cocinelle script. Patch was compile tested with: x86_64_defconfig + CONFIG_COMPILE_TEST=y SND_SOC=m + SND_SOC_ALL_CODECS=m (implies SND_SOC_RT5660=m) (2 sparse warnings - fix in a seperate patch) Patch is aginast 4.10-rc3 (localversion-next is next-20170

Re: [1/2] ath9k: ar9002_mac: kill off ACCESS_ONCE()

2017-01-12 Thread Kalle Valo
Mark Rutland wrote: > For several reasons, it is desirable to use {READ,WRITE}_ONCE() in > preference to ACCESS_ONCE(), and new code is expected to use one of the > former. So far, there's been no reason to change most existing uses of > ACCESS_ONCE(), as these aren't

Re: [PATCH v2] ceph/iov_iter: fix bad iov_iter handling in ceph splice codepaths

2017-01-12 Thread Ilya Dryomov
On Thu, Jan 12, 2017 at 8:59 AM, Al Viro wrote: > On Tue, Jan 10, 2017 at 07:57:31AM -0500, Jeff Layton wrote: >> v2: fix bug in offset handling in iov_iter_pvec_size >> >> xfstest generic/095 triggers soft lockups in kcephfs. Basically it uses >> fio to drive some I/O

[PATCH] rtc: armada38x: avoid unused-function warning

2017-01-12 Thread Arnd Bergmann
When CONFIG_PM_SLEEP is not set, rtc_update_mbus_timing_params becomes unused, now that armada38x_rtc_probe() no longer calls rtc_update_mbus_timing_params on startup: drivers/rtc/rtc-armada38x.c:79:13: error: 'rtc_update_mbus_timing_params' defined but not used [-Werror=unused-function] This

Re: [PATCH v8 2/5] i2c: Add STM32F4 I2C driver

2017-01-12 Thread M'boumba Cedric Madianga
2017-01-11 16:39 GMT+01:00 Uwe Kleine-König : > On Wed, Jan 11, 2017 at 02:58:44PM +0100, M'boumba Cedric Madianga wrote: >> Hi Uwe, >> >> 2017-01-11 9:22 GMT+01:00 Uwe Kleine-König : >> > Hello Cedric, >> > >> > On Thu, Jan 05, 2017

[resend][PATCH v2 1/1] platform/x86: Remove PMIC GPIO block support

2017-01-12 Thread Andy Shevchenko
The Moorestown support was removed by commit 1a8359e411eb ("x86/mid: Remove Intel Moorestown"). Remove this leftover. Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/sfi.c | 1 - drivers/platform/x86/Kconfig | 7 -

Re: [PATCH v2] ceph/iov_iter: fix bad iov_iter handling in ceph splice codepaths

2017-01-12 Thread Al Viro
On Thu, Jan 12, 2017 at 12:13:31PM +0100, Ilya Dryomov wrote: > It would be a significant and wide-reaching change, but I've been > meaning to look into switching to iov_iter for a couple of releases > now. There is a lot of ugly code in net/ceph/messenger.c to hangle > iteration over "page

Re: [PATCH] rtc: armada38x: avoid unused-function warning

2017-01-12 Thread Alexandre Belloni
Hi, On 12/01/2017 at 12:13:08 +0100, Arnd Bergmann wrote : > When CONFIG_PM_SLEEP is not set, rtc_update_mbus_timing_params becomes > unused, now that armada38x_rtc_probe() no longer calls > rtc_update_mbus_timing_params on startup: > > drivers/rtc/rtc-armada38x.c:79:13: error:

Re: [PATCH v2] ceph/iov_iter: fix bad iov_iter handling in ceph splice codepaths

2017-01-12 Thread Ilya Dryomov
On Thu, Jan 12, 2017 at 12:27 PM, Jeff Layton wrote: > On Thu, 2017-01-12 at 07:59 +, Al Viro wrote: >> On Tue, Jan 10, 2017 at 07:57:31AM -0500, Jeff Layton wrote: >> > >> > v2: fix bug in offset handling in iov_iter_pvec_size >> > >> > xfstest generic/095 triggers soft

[tip:perf/core] perf kallsyms: Introduce tool to look for extended symbol information on the running kernel

2017-01-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 355637717d575f14169954c3ed31536d45778f08 Gitweb: http://git.kernel.org/tip/355637717d575f14169954c3ed31536d45778f08 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 5 Jan 2017 15:33:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH] perf/x86: Fix 'may be used uninitialized' build warnings in core.c

2017-01-12 Thread Ingo Molnar
* Augusto Mecking Caringi wrote: > This patch fixes the following build warnings in core.c: > > linux/arch/x86/events/core.c: In function ‘init_hw_perf_events’: > linux/include/linux/printk.h:292:2: warning: ‘reg_fail’ may be used > uninitialized in this function

[tip:perf/core] perf jvmti: Create libdir directory before installing libperf-jvmti.so

2017-01-12 Thread tip-bot for Laura Abbott
Commit-ID: cd7f355ac4067177e0a45e7331d11472bd7fd7ca Gitweb: http://git.kernel.org/tip/cd7f355ac4067177e0a45e7331d11472bd7fd7ca Author: Laura Abbott AuthorDate: Fri, 6 Jan 2017 14:18:08 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11

Re: [PATCH] [net] net/mlx5e: fix another -Wmaybe-uninitialized warning

2017-01-12 Thread Or Gerlitz
On 1/11/2017 11:14 PM, Arnd Bergmann wrote: @@ -666,14 +666,15 @@ static int mlx5e_route_lookup_ipv4(struct mlx5e_priv *priv, struct rtable *rt; struct neighbour *n = NULL; int ttl; + int ret; + + if (!IS_ENABLED(CONFIG_INET)) + return

Re: [PATCH 4.9 003/116] rtlwifi: Fix enter/exit power_save

2017-01-12 Thread Dmitry Osipenko
On 11.01.2017 04:53, Larry Finger wrote: > On 01/10/2017 11:40 AM, Dmitry Osipenko wrote: >> Hello, this patch causes a kernel panic with the rtl8192cu driver. >> > > The fix is being merged into mainline. The reference is > http://marc.info/?l=linux-wireless=148234081512703=2. That indeed

Re: [PATCH] pinctrl: core: Fix regression caused by delayed work for hogs

2017-01-12 Thread Geert Uytterhoeven
Hi Tony, On Wed, Jan 11, 2017 at 11:13 PM, Tony Lindgren wrote: > Commit df61b366af26 ("pinctrl: core: Use delayed work for hogs") caused a > regression at least with sh-pfc that is also a GPIO controller as > noted by Geert Uytterhoeven . > > As the

Re: [PATCH RESEND] Staging: greybus: style fix, permissions as octal

2017-01-12 Thread Johan Hovold
On Thu, Jan 12, 2017 at 05:59:40PM +1300, Derek Robson wrote: > Changed permissions to be in octal style. > Found by checkpatch. > > Signed-off-by: Derek Robson > --- Acked-by: Johan Hovold Next time, please include a module prefix in your Subject (i.e.

Re: [PATCH 1/5] perf, tools: Add probing for xed

2017-01-12 Thread Jiri Olsa
On Wed, Jan 11, 2017 at 02:17:56PM -0800, Andi Kleen wrote: > > > diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature > > > index e3fb5ecbdcb6..971a9ef87ca6 100644 > > > --- a/tools/build/Makefile.feature > > > +++ b/tools/build/Makefile.feature > > > @@ -63,7 +63,7 @@

[v2 0/2] test capability for remote task

2017-01-12 Thread Jike Song
Sometimes vfio iommu type1 needs to pin memory for a remote task other than current, thereby needs to test the CAP_IPC_LOCK capability for that task. The proper routine for this purpose is has_capability(), but it is not yet exported for modules. None of currently exported capability- testing

Re: [PATCH resend] swiotlb: ensure that page-sized mappings are page-aligned

2017-01-12 Thread Sagi Grimberg
Looks good, Reviewed-by: Sagi Grimberg

[PATCH v2] backlight: gpio-backlight: Correct initial power state handling

2017-01-12 Thread Peter Ujfalusi
The default-on property - or the def_value via legacy pdata) should be handled as: if it is 1, the backlight must be enabled (kept enabled) if it is 0, the backlight must be disabled (kept disabled) This only works for the case when default-on is set. If it is not set then the brightness of the

Duplicate inode number when mount --bind some directories to same mountpoint. (from Fedora18 to 4.10-rc3)

2017-01-12 Thread Nakajima Akira
Bug: Duplicate inode number when mount --bind some directories to same mountpoint. (from Fedora18 to 4.10-rc3) Fedora17 and earlier works correctly. And, Above kernel ver 3.6 (Fedora18 including 4.10-rc3) creates many structs of mount than ver 3.3 (Fedora17). Is this a correct

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-12 Thread Michal Hocko
On Wed 11-01-17 16:52:32, Trevor Cordes wrote: [...] > I'm not sure how I can tell if my bug is because of memcgs so here is > a full first oom example (attached). 4.7 kernel doesn't contain 71c799f4982d ("mm: add per-zone lru list stat") so the OOM report will not tell us whether the Normal zone

Re: Robust futexes: lost wakeups and design flaws in the glibc/kernel synchronization scheme

2017-01-12 Thread Torvald Riegel
On Sat, 2016-12-24 at 17:01 +0100, Torvald Riegel wrote: > TLDR: > (1) The Linux kernel fails to wake futex waiters when a userspace thread > that releases a mutex is killed between modifying the futex word and the > subsequent FUTEX_WAKE syscall. > (2) POSIX makes certain requirements regarding

Re: [PATCH] i2c: piix4: Avoid race conditions with IMC

2017-01-12 Thread Jean Delvare
On Wed, 11 Jan 2017 03:49:21 +0200, Andy Shevchenko wrote: > On Tue, Jan 10, 2017 at 2:16 PM, Ricardo Ribalda Delgado > > --- a/drivers/i2c/busses/i2c-piix4.c > > +++ b/drivers/i2c/busses/i2c-piix4.c > > @@ -585,9 +585,28 @@ static s32 piix4_access_sb800(struct i2c_adapter > > *adap, u16 addr, >

Re: [PATCH 56/62] watchdog: tangox_wdt: Convert to use device managed functions

2017-01-12 Thread Uwe Kleine-König
On Thu, Jan 12, 2017 at 10:44:07AM +0100, Marc Gonzalez wrote: > On 11/01/2017 18:51, Guenter Roeck wrote: > > > However, some other unrelated undefined behavior does not mean that this > > specific behavior is undefined. > > True :-) > > Let me just give two additional examples of UB that

Re: [PATCH 1/2] x86/mm: don't mmap() over 4GB with compat syscall

2017-01-12 Thread Dmitry Safonov
On 01/12/2017 01:26 AM, Andy Lutomirski wrote: On Wed, Jan 11, 2017 at 10:17 AM, Dmitry Safonov wrote: During fixing CRIU bugs on ZDTM tests for 32-bit C/R, I found that compatible ia32/x32 syscalls mmap() and mmap2() can return address over 4Gb in x86_64 applications,

Re: kvm: deadlock in kvm_vgic_map_resources

2017-01-12 Thread Christoffer Dall
On Thu, Jan 12, 2017 at 09:55:21AM +, Andre Przywara wrote: > Hi, > > On 12/01/17 09:32, Marc Zyngier wrote: > > Hi Dmitry, > > > > On 11/01/17 19:01, Dmitry Vyukov wrote: > >> Hello, > >> > >> While running syzkaller fuzzer I've got the following deadlock. > >> On commit

[PATCH 18/37] Documentation: PCI: Add specification for the *pci test* function device

2017-01-12 Thread Kishon Vijay Abraham I
Add specification for the *pci test* virtual function device. The endpoint function driver and the host pci driver should be created based on this specification. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX |2 +

[PATCH 17/37] Documentation: PCI: Guide to use pci endpoint configfs

2017-01-12 Thread Kishon Vijay Abraham I
Add Documentation to help users use pci endpoint to configure pci endpoint function and to bind the endpoint function with endpoint controller. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX |2 +

[PATCH 33/37] tools: PCI: Add a userspace tool to test PCI endpoint

2017-01-12 Thread Kishon Vijay Abraham I
Add a userspace tool to invoke the ioctls exposed by the PCI endpoint test driver to perform various PCI tests. Signed-off-by: Kishon Vijay Abraham I --- tools/pci/pcitest.c | 186 +++ 1 file changed, 186 insertions(+) create mode

Re: [RFC DRAFT] Adds PUI: process unic identifier

2017-01-12 Thread Tetsuo Handa
Jose Bollo wrote: > Hi all, > > I'd like to get your feeling about the idea > exposed in that draft. Should continue or stop > immediately? Is there already some existing work? > How is the taken approach? > > BR - Jose Bollo > > [RFC DRAFT] Adds PUI: process unic identifier > > The name 'pui'

[PATCH 36/37] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP

2017-01-12 Thread Kishon Vijay Abraham I
The PCIe programming sequence in TRM suggests CLKSTCTRL of PCIe should be set to SW_WKUP. There are no issues when CLKSTCTRL is set to HW_AUTO in RC mode. However in EP mode, the host system is not able to access the MEMSPACE and setting the CLKSTCTRL to SW_WKUP fixes it. Signed-off-by: Kishon

[PATCH 0/3] MTD-FTL: Fine-tuning for two function implementations

2017-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 12 Jan 2017 11:24:12 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Use kmalloc_array() in build_maps() Delete an error message for a failed memory allocation in

[PATCH 11/37] PCI: dwc: Split pcie-designware.c into host and core files

2017-01-12 Thread Kishon Vijay Abraham I
Split pcie-designware.c into pcie-designware-host.c that contains the host specific parts of the driver and pcie-designware.c that contains the parts used by both host driver and endpoint driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Makefile |

[PATCH 03/37] PCI: dwc: dra7xx: Populate cpu_addr_fixup ops

2017-01-12 Thread Kishon Vijay Abraham I
Populate cpu_addr_fixup ops to extract the least 28 bits of the corresponding cpu address. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/pci-dra7xx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/pci/dwc/pci-dra7xx.c

Re: [PATCH v2 2/2] reset: make optional functions really optional

2017-01-12 Thread Philipp Zabel
Hi Ramiro, Am Montag, den 09.01.2017, 17:19 + schrieb Ramiro Oliveira: > Hi Philipp > > On 1/9/2017 10:45 AM, Philipp Zabel wrote: > > Hi Ramiro, > > > > Am Dienstag, den 27.12.2016, 12:37 + schrieb Ramiro Oliveira: > >> The optional functions weren't really optional so this patch makes

Re: [PATCH v2] Documentation: dt: reset: Revise typos in TI syscon reset example

2017-01-12 Thread Philipp Zabel
Am Mittwoch, den 11.01.2017, 19:22 -0600 schrieb Suman Anna: > Fix couple of typos in the example given in the TI syscon reset > binding. The ti,reset-bits used for DSP0 are corrected to match > the values that will be used in the actual DT node. > > Signed-off-by: Suman Anna >

Re: net: wireless: ath: wil6210: constify cfg80211_ops structures

2017-01-12 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ >

Re: [f2fs-dev] [PATCH 01/10] f2fs: reassign new segment for mode=lfs

2017-01-12 Thread Chao Yu
On 2017/1/5 6:48, Jaegeuk Kim wrote: > On 01/04, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/12/31 2:51, Jaegeuk Kim wrote: >>> Otherwise we can remain wrong curseg->next_blkoff, resulting in fsck >>> failure. >> >> Could you explain more about this case? > > I remember that I hit an fsck

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-12 Thread Stephan Müller
Am Donnerstag, 12. Januar 2017, 16:40:32 CET schrieb George Cherian: Hi George, > > > > Sure, please do not forget to invoke xts_verify_key. > > Should I be using xts_check_key or xts_verify_key? Both are identical except for the input parameter -- the one requires crypto_skcipher, the other

Re: [PATCH v2] ceph/iov_iter: fix bad iov_iter handling in ceph splice codepaths

2017-01-12 Thread Jeff Layton
On Thu, 2017-01-12 at 07:59 +, Al Viro wrote: > On Tue, Jan 10, 2017 at 07:57:31AM -0500, Jeff Layton wrote: > > > > v2: fix bug in offset handling in iov_iter_pvec_size > > > > xfstest generic/095 triggers soft lockups in kcephfs. Basically it uses > > fio to drive some I/O via vmsplice ane

[tip:perf/core] perf record: Add switch-output time option argument

2017-01-12 Thread tip-bot for Jiri Olsa
Commit-ID: bfacbe3bf2443c805aec4c04ecb558d03d0d3ebc Gitweb: http://git.kernel.org/tip/bfacbe3bf2443c805aec4c04ecb558d03d0d3ebc Author: Jiri Olsa AuthorDate: Mon, 9 Jan 2017 10:52:00 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 Jan

[tip:perf/core] tools: Sync x86's vmx.h with the kernel

2017-01-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 675f52b23743f396c585fc9d135435be37f320d8 Gitweb: http://git.kernel.org/tip/675f52b23743f396c585fc9d135435be37f320d8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 10 Jan 2017 16:41:39 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: kvm: deadlock in kvm_vgic_map_resources

2017-01-12 Thread Marc Zyngier
Hi Dmitry, On 11/01/17 19:01, Dmitry Vyukov wrote: > Hello, > > While running syzkaller fuzzer I've got the following deadlock. > On commit 9c763584b7c8911106bb77af7e648bef09af9d80. > > > = > [ INFO: possible recursive locking detected ] >

Re: [PATCH 1/4] staging: android/ion: Fix line over 80 characters

2017-01-12 Thread Dan Carpenter
On Thu, Jan 12, 2017 at 09:54:16AM +0200, Bogdan Purcareata wrote: > Signed-off-by: Bogdan Purcareata All staging patches need a changelog, no matter how trivial. > --- > drivers/staging/android/ion/ion-ioctl.c | 3 ++- > 1 file changed, 2 insertions(+), 1

Re: [PATCH 56/62] watchdog: tangox_wdt: Convert to use device managed functions

2017-01-12 Thread Marc Gonzalez
On 11/01/2017 18:51, Guenter Roeck wrote: > However, some other unrelated undefined behavior does not mean that this > specific behavior is undefined. True :-) Let me just give two additional examples of UB that /have/ bitten Linux kernel devs. int i; for (i = 1; i > 0; ++i) /*

[PATCH 0/4] efi/x86: move efi bgrt init code to early init

2017-01-12 Thread Dave Young
Hi, Here is a patchset to move efi_bgrt_init to early code so that we can still use memblock api. Appreciated for comments and review. Diffstat: arch/x86/kernel/acpi/boot.c | 12 +++ arch/x86/platform/efi/efi-bgrt.c | 42 +--

Re: [PATCH] wext: handle NULL exta data in iwe_stream_add_point better

2017-01-12 Thread Arnd Bergmann
On Thursday, January 12, 2017 10:16:00 AM CET Johannes Berg wrote: > And I realized only now that this was a different place ... Right, it was a few hundred randconfigs later after I had confirmed that the first patch fixed all the configurations that were broken at first. > I've just added the

[PATCH 4/4] efi/x86: add debug code to print cooked memmap

2017-01-12 Thread Dave Young
It is not obvious if the reserved boot area are added correctly, add a efi_print_memmap to print the new memmap. Signed-off-by: Dave Young --- arch/x86/platform/efi/efi.c |5 + 1 file changed, 5 insertions(+) --- linux-x86.orig/arch/x86/platform/efi/efi.c +++

[PATCH 3/4] efi/x86: move efi_print_memmap to drivers/firmware/efi/memmap.c

2017-01-12 Thread Dave Young
Signed-off-by: Dave Young --- arch/x86/platform/efi/efi.c | 16 drivers/firmware/efi/memmap.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) --- linux-x86.orig/arch/x86/platform/efi/efi.c +++

RE: Problem on SCTP

2017-01-12 Thread David Laight
From: Sun Paul [mailto:paul...@gmail.com] > Sent: 12 January 2017 09:31 > Let me clear the understanding. below is the flow. > > 1. Client sends to Linux Router: 192.168.206.83 -> 192.168.206.56, > 2. Linux router sends to SERVER where the source IP is unchanged: > 192.168.206.83 ->

Re: [PATCH v6 23/25] usb: chipidea: Pullup D+ in device mode via phy APIs

2017-01-12 Thread Peter Chen
On Wed, Jan 11, 2017 at 04:19:53PM -0800, Stephen Boyd wrote: > Quoting Peter Chen (2017-01-02 22:53:19) > > On Wed, Dec 28, 2016 at 02:57:09PM -0800, Stephen Boyd wrote: > > > If the phy supports it, call phy_set_mode() to pull up D+ when > > > required by setting the mode to PHY_MODE_USB_DEVICE.

Re: [PATCH] i2c: piix4: Avoid race conditions with IMC

2017-01-12 Thread Wolfram Sang
> > > + unsigned short piix4_smba = adapdata->smba; > > > u8 smba_en_lo; > > > u8 port; > > > int retval; > > > + int timeout = 0; > > > + int smbslvcnt; > > > > Keep them just after your another added variable. > > FWIW, I don't think this makes sense

[PATCH 32/37] Documentation: misc-devices: Add Documentation for pci-endpoint-test driver

2017-01-12 Thread Kishon Vijay Abraham I
Add Documentation for pci-endpoint-test driver. Signed-off-by: Kishon Vijay Abraham I --- Documentation/misc-devices/pci-endpoint-test.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/misc-devices/pci-endpoint-test.txt diff

[PATCH 37/37] ARM: dts: DRA7: Add pcie1 dt node for EP mode

2017-01-12 Thread Kishon Vijay Abraham I
Add pcie1 dt node in order for the controller to operate in endpoint mode. However since none of the dra7 based boards have slots configured to operate in endpoint mode, keep EP mode disabled. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am572x-idk.dts

[PATCH 15/37] Documentation: PCI: Guide to use PCI Endpoint Core Layer

2017-01-12 Thread Kishon Vijay Abraham I
Add Documentation to help users use endpoint library to enable endpoint mode in the PCI controller and add new PCI endpoint functions. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX |2 + Documentation/PCI/endpoint/pci-endpoint.txt |

[PATCH 19/37] PCI: endpoint: functions: Add an EP function to test PCI

2017-01-12 Thread Kishon Vijay Abraham I
This adds a new endpoint function driver (to program the virtual test device) making use of the EP-core library. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/Kconfig |2 + drivers/pci/endpoint/Makefile |3 +-

[PATCH 20/37] Documentation: PCI: Add binding documentation for pci-test endpoint function

2017-01-12 Thread Kishon Vijay Abraham I
Add binding documentation for pci-test endpoint function that helps in adding and configuring pci-test endpoint function. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX |2 ++ .../PCI/endpoint/function/binding/pci-test.txt |

Re: [PATCH 3/4] mm, page_allocator: Only use per-cpu allocator for irq-safe requests

2017-01-12 Thread Mel Gorman
On Wed, Jan 11, 2017 at 02:27:12PM +0100, Jesper Dangaard Brouer wrote: > On Wed, 11 Jan 2017 13:44:20 +0100 > Jesper Dangaard Brouer wrote: > > > On Mon, 9 Jan 2017 16:35:17 + Mel Gorman > > wrote: > > > > > The following is results from

[PATCH] ASoC: rt5660: remove double const

2017-01-12 Thread Nicholas Mc Guire
const qualifier so that results in the "duplicate const" from sparse. The fix is simply to drop the first const. Patch was compile tested with: x86_64_defconfig + CONFIG_COMPILE_TEST=y SND_SOC=m + SND_SOC_ALL_CODECS=m (implies SND_SOC_RT5660=m) Patch is aginast 4.10-rc3 (localver

Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()

2017-01-12 Thread Kalle Valo
Bjorn Andersson wrote: > The correct include file for getting errno constants and ERR_PTR() is > linux/err.h, rather than linux/errno.h, so fix the include. > > Fixes: e8b123e60084 ("soc: qcom: smem_state: Add stubs for disabled > smem_state") > Acked-by: Andy Gross

Re: ath9k: fix spelling mistake: "meaurement" -> "measurement"

2017-01-12 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in ath_err message > > Signed-off-by: Colin Ian King Patch applied to ath-next branch of ath.git, thanks. 714ee339ff90 ath9k: fix

Re: [PATCH] rtc: armada38x: hide maybe-uninitialized warning

2017-01-12 Thread Alexandre Belloni
Hi Arnd, On 11/01/2017 at 15:50:31 +0100, Arnd Bergmann wrote : > The function is too complicated for gcc to realize that this variable > does eventually get initialized, causing a harmless warning: > > drivers/rtc/rtc-armada38x.c: In function 'read_rtc_register_wa': >

Re: [Ocfs2-devel] [PATCH 2/2] ocfs2: fix deadlocks when taking inode lock at vfs entry points

2017-01-12 Thread Eric Ren
Hi Joseph, On 01/09/2017 10:13 AM, Eric Ren wrote: So you are trying to fix it by making phase3 finish without really doing Phase3 can go ahead because this node is already under protection of cluster lock. You said it was blocked... Oh, sorry, I meant phase3 can go ahead if this patch set

Re: [PATCH v2 3/3] phy: rockchip-inno-usb2: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set

2017-01-12 Thread Kishon Vijay Abraham I
Hi, On Thursday 12 January 2017 12:13 PM, Baolin Wang wrote: > On 3 January 2017 at 13:54, Baolin Wang wrote: >> Hi Kison and Heiko, >> >> On 21 December 2016 at 16:12, Baolin Wang wrote: >>> According to the documentation, we should set the

Re: x86-64: Maintain 16-byte stack alignment

2017-01-12 Thread Ingo Molnar
* Herbert Xu wrote: > > But if we can't do this with automatic verification, then I'm not sure > > I want to do it at all. The asm is already more precarious than I'd > > like, and having a code path that is misaligned is asking for obscure > > bugs down the road.

[tip:perf/core] perf trace: Allow specifying list of syscalls and events in -e/--expr/--event

2017-01-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 017037ff3d0b11842012878a546fe2df47822259 Gitweb: http://git.kernel.org/tip/017037ff3d0b11842012878a546fe2df47822259 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 9 Jan 2017 17:26:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf tools: Add unit_number__scnprintf function

2017-01-12 Thread tip-bot for Jiri Olsa
Commit-ID: 9808143ba2e54818a3cf445d9b69b3f5f15451ee Gitweb: http://git.kernel.org/tip/9808143ba2e54818a3cf445d9b69b3f5f15451ee Author: Jiri Olsa AuthorDate: Mon, 9 Jan 2017 10:51:55 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 Jan

[tip:perf/core] perf evlist: Fix typo in perf_evlist__start_workload()

2017-01-12 Thread tip-bot for Soramichi Akiyama
Commit-ID: e978be9ea2990f1af60fe10eadd2312a6250e0b8 Gitweb: http://git.kernel.org/tip/e978be9ea2990f1af60fe10eadd2312a6250e0b8 Author: Soramichi Akiyama AuthorDate: Tue, 10 Jan 2017 10:41:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: wl1251 & mac address & calibration data

2017-01-12 Thread Pavel Machek
Hi! > >> But overwriting that one file is not possible as it next update of > >> linux-firmware package will overwrite it back. It break any normal usage > >> of package management. > >> > >> Also it is ridiculously broken by design if some "boot" files needs to > >> be overwritten to

Re: [PATCH] afs: use random UUID

2017-01-12 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc3 next-20170111] [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/Arnd-Bergmann/afs-use-random-UUID/20170112

Re: [PATCH linux v2 0/6] drivers: hwmon: Add On-Chip Controller driver

2017-01-12 Thread Wolfram Sang
> This patchset adds a hwmon driver to support the OCC (On-Chip Controller) > on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management > Controller). The OCC is an embedded processor that provides real time > power and thermal monitoring. Please don't cc the I2C list for I2C

Re: [PATCH 2/4] efi/x86: move efi bgrt init code to early init code

2017-01-12 Thread Dave Young
[snip] > --- linux-x86.orig/drivers/acpi/bgrt.c > +++ linux-x86/drivers/acpi/bgrt.c [snip] > > @@ -84,9 +85,17 @@ static int __init bgrt_init(void) > { > int ret; > > - if (!bgrt_image) > + if (!bgrt_tab.image_address) > return -ENODEV; > > + bgrt_image =

PROBLEM: Belkin Thunderbolt 2 Express Dock HD display port hot plug not supported.

2017-01-12 Thread Duncan Law
[1.] One line summary of the problem: Belkin Thunderbolt 2 Express Dock HD display port hot plug not supported. [2.] Full description of the problem/report: When booted without the thunderbolt 2 Express dock connected, connecting the dock only allows USB and Ethernet to work, it does not support

[PATCHv2] v4l: split lane parsing code

2017-01-12 Thread Pavel Machek
From: Sakari Ailus The function to parse CSI2 bus parameters was called v4l2_of_parse_csi_bus(), rename it as v4l2_of_parse_csi2_bus() in anticipation of CSI1/CCP2 support. Obtain data bus type from bus-type property. Only try parsing bus specific properties in this case.

Re: Duplicate inode number when mount --bind some directories to same mountpoint. (from Fedora18 to 4.10-rc3)

2017-01-12 Thread Al Viro
On Thu, Jan 12, 2017 at 06:16:35PM +0900, Nakajima Akira wrote: > Bug: > Duplicate inode number when mount --bind some directories to same > mountpoint. (from Fedora18 to 4.10-rc3) > Fedora17 and earlier works correctly. Explain, please. "Duplicate inode number" between what and what? > And, >

Re: kvm: deadlock in kvm_vgic_map_resources

2017-01-12 Thread Marc Zyngier
On 12/01/17 09:55, Andre Przywara wrote: > Hi, > > On 12/01/17 09:32, Marc Zyngier wrote: >> Hi Dmitry, >> >> On 11/01/17 19:01, Dmitry Vyukov wrote: >>> Hello, >>> >>> While running syzkaller fuzzer I've got the following deadlock. >>> On commit 9c763584b7c8911106bb77af7e648bef09af9d80. >>> >>>

[PATCH 07/37] PCI: dwc: designware: Get device pointer at the start of dw_pcie_host_init

2017-01-12 Thread Kishon Vijay Abraham I
No functional change. Get device pointer at the beginning of dw_pcie_host_init instead of getting it all over dw_pcie_host_init. This is in preparation for splitting struct pcie_port into host and core structures (Once split pcie_port will not have device pointer). Signed-off-by: Kishon Vijay

[PATCH 27/37] PCI: dwc: dra7xx: Add EP mode support

2017-01-12 Thread Kishon Vijay Abraham I
The PCIe controller integrated in dra7xx SoCs is capable of operating in endpoint mode. Add endpoint mode support to dra7xx driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig | 31 +- drivers/pci/dwc/Makefile |4 +-

[PATCH 28/37] dt-bindings: PCI: dra7xx: Add dt bindings for pci dra7xx EP mode

2017-01-12 Thread Kishon Vijay Abraham I
Add device tree binding documentation for pci dra7xx EP mode. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt | 37 ++ 1 file changed, 30 insertions(+), 7 deletions(-) diff --git

[PATCH 10/37] PCI: dwc: designware: Fix style errors in pcie-designware.c

2017-01-12 Thread Kishon Vijay Abraham I
No functional change. Fix all checkpatch warnings and check errors in pcie-designware.c Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/pcie-designware.c | 42 ++--- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git

[PATCH 1/3] mm, page_alloc: Split buffered_rmqueue

2017-01-12 Thread Mel Gorman
buffered_rmqueue removes a page from a given zone and uses the per-cpu list for order-0. This is fine but a hypothetical caller that wanted multiple order-0 pages has to disable/reenable interrupts multiple times. This patch structures buffere_rmqueue such that it's relatively easy to build a bulk

Re: kvm: deadlock in kvm_vgic_map_resources

2017-01-12 Thread Christoffer Dall
On Thu, Jan 12, 2017 at 10:30:39AM +, Marc Zyngier wrote: > On 12/01/17 09:55, Andre Przywara wrote: > > Hi, > > > > On 12/01/17 09:32, Marc Zyngier wrote: > >> Hi Dmitry, > >> > >> On 11/01/17 19:01, Dmitry Vyukov wrote: > >>> Hello, > >>> > >>> While running syzkaller fuzzer I've got the

[PATCH 0/3] Use per-cpu allocator for !irq requests and prepare for a bulk allocator

2017-01-12 Thread Mel Gorman
Changelog since v2 o Add ack's and benchmark data o Rebase to 4.10-rc3 Changelog since v1 o Remove a scheduler point from the allocation path o Finalise the bulk allocator and test it This series is motivated by a conversation led by Jesper Dangaard Brouer at the last LSF/MM proposing a generic

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