Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-12 Thread Maxime Ripard
On Thu, May 12, 2016 at 06:39:20AM +0300, Priit Laes wrote: > On Wed, 2016-05-11 at 15:15 -0700, Stephen Boyd wrote: > > On 05/10, Priit Laes wrote: > > > > > > On Mon, 2016-05-09 at 15:39 -0700, Stephen Boyd wrote: > > > > > > > > On 05/09, Stephen Boyd wrote: > > > > > > > > > > > > > > > >

[PATCH 1/4] Staging: comedi: Fix WARNING issue in s626.c

2016-05-12 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a Block comments issues found by the checkpatch.pl tool. i.e. Block comments use a trailing */ on a separate line Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 30 -- 1

[PATCH 3/4] Staging: comedi: fix type issue in s626.c

2016-05-12 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a type issues found by the checkpatch.pl tool. i.e Prefer kernel type 'u8' over 'uint8_t' Prefer kernel type 'u16' over 'uint16_t' Prefer kernel type 'u32' over 'uint32_t' Prefer kernel type 's16' over 'int16_t' Prefer kernel type 's

Re: [PATCH] mmc: mmc: do not use CMD13 to get status after speed mode switch

2016-05-12 Thread Chaotian Jing
On Wed, 2016-05-11 at 10:50 +0300, Adrian Hunter wrote: > On 04/05/16 09:54, Chaotian Jing wrote: > > Per JEDEC spec, it is not recommended to use CMD13 to get card status > > after speed mode switch. below are two reason about this: > > 1. CMD13 cannot be guaranteed due to the asynchronous operati

[PATCH 4/4] Staging: comedi: fix line over 80 characters issue in s626.c

2016-05-12 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a line over 80 characters issues found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/c

[PATCH 2/4] Staging: comedi:Fix checkpatch issue in s626.c

2016-05-12 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [Patch v4 1/8] dt/bindings: firmware: Add Qualcomm SCM binding

2016-05-12 Thread Stanimir Varbanov
On 05/11/2016 05:15 PM, Andy Gross wrote: > This patch adds the device tree support for the Qualcomm SCM firmware. > > Signed-off-by: Andy Gross > --- > .../devicetree/bindings/firmware/qcom,scm.txt | 28 > ++ > 1 file changed, 28 insertions(+) > create mode 100644 Doc

Re: [PATCH] NVMe: Only release requested regions

