Re: [GIT PULL] TTY/Serial patches for 4.3-rc1

2015-08-21 Thread Greg KH
On Fri, Aug 21, 2015 at 09:57:33AM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Thu, 20 Aug 2015 12:11:21 -0700 Greg KH wrote: > > > > All have been in linux-next with no reported issues. > > Except see below. > > > Eduardo Valentin (4): > > serial: imx: introduce

Re: [PATCH 0/4] firmware_class: few small code shifts

2015-08-21 Thread Greg KH
On Fri, Aug 21, 2015 at 11:23:03PM +0200, Luis R. Rodriguez wrote: > On Tue, Aug 04, 2015 at 03:00:00PM -0700, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > > > Ming, Greg, > > > > this patch set consists of a few small code shifts which would make > > it easier to add extensible

Re: difficult to pinpoint exhaustion of swap between 4.2.0-rc6 and 4.2.0-rc7

2015-08-21 Thread Arthur Marsh
Vlastimil Babka wrote on 21/08/15 21:18: On 08/21/2015 01:37 PM, Vlastimil Babka wrote: That, said, looking at the memory values: rc6: Free+Buffers+A/I(Anon)+A/I(File)+Slab = 6769MB rc7: ... = 4714MB That's 2GB unaccounted for. So one brute-force way to

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-21 Thread Eryu Guan
On Sat, Aug 22, 2015 at 10:30:25AM +1000, Dave Chinner wrote: > On Fri, Aug 21, 2015 at 06:20:53PM +0800, Eryu Guan wrote: [snip] > > Eryu, can you try again, this time manually specifying the writeback > tracepoints so you exclude the really noisy ones? You can also drop > the

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

2015-08-21 Thread Vasant Hegde
On 08/22/2015 05:10 AM, Michael Ellerman wrote: > On Fri, 2015-08-21 at 14:29 +0530, Vasant Hegde wrote: >> On 08/21/2015 01:55 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> After merging the nvdimm tree, today's linux-next build (powerpc >>> allyesconfig) failed like this: >> >> Stephen, >> >>

