[PATCH 1/1] serial: 8250_pci: add RS485 for F81504/508/512

2015-07-23 Thread Peter Hung
Add RS485 control for Fintek F81504/508/512 F81504/508/512 can control their RTS with H/W mode. PCI configuration space for each port is 0x40 + idx * 8 + 7. When it set with 0x01, it's configured with RS232 mode. RTS is controlled by MCR. When it set with 0x11, it's configured with RS485 mode.

linux-next: Tree for Jul 24

2015-07-23 Thread Stephen Rothwell
Hi all, Changes since 20150723: The ext4 tree still had its build failure so I used the version from next-20150722. The next-next tree lost its build failure. The wireless-drivers-next tree still had its build failure so I used the version from next-20150721. The input tree gained a build

[PATCH net v2 2/3] r8152: fix wakeup settings

2015-07-23 Thread Hayes Wang
Avoid the driver to enable WOL if the device doesn't support it. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index e3a0110..d537c30

[PATCH net v2 1/3] r8152: fix the issue about U1/U2

2015-07-23 Thread Hayes Wang
- Disable U1/U2 during initialization. - Disable lpm when linking is on, and enable it when linking is off. - Disable U1/U2 when enabling runtime suspend. It is possible to let hw stop working, if the U1/U2 request occurs during some situations. The patch is used to avoid it. Signed-off-by:

[PATCH net v2 0/3] r8152: issues fix

2015-07-23 Thread Hayes Wang
v2: Replace patch #2 with "r8152: fix wakeup settings". v1: These patches are used to fix issues. Hayes Wang (3): r8152: fix the issue about U1/U2 - r8152: fix remote wakeup + r8152: fix wakeup settings r8152: don't enable napi before rx ready drivers/net/usb/r8152.c | 103

[PATCH net v2 3/3] r8152: don't enable napi before rx ready

2015-07-23 Thread Hayes Wang
Adjust napi_disable() and napi_enable() to avoid r8152_poll() start working before rx ready. Otherwise, it may have race condition for rx_agg. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c

Re: question about drivers/dma/dma-jz4780.c

