Re: [PATCH v2 0/15] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-05-31 Thread Takiguchi, Yasunari
Hi, all I sent the patch series of Sony CXD2880 DVB-T2/T tuner + demodulator driver on Apr/14. Are there any comments, advices and review results for them? I'd like to get better understanding of current review status for our codes. Regards, Takiguchi

Re: [PATCH 5/6] mm: memcontrol: per-lruvec stats infrastructure

2017-05-31 Thread Johannes Weiner
On Wed, May 31, 2017 at 11:18:21AM -0700, Andrew Morton wrote: > On Wed, 31 May 2017 13:14:50 -0400 Johannes Weiner wrote: > > > Andrew, the 0day tester found a crash with this when special pages get > > faulted. They're not charged to any cgroup and we'll deref NULL. > > > > Can you include the

[PATCH] rxe: Fix a sleep-in-atomic bug in post_one_send

2017-05-31 Thread Jia-Ju Bai
The driver may sleep under a spin lock, and the function call path is: post_one_send (acquire the lock by spin_lock_irqsave) init_send_wqe copy_from_user --> may sleep To fix it, the lock is released before copy_from_user, and the lock is acquired again after this function. Signed-off-by: J

[PATCH v2] Input: tm2-touchkey - use LEN_ON as boolean value instead of LED_FULL

2017-05-31 Thread Andi Shyti
Commit 4e552c8cb5bc ("leds: add LED_ON brightness as boolean value") has introduced the LED_ON enumeration value that can be used instead of LED_FULL which has more of a linear value. Because the tm2-touchscreen doesn't have brightness levels, but it's a simple on/off led, use LED_ON instead of LE

Error trying to build the latest V4L on a BeagleBone Black

2017-05-31 Thread Ron Moreland
’m trying to build the latest V4L on a BeagleBone Black ( BBB ): lsb_release -a -> No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux 8.8 (jessie) Release:8.8 Codename: jessie name -mrs -> Linux 4.4.54-ti-r93 armv7l error: ./scripts/make_kconfig.

Re: [PATCH v2] net: fec: add post PHY reset delay DT property

