Re: [PATCH v1] firmware_class: encapsulate firmware loading status

2016-08-16 Thread Daniel Wagner
Hi Luis, On 08/10/2016 08:52 PM, Luis R. Rodriguez wrote: On Wed, Aug 10, 2016 at 09:02:08AM +0200, Daniel Wagner wrote: On 10.08.2016 03:10, Luis R. Rodriguez wrote: On Thu, Aug 04, 2016 at 02:27:16PM +0200, Daniel Wagner wrote: From: Daniel Wagner I see. But in this case the code in quest

Re: [PATCH 6/7] arm64: dts: exynos: Add dts file for Exynos5433-based TM2 board

2016-08-16 Thread Krzysztof Kozlowski
On 08/16/2016 08:35 AM, Chanwoo Choi wrote: > This patch adds the Device Tree source for Exynos5433-based Samsung TM2 board. > This board fully support the all things for mobile target. > > This patch supports the following devices: > 1. basic SoC > - Initial booting for Samsung Exynos5433 SoC > -

Re: [PACTH v9] stacktrace: Eliminate task stack trace duplication

2016-08-16 Thread Peter Zijlstra
On Tue, Aug 16, 2016 at 07:12:36PM -0400, robert.f...@collabora.com wrote: > From: Ying Han > > The problem with small dmesg ring buffer like 512k is that only limited number > of task traces will be logged. Sometimes we lose important information only > because of too many duplicated stack trace

Re: [Patch-V2 2/3] chcr: Support for Chelsio's Crypto Hardware

2016-08-16 Thread Hariprasad Shenai
On Tue, Jul 19, 2016 at 09:15:22PM -0700, David Miller wrote: > From: Yeshaswi M R Gowda > Date: Mon, 18 Jul 2016 22:42:14 -0700 > > > +config CRYPTO_DEV_CHELSIO > > + tristate "Chelsio Crypto Co-processor Driver" > > + depends on PCI && NETDEVICES && ETHERNET > > + select CRYPTO_SHA1 > > +

Re: [PATCH 1/2] ARM: dts: da850-lcdk: Audio support via simple-card

2016-08-16 Thread Sekhar Nori
+ Peter On Thursday 11 August 2016 01:38 AM, Karl Beldan wrote: > The LCDK embeds a TLV320AIC3106 connected to the SoC McASP for analog > audio. This relies on the 'dummy' regulator as the codec is always on. > Quality is good with arecord -pipe- aplay on Line In/Line Out. > The MIC path doesn't s