2016-05-12 Thread Christoph Hellwig
> static void nvme_dev_unmap(struct nvme_dev *dev) > { > + struct pci_dev *pdev = to_pci_dev(dev->dev); > + int bars; > + > if (dev->bar) > iounmap(dev->bar); > - pci_release_regions(to_pci_dev(dev->dev)); > + > + bars = pci_select_bars(pdev, IORESOURCE_MEM); >

Re: [PATH v2] NVMe: init nvme queue before enabling irq

2016-05-12 Thread Johannes Thumshirn
On Wed, May 11, 2016 at 03:16:33PM -0400, Keith Busch wrote: > On Wed, May 11, 2016 at 11:25:16AM +0200, Johannes Thumshirn wrote: > > What ever happened to this patch? > > I can easily reproduce the bug using > > while [ true ]; do rmmod nvme nvme_core; modprobe nvme; done > > This patch was supp

[PATCH v6 0/4] Mediatek MT8173 CMDQ support

2016-05-12 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. These patches have a build

[PATCH v6 1/4] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-05-12 Thread HS Liao
This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Signed-off-by: HS Liao Acked-by: Rob Herring --- .../devicetree/bindings/soc/mediatek/gce.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/dev

[PATCH v6 2/4] CMDQ: Mediatek CMDQ driver

2016-05-12 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ on

[PATCH v6 4/4] CMDQ: suspend/resume protection

2016-05-12 Thread HS Liao
Add suspend/resume protection mechanism to prevent active task(s) in suspend. Signed-off-by: HS Liao --- drivers/soc/mediatek/mtk-cmdq.c | 266 ++-- 1 file changed, 254 insertions(+), 12 deletions(-) diff --git a/drivers/soc/mediatek/mtk-cmdq.c b/drivers/soc/

[PATCH v6 3/4] arm64: dts: mt8173: Add GCE node

2016-05-12 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index eab7efc.

Re: [PATCH] [v3] x86/mm/mpx: Work around MPX erratum SKD046

2016-05-12 Thread Ingo Molnar
* Ingo Molnar wrote: > > Changes from v1: > > * Unconditionally enable workaround on all CPUs with MPX despite > >whether we know it to be affected or not > > * Add a pr_warn() when the workaround is active > > > > Changes from v2: > > * fix build breakage from #ifdefs in bug.h It now e

Re: [PATCH 3/6] dt-bindings: mtu3: add devicetree bindings

2016-05-12 Thread chunfeng yun
Hi, On Wed, 2016-05-11 at 09:54 -0500, Rob Herring wrote: > On Tue, May 10, 2016 at 04:23:31PM +0800, Chunfeng Yun wrote: > > add a DT binding doc for MediaTek USB3 DRD driver > > > > Signed-off-by: Chunfeng Yun > > --- > > Documentation/devicetree/bindings/usb/mtu3.txt | 86 > >

Re: [RFC 2/2] perf/core: change errno for sampling event not supported in hardware

2016-05-12 Thread Peter Zijlstra
On Thu, May 12, 2016 at 12:24:25PM +0530, Vineet Gupta wrote: > On Thursday 12 May 2016 12:12 PM, Peter Zijlstra wrote: > >> Tried that and doesn't even compile. Reconfirms what Vince said, ENOTSUPP > >> is not > >> > exposed to userspace (being in include/linux and not include/uapi/linux) > > Dur

Re: [PATCH] genirq: export __irq_set_affinity symbol

2016-05-12 Thread Christoph Hellwig
On Thu, May 12, 2016 at 01:51:27PM +0800, Xie XiuQi wrote: > __irq_set_affinity is declared in include/linux/interrupt.h, but not > been exported. > > We export it now, so we could use __irq_set_affinity, irq_set_affinity > and irq_force_affinity in kernel modules. Err, no. Please explain your u

Re: [PATCH] x86: use compat version for preadv2 and pwritev2

2016-05-12 Thread Christoph Hellwig
On Wed, May 11, 2016 at 11:48:17AM +0300, Dmitry V. Levin wrote: > Similar to preadv and pwritev, preadv2 and pwritev2 need compat entries > in the 32-bit syscall table. > > This bug was found by strace test suite. Looks fine, thanks. Btw, can we have a sensible format for the syscalls list that

RE: [PATCH] usb: gadget: f_fs: report error if excess data received

2016-05-12 Thread Du, Changbin
Hi, > >> and when has this actually happened ? Host should not send more data in > >> this case, if it does, it's an error on the host side. Also, returning > >> -EOVERFLOW is not exactly correct here, because you'd violate POSIX > >> specification of read(), right ? > >> > > This can happen if th

Re: [PATCH] x86: use compat version for preadv2 and pwritev2

2016-05-12 Thread Christoph Hellwig
On Wed, May 11, 2016 at 12:14:11PM +0200, Thomas Gleixner wrote: > On Wed, 11 May 2016, Dmitry V. Levin wrote: > > Similar to preadv and pwritev, preadv2 and pwritev2 need compat entries > > in the 32-bit syscall table. > > So this is 2016 and we added a syscalls which require compat support. What

Re: [PATCH] NVMe: Only release requested regions

2016-05-12 Thread Johannes Thumshirn
On Thu, May 12, 2016 at 12:03:52AM -0700, Christoph Hellwig wrote: > > static void nvme_dev_unmap(struct nvme_dev *dev) > > { > > + struct pci_dev *pdev = to_pci_dev(dev->dev); > > + int bars; > > + > > if (dev->bar) > > iounmap(dev->bar); > > - pci_release_regions(to_pci_de

Re: [PATCH 1/2] Create UV efi_call macros

2016-05-12 Thread Ard Biesheuvel
On 12 May 2016 at 08:46, Ingo Molnar wrote: > > * Alex Thorlton wrote: > >> +#define efi_call_virt(f, args...)\ >> +({ \ >> + efi_status_t __s; \

Re: [PATCH] genirq: export __irq_set_affinity symbol

2016-05-12 Thread Thomas Gleixner
On Thu, 12 May 2016, Xie XiuQi wrote: > __irq_set_affinity is declared in include/linux/interrupt.h, but not > been exported. > > We export it now, so we could use __irq_set_affinity, irq_set_affinity > and irq_force_affinity in kernel modules. Please show the code using the exports first. We do

Re: Add top down metrics to perf stat

2016-05-12 Thread Jiri Olsa
On Thu, May 05, 2016 at 04:03:57PM -0700, Andi Kleen wrote: SNIP > The kernel declares the events supported by the current > CPU and perf stat then computes the formulas based on the > available metrics. > > > Example output: > > $ perf stat --topdown -I 1000 cmd > 1.000735655

Re: [PATCH 2/3] cpuacct: Simplify cpuacct_stats_show

2016-05-12 Thread Ingo Molnar
* Zhao Lei wrote: > Merge code for each cpustat(system/user) into a loop, > to avoid clone of code blocks. > Only a little cleanup. > > Signed-off-by: Zhao Lei > --- > kernel/sched/cpuacct.c | 29 ++--- > 1 file changed, 14 insertions(+), 15 deletions(-) I see a coupl

RE: [PATCH] usb: gadget: f_fs: report error if excess data received

2016-05-12 Thread Felipe Balbi
Hi, "Du, Changbin" writes: > Hi, > >> >> and when has this actually happened ? Host should not send more data in >> >> this case, if it does, it's an error on the host side. Also, returning >> >> -EOVERFLOW is not exactly correct here, because you'd violate POSIX >> >> specification of read(), r

Re: [PATCH 1/3] cpuacct: Merge cpuacct_usage_index and cpuacct_usage_index

2016-05-12 Thread Ingo Molnar
* Zhao Lei wrote: > These two types have similar function. > No need to separate them. My question, have you read the title you've written for this patch _even once_?? Thanks, Ingo

[PATCH v9 0/8] add i2c driver supported for rk3399

2016-05-12 Thread David Wu
There are three points differert from others: - new method to caculate i2c timings for rk3399 - pclk and function clk are separated at rk3399 - add fast-plus mode supported for rk3399 David Wu (8): i2c: rk3x: add documentation to fields in "struct rk3x_i2c" i2c: rk3x: use struct "rk3x_i2c_c

[PATCH v9 2/8] i2c: rk3x: use struct "rk3x_i2c_calced_timings"

2016-05-12 Thread David Wu
The "div_high" and "div_low" values are always used together. Group them into a structure to make it easier to pass them both around. This structure also provides a place for future calculated timings. Signed-off-by: David Wu Reviewed-by: Douglas Anderson --- Change in v9: - none Change in v8:

[PATCH v9 4/8] i2c: rk3x: Change SoC data to not use array

2016-05-12 Thread David Wu
Specifying the i2c SoC data in an array provides very little benefit and gets unwieldly / confusing as the array grows since the next bit of code needs to refer to elements in the array by their raw integral index. Let's just create a single 'static const' structure for each SoC so that we can ref

Re: [PATCH] ASoC: MAX9860: new driver

2016-05-12 Thread Peter Rosin
[Dropping the DT crowd] On 2016-05-11 22:50, Mark Brown wrote: > On Wed, May 11, 2016 at 10:12:56PM +0200, Peter Rosin wrote: >> On 2016-05-11 17:09, Mark Brown wrote: >>> On Tue, May 10, 2016 at 05:06:37PM +0200, Peter Rosin wrote: > This driver does not support sidetone since the DVST regi

[PATCH v9 1/8] i2c: rk3x: add documentation to fields in "struct rk3x_i2c"

2016-05-12 Thread David Wu
Add kernel-doc documentation for the elements of the previously undocumented struct rk3x_i2c. Signed-off-by: David Wu Reviewed-by: Douglas Anderson Reviewed-by: Heiko Stuebner --- Change in v9: - add commit description. Change in v8: - none drivers/i2c/busses/i2c-rk3x.c | 22

[PATCH v9 3/8] i2c: rk3x: Remove redundant rk3x_i2c_clean_ipd()

2016-05-12 Thread David Wu
rk3x_i2c_setup() gets called directly before rk3x_i2c_start(), and the last thing in setup was to clean the IPD, so no reason to do it at the beginning of start. Signed-off-by: David Wu Reviewed-by: Douglas Anderson Reviewed-by: Heiko Stuebner --- Change in v9: - modify commit message Change i

[PATCH v9 5/8] i2c: rk3x: Move spec timing data to "static const" structs

2016-05-12 Thread David Wu
The i2c timing specs are really just constant data. There's no reason to write code to init them, so move them out to structures. This not only is a cleaner solution but it will reduce code duplication when we introduce a new variant of rk3x_i2c_calc_divs() in a future patch. Signed-off-by: David

[PATCH v9 6/8] dt-bindings: i2c: rk3x: add support for rk3399

2016-05-12 Thread David Wu
The bus clock and function clock are separated at rk3399, and others use one clock as the bus clock and function clock. Signed-off-by: David Wu Reviewed-by: Douglas Anderson Reviewed-by: Heiko Stuebner --- Change in v9: - remove unnecessary "REQUIRED". Change in v8: - remove error description.

[PATCH v9 7/8] i2c: rk3x: add i2c support for rk3399 soc

2016-05-12 Thread David Wu
- new method to caculate i2c timings for rk3399: There was an timing issue about "repeated start" time at the I2C controller of version0, controller appears to drop SDA at .875x (7/8) programmed clk high. On version 1 of the controller, the rule(.875x) isn't enough to meet tSU;STA require

[PATCH v9 8/8] i2c: rk3x: support fast-mode plus for rk3399

2016-05-12 Thread David Wu
Implement fast mode plus that allows bus speeds of up to 1MHz. Signed-off-by: David Wu Reviewed-by: Douglas Anderson Tested-by: Caesar Wang Reviewed-by: Heiko Stuebner --- Change in v9: - add commit message Change in v8: - none drivers/i2c/busses/i2c-rk3x.c | 21 + 1 fil

Re: [PATCH 10/10] perf, tools, stat: Add extra output of counter values with -vv

2016-05-12 Thread Jiri Olsa
On Thu, May 05, 2016 at 04:04:07PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Add debug output of raw counter values per CPU when > perf stat -v is specified, together with their cpu numbers. > This is very useful to debug problems with per core counters, > where we can normally only see agg

Re: [PATCH 02/10] x86, perf: Support sysfs files depending on SMT status

2016-05-12 Thread Ingo Molnar
* Andi Kleen wrote: > +ssize_t events_ht_sysfs_show(struct device *dev, struct device_attribute > *attr, > + char *page) > +{ > + struct perf_pmu_events_ht_attr *pmu_attr = > + container_of(attr, struct perf_pmu_events_ht_attr, attr); > + > + /* > +

Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-05-12 Thread Lianwei Wang
I have come up a patch to make the pm notifier called symmetrically and currently being tested. I will send it out after pass the test. On Fri, May 6, 2016 at 12:18 AM, Thomas Gleixner wrote: > On Fri, 6 May 2016, Lianwei Wang wrote: >> On Thu, May 5, 2016 at 5:13 AM, Thomas Gleixner wrote: >> >

Re: [UPDATED PATCH 01/10] x86: Add topology_max_smt_threads()

2016-05-12 Thread Ingo Molnar
* Andi Kleen wrote: > For SMT specific workarounds it is useful to know if SMT is active > on any online CPU in the system. This currently requires a loop > over all online CPUs. > > Add a global variable that is updated with the maximum number > of smt threads on any CPU on online/offline,

lm-senser can't detect thermal on thermal_zone

2016-05-12 Thread Kuninori Morimoto
Hi Zhang, Eduardo Our platform now is using thermal_zone, but lm-senser became no longer working. It works on non thermal_zone. we can get current thermal from /sys/class/thermal/thermal_zone0 on thermal_zone. What does lm-senser is doing ? and why it doesn't work on thermal_zone ?? -- t

Re: [PATCH 03/10] x86, perf: Add Top Down events to Intel Core

2016-05-12 Thread Ingo Molnar
* Andi Kleen wrote: > Subject: Re: [PATCH 03/10] x86, perf: Add Top Down events to Intel Core > arch/x86/events/intel/core.c | 50 > You consistently mis-spell patches to the x86 perf code and for large series this adds unnecessary maintainer w

Re: [PATCH v2 6/6] drm: Add helper for simple display pipeline

2016-05-12 Thread Daniel Vetter
On Wed, May 11, 2016 at 07:09:10PM +0200, Daniel Vetter wrote: > On Wed, May 11, 2016 at 06:09:22PM +0200, Noralf Trønnes wrote: > > +/** > > + * drm_simple_display_pipe_init - Initialize a simple display pipeline > > + * @dev: DRM device > > + * @pipe: simple display pipe object to initialize > >

Re: [PATCH 2/3] net/mlx5e: make VXLAN support conditional

2016-05-12 Thread Arnd Bergmann
On Sunday 08 May 2016 14:58:38 Saeed Mahameed wrote: > On Fri, May 6, 2016 at 10:35 PM, David Miller wrote: > > From: Arnd Bergmann > > Date: Thu, 05 May 2016 20:09:19 +0200 > > > >> For reference, I've tried it out on the MLX4 driver, and it does > >> seem nicer that way, see below. > > > > Is i

RE: [PATCH] usb: gadget: f_fs: report error if excess data received

2016-05-12 Thread Du, Changbin
> > The extra bytes can be anything(random), they just data from APP layer. > > It doesn't make sense for you to check. So I will not dump them, sorry. > > interesting, so you claim to have found a bug, but when asked to provide > more information your answer is "no" ? Thanks :-) > Do you really

Re: [PATCH 1/2] Create UV efi_call macros

2016-05-12 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On 12 May 2016 at 08:46, Ingo Molnar wrote: > > > > * Alex Thorlton wrote: > > > >> +#define efi_call_virt(f, args...)\ > >> +({ \ > >> + efi_status_t __s;

Re: [PATCH v7 0/5] ACPI: parse the SPCR table

2016-05-12 Thread Jon Masters
On 03/31/2016 09:40 AM, Aleksey Makarov wrote: > 'ARM Server Base Boot Requirements' [1] mentions SPCR (Serial Port > Console Redirection Table) [2] as a mandatory ACPI table that > specifies the configuration of serial console. Hi Aleksey, Can you summarize the status of this patch series? Jon

Re: [PATCH] ASoC: MAX9860: new driver

2016-05-12 Thread Peter Rosin
On 2016-05-11 22:53, Mark Brown wrote: > On Wed, May 11, 2016 at 10:28:12PM +0200, Peter Rosin wrote: >> On 2016-05-11 17:29, Mark Brown wrote: >>> On Tue, May 10, 2016 at 05:06:37PM +0200, Peter Rosin wrote: > + if (master) { + switch (max9860->pclk_rate) { >>>

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-12 Thread Yury Norov
On Thu, May 12, 2016 at 11:45:53AM +0800, Zhangjian (Bamvor) wrote: [...] > >Hmm, that is indeed tricky. I think COMPAT_SYSCALL_WRAP4 rightfully > >refuses the loff_t argument here, as the common case is that this is > >not possible. > It works if I apply the following patch, I defined the wrong

Re: [PATCH v7 05/14] usb: otg-fsm: move host controller operations into usb_otg->hcd_ops

2016-05-12 Thread Peter Chen
On Wed, May 11, 2016 at 03:32:30PM +0300, Roger Quadros wrote: > Peter, > > On 11/05/16 14:02, Roger Quadros wrote: > > On 11/05/16 09:10, Peter Chen wrote: > >> On Mon, May 02, 2016 at 03:18:48PM +0300, Roger Quadros wrote: > >>> This is to prevent missing symbol build error if OTG is > >>> enabl

Re: [PATCH v7 05/14] usb: otg-fsm: move host controller operations into usb_otg->hcd_ops

2016-05-12 Thread Roger Quadros
On 12/05/16 11:18, Peter Chen wrote: > On Wed, May 11, 2016 at 03:32:30PM +0300, Roger Quadros wrote: >> Peter, >> >> On 11/05/16 14:02, Roger Quadros wrote: >>> On 11/05/16 09:10, Peter Chen wrote: On Mon, May 02, 2016 at 03:18:48PM +0300, Roger Quadros wrote: > This is to prevent missing

Re: [PATCH v8 8/8] i2c: rk3x: support fast-mode plus for rk3399

2016-05-12 Thread Heiko Stuebner
Am Mittwoch, 11. Mai 2016, 16:41:54 schrieb Doug Anderson: > Heiko, > > On Wed, May 11, 2016 at 2:09 PM, Heiko Stuebner wrote: > > Additionally, the i2c-noob in me would wish for a short sentence on > > where > > the timing values come from (measured, somewhere in the TRM I didn't > > find or som

Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-12 Thread Maxime Ripard
On Thu, May 12, 2016 at 08:59:43AM +0200, Maxime Ripard wrote: > On Thu, May 12, 2016 at 06:39:20AM +0300, Priit Laes wrote: > > On Wed, 2016-05-11 at 15:15 -0700, Stephen Boyd wrote: > > > On 05/10, Priit Laes wrote: > > > > > > > > On Mon, 2016-05-09 at 15:39 -0700, Stephen Boyd wrote: > > > > >

Re: [PATCH v8 1/4] x86/KASLR: Clarify identity map interface

2016-05-12 Thread Ingo Molnar
* Kees Cook wrote: > On Tue, May 10, 2016 at 11:24 PM, Ingo Molnar wrote: > > > > * Kees Cook wrote: > > > >> +/* > >> + * Mapping information structure passed to kernel_ident_mapping_init(). > >> + * Due to relocation, pointers must be assigned at run time not build > >> time. > >> + */ > >>

Re: [PATCH v8 1/4] x86/KASLR: Clarify identity map interface

2016-05-12 Thread Ingo Molnar
* Kees Cook wrote: > On Tue, May 10, 2016 at 11:24 PM, Ingo Molnar wrote: > > > > * Kees Cook wrote: > > > >> +/* > >> + * Mapping information structure passed to kernel_ident_mapping_init(). > >> + * Due to relocation, pointers must be assigned at run time not build > >> time. > >> + */ > >>

Re: [PATCH v7 10/14] usb: otg: add hcd companion support

2016-05-12 Thread Roger Quadros
On 12/05/16 07:00, Yoshihiro Shimoda wrote: > Hi, > >> From: Alan Stern >> Sent: Wednesday, May 11, 2016 11:47 PM >> >> On Wed, 11 May 2016, Roger Quadros wrote: >> What I mean is if you have 2 EHCI controllers with 2 companion controllers, don't you need to know which companion goes wit

Re: [Question] Missing data after DMA read transfer - mm issue with transparent huge page?

2016-05-12 Thread Nicolas Morey-Chaisemartin
Le 05/11/2016 à 04:51 PM, Jerome Glisse a écrit : > On Wed, May 11, 2016 at 01:15:54PM +0200, Nicolas Morey Chaisemartin wrote: >> >> Le 05/10/2016 à 12:01 PM, Jerome Glisse a écrit : >>> On Tue, May 10, 2016 at 09:04:36AM +0200, Nicolas Morey Chaisemartin wrote: Le 05/03/2016 à 12:11 PM, Je

Re: [PATCH v7 5/6] dax: for truncate/hole-punch, do zeroing through the driver if possible

2016-05-12 Thread Jan Kara
On Wed 11-05-16 15:08:51, Vishal Verma wrote: > In the truncate or hole-punch path in dax, we clear out sub-page ranges. > If these sub-page ranges are sector aligned and sized, we can do the > zeroing through the driver instead so that error-clearing is handled > automatically. > > For sub-sector

Re: [PATCH v4 07/18] nbd: fix checkpatch split string warning.

2016-05-12 Thread Markus Pargmann
Hi, On Wednesday 11 May 2016 11:18:35 Pranay Kr. Srivastava wrote: > Signed-off-by: Pranay Kr. Srivastava > --- > drivers/block/nbd.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c > index 6a4dc3a..7a5b8ef 100644 > --- a/driv

[PATCH] ARM: samsung: improve static dma_mask definition

2016-05-12 Thread Arnd Bergmann
When no DMA master devices are part of the kernel configuration, we get a warning about the unused dma mask definition: arch/arm/plat-samsung/devs.c:71:12: error: 'samsung_device_dma_mask' defined but not used [-Werror=unused-variable] static u64 samsung_device_dma_mask = DMA_BIT_MASK(32); We c

Re: [PATCH v3 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-12 Thread Pali Rohár
On Wednesday 11 May 2016 22:41:16 mario_limoncie...@dell.com wrote: > > > > +static DEVICE_ATTR_RO(auxiliary_mac); static struct attribute > > > > +*dell_attributes[] = { > > > > + &dev_attr_auxiliary_mac.attr, > > > > + NULL > > > > +}; > > > > + > > > > +static const struct attribute_

Re: [PATCH v7 4/6] dax: export a low-level __dax_zero_page_range helper

2016-05-12 Thread Jan Kara
On Wed 11-05-16 15:08:50, Vishal Verma wrote: > From: Christoph Hellwig > > This allows XFS to perform zeroing using the iomap infrastructure and > avoid buffer heads. > > [vishal: fix conflicts with dax-error-handling] > Signed-off-by: Christoph Hellwig Looks good. You can add: Reviewed-by:

[PATCH v3 1/7] perf tools: Set vdso name to vdso[64,32] depending on platform

2016-05-12 Thread He Kuang
This is a preparation for cross-platform vdso lookup. There is a naming confusion about vdso name, vdso buildid generated by a 32-bit machine stores it with the name 'vdso', but when processing buildid on a 64-bit machine with the same 'perf.data', perf will search for vdso named as 'vdso32' and g

[PATCH v3 6/7] perf callchain: Support x86 target platform

2016-05-12 Thread He Kuang
Support x86(32-bit) cross platform callchain unwind. Signed-off-by: He Kuang --- .../arch/x86/include/libunwind/libunwind-arch.h| 18 ++ tools/perf/arch/x86/util/unwind-libunwind.c| 42 ++ tools/perf/util/Build | 6 tools

[PATCH v3 3/7] perf tools: Remove the logical that skip buildid cache if symfs is given

2016-05-12 Thread He Kuang
Symfs dir and buildid dir are two places that perf looks into for symbols, currently, if symfs dir is given, buildid-cache is skipped. In the cross-platform perf record/script scenario, we need vdsos in buildid-cache dir and other libs in symfs dir at the same time. And consider that the binaries

[PATCH v3 7/7] perf callchain: Support aarch64 cross-platform

2016-05-12 Thread He Kuang
Support aarch64 cross platform callchain unwind. Signed-off-by: He Kuang --- .../perf/arch/arm64/include/libunwind/libunwind-arch.h | 18 ++ tools/perf/arch/arm64/util/unwind-libunwind.c | 5 - tools/perf/config/Makefile | 12

[PATCH v3 2/7] perf tools: Store vdso buildid unconditionally

2016-05-12 Thread He Kuang
When unwinding callchains on a different machine, vdso info should be provided so the unwind process won't be interrupted if address falls into vdso region. But in most cases, the addresses of sample events are not in vdso range, the buildid of a zero hit vdso won't be stored into perf.data. This

[PATCH v3 0/7] Add support for remote unwind

2016-05-12 Thread He Kuang
v2 url: http://thread.gmane.org/gmane.linux.kernel/2218373 Currently, perf script uses host unwind methods(local unwind) to parse perf.data callchain info regardless of the target architecture. So we get wrong result and no promotion when do remote unwind on other platforms/machines. This patch

[PATCH v3 5/7] perf callchain: Add support for cross-platform unwind

2016-05-12 Thread He Kuang
Use thread specific unwind ops to unwind cross-platform callchains. Before this patch, unwind methods is suitable for local unwind, this patch changes the fixed methods to thread/map related. Each time a map is inserted, we find the target arch and see if this platform can be remote unwind. In thi

[PATCH] irqchip/gic-v3: fix copy+paste mistakes in defines

2016-05-12 Thread Andrew Jones
ICC_SGI1R_AFFINITY_{2,3}_MASK are unused, which is good because they were defined with the wrong shifts. Signed-off-by: Andrew Jones --- include/linux/irqchip/arm-gic-v3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/

[PATCH v3 4/7] perf tools: Promote proper messages for cross-platform unwind

2016-05-12 Thread He Kuang
Currently, perf script uses host unwind methods to parse perf.data callchain info regardless of the target architecture. So we get wrong result and no promotion when unwinding callchains of x86(32-bit) on x86(64-bit) machine. This patch shows proper error messages when we do remote unwind x86(32-b

[PATCH 01/36] usb: serial: ti_usb_3410_5052: Remove useless comments

2016-05-12 Thread Mathieu OTHACEHE
Remove lines commenting the obvious. Remove vi related comment. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_us

[PATCH 34/36] usb: serial: ti_usb_3410_5052: Fix indentation problems

2016-05-12 Thread Mathieu OTHACEHE
Fix some minor indentation problems. Also correct a multi-line comment. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-12 Thread Dr. Greg Wettstein
On Mon, May 09, 2016 at 08:27:04AM +0200, Thomas Gleixner wrote: Good morning. > > On Fri, 6 May 2016, Jarkko Sakkinen wrote: > > I fully understand if you (and others) want to keep this standpoint but > > what if we could get it to staging after I've revised it with suggested > > > This should n

[PATCH 17/36] usb: serial: ti_usb_3410_5052: Remove useless tty_wakeup

2016-05-12 Thread Mathieu OTHACEHE
The generic driver doesn't call tty_wakeup in usb_serial_generic_msr_changed so this tty_wakeup seems useless. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/us

[PATCH 36/36] usb: serial: ti_usb_3410_5052: Add myself as an author

2016-05-12 Thread Mathieu OTHACEHE
Add myself in the copyright section and as an author of the driver. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index

[RFC] hung_task: task white-listing for hung tasks

2016-05-12 Thread Aniruddha Banerjee
Hello, In the current hung_task framework, there is no way to white-list tasks for which a higher hang time out might be acceptable and expected even: Usecase: I want to keep a low hung_task timeout to catch more tasks which are hung-up. However, certain tasks (like sync, which flushes to a slo

[PATCH 25/36] usb: serial: ti_usb_3410_5052: Check old_termios parameter in set_termios

2016-05-12 Thread Mathieu OTHACEHE
The old_termios parameter is never used in set_termios callback. Add a check to old_termios to see if we can return right away because there is nothing to change. Add a check to old_termios CBAUD to see if we can set DTR/RTS because last speed was B0. Also pass NULL for old_termios in open callba

[PATCH 33/36] usb: serial: ti_usb_3410_5052: Add CMSPAR support

2016-05-12 Thread Mathieu OTHACEHE
Add CMSPAR support in set_termios callback. Move TI_UART_ENABLE_PARITY_CHECKING setting in the upper block to avoid doing it twice. Delete useless TI_UART_ENABLE_PARITY_CHECKING unsetting. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 19 ++- 1 file

[PATCH 24/36] usb: serial: ti_usb_3410_5052: Use usb_serial_generic_open

2016-05-12 Thread Mathieu OTHACEHE
Use usb_serial_generic_open in open callback to start read urb. Also remove useless usb_device pointer. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3

Re: [PATCH v4 6/6] hwmon: use smp_call_on_cpu() for dell-smm i8k

2016-05-12 Thread Pali Rohár
On Monday 09 May 2016 16:37:01 Juergen Gross wrote: > On 21/04/16 15:27, Pali Rohár wrote: > > On Thursday 21 April 2016 15:12:52 Juergen Gross wrote: > >> On 21/04/16 12:57, Pali Rohár wrote: > >>> On Tuesday 05 April 2016 21:31:52 Pali Rohár wrote: > On Tuesday 05 April 2016 16:54:14 Guenter

[PATCH 35/36] usb: serial: ti_usb_3410_5052: Remove function prototypes

2016-05-12 Thread Mathieu OTHACEHE
Declare functions in a the right order to avoid prototyping. There is no functional change here. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 1112 - 1 file changed, 544 insertions(+), 568 deletions(-) diff --git a/drivers/usb/seria

[PATCH 26/36] usb: serial: ti_usb_3410_5052: Fix firmware downloading

2016-05-12 Thread Mathieu OTHACEHE
The buffer used to store firmware is allocated to maximum firmware size (TI_FIRMWARE_BUF_SIZE) + header size. This buffer is filled with requested firmware (fw_p->size) and padded with 0xff bytes. The header is written over the 3 first bytes of the buffer (overwritting the 3 first bytes of the requ

[PATCH 28/36] usb: serial: ti_usb_3410_5052: Use variables for vendor and product

2016-05-12 Thread Mathieu OTHACEHE
Use variables for vendor and product in download_firmware to improve readability. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial

[PATCH 29/36] usb: serial: ti_usb_3410_5052: Set shadow msr before waking up waiters

2016-05-12 Thread Mathieu OTHACEHE
Save msr before testing the delta and waking up any waiters. Also use port directly instead of tport->tp_port. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_

[PATCH 27/36] usb: serial: ti_usb_3410_5052: Standardize debug and error messages

2016-05-12 Thread Mathieu OTHACEHE
Use the format "error text: error value\n" when possible. Drop redundant function names from error messages. Also move a couple err messages to dbg messages. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 83 +-- 1 file changed, 41 ins

[PATCH 30/36] usb: serial: ti_usb_3410_5052: Remove backpointer in ti_port

2016-05-12 Thread Mathieu OTHACEHE
In ti_port structure, remove useless tp_tdev backpointer. Also remove pointer to usb_serial_port. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 44 --- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/drivers/usb/serial

[PATCH 32/36] usb: serial: ti_usb_3410_5052: Remove prefixes from private structures

2016-05-12 Thread Mathieu OTHACEHE
Remove prefixes from ti_port and ti_device structures. Also change type of is_3410 from int to bool. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 114 +- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/drivers/usb/ser

[PATCH 31/36] usb: serial: ti_usb_3410_5052: Use a mutex to protect shadow mcr

2016-05-12 Thread Mathieu OTHACEHE
Only shadow msr is accessed from interrupt context. So use the ti_port spinlock to protect only shadow msr. Add a mutex in ti_port to protect mcr from concurrent access. Also move shadow mcr setting out of ti_set_mcr function. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5

Re: [PATCH perf/core v7 02/21] perf buildid: Fix to set correct dso name for kallsyms

2016-05-12 Thread Masami Hiramatsu
On Thu, 12 May 2016 11:02:12 +0900 Masami Hiramatsu wrote: > On Wed, 11 May 2016 12:45:00 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Wed, May 11, 2016 at 10:51:37PM +0900, Masami Hiramatsu escreveu: > > > Fix to set correct dso name ("[kernel.kallsyms]") for > > > kallsyms, as for vdso do

[PATCH 22/36] usb: serial: ti_usb_3410_5052: Change ti_get/set_serial_info function arguments

2016-05-12 Thread Mathieu OTHACEHE
It is sufficient to pass usb_serial_port structure to ti_get_serial_info and ti_set_serial_info. Also move functions above ioctl to avoid function prototyping and use unsigned int instead of unsigned for cwait variable. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c |

Re: [PATCH v6 00/14] ACPI NUMA support for ARM64

2016-05-12 Thread Will Deacon
On Thu, May 12, 2016 at 12:29:02AM +0200, Rafael J. Wysocki wrote: > On Wed, May 11, 2016 at 11:30 PM, David Daney > wrote: > > On 05/11/2016 02:22 PM, Rafael J. Wysocki wrote: > >> On Wed, May 11, 2016 at 11:08 PM, David Daney > >> wrote: > >>> On 05/11/2016 01:35 PM, Rafael J. Wysocki wrote: >

[PATCH 21/36] usb: serial: ti_usb_3410_5052: Use generic close function

2016-05-12 Thread Mathieu OTHACEHE
Use usb_serial_generic_close in close callback. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 8350c6b

[PATCH 23/36] usb: serial: ti_usb_3410_5052: Do not set shadow mcr in open callback

2016-05-12 Thread Mathieu OTHACEHE
Setting DTR/RTS is handled using dtr_rts in tty_core. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 2a993a2..d8bed30 100644 --- a/dr

[PATCH 20/36] usb: serial: ti_usb_3410_5052: Remove usb_serial pointer in ti_port

2016-05-12 Thread Mathieu OTHACEHE
There is no need to keep a pointer to usb_serial in ti_port structure. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/

[PATCH 15/36] usb: serial: ti_usb_3410_5052: Remove in_sync and out_sync functions

2016-05-12 Thread Mathieu OTHACEHE
ti_command_in_sync and ti_command_out_sync shouldn't use userspace datatypes (__uX), data should be void* to avoid casting and size should be size_t. This patch rewrite those functions with new names: ti_send_ctrl_data_urb and ti_recv_ctrl_urb. Also add a ti_send_ctrl_urb to simplify command sendi

[PATCH 09/36] usb: serial: ti_usb_3410_5052: Use kzalloc instead of kmalloc

2016-05-12 Thread Mathieu OTHACEHE
Use kzalloc instead of kmalloc to avoid field initialisation to 0. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index

[PATCH 19/36] usb: serial: ti_usb_3410_5052: Do not modify interrupt context

2016-05-12 Thread Mathieu OTHACEHE
It is useless to pass a specific context (ti_device) to the interrupt callback. So use the default context (usb_serial_port). Remove useless variables in ti_interrupt_callback. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/ti_usb_3410_5052.c | 55 +++ 1

  1   2   3   4   5   6   7   8   9   >