2017-05-31 Thread Florian Fainelli
Le 05/31/17 à 18:39, Andy Duan a écrit : > From: Rob Herring Sent: Thursday, June 01, 2017 12:44 AM >> On Tue, May 23, 2017 at 11:48:08AM +0200, Quentin Schulz wrote: >>> Some PHY require to wait for a bit after the reset GPIO has been >>> toggled. This adds support for the DT property `phy-reset-

Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22

2017-05-31 Thread Balbir Singh
On Thu, May 25, 2017 at 3:53 AM, Jerome Glisse wrote: > On Wed, May 24, 2017 at 11:55:12AM +1000, Balbir Singh wrote: >> On Tue, May 23, 2017 at 2:51 AM, Jérôme Glisse wrote: >> > Patchset is on top of mmotm mmotm-2017-05-18, git branch: >> > >> > https://cgit.freedesktop.org/~glisse/linux/log/?h

[PATCH] i40iw: Add a value assignment to avoid sleep-in-atomic bug caused by uninitialized value

2017-05-31 Thread Jia-Ju Bai
The value "cqp_request->waiting" indicates whether the sleeping operation should be performed, and it is not assigned in i40iw_get_cqp_request, so the driver may sleep in interrupt handling. The function call path is: i40iw_dpc (tasklet_init indicates it handles interrupt) i40iw_process_aeq

Re: [f2fs-dev] [PATCH] f2fs: remove false-positive bug_on

2017-05-31 Thread Jaegeuk Kim
On 05/31, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/5/27 7:59, Jaegeuk Kim wrote: > > If we got failure from both of create and evict_inode, we can hit this wrong > > bug_on. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/inode.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff -

Re: [PATCH 1/7] HID: hiddev: use hid_hw_open/close instead of usbhid_open/close

2017-05-31 Thread kbuild test robot
Hi Dmitry, [auto build test WARNING on hid/for-next] [also build test WARNING on v4.12-rc3 next-20170531] [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/Dmitry-Torokhov/HID-Consolidate

[no subject]

2017-05-31 Thread Dave Airlie
Hi Linus, This is the main set of fixes for rc4, one amdgpu fix, some exynos regression fixes, some msm fixes and some i915 and GVT fixes. I've got a second regression fix for some DP chips that might be a bit large, but I think we'd like to land it now, I'll send it along tomorrow, once you are

[git pull] drm fixes for v4.12-rc4

2017-05-31 Thread Dave Airlie
oops forgot subject. On 1 June 2017 at 12:26, Dave Airlie wrote: > Hi Linus, > > This is the main set of fixes for rc4, one amdgpu fix, some exynos > regression fixes, some msm fixes and some i915 and GVT fixes. > > I've got a second regression fix for some DP chips that might be a bit > large, b

[PATCH v1 0/2] remove mediatek ethif clock in crypto driver

2017-05-31 Thread Ryder Lee
This patch series only remove redundant clock setting in mediatek crypto driver. Changes since v1: -rework the commit message. Ryder Lee (2): crypto: mediatek - remove redundant clock setting dt-bindings: crypto: remove mediatek ethif clock Documentation/devicetree/bindings/crypto/mediatek-

[PATCH v1 1/2] crypto: mediatek - remove redundant clock setting

2017-05-31 Thread Ryder Lee
This patch removes redundant clock setting for 'clk_ethif', which is the parent of 'clk_cryp'. Hence, we just need to handle its child. Signed-off-by: Ryder Lee --- drivers/crypto/mediatek/mtk-platform.c | 10 +- drivers/crypto/mediatek/mtk-platform.h | 2 -- 2 files changed, 1 insertio

[PATCH v1 2/2] dt-bindings: crypto: remove mediatek ethif clock

2017-05-31 Thread Ryder Lee
This patch removes the parent clock 'ethif' in bindings, since we don't need to control the parent of a clock in current clock framework. Moreover, the clocks are get by name in the driver, thus this change does not break backwards compatibility. Signed-off-by: Ryder Lee Reviewed-by: Matthias Br

[PATCH] cw1200: Fix a sleep-in-atomic bug in cw1200_tx_confirm_cb and cw1200_cqm_bssloss_sm

2017-05-31 Thread Jia-Ju Bai
The driver may sleep under a spin lock, and the function call path is: cw1200_tx_confirm_cb (acquire the lock by spin_lock) __cw1200_cqm_bssloss_sm cancel_work_sync --> may sleep cw1200_cqm_bssloss_sm __cw1200_cqm_bssloss_sm cancel_work_sync --> may sleep To fix it, the lock is releas

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-31 Thread Kees Cook
On Tue, May 30, 2017 at 4:56 PM, Alan Cox wrote: >> This is my point. Apps will continue to shoot themselves in the foot. Of >> course >> the correct response to one of these vulns is to not pass ttys across a >> security boundary. We have an opportunity here to reduce the impact of this >> bug

Re: [PATCH] lpfc: nvmet_fc: fix format string

2017-05-31 Thread Martin K. Petersen
Arnd, > The lpfc_nvmeio_data() tracing helper always takes a format string and > three additional arguments. The latest caller has a format string with > only two integer arguments, causing this harmless warning: Applied to 4.12/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux En

Re: [PATCH] scsi: lpfc: prevent potential null pointer dereference

2017-05-31 Thread Martin K. Petersen
Gustavo A., > Null check at line 966: if (ndlp) {, implies that ndlp might be NULL. > Functions lpfc_nlp_set_state() and lpfc_issue_els_prli() dereference > pointer ndlp. Include these function calls inside the IF block that > tests pointer ndlp. Applied to 4.12/scsi-fixes. Thank you! -- Marti

Re: [PATCH] scsi: lpfc: fix spelling mistake "entrys" -> "entries"

2017-05-31 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in debugfs message Applied to 4.13/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] reboot: extend delay from 50us to 50ms for CF9 reboot

2017-05-31 Thread Shi, FengX
On some emulator system, 50us is not enough to reboot the system when write reboot_code to cf9. System will halt there by int3. Here extend the delay time from 50us to 50ms. Such extension will improve the robustness of reboot, without impact to the time of system reboot, which is already triggere

Re: [f2fs-dev] [PATCH] f2fs: remove false-positive bug_on

2017-05-31 Thread Chao Yu
On 2017/6/1 10:12, Jaegeuk Kim wrote: > On 05/31, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2017/5/27 7:59, Jaegeuk Kim wrote: >>> If we got failure from both of create and evict_inode, we can hit this wrong >>> bug_on. >>> >>> Signed-off-by: Jaegeuk Kim >>> --- >>> fs/f2fs/inode.c | 2 -- >>> 1 fil

RE: [PATCH v6 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-05-31 Thread Chen, Xiaoguang
Hi Kirti, >-Original Message- >From: Kirti Wankhede [mailto:kwankh...@nvidia.com] >Sent: Thursday, June 01, 2017 1:23 AM >To: Chen, Xiaoguang ; Gerd Hoffmann >; alex.william...@redhat.com; ch...@chris-wilson.co.uk; >intel-...@lists.freedesktop.org; linux-kernel@vger.kernel.org; >zhen...@li

RE: [PATCH v6 5/6] drm/i915/gvt: Dmabuf support for GVT-g

2017-05-31 Thread Chen, Xiaoguang
Hi Gerd, >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Gerd Hoffmann >Sent: Wednesday, May 31, 2017 8:05 PM >To: Chen, Xiaoguang ; >alex.william...@redhat.com; ch...@chris-wilson.co.uk; intel- >g...@lists.freedesktop.org; linux-

[PATCH 3/3 v2] arm64: vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW

2017-05-31 Thread John Stultz
From: Will Deacon Recently vDSO support for CLOCK_MONOTONIC_RAW was added in 49eea433b326 ("arm64: Add support for CLOCK_MONOTONIC_RAW in clock_gettime() vDSO"). Noticing that the core timekeeping code never set tkr_raw.xtime_nsec, the vDSO implementation didn't bother exposing it via the data pa

[PATCH 2/3 v2] time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting

2017-05-31 Thread John Stultz
Due to how the MONOTONIC_RAW accumulation logic was handled, there is the potential for a 1ns discontinuity when we do accumulations. This small discontinuity has for the most part gone un-noticed, but since ARM64 enabled CLOCK_MONOTONIC_RAW in their vDSO clock_gettime implementation, we've seen fa

[PATCH 1/3 v2] time: Fix clock->read(clock) race around clocksource changes

2017-05-31 Thread John Stultz
In some testing on arm64 platforms, I was seeing null ptr crashes in the kselftest/timers clocksource-switch test. This was happening in a read function like: u64 clocksource_mmio_readl_down(struct clocksource *c) { return ~(u64)readl_relaxed(to_mmio_clksrc(c)->reg) & c->mask; } Where the cal

Re: [PATCH 7/7] HID: remove no longer used hid->open field

2017-05-31 Thread kbuild test robot
Hi Dmitry, [auto build test ERROR on hid/for-next] [also build test ERROR on v4.12-rc3 next-20170531] [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/Dmitry-Torokhov/HID-Consolidate-serializing

[PATCH 0/3 v2] Fixes for two recently found timekeeping bugs

2017-05-31 Thread John Stultz
As part of the Linaro Linux Kernel Functional Test (LKFT) effort, test failures from kselftest/timer's inconsistency-check were reported connected to CLOCK_MONOTONIC_RAW, on the HiKey platform. Digging in I found that an old issue with how sub-ns accounting is handled with the RAW time which was f

Re: [PATCH] thermal: broadcom: ns-thermal: depends/default only for NS/NSP

2017-05-31 Thread Eduardo Valentin
On Wed, May 31, 2017 at 03:55:44PM -0400, Jon Mason wrote: > ARCH_BCM_IPROC includes support for many SoCs, not all of which have the > same thermal hardware interface as the Northstar/Northstar Plus SoCs. > This is not a major issue, as this driver will only be probed if the > relevant device tree

Re: [PATCH v7 02/26] x86/mm: Relocate page fault error codes to traps.h

2017-05-31 Thread Ricardo Neri
On Sat, 2017-05-27 at 12:13 +0200, Borislav Petkov wrote: > On Fri, May 26, 2017 at 08:40:26PM -0700, Ricardo Neri wrote: > > This change was initially intended to only rename the error codes, > > without functional changes. Would making change be considered a > change > > in functionality? > > Ho

[PATCH] gpio: lp87565: Add support for GPIO

2017-05-31 Thread Keerthy
Add driver for lp87565 PMIC family GPIOs. Three GPIOs are supported and can be configured in Open-drain output or Push-pull output. Signed-off-by: Keerthy --- The latest version of mfd driver for this pmic is posted: https://lkml.org/lkml/2017/5/30/463 drivers/gpio/Kconfig| 10 +++

[PATCH] cx18: Fix a sleep-in-atomic bug in snd_cx18_pcm_hw_free

2017-05-31 Thread Jia-Ju Bai
The driver may sleep under a spin lock, and the function call path is: snd_cx18_pcm_hw_free (acquire the lock by spin_lock_irqsave) vfree --> may sleep To fix it, the "substream->runtime->dma_area" is passed to a temporary value, and mark it NULL when holding the lock. The memory is freed by v

[PATCH] ivtv: Fix a sleep-in-atomic bug in snd_ivtv_pcm_hw_free

2017-05-31 Thread Jia-Ju Bai
The driver may sleep under a spin lock, and the function call path is: snd_ivtv_pcm_hw_free (acquire the lock by spin_lock_irqsave) vfree --> may sleep To fix it, the "substream->runtime->dma_area" is passed to a temporary value, and mark it NULL when holding the lock. The memory is freed by vfr

Re: [PATCH 7/7] HID: remove no longer used hid->open field

2017-05-31 Thread kbuild test robot
Hi Dmitry, [auto build test WARNING on hid/for-next] [also build test WARNING on v4.12-rc3 next-20170531] [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/Dmitry-Torokhov/HID-Consolidate

[RFC 0/3] staging: ks7010: cfg80211 conversion, add FIL

2017-05-31 Thread Tobin C. Harding
Current ks7010 driver uses the WEXT interface. This series is the initial stage of re-writing the driver to use cfg80211. Patch set applies on Linus' mainline. 5ed02dbb497422bf225783f46e6eadd237d23d6b Linux 4.12-rc3 Throws 4 compiler warnings for functions defined and not used. As a first step

[RFC 2/3] staging: ks7010: add cfg80211 files

2017-05-31 Thread Tobin C. Harding
We are in the process of re-writing the current WEXT driver to use the cfg80211 configuration API. Currently driver root directory is empty. First step is to implement all the firmware interface in a single layer of abstraction, Firmware Interface Layer (FIL). We can add a skeleton implementation f

[RFC 3/3] MAINTAINERS: add maintainer entry for ks7010

2017-05-31 Thread Tobin C. Harding
Driver ks7010 does not currently have a maintainer. Add maintainers entry for ks7010. Signed-off-by: Tobin C. Harding --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9e98464..75250ee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7429,6

Re: [PATCH v8 2/5] usb: early: add driver for xhci debug capability

2017-05-31 Thread Lu Baolu
Hi, On 05/31/2017 02:24 PM, Steven Rostedt wrote: > On Wed, 31 May 2017 11:27:19 +0800 > Lu Baolu wrote: > > + +#define XDBC_TRACE +#ifdef XDBC_TRACE +#define xdbc_trace trace_printk >>> Did you forget to remove the #define XDBC_TRACE? >>> >>> Enabling this driver

Re: [v3 0/9] parallelized "struct page" zeroing

2017-05-31 Thread Pasha Tatashin
OK, so why cannot we make zero_struct_page 8x 8B stores, other arches would do memset. You said it would be slower but would that be measurable? I am sorry to be so persistent here but I would be really happier if this didn't depend on the deferred initialization. If this is absolutely a no-go the

Re: [PATCH] megaraid: Fix a sleep-in-atomic bug

2017-05-31 Thread Jia-Ju Bai
On 05/31/2017 06:18 PM, Sumit Saxena wrote: -Original Message- From: Jia-Ju Bai [mailto:baijiaju1...@163.com] Sent: Wednesday, May 31, 2017 8:27 AM To: kashyap.de...@broadcom.com; sumit.sax...@broadcom.com; shivasharan.srikanteshw...@broadcom.com; j...@linux.vnet.ibm.com; martin.peter...@

Re: [PATCH v8 2/5] usb: early: add driver for xhci debug capability

2017-05-31 Thread Lu Baolu
Hi, On 05/31/2017 05:38 PM, Vlastimil Babka wrote: > On 05/31/2017 05:27 AM, Lu Baolu wrote: >> Hi, >> >> On 05/30/2017 09:46 PM, Vlastimil Babka wrote: >>> On 03/21/2017 09:01 AM, Lu Baolu wrote: XHCI debug capability (DbC) is an optional but standalone functionality provided by an xHCI

[PATCH] rts5208: Fix a sleep-in-atomic bug in rtsx_exclusive_enter_ss

2017-05-31 Thread Jia-Ju Bai
The driver may sleep under a spin lock, and the function call path is: rtsx_exclusive_enter_ss (acquire the lock by spin_lock) rtsx_enter_ss rtsx_power_off_card sd_cleanup_work sd_stop_seq_mode sd_switch_clock sd_ddr_tuning sd_ddr_pre_tuning_t

Re: [RFC 1/3] staging: ks7010: move WEXT files to sub directory

2017-05-31 Thread Greg KH
On Thu, Jun 01, 2017 at 01:27:06PM +1000, Tobin C. Harding wrote: > Current driver implements the WEXT interface. WEXT is in maintenance > mode, we need to re-write the driver using cfg80211. The current > driver is handy as a reference for the new implementation, we can keep > it in tree for now.

Re: [RFC 3/3] MAINTAINERS: add maintainer entry for ks7010

2017-05-31 Thread Greg KH
On Thu, Jun 01, 2017 at 01:27:08PM +1000, Tobin C. Harding wrote: > Driver ks7010 does not currently have a maintainer. > > Add maintainers entry for ks7010. > > Signed-off-by: Tobin C. Harding > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MA

[PATCH] rts5208: Fix a sleep-in-atomic bug in sd_power_off_card3v3

2017-05-31 Thread Jia-Ju Bai
The driver may sleep under a spin lock, and the function call path is: rtsx_exclusive_enter_ss (acquire the lock by spin_lock) rtsx_enter_ss rtsx_power_off_card sd_power_off_card3v3 wait_timeout schedule_timeout --> may sleep To fix it, "wait_timeout" is replaced with

Re: [RFC 3/3] MAINTAINERS: add maintainer entry for ks7010

2017-05-31 Thread Joe Perches
On Thu, 2017-06-01 at 12:46 +0900, Greg KH wrote: > On Thu, Jun 01, 2017 at 01:27:08PM +1000, Tobin C. Harding wrote: > > Add maintainers entry for ks7010. [] > > diff --git a/MAINTAINERS b/MAINTAINERS [] > > @@ -7429,6 +7429,13 @@ F: Documentation/auxdisplay/ks0108 > > F: drivers/auxdisplay/ks0

Re: [RFC 1/3] staging: ks7010: move WEXT files to sub directory

2017-05-31 Thread Tobin C. Harding
On Thu, Jun 01, 2017 at 12:45:37PM +0900, Greg KH wrote: > On Thu, Jun 01, 2017 at 01:27:06PM +1000, Tobin C. Harding wrote: > > Current driver implements the WEXT interface. WEXT is in maintenance > > mode, we need to re-write the driver using cfg80211. The current > > driver is handy as a referen

Re: [RFC 3/3] MAINTAINERS: add maintainer entry for ks7010

2017-05-31 Thread Tobin C. Harding
On Thu, Jun 01, 2017 at 12:46:30PM +0900, Greg KH wrote: > On Thu, Jun 01, 2017 at 01:27:08PM +1000, Tobin C. Harding wrote: > > Driver ks7010 does not currently have a maintainer. > > > > Add maintainers entry for ks7010. > > > > Signed-off-by: Tobin C. Harding > > --- > > MAINTAINERS | 7

linux-next: manual merge of the target-bva tree with the target-updates tree

2017-05-31 Thread Stephen Rothwell
Hi Bart, Today's linux-next merge of the target-bva tree got a conflict in: drivers/target/target_core_transport.c between commit: 4ff83daa0200 ("target: Re-add check to reject control WRITEs with overflow data") from the target-updates tree and commit: 2c0df665 ("target: Fix overf

Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store

2017-05-31 Thread Kalle Valo
Jia-Ju Bai writes: >> Did you actually observe the attempt to sleep under the spin lock, >> or did you discover this using some tool? In other words, have >> either of your patches been tested? > > In fact, my reported bugs are found by a static analysis tool written > by me, and they are checked

[GIT PULL] target fixes for v4.12-rc4

2017-05-31 Thread Nicholas A. Bellinger
Hello Linus, Here are the target-pending fixes for v4.12-rc4. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This includes: - ibmviscsis ABORT_TASK handling fixes that missed the v4.12 merge window. (Bryant Ly and Michael Cyr

[PATCH] doc/ko_KR/memory-barriers: Update control-dependencies example

2017-05-31 Thread SeongJae Park
This commit applies upstream change, commit b26cfc48e3e0 ("doc: Update control-dependencies section of memory-barriers.txt"), to Korean translation. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: linux-next: manual merge of the target-bva tree with the target-updates tree

2017-05-31 Thread Nicholas A. Bellinger
On Thu, 2017-06-01 at 14:10 +1000, Stephen Rothwell wrote: > Hi Bart, > > Today's linux-next merge of the target-bva tree got a conflict in: > > drivers/target/target_core_transport.c > > between commit: > > 4ff83daa0200 ("target: Re-add check to reject control WRITEs with overflow > data"

Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_op_bss_info_changed

2017-05-31 Thread Kalle Valo
Michael Büsch writes: >> > --- a/drivers/net/wireless/broadcom/b43legacy/main.c >> > +++ b/drivers/net/wireless/broadcom/b43legacy/main.c >> > @@ -2859,7 +2859,9 @@ static void b43legacy_op_bss_info_changed(struct >> > ieee80211_hw *hw, >> >b43legacy_write32(dev, B43legacy_MMIO_GEN_IRQ_MASK,

[PATCH] ARM: dts: rk1108: change to "max-frequency" from "clock-freq-min-max"

2017-05-31 Thread Jaehoon Chung
"clock-freq-min-max" was deprecated. There is only using in rk1108.dtsi. Use the "max-frequency" for removiing "clock-freq-min-max" in future. Signed-off-by: Jaehoon Chung --- arch/arm/boot/dts/rk1108.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dt

Re: linux-next: manual merge of the target-bva tree with the target-updates tree

2017-05-31 Thread Bart Van Assche
On Thu, 2017-06-01 at 14:10 +1000, Stephen Rothwell wrote: > Hi Bart, > > Today's linux-next merge of the target-bva tree got a conflict in: > > drivers/target/target_core_transport.c > > between commit: > > 4ff83daa0200 ("target: Re-add check to reject control WRITEs with overflow > data"

Re: linux-next: manual merge of the target-bva tree with the target-updates tree

2017-05-31 Thread Nicholas A. Bellinger
On Thu, 2017-06-01 at 04:59 +, Bart Van Assche wrote: > On Thu, 2017-06-01 at 14:10 +1000, Stephen Rothwell wrote: > > Hi Bart, > > > > Today's linux-next merge of the target-bva tree got a conflict in: > > > > drivers/target/target_core_transport.c > > > > between commit: > > > > 4ff83

Re: [PATCH v2 1/2] dt-bindings: timeriomem_rng: Add entropy quality property

2017-05-31 Thread Herbert Xu
On Mon, May 22, 2017 at 02:12:23PM -0700, Rick Altherr wrote: > Signed-off-by: Rick Altherr Both patches applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: linux-next: manual merge of the target-bva tree with the target-updates tree

2017-05-31 Thread Bart Van Assche
On Wed, 2017-05-31 at 21:27 -0700, Nicholas A. Bellinger wrote: > but a weeks worth of list silence for your series doesn't mean > you're free to push un-reviewed stuff for drivers/target/ into > linux-next. I think this is an example of the pot calling the kettle black. Your patch "target: Re-add

Re: [PATCH] rxe: Fix a sleep-in-atomic bug in post_one_send

2017-05-31 Thread Leon Romanovsky
On Thu, Jun 01, 2017 at 09:48:34AM +0800, Jia-Ju Bai wrote: > The driver may sleep under a spin lock, and the function call path is: > post_one_send (acquire the lock by spin_lock_irqsave) > init_send_wqe > copy_from_user --> may sleep > > To fix it, the lock is released before copy_from_user

Re: linux-next: manual merge of the target-bva tree with the target-updates tree

2017-05-31 Thread Nicholas A. Bellinger
On Thu, 2017-06-01 at 05:05 +, Bart Van Assche wrote: > On Wed, 2017-05-31 at 21:27 -0700, Nicholas A. Bellinger wrote: > > but a weeks worth of list silence for your series doesn't mean > > you're free to push un-reviewed stuff for drivers/target/ into > > linux-next. > > I think this is an e

[PATCH 0/2] PCI: iproc: SOC specific fixes.

2017-05-31 Thread Oza Pawandeep
PCI: iproc: Retry request when CRS returned from EP Above patch adds support for CRS in PCI RC driver, otherwise if not handled at lower level, the user space PMD (poll mode drivers) can timeout. PCI: iproc: add device shutdown for PCI RC This fixes the issue where certian PCI endpoints are not

[PATCH 1/2] PCI: iproc: Retry request when CRS returned from EP

2017-05-31 Thread Oza Pawandeep
For Configuration Requests only, following reset it is possible for a device to terminate the request but indicate that it is temporarily unable to process the Request, but will be able to process the Request in the future – in this case, the Configuration Request Retry Status 10 (CRS) Completion S

[PATCH 2/2] PCI: iproc: add device shutdown for PCI RC

2017-05-31 Thread Oza Pawandeep
PERST# must be asserted around ~500ms before the reboot is applied. During soft reset (e.g., "reboot" from Linux) on some iProc based SoCs LCPLL clock and PERST both goes off simultaneously. This will cause certain Endpoints Intel NVMe not get detected, upon next boot sequence. This happens becau

Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_op_bss_info_changed

2017-05-31 Thread Michael Büsch
On Thu, 01 Jun 2017 07:27:20 +0300 Kalle Valo wrote: > Michael Büsch writes: > > >> > --- a/drivers/net/wireless/broadcom/b43legacy/main.c > >> > +++ b/drivers/net/wireless/broadcom/b43legacy/main.c > >> > @@ -2859,7 +2859,9 @@ static void b43legacy_op_bss_info_changed(struct > >> > ieee80211_

Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_op_bss_info_changed

2017-05-31 Thread Michael Büsch
On Wed, 31 May 2017 19:07:15 -0500 Larry Finger wrote: > On 05/31/2017 10:32 AM, Michael Büsch wrote: > > On Wed, 31 May 2017 13:26:43 +0300 > > Kalle Valo wrote: > > > >> Jia-Ju Bai writes: > >> > >>> The driver may sleep under a spin lock, and the function call path is: > >>> b43legacy_o

Re: [Linux-graphics-maintainer] No mouse cursor since 36cc79bc9077319c04bd3b132edcacaa9a0d9f2b

2017-05-31 Thread m . t
> m...@ox.io hat am 11. Mai 2017 um 07:38 geschrieben: > > > > > Sinclair Yeh hat am 10. Mai 2017 um 18:46 geschrieben: > > > > > > Hi, > > Hi, > > > On Wed, May 10, 2017 at 12:31:39PM +0200, m.t wrote: > > > > > > > Thomas Hellstrom hat am 10. Mai 2017 um 10:35 geschrieben: > > > > > >

[LINUX-KERNEL] Kernel hung for more than 120 seconds due to tee process

2017-05-31 Thread Rajesh Natarajan
Hi, In debian wheezy system while writing logs to SSD using tee command , we are experiencing kernel hung problem. Can anyone help in avoiding this problem ? I haven't subscribed to kernel mailing list,so re-ponders please CC me in the reply. Kernel trace : kernel: [ 960.964830] INFO: task

linux-next: Tree for Jun 1

2017-05-31 Thread Stephen Rothwell
Hi all, Changes since 20170531: The net-next tree gained a conflict against the net tree. The mfd tree still had its build failure so I used the version from next-20170530. The drivers-x86 tree lost its build failure. The target-bva tree gained a conflict against the target-updates tree. The

RE: [PATCH v2] net: fec: add post PHY reset delay DT property

2017-05-31 Thread Andy Duan
From: Florian Fainelli Sent: Thursday, June 01, 2017 9:53 AM >To: Andy Duan ; Rob Herring ; >Quentin Schulz >Cc: mark.rutl...@arm.com; net...@vger.kernel.org; >devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; >thomas.petazz...@free-electrons.com >Subject: Re: [PATCH v2] net: fec: add po

Re: [PATCH v3 13/23] scsi: hisi_sas: add phy up/down/bcast and channel ISR

2017-05-31 Thread Christoph Hellwig
On Wed, May 31, 2017 at 10:33:05PM +0800, John Garry wrote: > From: Xiang Chen > > Add code to initialise interrupts and add some interrupt handlers. > > Signed-off-by: John Garry > Signed-off-by: Xiang Chen > --- > drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 281 > +

Re: [PATCH v3 14/23] scsi: hisi_sas: add v3 cq interrupt handler

2017-05-31 Thread Christoph Hellwig
> + case SAS_PROTOCOL_SSP: > + { > + unsigned char op = task->ssp_task.cmd->cmnd[0]; > + > + if (op == READ_6 || op == WRITE_6 || > + op == READ_10 || op == WRITE_10 || > + op == READ_12 || op == WRITE_12 || > +

[RFC PATCH 00/10] x86: undwarf unwinder

2017-05-31 Thread Josh Poimboeuf
Create a new 'undwarf' unwinder, enabled by CONFIG_UNDWARF_UNWINDER, and plug it into the x86 unwinder framework. Objtool is used to generate the undwarf debuginfo. The undwarf debuginfo format is basically a simplified version of DWARF CFI. More details below. The unwinder works well in my tes

[RFC PATCH 01/10] objtool: move checking code to check.c

2017-05-31 Thread Josh Poimboeuf
In preparation for the new 'objtool undwarf generate' command, which will rely on 'objtool check', move the checking code from builtin-check.c to check.c where it can be used by other commands. Signed-off-by: Josh Poimboeuf --- tools/objtool/Build|1 + tools/objtool/b

[RFC PATCH 07/10] x86/asm: add CFI hint annotations to sync_core()

2017-05-31 Thread Josh Poimboeuf
This enables the unwinder to grok the iret in the middle of a C function. Signed-off-by: Josh Poimboeuf --- arch/x86/include/asm/processor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 3cada99..9b90129 100644 --

[RFC PATCH 08/10] extable: rename 'sortextable' script to 'sorttable'

2017-05-31 Thread Josh Poimboeuf
Soon it will be used to sort the undwarf table as well. Signed-off-by: Josh Poimboeuf --- Documentation/dontdiff | 2 +- scripts/.gitignore | 2 +- scripts/Makefile | 4 ++-- scripts/link-vmlinux.sh| 2 +- scripts/{sortext

[RFC PATCH 09/10] extable: add undwarf table sorting ability to sorttable script

2017-05-31 Thread Josh Poimboeuf
The undwarf table needs to be sorted at vmlinux link time, just like the extable. Extend sorttable's functionality to do so. Signed-off-by: Josh Poimboeuf --- init/Kconfig| 4 ++ scripts/Makefile| 2 +- scripts/link-vmlinux.sh | 7 +- scripts/sorttable.c | 178

[RFC PATCH 10/10] x86/unwind: add undwarf unwinder

2017-05-31 Thread Josh Poimboeuf
Add a new 'undwarf' unwinder which is enabled by CONFIG_UNDWARF_UNWINDER. It plugs into the existing x86 unwinder framework. It relies on objtool to generate the needed .undwarf section. For more details on why undwarf is used instead of DWARF, see tools/objtool/Documentation/undwarf.txt. Signe

[RFC PATCH 05/10] objtool, x86: add facility for asm code to provide CFI hints

2017-05-31 Thread Josh Poimboeuf
Some asm (and inline asm) code does special things to the stack which objtool can't understand. (Nor can GCC or GNU assembler, for that matter.) In such cases we need a facility for the code to provide annotations, so the unwinder can unwind through it. This provides such a facility, in the form

[RFC PATCH 06/10] x86/entry: add CFI hint undwarf annotations

2017-05-31 Thread Josh Poimboeuf
Add CFI hint undwarf annotations to entry_64.S. This will enable the undwarf unwinder to unwind through any location in the entry code including syscalls, interrupts, and exceptions. Signed-off-by: Josh Poimboeuf --- arch/x86/entry/Makefile | 1 - arch/x86/entry/calling.h | 5 + arch/x

[RFC PATCH 04/10] objtool: add undwarf debuginfo generation

2017-05-31 Thread Josh Poimboeuf
Now that objtool knows the states of all registers on the stack for each instruction, it's straightforward to generate debuginfo for an unwinder to use. Instead of generating DWARF, generate a new format called undwarf, which is more suitable for an in-kernel unwinder. See tools/objtool/Documenta

[RFC PATCH 03/10] objtool: stack validation 2.0

2017-05-31 Thread Josh Poimboeuf
This is a major rewrite of objtool. Instead of only tracking frame pointer changes, it now tracks all stack-related operations, including all register saves/restores. In addition to making stack validation more robust, this also paves the way for undwarf generation. Signed-off-by: Josh Poimboeuf

[RFC PATCH 02/10] objtool, x86: add several functions and files to the objtool whitelist

2017-05-31 Thread Josh Poimboeuf
In preparation for an objtool rewrite which will have broader checks, whitelist functions and files which cause problems because they do unusual things with the stack. These whitelists serve as a TODO list for which functions and files don't yet have undwarf unwinder coverage. Eventually most of

Re: [PATCH] ivtv: Fix a sleep-in-atomic bug in snd_ivtv_pcm_hw_free

2017-05-31 Thread kbuild test robot
Hi Jia-Ju, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.12-rc3 next-20170531] [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/Jia-Ju-Bai/ivtv-Fix-a-sleep-in

Re: [PATCH] cx18: Fix a sleep-in-atomic bug in snd_cx18_pcm_hw_free

2017-05-31 Thread kbuild test robot
Hi Jia-Ju, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.12-rc3 next-20170531] [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/Jia-Ju-Bai/cx18-Fix-a-sleep-in

Re: [PATCH v3 1/1] intel_telemetry_debugfs: fix oops found while load/unload module test

2017-05-31 Thread kbuild test robot
Hi Priyalee, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on v4.12-rc3 next-20170531] [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/priyalee-kushwaha-intel

Re: [PATCH v2 5/5] ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()

2017-05-31 Thread Christoph Hellwig
On Thu, Jun 01, 2017 at 12:42:30AM +0200, Rafael J. Wysocki wrote: > On Wednesday, May 31, 2017 10:41:52 PM Andy Shevchenko wrote: > > acpi_evaluate_dsm() and friends take a pointer to a raw buffer of 16 > > bytes. Instead we convert them to use guid_t type. At the same time we > > convert current

Re: linux-next: Tree for May 31

2017-05-31 Thread Michael Ellerman
able to handle kernel paging request for data at address 0x04f0 Faulting instruction address: 0xc033fd48 Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=2048 NUMA PowerNV Modules linked in: CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.0-rc3-gccN-next-

Re: [RFC PATCH 00/10] x86: undwarf unwinder

2017-05-31 Thread Ingo Molnar
* Josh Poimboeuf wrote: > Here's the contents of the undwarf.txt file which explains the 'why' in > more detail: Ok, so the code quality looks pretty convincing to me - the new core 'undwarf' unwinder code is a _lot_ more readable than any of the Dwarf based attempts before. That we control

[PATCH 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2017-05-31 Thread Erin Lo
From: YT Shen This patch adds the device nodes for the DISP function blocks for MT2701 Signed-off-by: YT Shen Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 84 +++ 1 file changed, 84 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi

[PATCH 1/3] arm: dts: mt2701: Add ethernet device node

2017-05-31 Thread Erin Lo
From: Sean Wang Add ethernet device node for MT2701 Signed-off-by: Sean Wang Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 8037210..de88bd7

Re: [PATCH V1 13/15] spmi: pmic-arb: add support for HW version 5

2017-05-31 Thread Stephen Boyd
On 05/30, Kiran Gunda wrote: > diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c > index 412481d..b755c24 100644 > --- a/drivers/spmi/spmi-pmic-arb.c > +++ b/drivers/spmi/spmi-pmic-arb.c > @@ -112,7 +123,8 @@ enum pmic_arb_cmd_op_code { > > struct apid_data { > u16

Re: [PATCH] net: ethernet: stmmac: Fix altr_tse_pcs SGMII Initialization

2017-05-31 Thread Giuseppe CAVALLARO
On 5/31/2017 9:28 PM, thor.tha...@linux.intel.com wrote: From: Thor Thayer Fix NETDEV WATCHDOG timeout on startup by adding missing register writes that properly setup SGMII. Signed-off-by: Thor Thayer Thanks a lot for this fix. Acked-by: Giuseppe Cavallaro --- drivers/net/ethernet/stm

[PATCH 0/3] Add some DT nodes for Mediatek MT2701

2017-05-31 Thread Erin Lo
This patch series based on v4.12-rc1, include MT2701 ethernet/disp bls/display function DT nodes. Sean Wang (1): arm: dts: mt2701: Add ethernet device node YT Shen (2): arm: dts: mt2701: Add display bls related nodes for MT2701 arm: dts: mt2701: Add display subsystem related nodes for MT27

[PATCH 2/3] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-05-31 Thread Erin Lo
From: YT Shen This patch adds the device node of display backlight for MT2701 Signed-off-by: Weiqing Kong Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm/boot/dts/mt2701.dtsi| 9 + 2 files changed, 38 insertions(+) diff --

RE: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-05-31 Thread Pinski, Andrew
> -Original Message- > From: Will Deacon [mailto:will.dea...@arm.com] > Sent: Wednesday, May 31, 2017 5:45 AM > To: Pinski, Andrew > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > Norov, Yuri ; catalin.mari...@arm.com; > nathan_ly...@mentor.com; kevin.brod...@arm

Re: [PATCH] tcmu: Add fifo type waiter list support to avoid starvation

2017-05-31 Thread Nicholas A. Bellinger
Hey MNC, Any comments on this..? It's been sitting on the list for a while now.. ;) On Fri, 2017-05-05 at 10:51 +0800, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li > > The fifo type waiter list will hold the udevs who are waiting for the > blocks from the data global pool. The unmap t

Re: linux-next: Tree for May 31

2017-05-31 Thread Stephen Rothwell
033fd48 > Oops: Kernel access of bad area, sig: 11 [#1] > SMP NR_CPUS=2048 > NUMA > PowerNV > Modules linked in: > CPU: 0 PID: 0 Comm: swapper Not tainted > 4.12.0-rc3-gccN-next-20170531-gf2882f4 #1 > task: c0fb1200 task.stack: c1104000 > NIP:

Re: [PATCH v2 2/3] firmware: qcom: scm: Expose download-mode control

2017-05-31 Thread Stephen Boyd
On 05/31, Bjorn Andersson wrote: > On Wed 31 May 09:27 PDT 2017, Stephen Boyd wrote: > > > On 05/26, Bjorn Andersson wrote: > > > In order to aid post-mortem debugging the Qualcomm platforms provides a > > > "memory download mode", where the boot loader will provide an interface > > > for custom t

<    5   6   7   8   9   10   11   >