2015-07-23 Thread Julia Lawall
> Yes for dmaengine drivers I do ask this question which typically ends up in > driver invoking devm_irq_free() in driver's remove callback > > IMHO don't think devm irq calls are very useful, they do make stuff > complicate Would it be better then to just go back to request_irq (or whatever is

Re: [RESEND PATCH 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-07-23 Thread Sascha Hauer
On Fri, Jul 24, 2015 at 10:02:03AM +0800, Scott Shu wrote: > On Tue, 2015-06-23 at 07:53 +0200, Sascha Hauer wrote: > > Hi Scott, > > > > On Fri, Jun 19, 2015 at 02:01:17AM +0800, Scott Shu wrote: > > > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > > > MT6580. > > > >

linux-next: build failure after merge of the akpm-current tree

2015-07-23 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (i386 defconfig) failed like this: fs/hugetlbfs/inode.c: In function 'hugetlbfs_fallocate': fs/hugetlbfs/inode.c:578:13: error: 'struct vm_area_struct' has no member named 'vm_policy' pseudo_vma.vm_policy =

Re: [PATCH v3 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-07-23 Thread Yong Wu
On Tue, 2015-07-21 at 15:59 +0100, Will Deacon wrote: > Hi Yong Wu, > > On Thu, Jul 16, 2015 at 10:04:34AM +0100, Yong Wu wrote: > > This patch adds support for mediatek m4u (MultiMedia Memory Management > > Unit). > > [...] > > > +static void mtk_iommu_tlb_flush_all(void *cookie) > > +{ > > +

[PATCH v4 1/2] dt-bindings: regulator: mt6311: Add document for mt6311 regulator

2015-07-23 Thread Henry Chen
This patch adds a list of supported regulator names to the devicetree binding documentation for Mediatek MT6311 PMIC. Signed-off-by: Henry Chen --- .../bindings/regulator/mt6311-regulator.txt| 35 ++ 1 file changed, 35 insertions(+) create mode 100644

[PATCH v4 2/2] regulator: mt6311: Add support for mt6311 regulator

2015-07-23 Thread Henry Chen
Add regulator support for mt6311. It has 2 regulaotrs - Buck and LDO, provide the related buck/ldo voltage data to the driver, and creates the regulator_desc table. Supported operations for Buck are enabled/disabled and voltage change, only enabled/disabled for LDO. Signed-off-by: Henry Chen ---

Re: question about drivers/dma/dma-jz4780.c

2015-07-23 Thread Vinod Koul
On Thu, Jul 23, 2015 at 07:24:10PM +0200, Julia Lawall wrote: > > > On Thu, 23 Jul 2015, Vinod Koul wrote: > > > On Wed, Jul 22, 2015 at 03:26:01PM +0100, Alex Smith wrote: > > > > > >>>I think the explicit devm_free_irq() here is unnecessary, as when > > > >>>remove is > > > >>>called there

[PATCH v4] regulator: mt6311: Add support for MT6311 regulator

2015-07-23 Thread Henry Chen
This patch set adds support for the MediaTek PMIC mt6311 regulator driver, which adds mt6311 related buck/ldo voltage data to the driver, and creates the regulator_desc table. Changes in v4: - Removed the unnscessary check before return on mt6311_i2c_probe(). - Change the label on

[git pull] drm fixes

2015-07-23 Thread Dave Airlie
Hi Linus, some amdgpu, one i915, one ttm and one hlcdc, nothing too scary, all seems fine for about this time. Dave. The following changes since commit 45b4b782e8489bcf45a4331ee32f0f3037c5c3aa: Merge branch 'for-linus' of

linux-next: build failure after merge of the akpm-current tree

2015-07-23 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc allnoconfig) failed like this: mm/built-in.o: In function `shrink_slab.part.73.constprop.83': vmscan.c:(.text+0xf760): undefined reference to `__srcu_read_lock' vmscan.c:(.text+0xf924): undefined reference to

Re: Kernel broken on processors without performance counters

2015-07-23 Thread Borislav Petkov
On Thu, Jul 23, 2015 at 09:02:14PM +0200, Peter Zijlstra wrote: > On Thu, Jul 23, 2015 at 07:54:36PM +0200, Borislav Petkov wrote: > > On Thu, Jul 23, 2015 at 07:08:11PM +0200, Peter Zijlstra wrote: > > > That would be bad, how can we force it to emit 5 bytes? > > > > .byte 0xe9 like we used to

Re: [RFC 1/4] mm, compaction: introduce kcompactd

2015-07-23 Thread Joonsoo Kim
On Thu, Jul 23, 2015 at 01:58:20PM -0700, David Rientjes wrote: > On Thu, 23 Jul 2015, Joonsoo Kim wrote: > > > > The slub allocator does try to allocate its high-order memory with > > > __GFP_WAIT before falling back to lower orders if possible. I would > > > think > > > that this would be

Re: [PATCH v3 3/6] iommu: add ARM short descriptor page table allocator.

2015-07-23 Thread Yong Wu
Hi Will, Thanks for your review so detail. When you are free, please help me check whether it's ok if it's changed like below. Thanks very much. On Tue, 2015-07-21 at 18:11 +0100, Will Deacon wrote: > Hello, > > This is looking better, but I still have some concerns. > > On Thu, Jul

[PATCH 1/2] kbuild: fixdep: optimize code slightly

2015-07-23 Thread Masahiro Yamada
If the target string matches "CONFIG_", move the pointer p forward. This saves several 7-chars adjustments. Signed-off-by: Masahiro Yamada --- scripts/basic/fixdep.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c

[PATCH 2/2] kbuild: fixdep: drop meaningless hash table initialization

2015-07-23 Thread Masahiro Yamada
The clear_config() is called just once at the beginning of this program, but the global variable hashtab[] is already zero-filled at the start-up. Signed-off-by: Masahiro Yamada --- scripts/basic/fixdep.c | 19 --- 1 file changed, 19 deletions(-) diff --git

[PATCH 0/2] kbuild: Minor cleanups of fixdep

2015-07-23 Thread Masahiro Yamada
Masahiro Yamada (2): kbuild: fixdep: optimize code slightly kbuild: fixdep: drop meaningless hash table initialization scripts/basic/fixdep.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line

[PATCH 2/3] input: cyapa: add of match device support and description document

2015-07-23 Thread Dudley Du
Add of_match_device mechanism support for Cypress trackpad device, and add the sample description document on how to adding the trackpad device node in the device tree. Signed-off-by: Dudley Du --- .../devicetree/bindings/input/cypress,cyapa.txt| 44 ++

[PATCH 1/3] input: cyapa: add regulator vcc support

2015-07-23 Thread Dudley Du
Add power management regulator vcc support. It's described to be supported in the cypress,cyapa.txt document. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 28 drivers/input/mouse/cyapa.h | 1 + 2 files changed, 29 insertions(+) diff --git

[PATCH 3/3] input: cyapa: fix output unwanted warning issue

2015-07-23 Thread Dudley Du
Avoid the driver generate warning message when the cyapa driver working with the old Gen5 trackpad device which does not support the proximity function. Those old Gen5 trackpad device all have the platform version less than 2. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 11

[PATCH 0/3] cyapa patches instruction

2015-07-23 Thread Dudley Du
These patches are made based on Dmitry's next tree. It's aimed to add regulator vcc and of match device tree supported, and also fix the output unwanted wanring message issue when working with old Gen5 Trackpad device that doesn't support the proximity function. Dudley Du (3): input: cyapa: add

Re: [PATCH 1/2] mailbox: switch to hrtimer for tx_complete polling

2015-07-23 Thread Jassi Brar
On Wed, Jul 22, 2015 at 5:58 PM, Sudeep Holla wrote: > we might end-up waiting > for atleast a jiffy even though the response for that message from the > remote is received via interrupt and processed in relatively smaller > time granularity. > That is wrong. If the controller supports TX

[PATCH 3/5] staging: rtl8712: remove duplicate struct

2015-07-23 Thread Joshua Clayton
struct ndis_wlan_bssid_ex is a dopelganger of struct wlan_bssid_ex, and is used about a third as often Switch all instances to wlan_bssid_ex This also gets rid of a use of typedef NDIS_802_11_RATES_EX Signed-off-by: Joshua Clayton --- drivers/staging/rtl8712/rtl871x_cmd.c | 17

[PATCH 5/5] staging: rtl8712: style fix:

2015-07-23 Thread Joshua Clayton
change instances SupportedRates to compliant and sane "rates" This change in no way harms readability, and brings several lines under the 80 character limit. Signed-off-by: Joshua Clayton --- drivers/staging/rtl8712/ieee80211.c | 22 +++---

[PATCH 4/5] staging: rtl8712: remove typedefs

2015-07-23 Thread Joshua Clayton
Coding style fix. Get rid of typedefs NDIS_802_11_RATES and NDIS_802_11_RATES_EX Signed-off-by: Joshua Clayton --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 ++-- drivers/staging/rtl8712/wlan_bssdef.h | 7 +-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git

Re: [RFC 1/3] docs: dts: Added documentation for Xilinx Zynq PL Reset bindings.

2015-07-23 Thread Michal Simek
On 07/24/2015 12:51 AM, Moritz Fischer wrote: > Signed-off-by: Moritz Fischer > --- > Documentation/devicetree/bindings/reset/zynq-reset-pl.txt | 13 + > 1 file changed, 13 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/zynq-reset-pl.txt > > diff --git

[PATCH 2/5] staging: rtl8712: simplify size calculation

2015-07-23 Thread Joshua Clayton
replace item-by-item size calculation of a struct with the size of the struct. This gets rid of a use of typedef NDIS_802_11_RATES_EX Signed-off-by: Joshua Clayton --- drivers/staging/rtl8712/rtl871x_cmd.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git

[PATCH 0/5]

2015-07-23 Thread Joshua Clayton
The main goal of this series is to get rid of a needless and ugly typedef in the rtl8712 wlan driver. In the course of fixing that, I found a bug thati will can might (at least in theory) lead to a overrun during a memcpy, as well as a duplicate struct. Finally after cleaning up the typedef, I

[PATCH 1/5] staging: rtl8712: fix buggy size calculation

2015-07-23 Thread Joshua Clayton
r8712_get_ndis_wlan_bssid_ex_sz has a "6 * sizeof(unsigned long)" where the underlying struct has a 6 * unsigned char. Simplify the calculation by just subtracting the variable part from the size of the struct. This also gets rid of a use of typedef NDIS_802_11_RATES_EX Signed-off-by: Joshua

[PATCH v2 0/2] PM / devfreq: exynos-ppmu: Add the support of PPMUv2

2015-07-23 Thread Chanwoo Choi
This patch-set add the support of PPMU ((Platform Performance Monitoring Unit) version 2.0 which is used on Exynos5433. The exynos-ppmu.c driver supports both PPMUv1.1 and PPMUv2. This patch-set is testd on Exynos5433-based board. The SoC list using PPMUv1.1 - Exynos4210/4212/4412, Exynos3250,

[PATCH v2 1/2] PM / devfreq: exynos-ppmu: Add the support of PPMUv2 for Exynos5433

2015-07-23 Thread Chanwoo Choi
This patch adds the support for PPMU (Platform Performance Monitoring Unit) version 2.0 for Exynos5433 SoC. Exynos5433 SoC must need PPMUv2 which is quite different from PPMUv1.1. The exynos-ppmu.c driver supports both PPMUv1.1 and PPMUv2. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by:

[PATCH v2 2/2] PM / devfreq: exynos-ppmu: Update documentation to support PPMUv2

2015-07-23 Thread Chanwoo Choi
This patch updates the documentation to include the information of PPMUv2. The PPMUv2 is used for Exynos5433 and Exynos7420 to monitor the performance of each IP in Exynos SoC. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi --- .../bindings/devfreq/event/exynos-ppmu.txt

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-23 Thread He Kuang
Hi, Alexei On 2015/7/24 11:20, Alexei Starovoitov wrote: On 7/23/15 1:49 PM, Alexei Starovoitov wrote: On 7/23/15 4:54 AM, He Kuang wrote: trimmed cc-list, since it's not related to kernel. Thank you for your guidence, and by referencing your last mail and other llvm backends, I found

Re: [PATCH] can: xilinx: fix RX FIFO overflow error handling

2015-07-23 Thread Michal Simek
+ Kedar On 07/23/2015 11:13 PM, Andrea Scian wrote: > Simply resetting the peripheral on RX FIFO overflow in not enough, > because we also need to re-initialize the whole device. > Also always enable RX FIFO overflow interrupt otherwise we may hang > until another interrupt arrives (this happens

Re: [PATCH v2 2/4] irqchip: bcm2835: If a parent interrupt is registered, chain from it.

2015-07-23 Thread Stephen Warren
On 07/22/2015 12:17 PM, Eric Anholt wrote: > Stephen Warren writes: > >> On 07/13/2015 07:35 PM, Eric Anholt wrote: >>> The BCM2836 (Raspberry Pi 2) uses two levels of interrupt >>> handling with the CPU-local interrupts being the root, so we >>> need to register ours as chained off of the CPU's

RE: [PATCH] usb/gadget: make composite gadget meet usb compliance for vbus draw

2015-07-23 Thread Du, Changbin
Thanks, Pietrasiewicz. > From: Andrzej Pietrasiewicz [mailto:andrze...@samsung.com] > W dniu 23.07.2015 o 14:34, Du, Changbin pisze: > >>From 0a8e0d63a9887735c6782d7b0c15c2c1fdf1952a Mon Sep 17 00:00:00 > > void composite_disconnect(struct usb_gadget *gadget) > > { > > struct

Re: [PATCH v2 1/3] RTC: make rtc_does_wakealarm() return boolean

2015-07-23 Thread Krzysztof Kozlowski
On 24.07.2015 08:01, Dmitry Torokhov wrote: > Users of rtc_does_wakealarm() return value treat it as boolean so let's > change the signature accordingly. > > Signed-off-by: Dmitry Torokhov > --- > drivers/rtc/rtc-sysfs.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Thanks for

Re: [PATCH v2 3/3] RTC: switch to using is_visible() to control sysfs attributes

2015-07-23 Thread Krzysztof Kozlowski
On 24.07.2015 08:01, Dmitry Torokhov wrote: > Instead of creating wakealarm attribute manually, after the device has been > registered, let's rely on facilities provided by the attribute groups to > control which attributes are visible and which are not. This allows to to > create all needed

Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-07-23 Thread Krzysztof Kozlowski
On 24.07.2015 08:01, Dmitry Torokhov wrote: > Instead of using older style DEVICE_ATTR for wakealarm attribute let's > switch to using DEVICE_ATTR_RW that ensures consistent across the kernel > permissions on the attribute. > > Signed-off-by: Dmitry Torokhov > --- > drivers/rtc/rtc-sysfs.c | 8

Re: [PATCH v6 0/3] cpufreq: Use cpufreq-dt driver for Exynos3250

2015-07-23 Thread Kukjin Kim
On 07/24/15 12:40, Kukjin Kim wrote: > On 07/24/15 09:30, Michael Turquette wrote: >> Quoting Kukjin Kim (2015-07-07 07:43:31) >>> Bartlomiej Zolnierkiewicz wrote: > > [...] > > Chanwoo Choi (3): > clk: samsung: exynos3250: Add cpu clock configuration data and > instaniate cpu

Re: [PATCH v2 1/5] clk: remove duplicated code with __clk_set_parent_after

2015-07-23 Thread Dong Aisheng
On Thu, Jul 23, 2015 at 05:11:35PM -0700, Michael Turquette wrote: > Quoting Dong Aisheng (2015-07-22 07:08:10) > > Ping... > > > > On Wed, Jul 15, 2015 at 08:29:56PM +0800, Dong Aisheng wrote: > > > On Wed, Jul 15, 2015 at 08:25:24PM +0800, Dong Aisheng wrote: > > > > Hi Mike, > > > > > > > >

Re: [PATCH] irqchip: bcm2835: Add FIQ support

2015-07-23 Thread Stephen Warren
On 07/22/2015 08:07 AM, Noralf Trønnes wrote: > > Den 18.06.2015 04:26, skrev Stephen Warren: >> On 06/12/2015 11:26 AM, Noralf Trønnes wrote: >>> Add a duplicate irq range with an offset on the hwirq's so the >>> driver can detect that enable_fiq() is used. >>> Tested with downstream dwc_otg USB

linux-next: manual merge of the vhost tree with Linus' tree

2015-07-23 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in: drivers/vhost/vhost.c between commit: 4de7255f7d2b ("vhost: extend memory regions allocation to vmalloc") from Linus' tree and commit: a4883f62470c ("vhost: extend memory regions allocation to vmalloc") from the

Re: [RFC] arm64:use set_fixmap_offset to make it more clear

2015-07-23 Thread yalin wang
> On Jul 23, 2015, at 21:03, Catalin Marinas wrote: > > On Thu, Jul 23, 2015 at 07:45:53PM +0800, yalin wang wrote: >> A little change to patch_map() function, >> use set_fixmap_offset() to make code more clear. >> >> Signed-off-by: yalin wang >> --- >> arch/arm64/kernel/insn.c | 5 ++--- >> 1

A problem about OX_ID reused by FCoE driver

2015-07-23 Thread Rui Xiang
From: Wu Yanjiang Hi all, On a system that was running 3.0.13-0.27-default, a problem that the OX_ID is reused by FCoE driver occurred. Which can be confirmed is that the problem is occurred at initiator side, but the reason how does it happen is unknown. By the trace captured by JDSU

Re: [PATCH v6 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-23 Thread Kukjin Kim
On 07/20/15 09:23, Chanwoo Choi wrote: > Hi Sylwester, > Hi Chanwoo, > Please review this patch. > Applied with Mike's ack BTW please make sure your patch has no problem with checkpatch before submittingI've fixed them when I applied. Thanks, Kukjin ERROR: code indent should use tabs

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-23 Thread Juergen Gross
On 07/23/2015 09:08 PM, Greg KH wrote: On Thu, Jul 23, 2015 at 08:46:17AM +0200, Juergen Gross wrote: On 07/23/2015 06:36 AM, Greg KH wrote: On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote: On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen

Re: [PATCH v3 1/4] clk: samsung: exynos5250: add cpu clock configuration data and instantiate cpu clock

2015-07-23 Thread Kukjin Kim
On 07/24/15 09:39, Michael Turquette wrote: > Quoting Bartlomiej Zolnierkiewicz (2015-07-01 06:10:35) >> From: Thomas Abraham >> >> With the addition of the new Samsung specific cpu-clock type, the >> arm clock can be represented as a cpu-clock type. Add the CPU clock >> configuration data and

Re: [PATCH v9 6/7] staging: add simple-fpga-bus

2015-07-23 Thread atull
On Thu, 23 Jul 2015, Jason Gunthorpe wrote: > On Thu, Jul 23, 2015 at 02:55:52PM -0700, Moritz Fischer wrote: > > Hi Alan, > > > > I saw that your socfpga driver doesn't support the partial reconfig > > use case (not a big deal). > > What I currently do for Zynq is if I'm doing a non-partial

Re: [PATCH v2 3/9] arm: twr-k70f120m: clock driver for Kinetis SoC

2015-07-23 Thread Michael Turquette
Quoting Paul Osmialowski (2015-07-04 14:50:03) > Hi Arnd, > > I'm attaching excerpt from Kinetis reference manual that may make > situation clearer. Hi Paul, Can you please post the patch in the body of the email instead of an attachment? It makes it easier to review. Another small nitpick is

Re: [PATCH v6 0/3] cpufreq: Use cpufreq-dt driver for Exynos3250

2015-07-23 Thread Kukjin Kim
On 07/24/15 09:30, Michael Turquette wrote: > Quoting Kukjin Kim (2015-07-07 07:43:31) >> Bartlomiej Zolnierkiewicz wrote: [...] Chanwoo Choi (3): clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock ARM: dts: Add CPU OPP and regulator

Re: [patch] workqueue: schedule WORK_CPU_UNBOUND work on wq_unbound_cpumask CPUs

2015-07-23 Thread Mike Galbraith
On Wed, 2015-07-22 at 11:25 -0400, Tejun Heo wrote: > Hello, > > On Wed, Jul 22, 2015 at 05:19:00PM +0200, Mike Galbraith wrote: > > Ew, looking at the numbers, they may prefer to either a) pretend to not > > notice, or b) scurry off to HPC'R'US store if a) won't fly ;-) > > Yeah, there are a

Re: [PATCH v3 1/2] dt-bindings: regulator: mt6311: Add document for mt6311 regulator

2015-07-23 Thread Henry Chen
Hi Javier, On Thu, 2015-07-23 at 10:43 +0200, Javier Martinez Canillas wrote: > Hello Henry, > > On Thu, Jul 23, 2015 at 5:39 AM, Henry Chen wrote: > > This patch adds a list of supported regulator names to the devicetree > > binding documentation for Mediatek MT6311 PMIC. > > > >

Re: [PATCH v11 1/5] drm/layerscape: Add Freescale DCU DRM driver

2015-07-23 Thread jianwei wang
Hi Dave, I think Freescale DCU DRM driver is ready now, can it land? I have worked on this driver for about nine month. Daniel Vetter, Thierry Reding, Mark yao, Alexander Stein, Paul Bolle, Alison Wang, Stefan Agner reviewed this pathset. The latest version v11 has been send out about an week,

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-23 Thread Alexei Starovoitov
On 7/23/15 1:49 PM, Alexei Starovoitov wrote: On 7/23/15 4:54 AM, He Kuang wrote: trimmed cc-list, since it's not related to kernel. Thank you for your guidence, and by referencing your last mail and other llvm backends, I found setting BPFMCAsmInfo::SupportsDebugInformation = true in

Re: [PATCH 2/3] leds/class: Check snprintf return value

2015-07-23 Thread Alan Tull
On Mon, Mar 30, 2015 at 4:08 AM, Ricardo Ribalda Delgado wrote: > If the final name does not fit the string there is a potential > endless-loop. > > Reported-by: Geert Uytterhoeven > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/leds/led-class.c | 10 +- > 1 file changed, 9

[PATCH] x86/mm/pat: Do a small optimization when dump PAT memtype list

2015-07-23 Thread Pan Xinhui
From: Pan Xinhui There are many nodes in the PAT memtype rb-tree. When we dump this tree we call kzalloc every time to copy nodes. Actually these kzalloc are not necessary. Lets do a optimization now. Let seq_file core create an *entry* when open and free it when release. *entry* is stored as

Re: [PATCH] Add support for reading SMBIOS Slot number for PCI devices

2015-07-23 Thread Jordan Hargrave
On Thu, Jul 23, 2015 at 9:31 PM, Jordan Hargrave wrote: > On Thu, Jul 23, 2015 at 12:24 PM, Bjorn Helgaas wrote: >> [+cc Matthew for PCIe-SSD perspective] >> >> On Wed, Jul 22, 2015 at 03:07:46PM -0500, Jordan Hargrave wrote: >>> On Tue, Jul 21, 2015 at 8:09 PM, Bjorn Helgaas wrote: >>> > On

RE: [PATCH] target: add support for START_STOP_UNIT SCSI opcode

2015-07-23 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Spencer Baugh > Sent: Thursday, July 23, 2015 5:28 PM > To: Christoph Hellwig ; Spencer Baugh > ... > Subject: Re: [PATCH] target: add support for START_STOP_UNIT

Re: [RFT PATCH v3] PCI: move pci_read_bridge_bases to the generic PCI layer

2015-07-23 Thread Guenter Roeck
On 07/23/2015 10:52 AM, Lorenzo Pieralisi wrote: For alpha, PCI_PROBE_ONLY is set for two platforms, marvel and titan, out of ~20. mips sets the flag for 6 platforms out of >25. Unlikely that those are the only relevant ones. I could try to run some qemu tests for both architectures, but I

[PATCH v4 2/7] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-07-23 Thread James Liao
Remove the dependency from clk_null, and give all root clocks a typical rate, include clkph_mck_o, usb_syspll_125m and hdmitx_dig_cts. dpi_ck was removed due to no clock reference to it. Replace parent clock of infra_cpum with cpum_ck, which is an external clock and can be defined in the deivce

[PATCH v4 7/7] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-07-23 Thread James Liao
This patch adds device nodes providing subsystem clocks on MT8173, includes mmsys, imgsys, vdecsys, vencsys and vencltsys. Signed-off-by: James Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 37 1 file changed, 37 insertions(+) diff --git

[PATCH v4 5/7] clk: mediatek: Add subsystem clocks of MT8173

2015-07-23 Thread James Liao
Most multimedia subsystem clocks will be accessed by multiple drivers, so it's a better way to manage these clocks in CCF. This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT subsystems. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 267

[PATCH v4 6/7] clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS

2015-07-23 Thread James Liao
Add REF2USB_TX clock support into MT8173 APMIXEDSYS. This clock is needed by USB 3.0. Signed-off-by: James Liao --- drivers/clk/mediatek/Makefile | 2 +- drivers/clk/mediatek/clk-apmixed.c | 137 + drivers/clk/mediatek/clk-mt8173.c | 15 +++-

[PATCH v4 3/7] clk: mediatek: mt8173: Fix enabling of critical clocks

2015-07-23 Thread James Liao
From: Sascha Hauer On the MT8173 the clocks are provided by different units. To enable the critical clocks we must be sure that all parent clocks are already registered, otherwise the parents of the critical clocks end up being unused and get disabled later. On MT8173, for example, it is the

[PATCH v4 1/7] clk: mediatek: Add fixed clocks support for Mediatek SoC.

2015-07-23 Thread James Liao
This patch adds fixed clocks support by using CCF fixed-rate clock implementation. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mtk.c | 23 +++ drivers/clk/mediatek/clk-mtk.h | 19 ++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git

[PATCH v4 4/7] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-07-23 Thread James Liao
This adds the binding documentation for the mmsys, imgsys, vdecsys, vencsys and vencltsys controllers found on Mediatek SoCs. Signed-off-by: James Liao --- .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 ++ .../bindings/arm/mediatek/mediatek,mmsys.txt | 22

[PATCH v4 0/7] Add Mediatek MT8173 subsystem clocks support

2015-07-23 Thread James Liao
This patchset is based on 4.2-rc1 and [1], and contains subsystem clocks support for Mediatek MT8173. Previous reviews can be found in [2][3]. This patchset merge the 2 patchsets because of the dependency. The most different from previous patchset are removing clk_null and split usb clock

Re: [PATCH V7 4/5] arm64: apei: implement arch_apei_get_mem_attributes()

2015-07-23 Thread Hanjun Guo
On 07/22/2015 05:59 AM, Jonathan (Zhixiong) Zhang wrote: From: "Jonathan (Zhixiong) Zhang" If the physical address has memory attributes defined by EFI memmap as EFI_MEMORY_UC, the page protection type is PROT_DEVICE_nGnRE. Otherwise, the page protection type is PAGE_KERNEL. ... [...]

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-23 Thread Michael Schmitz
Hi Christian, here's what Finn asked me to run as tests: # dmesg | grep this_id > nvram.out # cat /proc/driver/nvram >> nvram.out # hexdump -C /dev/nvram >> nvram.out # cp /dev/nvram /tmp/nvram # cp /tmp/nvram /dev/nvram # md5sum /dev/nvram /tmp/nvram >> nvram.out What you sent so far looks OK.

Re: [PATCH V7 3/5] arm64: mm: add PROT_DEVICE_nGnRnE and PROT_NORMAL_WT

2015-07-23 Thread Hanjun Guo
+Cc Ard and Leif. On 07/22/2015 05:59 AM, Jonathan (Zhixiong) Zhang wrote: From: "Jonathan (Zhixiong) Zhang" UEFI spec 2.5 section 2.3.6.1 defines that EFI_MEMORY_[UC|WC|WT|WB] are possible EFI memory types for AArch64. Each of those EFI memory types is mapped to a corresponding AArch64

Re: [PATCH] x86/mm/pat: Do a small optimization when dump PAT memtype list

2015-07-23 Thread Pan Xinhui
hi, Elliott thanks for your reply. :) On 2015年07月23日 22:53, Elliott, Robert (Server Storage) wrote: >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Pan Xinhui >> Sent: Thursday, July 23, 2015 4:54 AM >>

Re: 4.2-rc3: APM xgene2: ethernet doesn't work

2015-07-23 Thread Suman Tripathi
Hi Ming, On Thu, Jul 23, 2015 at 2:37 PM, Ming Lei wrote: > Hi Guys, > > When booting from UEFI/ACPI, sometimes there is a crash[1] > from rx path, sometimes there isn't any rx packets comming. > > Firmware version: 2.02.10 > > Thanks, > > [1], crash log > Call trace: > skbuff: skb_over_panic:

Re: [RFC PATCH] block: xfs: dm thin: train XFS to give up on retrying IO if thinp is out of space

2015-07-23 Thread Vivek Goyal
On Fri, Jul 24, 2015 at 09:00:54AM +1000, Dave Chinner wrote: > On Thu, Jul 23, 2015 at 12:43:58PM -0400, Vivek Goyal wrote: > > On Thu, Jul 23, 2015 at 03:10:43PM +1000, Dave Chinner wrote: > > > > [..] > > > I don't think knowing the bdev timeout is necessary because the > > > default is most

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

2015-07-23 Thread Dmitry Torokhov
Hi Stephen, On July 23, 2015 6:49:36 PM PDT, Stephen Rothwell wrote: >Hi Dmitry, > >After merging the input tree, today's linux-next build (arm >multi_v7_defconfig) failed like this: > >drivers/input/keyboard/samsung-keypad.c: In function >'samsung_keypad_parse_dt':

Re: [PATCH] Add support for reading SMBIOS Slot number for PCI devices

2015-07-23 Thread Jordan Hargrave
On Thu, Jul 23, 2015 at 12:24 PM, Bjorn Helgaas wrote: > [+cc Matthew for PCIe-SSD perspective] > > On Wed, Jul 22, 2015 at 03:07:46PM -0500, Jordan Hargrave wrote: >> On Tue, Jul 21, 2015 at 8:09 PM, Bjorn Helgaas wrote: >> > On Tue, Jul 21, 2015 at 12:31:35PM -0500, Jordan Hargrave wrote: >>

Re: [PATCH v3 1/3] bpf: Add new bpf map type to store the pointer to struct perf_event

2015-07-23 Thread Alexei Starovoitov
On 7/23/15 7:22 PM, xiakaixu wrote: +/* check if the value is already stored */ >>+if (array->events[index]) >>+return -EINVAL; >>+ >>+/* convert the fd to the pointer to struct perf_event */ >>+event = convert_map_with_perf_event(value); > >imo helper name is misleading

Re: [PATCH v3 1/3] bpf: Add new bpf map type to store the pointer to struct perf_event

2015-07-23 Thread xiakaixu
于 2015/7/24 6:54, Alexei Starovoitov 写道: > On 7/23/15 2:42 AM, Kaixu Xia wrote: >> Introduce a new bpf map type 'BPF_MAP_TYPE_PERF_EVENT_ARRAY'. >> This map only stores the pointer to struct perf_event. The >> user space event FDs from perf_event_open() syscall are converted >> to the pointer to

Re: [PATCH v3 3/3] samples/bpf: example of get selected PMU counter value

2015-07-23 Thread Alexei Starovoitov
On 7/23/15 6:54 PM, xiakaixu wrote: 于 2015/7/24 6:59, Alexei Starovoitov 写道: On 7/23/15 2:42 AM, Kaixu Xia wrote: This is a simple example and shows how to use the new ability to get the selected Hardware PMU counter value. Signed-off-by: Kaixu Xia ... +struct bpf_map_def SEC("maps")

Re: [PATCH 2/2] cpufreq: Separate CPU device removal from CPU online

2015-07-23 Thread Viresh Kumar
On 23-07-15, 22:56, Rafael J. Wysocki wrote: > > > + if (policy && policy->kobj_cpu != cpu) { > > > > Why are you comparing cpu against kobj_cpu ? I don't think it can ever > > be false. So what I meant was that the expression 'policy->kobj_cpu != cpu' will never return 'false'. Because

Re: [PATCH 31/42] x86, efi: Copy SETUP_EFI data and access directly

2015-07-23 Thread Dave Young
Hi, On 07/07/15 at 01:20pm, Yinghai Lu wrote: > The copy will be in __initdata, and it is small. > > We can use pointer to access the setup_data instead of using early_memmap > everywhere. Looks good to me except one issue about missing checking memremap return value. see the comment inline >

[PATCH 14/18] perf: Add PERF_RECORD_SWITCH to indicate context switches

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter There are already two events for context switches, namely the tracepoint sched:sched_switch and the software event context_switches. Unfortunately neither are suitable for use by non-privileged users for the purpose of synchronizing hardware trace data (e.g. Intel PT) to the

[PATCH 05/18] perf header: Use argv style storage for cmdline feature data

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We will reuse argv style data in following change to display counters header showing monitored command line. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1437481927-29538-12-git-send-email-jo...@kernel.org

[PATCH 15/18] perf tools: Add new PERF_RECORD_SWITCH event

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Support processing of PERF_RECORD_SWITCH events and PERF_RECORD_SWITCH_CPU_WIDE events. There is a single tools callback for them both so that the tool must check the event type before using the extra members in PERF_RECORD_SWITCH_CPU_WIDE. There is still no way to select

[PATCH 11/18] perf script: Switch from perf.data's kallsyms to perf's symbol resolver

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We were storing a copy of kallsyms inside perf.data file so that we could resolve kernel addresses to function (start, name, mod) tuples, but that can be achieved using the symbol resolving routines we have in symbols.c, and that are used elsewhere in tools/perf.

[PATCH 07/18] perf symbols: Introduce map__is_(kernel,kmodule)()

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To, with members we already have, check if a kernel level map is for the kernel proper or for a module. Acked-by: David Ahern Cc: Adrian Hunter Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Stephane Eranian Link:

RE: [PATCH 0/4] ACPI: Update method tracing facility.

2015-07-23 Thread Zheng, Lv
Hi, Rafael ACPICA logs contain details (trace logs) that may be useful for development. But the quantity of the trace logs are huge to be put into the kernel log buffer. Originally, we have a "trace log reducer" in /sys/modules/acpi/parameter, it is the method tracing facility. We can specify a

Re: [RESEND PATCH 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-07-23 Thread Scott Shu
On Tue, 2015-06-23 at 07:53 +0200, Sascha Hauer wrote: > Hi Scott, > > On Fri, Jun 19, 2015 at 02:01:17AM +0800, Scott Shu wrote: > > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > > MT6580. > > This seems to be support for the very same hardware as I am posting > here: >

[PATCH 12/18] perf tools: Stop reading the kallsyms data from perf.data

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo As it is not used anymore, since 'perf script' switched to asking libtraceevent to use tools/perf's symbol resolution routines. Acked-by: David Ahern Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim

linux-next: manual merge of the mmc-uh tree with the imx-mxs tree

2015-07-23 Thread Stephen Rothwell
Hi Ulf, Today's linux-next merge of the mmc-uh tree got conflicts in: arch/arm/boot/dts/imx6qdl-gw52xx.dtsi arch/arm/boot/dts/imx6qdl-gw53xx.dtsi arch/arm/boot/dts/imx6qdl-gw54xx.dtsi between commit: 82a5485b6aef ("ARM: dts: ventana: add UHS-I support for Ventana boards") from the

[PATCH 13/18] perf tools: Stop copying kallsyms into the perf.data file header

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since we now ask libtraceevent, the only user of this payload, to use perf's symbol resolution routines, there is no need to carry about ~4.5MB per perf.data when we can get it from one of the places the perf symbol resolution looks for that symtab (debuginfo,

[PATCH 17/18] perf script: Don't assume evsel position of tracking events

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The tracking event does not have to be the first event so replace perf_evlist__first() with perf_evlist__id2evsel() which uses the event ID to find the correct evsel. Signed-off-by: Adrian Hunter Acked-by: Peter Zijlstra (Intel) Tested-by: Jiri Olsa Cc: Andi Kleen Cc:

[PATCH 06/18] perf symbols: Add front end cache for DSO symbol lookup

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Acked-by: David Ahern Cc: Adrian Hunter Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-voo94tow8wpkcc76mlkny...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 18/18] perf script: Add option --show-switch-events

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add option --show-switch-events to show switch events in a similar fashion to --show-task-events and --show-mmap-events. Signed-off-by: Adrian Hunter Acked-by: Peter Zijlstra (Intel) Tested-by: Jiri Olsa Tested-by: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: Mathieu

[PATCH 03/18] perf evlist: Use bool instead of target argument in propagate_maps()

2015-07-23 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We need only bool info wether user defined her own set of cpus. Switching target argument to bool so it could be used from places without target object defined in following patches. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link:

  1   2   3   4   5   6   7   8   9   10   >