Re: [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-16 Thread Peter Zijlstra
On Tue, Aug 16, 2016 at 04:09:19PM -0700, H. Peter Anvin wrote: > On August 16, 2016 10:16:35 AM PDT, Borislav Petkov wrote: > >On Tue, Aug 16, 2016 at 09:59:00AM -0700, H. Peter Anvin wrote: > >> Dang... > > > >Isn't 9.3% improvement a good thing(tm) ? > > Yes, it's huge. The only explanation I

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On Wed, Aug 17, 2016 at 02:37:19PM +0800, Aaron Lu wrote: > On Wed, Aug 17, 2016 at 02:14:05PM +0800, Aaron Lu wrote: > > On Wed, Aug 17, 2016 at 01:41:04PM +0800, Xin Long wrote: > > > > The perf-profile data for the two commits are attached(for the case of > > > > prsctp_enable=1, the perf-profil

[PATCH 1/2] x86/smpboot: Check APIC ID before setting up default routing

2016-08-16 Thread Wei Jiangang
Check the boot APIC ID firstly, and then setup the default routing of APIC looks better. And move default_setup_apic_routing() close to apic_bsp_setup(), which staying in step with the codes in APIC_init_uniprocessor(). Signed-off-by: Wei Jiangang --- arch/x86/kernel/smpboot.c | 3 +-- 1 file c

Re: [PATCH v5 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-08-16 Thread Yakir Yang
Hello Archit, On 08/17/2016 01:41 PM, Archit Taneja wrote: Hi, On 07/24/2016 12:27 PM, Yakir Yang wrote: The full name of PSR is Panel Self Refresh, panel device could refresh itself with the hardware framebuffer in panel, this would make lots of sense to save the power consumption. This patc

Re: [PATCH 1/2] input: misc: Add generic input driver to read encoded GPIO lines

2016-08-16 Thread Vignesh R
On Saturday 13 August 2016 12:29 AM, Rob Herring wrote: > On Fri, Aug 12, 2016 at 10:22:28AM +0530, Vignesh R wrote: >> Add a driver to read group of GPIO lines and provide its status as a >> numerical value as input event to the system. This will help in >> intefacing devices, that can be connec

Re: [PATCH 7/7] arm64: dts: exynos: Add dts file for Exynos5433-based TM2E board

2016-08-16 Thread Krzysztof Kozlowski
On 08/16/2016 08:35 AM, Chanwoo Choi wrote: > This patcha adds the Device Tree source for Exynos5433-based Samsung TM2E s/patcha/patch/ > board. TM2E board is the most similiar with TM2 board. The exynos5433-tm2e.dts s/similiar/similar/ > include the difference between TM2 and TM2E. > > Signed

[PATCH 2/2] x86/apic: Update comment about disabling processor focus

2016-08-16 Thread Wei Jiangang
Fix references to discarded end_level_ioapic_irq(). Signed-off-by: Wei Jiangang --- arch/x86/kernel/apic/apic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 20abd912f0e4..9d203712c146 100644 --- a/arch/x86/kernel/apic/apic.c +

Context switch latency in tickless isolated CPU

2016-08-16 Thread GeHao Kang
Hi Frederic and Chris, When the lmbench runs on the tickless isolated CPU, the context switch latency on this CPU is higher than the one on other CPU. The test platform is Linux 4.4.12 with NO_HZ_FULL on I.MX6Q sabresd. The following is the lmbench results about context switch: lmbench runs on

[PATCH] vfio/pci: Fix typos in comments

2016-08-16 Thread Wei Jiangang
Signed-off-by: Wei Jiangang --- drivers/vfio/pci/vfio_pci_config.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c index 688691d9058d..c4f235452d81 100644 --- a/drivers/vfio/pci/vfio_pci_config.c

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On Wed, Aug 17, 2016 at 02:14:05PM +0800, Aaron Lu wrote: > On Wed, Aug 17, 2016 at 01:41:04PM +0800, Xin Long wrote: > > > The perf-profile data for the two commits are attached(for the case of > > > prsctp_enable=1, the perf-profile data doesn't get collected for the 0 > > > case for some reason,

Re: [PATCH 01/15 RESEND] staging: dgnc: remove redundant NULL checks in

2016-08-16 Thread Greg KH
On Wed, Aug 17, 2016 at 10:05:03AM +0900, DaeSeok Youn wrote: > 2016-08-16 2:05 GMT+09:00 Greg KH : > > On Wed, Jul 06, 2016 at 03:11:13PM +0900, Daeseok Youn wrote: > >> The dgnc_block_til_ready() is only used in dgnc_tty_open(). > >> The unit data(struct un_t) was stored into tty->driver_data in

Re: [PATCH v3 4/5] net: ethernet: ti: davinci_cpdma: move cpdma channel struct macroses to internals

2016-08-16 Thread Mugunthan V N
On Tuesday 16 August 2016 04:55 AM, Ivan Khoronzhuk wrote: > Keep the driver internals in C file. Currently it's not required for > drivers to know rx or tx a channel is, except create function. > So correct "channel create" function, and use all channel struct > macroses only for internal use. >

Re: [PATCH v3 5/5] net: ethernet: ti: cpsw: add ethtool channels support

2016-08-16 Thread Mugunthan V N
On Tuesday 16 August 2016 04:55 AM, Ivan Khoronzhuk wrote: > These ops allow to control number of channels driver is allowed to > work with at cpdma level. The maximum number of channels is 8 for > rx and 8 for tx. In dual_emac mode the h/w channels are shared > between two interfaces and changing

[PATCH v2] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"

2016-08-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 16 Aug 2016 23:00:07 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- v2: A trailing comma was preserved even for a single desig

[PATCH v10 3/3] MAINTAINERS: atmel-isc: add entry for Atmel ISC

2016-08-16 Thread Songjun Wu
Add the MAINTAINERS' entry for Microchip / Atmel Image Sensor Controller. Signed-off-by: Songjun Wu --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None MAINTAINE

[PATCH v10 2/3] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-08-16 Thread Songjun Wu
DT binding documentation for ISC driver. Acked-by: Rob Herring Signed-off-by: Songjun Wu --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: - Remove

[PATCH v10 0/3] [media] atmel-isc: add driver for Atmel ISC

2016-08-16 Thread Songjun Wu
The Image Sensor Controller driver includes three parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. 3) Add an entry to MAINTAINERS for Atmel ISC Test result with v4l-utils. # v4l2-compliance -f v4l2-complia

[PATCH v10 1/3] [media] atmel-isc: add the Image Sensor Controller code

2016-08-16 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v10: - If 's_power' api does

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On Wed, Aug 17, 2016 at 01:41:04PM +0800, Xin Long wrote: > > The perf-profile data for the two commits are attached(for the case of > > prsctp_enable=1, the perf-profile data doesn't get collected for the 0 > > case for some reason, I'm checking the problem now). > > > > The CPU gets much more idl

Re: [PATCH V4]mmc: dw_mmc-k3: UHS-SD card for Hisilicon Hikey

2016-08-16 Thread Jinguojun
Hi On 2016/8/8 18:46, Jaehoon Chung wrote: > Hi, > > On 08/08/2016 06:10 PM, Shawn Lin wrote: >> Hi guy, >> >> On 2016/8/8 15:10, Jinguojun wrote: >>> Hi,maintainers >>> >>> Pls help to review code,this is the newest patch after your advise > > Subject.. > > s/UHS-SD/UHS-I/ > >>> >> >> Please

Re: [PATCH v2] clk: max77686: Migrate to clk_hw based OF and registration APIs

2016-08-16 Thread Krzysztof Kozlowski
On 08/17/2016 12:38 AM, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Javier Martinez Ca

Re: [PATCH] x86/efi-bgrt: remove the check of the version field

2016-08-16 Thread Dave Young
On 08/15/16 at 01:56pm, Matt Fleming wrote: > On Tue, 09 Aug, at 01:25:46PM, Icenowy Zheng wrote: > > Some broken firmwares have a wrongly filled version field in BGRT table. > > (See http://wiki.osdev.org/Broken_UEFI_implementations ) > > > > As we know, these firmwares can also provide correct B

Re: [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-16 Thread Borislav Petkov
On Tue, Aug 16, 2016 at 04:09:19PM -0700, H. Peter Anvin wrote: > On August 16, 2016 10:16:35 AM PDT, Borislav Petkov wrote: > >On Tue, Aug 16, 2016 at 09:59:00AM -0700, H. Peter Anvin wrote: > >> Dang... > > > >Isn't 9.3% improvement a good thing(tm) ? > > Yes, it's huge. The only explanation I

Re: [PATCH v3 2/5] net: ethernet: ti: davinci_cpdma: fix locking while ctrl_stop

2016-08-16 Thread Mugunthan V N
On Tuesday 16 August 2016 04:55 AM, Ivan Khoronzhuk wrote: > The interrupts shouldn't be disabled while receiving skb, but while > ctrl_stop, the channels are stopped and all remaining packets are > handled with netif_receive_skb(): > > lock_irq_save > cpdma_ctlr_stop >cpdma_chan_top >

Re: [PATCH v5 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-08-16 Thread Archit Taneja
Hi, On 07/24/2016 12:27 PM, Yakir Yang wrote: The full name of PSR is Panel Self Refresh, panel device could refresh itself with the hardware framebuffer in panel, this would make lots of sense to save the power consumption. This patch have exported two symbols for platform driver to implement

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Xin Long
> The perf-profile data for the two commits are attached(for the case of > prsctp_enable=1, the perf-profile data doesn't get collected for the 0 > case for some reason, I'm checking the problem now). > > The CPU gets much more idle time in the bisected commit a6c2f79287: > > 68.89% 0.70%

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On 08/17/2016 01:04 PM, Aaron Lu wrote: > On 08/16/2016 05:56 PM, Xin Long wrote: > > I'm testing on Linus' master, can we all use that please? > [git] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [mechine] Intel(R) Xeon(R) CPU E5-2690 v2 @ 3

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Xin Long
> > For commit a6c2f79287 ("sctp: implement prsctp TTL policy"), no matter > the value of net.sctp.prsctp_enable, the throughput is almost the same: > > net.sctp.prsctp_enable = 0 > { > "netperf.Throughput_Mbps": [ > 2353.311249997 > ] > } > > net.sctp.prsctp_enable = 1 > { > "netperf

Re: [PATCH v6 0/5] /dev/random - a new approach

2016-08-16 Thread Stephan Mueller
Am Dienstag, 16. August 2016, 15:28:45 CEST schrieb H. Peter Anvin: Hi Peter, > > > > There are two motivations for that: > > > > - the current /dev/random is compliant to NTG.1 from AIS 20/31 which > > requires (in brief words) that entropy comes from auditible noise > > sources. Currently in

[PATCH v3 1/5] arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes

2016-08-16 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Acked-by: Eduardo Valentin Acked-by: Rob Herring Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-msm8974.dtsi | 103 1 file changed, 103 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/ar

[PATCH v3 0/5] dts patches for qcom tsens support

2016-08-16 Thread Rajendra Nayak
Hey Andy, This is a respin of v2 with some minor fixes pointed out by Rob. Please pull these in for 4.9 Thanks, Rajendra Rajendra Nayak (5): arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes arm: dts: apq8084: Add ther

[PATCH v3 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes

2016-08-16 Thread Rajendra Nayak
TSENS is part of GCC, hence add TSENS properties as part of GCC node. Also add thermal zones and qfprom nodes. Update GCC bindings doc to mention the possibility of optional TSENS properties that can be part of GCC node. Acked-by: Eduardo Valentin Acked-by: Rob Herring Signed-off-by: Rajendra Na

[PATCH v3 4/5] arm64: dts: msm8916: Add thermal zones, tsens and qfprom nodes

2016-08-16 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Acked-by: Eduardo Valentin Acked-by: Rob Herring Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 64 +++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/a

[PATCH v3 5/5] arm64: dts: msm8996: Add thermal zones, tsens and qfprom nodes

2016-08-16 Thread Rajendra Nayak
Add thermal zones and tsens node Acked-by: Eduardo Valentin Acked-by: Rob Herring Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 92 +++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64

[PATCH v3 3/5] arm: dts: apq8084: Add thermal zones, tsens and qfprom nodes

2016-08-16 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Acked-by: Eduardo Valentin Acked-by: Rob Herring Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-apq8084.dtsi | 103 1 file changed, 103 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/ar

Re: [PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-16 Thread Herbert Xu
Andy Lutomirski wrote: > > I will be quite surprised if you can measure any effect at all. I've > never seen context switches take fewer than ~2k cycles, and on my > laptop, they take 8k-9k cycles. The scheduler is really, really slow. Indeed, I think I still have a bugzilla entry somewhere reg

Re: [PATCH v5] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

2016-08-16 Thread Vignesh R
On Wednesday 17 August 2016 12:12 AM, Mark Brown wrote: > On Tue, Aug 09, 2016 at 06:20:01PM +0530, Vignesh R wrote: >> >> > >> According to this thread[1], converting virtual address >> pointer into scatterlist which is then DMA mapped is unsafe on systems >> with certain cache architecture. He

RE: [PATCH v2] Added perf functionality to mmdc driver

2016-08-16 Thread Zhengyu Shen
> > > > + hrtimer_start(&pmu_mmdc->hrtimer, mmdc_timer_period(), > > > > + HRTIMER_MODE_REL_PINNED); > > > > > > Why is a hrtimer necessary? Is this just copy-pasted from CCN, or do > > > you have similar HW issues? > > > > > > Is there no overflow interrupt? > > > > Whe

Re: [PATCH v2] drm/bridge: analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-16 Thread Archit Taneja
On 08/09/2016 08:05 AM, Yakir Yang wrote: + Archit On 08/09/2016 02:53 AM, Sean Paul wrote: Instead of just preparing the panel on bind, actually prepare/unprepare during modeset/disable. The panel must be prepared in order to read hpd status and edid, so we need to keep state around the pre

Re: [RFC 00/11] THP swap: Delay splitting THP during swapping out

2016-08-16 Thread Minchan Kim
On Tue, Aug 16, 2016 at 07:06:00PM -0700, Huang, Ying wrote: > Hi, Kim, > > Minchan Kim writes: > > > Hello Huang, > > > > On Tue, Aug 09, 2016 at 09:37:42AM -0700, Huang, Ying wrote: > >> From: Huang Ying > >> > >> This patchset is based on 8/4 head of mmotm/master. > >> > >> This is the fir

Re: [PATCH] staging: comedi: ni_mio_common: fix AO inttrig backwards compatibility

2016-08-16 Thread Spencer E Olson
Sorry for the very belated reply on this. I'm assuming that this was already accepted, but I've been working with this patch for a bit. This fixes the problems I raised in any case. Reviewed-by: Spencer E Olson On Wed, 2016-07-20 at 17:07 +0100, Ian Abbott wrote: > On 20/07/16 16:55, Hartley S

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On 08/16/2016 05:56 PM, Xin Long wrote: I'm testing on Linus' master, can we all use that please? >>> >>> [git] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> >>> [mechine] >>> Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz >>> mem 62G (66000220K) >>> >>> [system] >>

Re: [PATCH v2 0/6] kexec_file: Add buffer hand-over for the next kernel

2016-08-16 Thread Thiago Jung Bauermann
Hello Dave, Am Mittwoch, 17 August 2016, 10:52:26 schrieb Dave Young: > On 08/13/16 at 12:18am, Thiago Jung Bauermann wrote: > > This series applies on top of v5 of the "kexec_file_load implementation > > for PowerPC" patch series (which applies on top of v4.8-rc1): > > > > https://lists.infradea

perf: rdpmc and PERF_EVENT_IOC_RESET

2016-08-16 Thread Vince Weaver
Hello so using rdpmc() and the mmap page to do fast perf_event reads seems to interact poorly with the PERF_EVENT_IOC_RESET ioctl. >From what I can tell, on reset event->count is set to zero, but event->hw.prev_count is not, so the userpg->offset field ends up negative and weird things happen.

Re: [PATCH v6 6/8] Documentation: bindings: add dt documentation for rk3399 dmc

2016-08-16 Thread Chanwoo Choi
o arm trust firmware > +- upthreshold: the upthreshold to simpleondeamnd policy > +- downdifferential: The downdifferential to simpleondeamnd policy > + > +Example: > + ddr_timing: ddr_timing { > + compatible = "rockchip,ddr-timing"; I can't find the 'ro

RE: [PATCH v7 1/2] ACPI / button: Fix an issue that the platform triggered reliable events may not be delivered to the userspace

2016-08-16 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v7 1/2] ACPI / button: Fix an issue that the platform > triggered reliable events > may not be delivered to the userspace > > On Tuesday, July 2

RE: [PATCH v4 3/3] tools/power/acpi/acpidbg: Add multi-commands support in batch mode

2016-08-16 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH v4 3/3] tools/power/acpi/acpidbg: Add multi-commands > support in batch mode > > On Tuesday, July 26, 2016 07:01:45 PM Lv Zheng wrote: > > This patch adds multi-commands support for the batch mode. The same mo

Re: [PATCH] tpm: fix a race condition tpm2_unseal_trusted()

2016-08-16 Thread Jarkko Sakkinen
On Tue, Aug 16, 2016 at 10:38:22PM +0300, Jarkko Sakkinen wrote: > Unseal and load operations should be done as an atomic operation. This > commit introduces unlocked tpm_transmit() so that tpm2_unseal_trusted() > can do the locking by itself. > > v2: Introduced an unlocked unseal operation instea

linux-next: Tree for Aug 17

2016-08-16 Thread Stephen Rothwell
Hi all, Changes since 20160816: The net-next tree gained a conflict against the net tree. The kbuild tree gained build warnings for PowerPC, so I reverted a commit. Non-merge commits (relative to Linus' tree): 2406 2530 files changed, 99359 insertions(+), 40525 dele

[PATCH] ARM: qcom: Cleanup/Remove unnecessary board file

2016-08-16 Thread Andy Gross
This patch removes the unnecessary board file. The generic machine definition is sufficient for the Qualcomm platforms. Signed-off-by: Andy Gross --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/board.c | 31 --- 2 files changed, 32 deletions(-) delete mo

Re: [PATCH] be2iscsi: Use a more current logging style

2016-08-16 Thread Joe Perches
On Wed, 2016-08-17 at 09:20 +0530, Jitendra Bhivare wrote: > > > > -Original Message- > > From: Joe Perches [mailto:j...@perches.com] > > Sent: Tuesday, August 16, 2016 3:57 PM > > To: Jitendra Bhivare; Christophe JAILLET; Jayamohan Kallickal; Ketan > Mukadam > > > > Cc: Bart Van Assche;

RE: [PATCH] be2iscsi: Use a more current logging style

2016-08-16 Thread Jitendra Bhivare
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Tuesday, August 16, 2016 3:57 PM > To: Jitendra Bhivare; Christophe JAILLET; Jayamohan Kallickal; Ketan Mukadam > Cc: Bart Van Assche; James E.J. Bottomley; Martin K. Petersen; linux- > s...@vger.kernel.org; linux-ke

Re: [PATCH 0/2] be2iscsi: Logging neatening

2016-08-16 Thread Joe Perches
On Wed, 2016-08-17 at 01:19 +, Bart Van Assche wrote: > On 08/14/16 10:29, Joe Perches wrote: > > On Sun, 2016-08-14 at 17:09 +, Bart Van Assche wrote: > > > My primary concern is how to enable and disable log messages from user > > > space. [] > > I think you are looking for a system wide

Re: [PATCH v2 4/5] bug: Provide toggle for BUG on data corruption

2016-08-16 Thread Kees Cook
On Tue, Aug 16, 2016 at 5:26 PM, Joe Perches wrote: > On Tue, 2016-08-16 at 17:20 -0700, Kees Cook wrote: >> The kernel checks for cases of data structure corruption under some >> CONFIGs (e.g. CONFIG_DEBUG_LIST). When corruption is detected, some >> systems may want to BUG() immediately instead o

Re: [PATCH v2 0/5] bug: Provide toggle for BUG on data corruption

2016-08-16 Thread Kees Cook
On Tue, Aug 16, 2016 at 5:55 PM, Henrique de Moraes Holschuh wrote: > On Tue, 16 Aug 2016, Kees Cook wrote: >> This adds a CONFIG to trigger BUG()s when the kernel encounters >> unexpected data structure integrity as currently detected with >> CONFIG_DEBUG_LIST. >> >> Specifically list operations

Re: [PATCH] dma-buf: fix kernel-doc warning and typos

2016-08-16 Thread Sumit Semwal
Hi Randy, On 17 August 2016 at 05:01, Randy Dunlap wrote: > From: Randy Dunlap > > Fix dma-buf kernel-doc warning and 2 minor typos in > fence_array_create(). > Thanks for your patch, I will queue it up! > Fixes this warning: > ..//drivers/dma-buf/fence-array.c:124: warning: No description found

Re: [PATCH v2] clk: max77686: Migrate to clk_hw based OF and registration APIs

2016-08-16 Thread Javier Martinez Canillas
Hello Stephen, On 08/16/2016 06:38 PM, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Ja

[PATCH v3 0/5] Fixing a set of bugs for ioapic hotplug

2016-08-16 Thread Rui Wang
On Wed, Aug 17, 2016 8:36 AM Rafael J. Wysocki wrote: > On Wednesday, August 10, 2016 12:01:53 PM Rui Wang wrote: > > A set of patches fixing bugs found while testing IOAPIC hotplug. > > This should have been posted to the x...@kernel.org list too for the benefit > of the maintainers. > > Can you

[PATCH] Staging: android: ion: ion_heap.c: fix parenthesis alignment

2016-08-16 Thread Ben LeMasurier
This fixes the checkpatch.pl "Alignment should match open parenthesis" issues in ion_heap.c. Signed-off-by: Ben LeMasurier --- drivers/staging/android/ion/ion_heap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/android/ion/ion_heap.c b/drivers/s

Re: [PATCH 17/34] clk: maxgen: Migrate to clk_hw based OF and registration APIs

2016-08-16 Thread Javier Martinez Canillas
Hello Stephen, On 08/16/2016 04:06 PM, Stephen Boyd wrote: > On Tue, Jun 7, 2016 at 11:55 AM, Javier Martinez Canillas >>> >>> I tried this patch on top of linux-next and my Peach Pi Chromebook >>> (that has a max77802 chip) failed to boot. Following is the relevant >>> parts from the boot log: >>

Re: [PATCH v2] Bluetooth: Add LED triggers for HCI frames tx and rx

2016-08-16 Thread Guodong Xu
On 16 August 2016 at 20:33, Marcel Holtmann wrote: > > Hi Guodong, > > >>> Two LED triggers are added into hci_dev: tx_led and rx_led. Upon ACL/SCO > >>> packets available in tx or rx, the LEDs will blink. > >>> > >>> For each hci registration, two triggers are added into LED subsystem: > >>> [hde

Re: [PATCH v2 0/6] kexec_file: Add buffer hand-over for the next kernel

2016-08-16 Thread Dave Young
On 08/13/16 at 12:18am, Thiago Jung Bauermann wrote: > Hello, > > This patch series implements a mechanism which allows the kernel to pass > on a buffer to the kernel that will be kexec'd. This buffer is passed > as a segment which is added to the kimage when it is being prepared > by kexec_file_l

RE: [PATCH v4 2/3] tools/power/acpi/acpidbg: Use new flushing mechanism

2016-08-16 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH v4 2/3] tools/power/acpi/acpidbg: Use new flushing > mechanism > > On Tuesday, July 26, 2016 07:01:39 PM Lv Zheng wrote: > > This patch converts tools/power/acpi/tools/acpidbg/acpidbg to use the new > > flushi

RE: [PATCH v4 1/3] ACPI / debugger: Add kernel flushing support

2016-08-16 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH v4 1/3] ACPI / debugger: Add kernel flushing support > > On Tuesday, July 26, 2016 07:01:33 PM Lv Zheng wrote: > > This patch adds debugger output flushing support in kernel via .ioctl() > > callback. The in-ke

Re: [PATCH 2/6] x86/boot: Move compressed kernel to end of decompression buffer

2016-08-16 Thread Matt Mullins
On Tue, Aug 16, 2016 at 12:19:42PM -0700, Yinghai Lu wrote: > On Mon, Aug 15, 2016 at 9:01 PM, Matt Mullins wrote: > > > > This appears to have a negative effect on booting the Intel Edison > > platform, as > > it uses u-boot as its bootloader. u-boot does not copy the init_size > > parameter >

[PATCH v3] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Wanpeng Li
From: Wanpeng Li Commit: 57430218317e ("sched/cputime: Count actually elapsed irq & softirq time") ... triggered a regression: | An i5 laptop, 4 pCPUs, 4vCPUs for one full dynticks guest, there are four | cpu hog processes(for loop) running in the guest, I hot-unplug the pCPUs | on h

Re: [PATCH v2] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Wanpeng Li
2016-08-17 9:54 GMT+08:00 Rik van Riel : > On Wed, 2016-08-17 at 09:16 +0800, Wanpeng Li wrote: >> >> @@ -694,6 +699,12 @@ static cputime_t get_vtime_delta(struct >> task_struct *tsk) >> unsigned long now = READ_ONCE(jiffies); >> cputime_t delta, other; >> >> + /* >> + * The in

Re: [PATCH v3] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Rik van Riel
On Wed, 2016-08-17 at 10:05 +0800, Wanpeng Li wrote: > This patch fix the regression by limiting the account_other_time() > from  > get_vtime_delta() to avoid underflow, and let other three call sites > (account_other_time() and steal_account_process_time()) account > however  > much steal time th

Re: [RFC 00/11] THP swap: Delay splitting THP during swapping out

2016-08-16 Thread Huang, Ying
Hi, Kim, Minchan Kim writes: > Hello Huang, > > On Tue, Aug 09, 2016 at 09:37:42AM -0700, Huang, Ying wrote: >> From: Huang Ying >> >> This patchset is based on 8/4 head of mmotm/master. >> >> This is the first step for Transparent Huge Page (THP) swap support. >> The plan is to delaying spli

Re: [PATCH v5 02/13] kexec_file: Change kexec_add_buffer to take kexec_buf as argument.

2016-08-16 Thread Balbir Singh
On 17/08/16 04:49, Thiago Jung Bauermann wrote: > Am Dienstag, 16 August 2016, 16:15:55 schrieb Balbir Singh: >> On 16/08/16 00:49, Thiago Jung Bauermann wrote: >>> Am Montag, 15 August 2016, 17:30:49 schrieb Balbir Singh: On Thu, Aug 11, 2016 at 08:08:07PM -0300, Thiago Jung Bauermann wrote

Re: [PATCH 3.16 102/305] xfs: xfs_iflush_cluster fails to abort on error

2016-08-16 Thread Dave Chinner
On Tue, Aug 16, 2016 at 08:45:02PM +0100, Ben Hutchings wrote: > On Sun, 2016-08-14 at 09:36 +1000, Dave Chinner wrote: > > On Sat, Aug 13, 2016 at 06:42:51PM +0100, Ben Hutchings wrote: > > > > > > 3.16.37-rc1 review patch.  If anyone has any objections, please let me > > > know. > > > > > > --

Re: [PATCH v2] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Rik van Riel
On Wed, 2016-08-17 at 09:16 +0800, Wanpeng Li wrote: >  > @@ -694,6 +699,12 @@ static cputime_t get_vtime_delta(struct > task_struct *tsk) >   unsigned long now = READ_ONCE(jiffies); >   cputime_t delta, other; >   > + /* > +  * The interval returned by account_other_time() is NOT >

Re: [PATCH 0/2] be2iscsi: Logging neatening

2016-08-16 Thread Bart Van Assche
On 08/14/16 10:29, Joe Perches wrote: > On Sun, 2016-08-14 at 17:09 +, Bart Van Assche wrote: >> My primary concern is how to enable and disable log messages from user >> space. Many drivers define their own logging macros and export a bitmask >> that allows to enable and disable logging messag

[PATCH v2 1/2] kexec: Introduce "/sys/kernel/kexec_crash_low_size"

2016-08-16 Thread Xunlei Pang
"/sys/kernel/kexec_crash_size" only handles crashk_res, it is fine in most cases, but sometimes we have crashk_low_res. For example, when "crashkernel=size[KMG],high" combined with "crashkernel=size[KMG],low" is used for 64-bit x86. Like crashk_res, we introduce the corresponding sysfs file "/sys/

[PATCH v2 2/2] kexec: Consider crashk_low_res in sanity_check_segment_list()

2016-08-16 Thread Xunlei Pang
We have crashk_res only in most cases, but sometimes we have crashk_low_res. For example, on 64-bit x86 systems, when "crashkernel=32M,high" combined with "crashkernel=128M,low" is used, so some segments may have the chance to be loaded into crashk_low_res area. We can't fail it as a memory violat

Re: [PATCH 0/5] ACPI / sysfs: Cleanup sysfs table handling code

2016-08-16 Thread Rafael J. Wysocki
On Wed, Aug 17, 2016 at 3:46 AM, Zheng, Lv wrote: > Hi, > >> From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of Rafael >> J. Wysocki >> Subject: Re: [PATCH 0/5] ACPI / sysfs: Cleanup sysfs table handling code >> >> On Tue, Aug 16, 2016 at 10:52 AM, Lv Zheng wrote: >> > There are

RE: [PATCH 0/5] ACPI / sysfs: Cleanup sysfs table handling code

2016-08-16 Thread Zheng, Lv
Hi, > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH 0/5] ACPI / sysfs: Cleanup sysfs table handling code > > On Tue, Aug 16, 2016 at 10:52 AM, Lv Zheng wrote: > > There are issues in sysfs table handling code: > > 1. It cannot hand

[lkp] [net/netpolicy] 19e7d15d66: EIP: [] netpolicy_unregister+0x23a/0x28a SS:ESP 0068:ceb19d94

2016-08-16 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux kan-liang-intel-com/net-introduce-NET-policy/20160805-034810 commit 19e7d15d66de8b17e3f2706b786fdc36932bbdbb ("net/netpolicy: limit the total record number") in testcase: boot on test machine: 2 threads qemu-system-i386 -e

Re: [PATCH v3] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-16 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > Change my email address to kernel.org account instead of Samsung one. > > Add Bartlomiej Zolnierkiewicz as a co-maintainer of Maxim and Samsung > PMIC drivers. These are used on many of our boards along with Exynos > SoCs and Samsung R&D Institute Poland can still tak

linux-next: build warnings after merge of the kbuild tree

2016-08-16 Thread Stephen Rothwell
Hi Michal, After merging the kbuild tree, today's linux-next build (powerpc ppc64_defconfig) produced these warnings: WARNING: 25 bad relocations c0cf2570 R_PPC64_ADDR64__crc___arch_hweight16 c0cf2578 R_PPC64_ADDR64__crc___arch_hweight32 c0cf2580 R_PPC64_ADDR64

Re: [PATCH v2] locking/mutex: Prevent lock starvation when spinning is enabled

2016-08-16 Thread Wanpeng Li
2016-08-11 2:44 GMT+08:00 Jason Low : > Imre reported an issue where threads are getting starved when trying > to acquire a mutex. Threads acquiring a mutex can get arbitrarily delayed > sleeping on a mutex because other threads can continually steal the lock > in the fastpath and/or through optimi

[BISECTED REGRESSION] v4.8-rc: DT/OCTEON driver probing broken

2016-08-16 Thread Aaro Koskinen
Hi, Commit 44a7185c2ae6 ("of/platform: Add common method to populate default bus") added new arch_initcall of_platform_default_populate_init() that will be called before device_initcall octeon_publish_devices(). Now the of_platform_bus_probe() called in octeon_publish_devices() is apparently doing

[PATCH v2] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Wanpeng Li
From: Wanpeng Li Commit: 57430218317e ("sched/cputime: Count actually elapsed irq & softirq time") ... triggered a regression: | An i5 laptop, 4 pCPUs, 4vCPUs for one full dynticks guest, there are four | cpu hog processes(for loop) running in the guest, I hot-unplug the pCPUs | on h

Re: [PATCH v6 4/8] Documentation: bindings: add dt documentation for dfi controller

2016-08-16 Thread Chanwoo Choi
Hi Lin, I add the additional comment. On 2016년 08월 17일 09:31, Chanwoo Choi wrote: > Hi Lin, > > I add one minor comment. > > After fixing it, looks good to me. > Acked-by: Chanwoo Choi > > On 2016년 08월 17일 07:36, Lin Huang wrote: >> This patch adds the documentation for rockchip dfi devfreq-e

linux-next: manual merge of the net-next tree with the net tree

2016-08-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/dsa/mv88e6xxx/chip.c between commit: 601bbae0bc10 ("dsa: mv88e6xxx: hide unused functions") from the net tree and commit: 9c93829c014f ("net: dsa: mv88e6xxx: use the new PHY API") from the net-next tre

Re: [PATCH 01/15 RESEND] staging: dgnc: remove redundant NULL checks in

2016-08-16 Thread DaeSeok Youn
2016-08-16 2:05 GMT+09:00 Greg KH : > On Wed, Jul 06, 2016 at 03:11:13PM +0900, Daeseok Youn wrote: >> The dgnc_block_til_ready() is only used in dgnc_tty_open(). >> The unit data(struct un_t) was stored into tty->driver_data in >> dgnc_tty_open(). >> And also tty and un were tested about NULL so

Re: [PATCH] block: Fix secure erase

2016-08-16 Thread Christoph Hellwig
On Tue, Aug 16, 2016 at 10:20:25AM +0300, Adrian Hunter wrote: > On 15/08/16 21:14, Christoph Hellwig wrote: > > On Mon, Aug 15, 2016 at 11:43:12AM -0500, Shaun Tancheff wrote: > >> Hmm ... Since REQ_SECURE implied REQ_DISCARD doesn't this > >> mean that we should include REQ_OP_SECURE_ERASE checki

Re: [RFC 00/11] THP swap: Delay splitting THP during swapping out

2016-08-16 Thread Minchan Kim
Hello Huang, On Tue, Aug 09, 2016 at 09:37:42AM -0700, Huang, Ying wrote: > From: Huang Ying > > This patchset is based on 8/4 head of mmotm/master. > > This is the first step for Transparent Huge Page (THP) swap support. > The plan is to delaying splitting THP step by step and avoid splitting

Re: [PATCH v2 0/5] bug: Provide toggle for BUG on data corruption

2016-08-16 Thread Henrique de Moraes Holschuh
On Tue, 16 Aug 2016, Kees Cook wrote: > This adds a CONFIG to trigger BUG()s when the kernel encounters > unexpected data structure integrity as currently detected with > CONFIG_DEBUG_LIST. > > Specifically list operations have been a target for widening flaws to gain > "write anywhere" primitives

Re: Patch prefix guidelines

2016-08-16 Thread Rafael J. Wysocki
On Tuesday, August 16, 2016 05:32:15 PM Darren Hart wrote: > Question specifically to other maintainers, do we have a preferred patch > prefix > rule set? > > To date I try to use a subsystem prefix (with slashes) when a patch updates > multiple drivers or the subsystem Kconfig files,. e.g. > >

Re: two pci_alloc_irq_vectors improvements

2016-08-16 Thread Christoph Hellwig
On Tue, Aug 16, 2016 at 02:34:18PM -0500, Bjorn Helgaas wrote: > Speaking of affinity, the original documentation said "By default this > function will spread the interrupts around the available CPUs". After > these patches, you have to pass PCI_IRQ_AFFINITY to get that behavior. > Are you plannin

Re: [PATCH 5/7] arm64: dts: exynos: Add dts files for Samsung Exynos5433 64bit SoC

2016-08-16 Thread Chanwoo Choi
Hi Krzysztof, On 2016년 08월 17일 02:51, Krzysztof Kozlowski wrote: > On Tue, Aug 16, 2016 at 09:59:26PM +0900, Chanwoo Choi wrote: diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi new file mode 100644 index

[PATCH v2 4/5] bug: Provide toggle for BUG on data corruption

2016-08-16 Thread Kees Cook
The kernel checks for cases of data structure corruption under some CONFIGs (e.g. CONFIG_DEBUG_LIST). When corruption is detected, some systems may want to BUG() immediately instead of letting the system run with known corruption. Usually these kinds of manipulation primitives can be used by secur

[PATCH v2 3/5] list: Split list_del() debug checking into separate function

2016-08-16 Thread Kees Cook
Similar to the list_add() debug consolidation, this consolidates the debug checking performed during CONFIG_DEBUG_LIST, and stops list updates when corruption is found. Refactored from same hardening in PaX and Grsecurity. Signed-off-by: Kees Cook --- include/linux/list.h | 15 +--

Re: [PATCH v6 7/8] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-08-16 Thread Chanwoo Choi
Hi Lin, I add just one comment to remove the blank line. On 2016년 08월 17일 07:36, Lin Huang wrote: > base on dfi result, we do ddr frequency scaling, register > dmc driver to devfreq framework, and use simple-ondemand > policy. > > Signed-off-by: Lin Huang > Reviewed-by: Chanwoo Choi > --- > Ch

  1   2   3   4   5   6   7   8   9   10   >