Re: [PATCH v5 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-08-21 Thread Wolfram Sang
> > > The series[1] I am working on implements a i2c smbus block data > > > regmap > > > bus driver. Regmap should then automatically do a block read in > > > regmap_bulk_read. > > > > Hmm, so doesn't your series make Irina's series obsolete? It > > addresses > > the same problem only at a

[PATCH] ata: pata_arasam_cf: Use devm_clk_get

2015-08-21 Thread Vaishali Thakkar
This patch introduces the use of managed resource function devm_clk_get instead of clk_get and removes corresponding call to clk_put in the remove function. To be compatible with the change various gotos are replaced with direct returns, and unneeded label is dropped. Signed-off-by: Vaishali

Re: [PATCH v2 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-08-21 Thread Akinobu Mita
2015-08-20 22:59 GMT+09:00 Yaniv Gardi : > +static bool ufs_qcom_testbus_cfg_is_ok(struct ufs_qcom_host *host) > +{ > + if (host->testbus.select_major >= TSTBUS_MAX) { > + dev_err(host->hba->dev, > + "%s: UFS_CFG1[TEST_BUS_SEL} may not equal 0x%05X\n", >

Re: [PATCH v2 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-08-21 Thread Akinobu Mita
2015-08-22 7:23 GMT+09:00 : >> 2015-08-20 22:59 GMT+09:00 Yaniv Gardi : >>> @@ -30,6 +48,14 @@ static void ufs_qcom_get_speed_mode(struct >>> ufs_pa_layer_attr *p, char *result); >>> static int ufs_qcom_get_bus_vote(struct ufs_qcom_host *host, >>> const char *speed_mode); >>>

RE: [V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-21 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Peter Zijlstra [mailto:pet...@infradead.org] > > On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > > void crash_kexec(struct pt_regs *regs) > > { > > + int old_cpu, this_cpu; > > + > > + /* > > +* `old_cpu == -1' means we are the first comer and crash_kexec() > >

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-21 Thread Marcelo Tosatti
On Thu, Aug 20, 2015 at 05:06:51PM -0700, Vikas Shivappa wrote: > > > On Mon, 17 Aug 2015, Marcelo Tosatti wrote: > > >Vikas, Tejun, > > > >This is an updated interface. It addresses all comments made > >so far and also covers all use-cases the cgroup interface > >covers. > > > >Let me know

Re: [PATCH v2 07/10] media/usb/pvrusb2: Support for V4L2_CTRL_WHICH_DEF_VAL

2015-08-21 Thread Mike Isely
The code you've added is carefully checking the return pointer from pvr2_hdw_get_ctrl_v4l() yet the original code did not operate this way. The result is that now there's this "unbalanced" effect where it appears that the validity of the pvr2_ctrl instance is only checked on one side of the

Re: [PATCH] usb: gadget: f_uac1: Convert use of __constant_cpu_to_le16 to cpu_to_le16

2015-08-21 Thread Vaishali Thakkar
On Thu, Aug 20, 2015 at 4:20 PM, David Laight wrote: > From: Vaishali Thakkar >> Sent: 19 August 2015 06:31 >> To: Felipe Balbi >> Cc: Greg Kroah-Hartman; linux-...@vger.kernel.org; >> linux-kernel@vger.kernel.org >> Subject: [PATCH] usb: gadget: f_uac1: Convert use of __constant_cpu_to_le16 >>

[PATCH v3 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

2015-08-21 Thread Christopher S. Hall
From: Christopher Hall This patch allows system and device time ("cross-timestamp") to be performed by the driver. Currently, the cross-timestamping is performed in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() and the gettime64() callback provided by the driver. The

[PATCH v3 4/4] Enabling hardware supported PTP system/device crosstimestamping

2015-08-21 Thread Christopher S. Hall
From: Christopher Hall Add getsynctime() PTP device callback to cross timestamp system device clock using ART translation depends on platform being >= SPT and having ART getsynctime() reads ART (TSC-derived)/device cross timestamp and converts to realtime/device time

[PATCH v3 1/4] Add correlated clocksource deriving system time from an auxiliary clocksource

2015-08-21 Thread Christopher S. Hall
Add struct correlated_cs with pointer to original clocksource and function pointer to convert correlated clocksource to the original Add get_correlated_timestamp() function which given specific correlated_cs and correlated_ts convert correlated counter value to system time

[PATCH v3 2/4] Added ART correlated clocksource and ART CPU feature

2015-08-21 Thread Christopher S. Hall
Add detect_art() call to early TSC initialization which reads ART->TSC numerator/denominator and sets CPU feature if present Add convert_art_to_tsc() function performing conversion ART to TSC Add art_timestamp referencing art_to_tsc() and clocksource_tsc enabling driver

[PATCH v3 0/4] Patchset enabling hardware based cross-timestamps for next gen Intel platforms

2015-08-21 Thread Christopher S. Hall
6th generation Intel platforms will have an Always Running Timer (ART) that always runs when the system is powered and is available to both the CPU and various on-board devices. Initially, those devices include audio and network. The ART will give these devices the capability of precisely cross

[PATCH v6 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-08-21 Thread Chunfeng Yun
support usb3.0 phy of mt65xx SoCs Signed-off-by: Chunfeng Yun --- drivers/phy/Kconfig | 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-mt65xx-usb3.c | 456 ++ 3 files changed, 466 insertions(+) create mode 100644

[PATCH v6 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-08-21 Thread Chunfeng Yun
add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 69 ++ 1 file changed, 69 insertions(+) create mode 100644

[PATCH v6 4/5] xhci: mediatek: support MTK xHCI host controller

2015-08-21 Thread Chunfeng Yun
MTK xhci host controller defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context Signed-off-by: Chunfeng Yun --- drivers/usb/host/Kconfig|

Mediatek xHCI support

2015-08-21 Thread Chunfeng Yun
>From 4cab60015fd73f37b7c970ba56c2625fe346fcf3 Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Sat, 22 Aug 2015 09:35:14 +0800 Subject: [PATCH v6 0/5] Mediatek xHCI support The patch supports MediaTek's xHCI controller. There are some differences from xHCI spec: 1. The interval is specified

[PATCH v6 5/5] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-08-21 Thread Chunfeng Yun
add xHCI and phy drivers for MT8173-EVB Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 16 +++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 44 + 2 files changed, 60 insertions(+) diff --git

[PATCH v6 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-08-21 Thread Chunfeng Yun
add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-xhci.txt| 52 ++ 1 file changed, 52 insertions(+) create mode 100644

RE: [V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-21 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Peter Zijlstra [mailto:pet...@infradead.org] > > On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > > When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops > > infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI > > to other cpus to save their

Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information

2015-08-21 Thread Javier Martinez Canillas
Hello Brian, On 08/22/2015 03:05 AM, Brian Norris wrote: > On Sat, Aug 22, 2015 at 02:26:14AM +0200, Javier Martinez Canillas wrote: >> On 08/22/2015 12:47 AM, Brian Norris wrote: >>> Otherwise, looks good. I'll either patch in this commit message, or >>> await v2. Your call. >> >> If you don't

Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information

2015-08-21 Thread Brian Norris
On Sat, Aug 22, 2015 at 02:26:14AM +0200, Javier Martinez Canillas wrote: > On 08/22/2015 12:47 AM, Brian Norris wrote: > > Otherwise, looks good. I'll either patch in this commit message, or > > await v2. Your call. > > If you don't mind fixing it up yourself when applying, then that > would be

RE: [V3 PATCH 1/4] panic/x86: Fix re-entrance problem due to panic on NMI

2015-08-21 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Peter Zijlstra [mailto:pet...@infradead.org] > > On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > > diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c > > index d05bd2e..dcd4038 100644 > > --- a/arch/x86/kernel/nmi.c > > +++ b/arch/x86/kernel/nmi.c > > @@ -231,7

RE: [V3 PATCH 0/4] Fix race issues among panic, NMI and crash_kexec

2015-08-21 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Peter Zijlstra [mailto:pet...@infradead.org] > User-Agent: StGit/0.16 > > Fwiw, stgit is broken wrt sending email, all your emails have the exact > same timestamp, which means that the emails will be ordered on received > timestamp when threaded and generate the below mess: Sorry for the

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-21 Thread Dave Chinner
On Fri, Aug 21, 2015 at 06:20:53PM +0800, Eryu Guan wrote: > On Wed, Aug 19, 2015 at 07:56:11AM +1000, Dave Chinner wrote: > > On Tue, Aug 18, 2015 at 12:54:39PM -0700, Tejun Heo wrote: > [snip] > > > > I'd suggest looking at some of the XFS tracepoints during the test: > > > > tracepoint

Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information

2015-08-21 Thread Javier Martinez Canillas
Hello Brian, On 08/22/2015 12:47 AM, Brian Norris wrote: > Hi Javier, > > On Fri, Aug 21, 2015 at 12:57:54AM +0200, Javier Martinez Canillas wrote: >> On 08/21/2015 12:34 AM, Brian Norris wrote: >>> On Fri, Aug 21, 2015 at 12:13:34AM +0200, Javier Martinez Canillas wrote: So this patch

Re: [PATCH] phylib: Make PHYs children of their MDIO bus, not the bus' parent.

2015-08-21 Thread Florian Fainelli
On 21/08/15 16:16, David Daney wrote: > From: David Daney > > commit 18ee49ddb0d2 ("phylib: rename mii_bus::dev to mii_bus::parent") > changed the parent of PHY devices from the bus to the bus parent. > > Then, commit 4dea547fef1b ("phylib: rework to prepare for OF > registration of PHYs")

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

2015-08-21 Thread Tony Luck
On Fri, Aug 21, 2015 at 1:50 PM, Yinghai Lu wrote: >> It seems that many systems with large amounts of memory >> will have a nicely aligned max_pfn ... so they will get >> the 2GB block size. If they don't have a well aligned >> max_pfn, then they need to use a smaller size to avoid >> the crash

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

2015-08-21 Thread Michael Ellerman
On Fri, 2015-08-21 at 14:29 +0530, Vasant Hegde wrote: > On 08/21/2015 01:55 PM, Stephen Rothwell wrote: > > Hi all, > > > > After merging the nvdimm tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > Stephen, > > Thanks for reporting! I checked powerpc tree.. This

Re: [GIT PULL] RPi DT changes due for v4.3

2015-08-21 Thread Olof Johansson
On Fri, Aug 21, 2015 at 4:27 PM, Florian Fainelli wrote: > On 13/08/15 03:30, Olof Johansson wrote: >> Hi, >> >> On Tue, Aug 11, 2015 at 05:06:42PM +0100, Lee Jones wrote: >>> ARM SoC Chaps, >>> >>> Please find a couple of simple RPi changes pertaining to Firmware. >>> >>> The following changes

[lkp] [sched] d4573c3e1c: -5.9% unixbench.score

2015-08-21 Thread kernel test robot
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit d4573c3e1c992668f5dcd57d1c2ced56ae9650b9 ("sched: Improve load balancing in the presence of idle CPUs")

Re: [GIT PULL] RPi DT changes due for v4.3

2015-08-21 Thread Florian Fainelli
On 13/08/15 03:30, Olof Johansson wrote: > Hi, > > On Tue, Aug 11, 2015 at 05:06:42PM +0100, Lee Jones wrote: >> ARM SoC Chaps, >> >> Please find a couple of simple RPi changes pertaining to Firmware. >> >> The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: >> >> Linux

[PATCH] phylib: Make PHYs children of their MDIO bus, not the bus' parent.

2015-08-21 Thread David Daney
From: David Daney commit 18ee49ddb0d2 ("phylib: rename mii_bus::dev to mii_bus::parent") changed the parent of PHY devices from the bus to the bus parent. Then, commit 4dea547fef1b ("phylib: rework to prepare for OF registration of PHYs") moved the code into phy_device.c At this point, it is

[PATCH] gpio: vf610: handle level IRQ's properly

2015-08-21 Thread Stefan Agner
The GPIO IRQ controller is able to generate level triggered interrupts, however, these were handled by handle_simple_irq so far which did not take care of IRQ masking. This lead to "nobody cared (try booting with the "irqpoll" option)" stack traces. Use the generic interrupt handlers depending on

[PATCH] virtio-blk: use VIRTIO_BLK_F_WCE and VIRTIO_BLK_F_CONFIG_WCE in virtio1

2015-08-21 Thread Paolo Bonzini
VIRTIO_BLK_F_CONFIG_WCE is important in order to achieve good performance (up to 2x, though more realistically +30-40%) in latency-bound workloads. However, it was removed by mistake together with VIRTIO_BLK_F_FLUSH. It will be restored in the next revision of the virtio 1.0 standard, so do the

Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information

2015-08-21 Thread Brian Norris
Hi Javier, On Fri, Aug 21, 2015 at 12:57:54AM +0200, Javier Martinez Canillas wrote: > On 08/21/2015 12:34 AM, Brian Norris wrote: > > On Fri, Aug 21, 2015 at 12:13:34AM +0200, Javier Martinez Canillas wrote: > >> So this patch really is a no-op right now and is not fixing anything. > >> As long

[PATCH] staging/most: Use NULL instead of plain integer for pointer

2015-08-21 Thread Rocco Folino
This patch fixes the warning generated by sparse: "Using plain integer as NULL pointer" by replacing 0s with NULL. Signed-off-by: Rocco Folino --- drivers/staging/most/aim-network/networking.c | 2 +- drivers/staging/most/aim-v4l2/video.c | 2 +- drivers/staging/most/hdm-dim2/dim2_hdm.c

Re: [PATCH v2 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-08-21 Thread ygardi
> 2015-08-20 22:59 GMT+09:00 Yaniv Gardi : >> @@ -30,6 +48,14 @@ static void ufs_qcom_get_speed_mode(struct >> ufs_pa_layer_attr *p, char *result); >> static int ufs_qcom_get_bus_vote(struct ufs_qcom_host *host, >> const char *speed_mode); >> static int

Re: [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-21 Thread ygardi
> 2015-08-20 22:59 GMT+09:00 Yaniv Gardi : >> @@ -1036,7 +1037,7 @@ void ufs_qcom_clk_scale_notify(struct ufs_hba >> *hba) >> * The variant operations configure the necessary controller and PHY >> * handshake during initialization. >> */ >> -static const struct ufs_hba_variant_ops

Vorteile

2015-08-21 Thread email
Ich habe eine positive Sache für uns beide. Sie sollten mit mir unter der E-Mail-Adresse ein für Erklärungen zu antworten. E-Mail: chn.j...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Critical Error in Linux

2015-08-21 Thread Anonymous Remailer (austria)
un-fricking-believable. I recently moved to KDE and just got hit by this bug in Kubuntu 11.10, almost 2 years since this post was first started! It boggles my mind that a bug this CRITICAL can exist that long in KDE. Is the Q/A of KDE that bad? Do they do any testing at all? This is serious

[PATCH v1 02/15] scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers

2015-08-21 Thread Yaniv Gardi
Some of the data structures (like response UPIU) and/or its elements (unused fields) should be cleared before sending out the respective command to UFS device. This change clears the UPIU response data structure for query commands and NOP command before sending out the command. We also initialize

[PATCH v1 00/15] Big fixes, retries, handle a race condition

2015-08-21 Thread Yaniv Gardi
This serie of 15 small patches should be pushed after the series of 8 patches I have uploaded to the upstream a week ago: "Fix error message and present UFS variant probe" Yaniv Gardi (15): scsi: ufs: clear UTRD, UPIU req and rsp before new transfers scsi: ufs: clear fields UTRD, UPIU req and

[PATCH v1 04/15] scsi: ufs: clear outstanding_request bit in case query timeout

2015-08-21 Thread Yaniv Gardi
When sending a query to the device returns with a timeout error, we clear the corresponding bit in the DOORBELL register but we don't clear the outstanding_request field as we should. This patch fixes this bug. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c | 22

[PATCH v1 05/15] scsi: ufs: increase fDeviceInit query response timeout

2015-08-21 Thread Yaniv Gardi
fDeviceInit query response time for some devices is too long that default query request timeout of 100ms may not be enough. Experiments show that fDeviceInit response sometimes takes 500ms so to be on safer side this change sets the timeout to 600ms. Without this change, we might unnecessarily

[PATCH v1 07/15] scsi: ufs: set REQUEST_SENSE command size to 18 bytes

2015-08-21 Thread Yaniv Gardi
According to UFS device specification REQUEST_SENSE command can only report back up to 18 bytes of data. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c

[PATCH v1 10/15] scsi: ufs: fix error recovery after the hibern8 exit failure

2015-08-21 Thread Yaniv Gardi
Hibern8 exit can be called from 3 different context: - ufshcd_hibern8_exit_work - ufshcd_ungate_work - runtime/system resume If hibern8 exit fails for some reason then we try to bring the link to active state by link startup but this recovery mechanism results into deadlock or errors

[PATCH v1 11/15] scsi: ufs: retry failed query flag requests

2015-08-21 Thread Yaniv Gardi
UFS flag query requests may fail sometimes due to timeouts etc. Add a wrapper function to retry up to 10 times in case of such failure, similar to retries being made for attribute queries. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c | 63

[PATCH v1 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-08-21 Thread Yaniv Gardi
Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately. Signed-off-by: Yaniv Gardi ---

[PATCH v1 15/15] scsi: ufs: add wrapper for retrying sending query attribute

2015-08-21 Thread Yaniv Gardi
Sometimes queries from the device might return a failure so it is recommended to retry sending the query, before giving up. This change adds a wrapper to retry sending a query attribute, in cases where we need to wait longer, before we continue, or before reporting a failure. Signed-off-by: Yaniv

[PATCH v1 13/15] scsi: ufs: add missing memory barriers

2015-08-21 Thread Yaniv Gardi
Performing several writes to UFS host controller registers has no gurrantee of ordering, so we must make sure register writes to setup request list base address etc. are performed before the run/stop register is enabled. In addition, when setting up a task request, we must make sure the updating

[PATCH v1 12/15] scsi: ufs: reduce the interrupts for power mode change requests

2015-08-21 Thread Yaniv Gardi
DME commands such as Hibern8 enter/exit and gear switch generate 2 completion interrupts, one for confirmation that command is received by local UniPro and 2nd one is the final confirmation after communication with remote UniPro. Currently both of these completions are registered as interrupt

[PATCH v1 08/15] scsi: ufs: add retries to dme_peer get and set attribute

2015-08-21 Thread Yaniv Gardi
The dme_peer get/set attribute commands are prone to errors, therefore we add three retries for the UIC command sending. Error code returned from ufshcd_send_uic_cmd() is checked, and unless it was successful or the retries have finished, another command will be sent. Signed-off-by: Yaniv Gardi

[PATCH v1 06/15] scsi: ufs: avoid exception event handler racing with PM callbacks

2015-08-21 Thread Yaniv Gardi
If device raises the exception event in the response to the commands sent during the runtime/system PM callbacks, exception event handler might run in parallel with PM callbacks and may see unclocked register accesses. This change fixes this issue by not scheduling the exception event handler

[PATCH v1 09/15] scsi: ufs: add retries for hibern8 enter

2015-08-21 Thread Yaniv Gardi
If hibern8 enter command fails then UFS link state may be unknown which may result into timeout of all the commands issued after failure. This change does 2 things (for pre-defined number of retry counts) after hibern8 enter failure: 1. Recovers the UFS link to active state 2. If link is

[PATCH v1 03/15] scsi: ufs: verify command tag validity

2015-08-21 Thread Yaniv Gardi
A race condition appear to exist between request completion when scsi_done() is called to end the request and set the tag back to -1 (at blk_queue_end_tag() scsi_end_request), and scsi layer error handling which aborts the command and reuses it to request sense data. Sending the request sense is

[PATCH v1 01/15] scsi: ufs: clear UTRD, UPIU req and rsp before new transfers

2015-08-21 Thread Yaniv Gardi
Clear the UFS data structures before sending new request. The SCSI command is sent to the device within the UFS UPIU request. As part of the transfer UPIU preparation, the SCSI command is copied to the UPIU structure according to the SCSI command size. As different SCSI commands differ in size

Re: [PATCH] DRM - radeon: Don't link train DisplayPort on HPD until we get the dpcd

2015-08-21 Thread Alex Deucher
On Fri, Aug 21, 2015 at 2:16 PM, wrote: > From: Stephen Chandler Paul > > Most of the time this isn't an issue since hotplugging an adaptor will > trigger a crtc mode change which in turn, causes the driver to probe > every DisplayPort for a dpcd. However, in cases where hotplugging > doesn't

[PATCH V4 1/2] arm64: copy_to-from-in_user optimization using copy template

2015-08-21 Thread Feng Kan
This patch optimize copy_to-from-in_user for arm 64bit architecture. The copy template is using the memcpy.S as a base. This allows the sharing of the copy template with all of the copy*.S files. Signed-off-by: Feng Kan Signed-off-by: Balamurugan Shanmugam --- arch/arm64/lib/copy_from_user.S |

[PATCH V4 0/2] arm64: copy to/in/from user optimization

2015-08-21 Thread Feng Kan
This coverts all copy in/from/to user file to use the copy template file. The copy template file is based on the memcpy.S. The second patch converts the memcpy to use the copy template as well. Overnight trinity test and 10G iperf was used to test correctness and performance. Noticeable iperf

[PATCH V4 2/2] arm64: Change memcpy in kernel to use the copy template file

2015-08-21 Thread Feng Kan
This converts the memcpy.S to use the copy template file. The copy template file was based originally on the memcpy.S. Minor changes was made to it to accommodate the copy to/from/in user files. Signed-off-by: Feng Kan --- arch/arm64/lib/memcpy.S | 179

Re: [PATCH] sha: Enable cpuid check for Intel SHA extensions implementations

2015-08-21 Thread Tim Chen
On Thu, 2015-08-20 at 22:02 +0200, Thomas Gleixner wrote: > On Thu, 20 Aug 2015, Tim Chen wrote: > > From: Tim Chen > > Subject: [PATCH] sha: Enable cpuid check for Intel SHA extensions > > implementations > >sha: is not a proper subsystem name > >x86/cpufeatures: is the correct one >

[lkp] [platform] 7b623a4d85f: INFO: possible recursive locking detected ]

2015-08-21 Thread kernel test robot
FYI, we noticed the below changes on git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git for-review commit 7b623a4d85fe7b8d0b4bf24f04a783420b3dbf1a ("platform:x86: add Intel Punit mailbox IPC driver") The following new stuff in kernel log may make end user confusing. [

Reminder

2015-08-21 Thread yoropeza
This is Sandeep largest Mega Millions winner giving you $1,500,000 dollars reply with your full name and location. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[lkp] [Yama] 730daa164e7: INFO: suspicious RCU usage. ]

2015-08-21 Thread kernel test robot
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 730daa164e7c7e31c08fab940549f4acc3329432 ("Yama: remove needless CONFIG_SECURITY_YAMA_STACKED") ++++ |

Re: [PATCH 0/4] firmware_class: few small code shifts

2015-08-21 Thread Luis R. Rodriguez
On Tue, Aug 04, 2015 at 03:00:00PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Ming, Greg, > > this patch set consists of a few small code shifts which would make > it easier to add extensible firmware API code, and later firmware > signing support. This patch set is being

Re: [PATCHv3 4/5] mm: make compound_head() robust

2015-08-21 Thread Christoph Lameter
On Fri, 21 Aug 2015, Andrew Morton wrote: > On Fri, 21 Aug 2015 22:31:09 +0300 "Kirill A. Shutemov" > wrote: > > > On Fri, Aug 21, 2015 at 11:11:27AM -0500, Christoph Lameter wrote: > > > On Fri, 21 Aug 2015, Kirill A. Shutemov wrote: > > > > > > > > Is this really true? For example if it's a

[PATCH] rsi: Fix possible leak when loading firmware

2015-08-21 Thread Christian Engelmayer
Commit 5d5cd85ff441 ("rsi: Fix failure to load firmware after memory leak fix and fix the leak") also added a check on the allocation of DMA-accessible memory that may directly return. In that case the already allocated firmware data is leaked. Make sure the data is always freed correctly.

Re: [PATCH] staging/android: Update ION TODO per LPC discussion

2015-08-21 Thread Tiago Vignatti
sgtm. Thanks for keeping me in the loop. Tiago On 08/21/2015 06:02 PM, Daniel Vetter wrote: We discussed a bit with the folks on the Cc: list below what to do with ION. Two big take-aways: - High-performance drivers (like gpus) always want to play tricks with coherency and will lie to the

Re: [x86] copy_from{to}_user question

2015-08-21 Thread H. Peter Anvin
On 08/20/2015 09:35 PM, Borislav Petkov wrote: > On Thu, Aug 20, 2015 at 11:22:43AM -0700, H. Peter Anvin wrote: >> There is a valid reason to do this, which is that currently >> copy_{to,from}_user() effectively bypass SMAP as they don't verify that >> the kernel pointer is actually a kernel

[PATCH] staging/android: Update ION TODO per LPC discussion

2015-08-21 Thread Daniel Vetter
We discussed a bit with the folks on the Cc: list below what to do with ION. Two big take-aways: - High-performance drivers (like gpus) always want to play tricks with coherency and will lie to the dma api (radeon, nouveau, i915 gpu drivers all do so in upstream). What needs to be done here

Re: [PATCH 07/10] mm: page_alloc: Rename __GFP_WAIT to __GFP_RECLAIM

2015-08-21 Thread Mel Gorman
On Fri, Aug 21, 2015 at 04:20:52PM +0200, Vlastimil Babka wrote: > On 08/12/2015 12:45 PM, Mel Gorman wrote: > >__GFP_WAIT was used to signal that the caller was in atomic context and > >could not sleep. Now it is possible to distinguish between true atomic > >context and callers that are not

Re: is this a problem of numactl in RedHat7.0 ?

2015-08-21 Thread Rik van Riel
On 08/21/2015 05:27 AM, Xishi Qiu wrote: I use numactl(--localalloc) tool run a test case, but it shows that the numa policy is prefer, I don't know why. The kernel implements MPOL_PREFERRED and MPOL_LOCAL in the same way. Look at this code in mpol_new(), in mm/mempolicy.c: /*

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

2015-08-21 Thread Yinghai Lu
On Fri, Aug 21, 2015 at 1:27 PM, Luck, Tony wrote: > On Fri, Aug 21, 2015 at 11:38:13AM -0700, Yinghai Lu wrote: >> That commit could be reverted. >> According to >> https://lkml.org/lkml/2014/11/10/123 > > Do we really need to force the MIN_MEMORY_BLOCK_SIZE on small > systems? That is

Re: [PATCH/RFC v6 05/36] leds: Improve setting brightness in a non sleeping way

2015-08-21 Thread Andrew Lunn
> This work queue from led-class.c is used for setting brightness, when > blink timer is on. Blinking is the functionality from the LED core, > so the work queue should also belong to the core. It should be moved > there along with led_timer_function, for consistency reasons. In view > of the

Re: [PATCH] mm: use only per-device readahead limit

2015-08-21 Thread Linus Torvalds
On Fri, Aug 21, 2015 at 1:21 PM, Roman Gushchin wrote: > > It's just a raid driver. For instance, drivers/md/raid5.c:6898 . Ok. That makes me a bit less nervous. I was worried there was some admin program out there that just ups the readahead on peoples devices, which would mean that ra_pages is

Re: [PATCH 06/10] mm: page_alloc: Distinguish between being unable to sleep, unwilling to unwilling and avoiding waking kswapd

2015-08-21 Thread Mel Gorman
On Fri, Aug 21, 2015 at 03:42:21PM +0200, Vlastimil Babka wrote: > On 08/12/2015 12:45 PM, Mel Gorman wrote: > >__GFP_WAIT has been used to identify atomic context in callers that hold > >spinlocks or are in interrupts. They are expected to be high priority and > >have access one of two watermarks

Re: [PATCH 01/10] perf,x86: Fix event/group validation

2015-08-21 Thread Sasha Levin
On 05/21/2015 07:17 AM, Peter Zijlstra wrote: > --- a/arch/x86/kernel/cpu/perf_event_intel.c > +++ b/arch/x86/kernel/cpu/perf_event_intel.c > @@ -2106,7 +2106,7 @@ static struct event_constraint * > intel_get_event_constraints(struct cpu_hw_events *cpuc, int idx, >

Re: [PATCH/RFC v6 05/36] leds: Improve setting brightness in a non sleeping way

2015-08-21 Thread Jacek Anaszewski
On 08/21/2015 07:45 PM, Andrew Lunn wrote: On Fri, Aug 21, 2015 at 11:22:33AM +0200, Jacek Anaszewski wrote: Hi Andrew, Thanks for the review. On 08/20/2015 06:09 PM, Andrew Lunn wrote: On Thu, Aug 20, 2015 at 04:43:35PM +0200, Jacek Anaszewski wrote: This patch replaces

[PATCH] drivers/dma: make mv_xor.c driver explicitly non-modular

2015-08-21 Thread Paul Gortmaker
The Kconfig for this driver is currently: config MV_XOR bool "Marvell XOR engine support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the driver there is no doubt it is

[PATCH] Fixing opcode issue on vmx-crypto

2015-08-21 Thread Leonidas S Barbosa
In build time vadduqm opcode is not being mapped correctly. Adding a new map in ppc-xlate to do this. Signed-off-by: Leonidas S Barbosa --- drivers/crypto/vmx/ppc-xlate.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/vmx/ppc-xlate.pl b/drivers/crypto/vmx/ppc-xlate.pl

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

2015-08-21 Thread Luck, Tony
On Fri, Aug 21, 2015 at 11:38:13AM -0700, Yinghai Lu wrote: > That commit could be reverted. > According to > https://lkml.org/lkml/2014/11/10/123 Do we really need to force the MIN_MEMORY_BLOCK_SIZE on small systems? What about this patch - which just uses max_pfn to choose the block size. It

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-21 Thread Liang, Kan
> On Tue, Aug 18, 2015 at 05:25:38AM -0400, kan.li...@intel.com wrote: > > From: Kan Liang > > > > This patch enable perf report to sort by socket > > > > SNIP > > > diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index > > 7e38716..245e254 100644 > > --- a/tools/perf/util/sort.c

ipg and dl2k mess

2015-08-21 Thread Ondrej Zary
Hello, I've got an Asus NX1101 card with ICPlus IP1000A chip: 02:01.0 Ethernet controller [0200]: Sundance Technology Inc / IC Plus Corp IP1000 Family Gigabit Ethernet [13f0:1023] (rev 41) Subsystem: ASUSTeK Computer Inc. NX1101 [1043:8180] Flags: bus master, 66MHz, medium devsel,

Re: [PATCH] usb: gadget: fix possible regression introduced with ep->claimed

2015-08-21 Thread Felipe Balbi
Hi, On Fri, Aug 21, 2015 at 10:00:50AM -0500, Felipe Balbi wrote: > On Fri, Aug 21, 2015 at 11:01:29AM +0200, Robert Baldyga wrote: > > This patch fixes possible regression introduced by patch reworking endpoint > > claiming mechanism. It restores setring ep->driver_data to NULL in > >

Re: [PATCH] mm: use only per-device readahead limit

2015-08-21 Thread Roman Gushchin
21.08.2015, 21:17, "Linus Torvalds" : > On Fri, Aug 21, 2015 at 10:12 AM, Roman Gushchin wrote: >>  There are devices, which require custom readahead limit. >>  For instance, for RAIDs it's calculated as number of devices >>  multiplied by chunk size times 2. > > So afaik, the default read-ahead

[PATCH] security/keys: make big_key.c explicitly non-modular

2015-08-21 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: config BIG_KEYS bool "Large payload keys" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the driver there is no doubt it

Re: [PATCH 1/2] Fixing vmx-crypto AES-CTR counter bug

2015-08-21 Thread Leonidas S Barbosa
On Fri, Aug 21, 2015 at 03:19:18PM -0400, Paul Gortmaker wrote: > On Fri, Aug 14, 2015 at 9:12 AM, Leonidas S Barbosa > wrote: > > AES-CTR is using a counter 8bytes-8bytes what miss match with > > kernel specs. > > > > In the previous code a vadduwm was done to increment counter. > > Replacing

[PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings

2015-08-21 Thread kbuild test robot
drivers/media/i2c/tc358743.c:1960:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Geert Uytterhoeven Signed-off-by: Fengguang Wu --- tc358743.c |

Re: perf: make tarball broken by some file added by pt/bts

2015-08-21 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 21, 2015 at 10:08:06PM +0300, Adrian Hunter escreveu: > On 21/08/2015 10:05 p.m., Adrian Hunter wrote: > >On 21/08/2015 7:33 p.m., Arnaldo Carvalho de Melo wrote: > >> CC util/scripting-engines/trace-event-python.o > >> CC util/intel-pt-decoder/intel-pt-insn-decoder.o >

Re: perf: make tarball broken by some file added by pt/bts

2015-08-21 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 21, 2015 at 10:05:58PM +0300, Adrian Hunter escreveu: > On 21/08/2015 7:33 p.m., Arnaldo Carvalho de Melo wrote: > > CC util/scripting-engines/trace-event-python.o > > CC util/intel-pt-decoder/intel-pt-insn-decoder.o >

[PATCH] drm/doc: Fixing xml documentation warning

2015-08-21 Thread Danilo Cesar Lemes de Paula
"/**" should be used for kernel-doc documentation only. It causes a warning with the new "in struct body" format. Signed-off-by: Danilo Cesar Lemes de Paula Cc: Randy Dunlap Cc: Daniel Vetter Cc: Laurent Pinchart Cc: Jonathan Corbet Cc: Herbert Xu Cc: Stephan Mueller Cc: Michal Marek Cc:

[PATCH] scripts/kernel-doc: Improve Markdown results

2015-08-21 Thread Danilo Cesar Lemes de Paula
Using pandoc as the Markdown engine cause some minor side effects as pandoc includes main tags for almost everything. Original Markdown support approach removes those main tags, but it caused some inconsistencies when that tag is not the main one, like: .. ... As kernel-doc was already

Re: [PATCHv3 4/5] mm: make compound_head() robust

2015-08-21 Thread Andrew Morton
On Fri, 21 Aug 2015 22:31:09 +0300 "Kirill A. Shutemov" wrote: > On Fri, Aug 21, 2015 at 11:11:27AM -0500, Christoph Lameter wrote: > > On Fri, 21 Aug 2015, Kirill A. Shutemov wrote: > > > > > > Is this really true? For example if it's a slab page, will that page > > > > ever be inspected by

Re: [PATCHv3 4/5] mm: make compound_head() robust

2015-08-21 Thread Kirill A. Shutemov
On Fri, Aug 21, 2015 at 11:11:27AM -0500, Christoph Lameter wrote: > On Fri, 21 Aug 2015, Kirill A. Shutemov wrote: > > > > Is this really true? For example if it's a slab page, will that page > > > ever be inspected by code which is looking for the PageTail bit? > > > > +Christoph. > > > > What

  1   2   3   4   5   6   7   8   9   10   >