[PATCH v5 9/9] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver

2016-09-02 Thread Tiffany Lin
Add vp9 decoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |1 + drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 10 + .../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 967 drivers/media/platform/mtk-vc

[PATCH v5 4/9] vcodec: mediatek: Add Mediatek H264 Video Decoder Drive

2016-09-02 Thread Tiffany Lin
Add h264 decoder driver for MT8173 Signed-off-by: PC Chen Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |3 +- .../media/platform/mtk-vcodec/vdec/vdec_h264_if.c | 506 drivers/media/platform/mtk-vcodec/vdec_drv_if.c|3 + 3 f

Re: [PATCH 2/2] sched: cpufreq: use rt_avg as estimate of required RT CPU capacity

2016-09-02 Thread Thomas Gleixner
On Fri, 2 Sep 2016, Juri Lelli wrote: > On 01/09/16 14:48, Steve Muckle wrote: > > On Wed, Aug 31, 2016 at 06:00:02PM +0100, Juri Lelli wrote: > > > > Another problem is that we have many semi related knobs; we have the > > > > global RT runtime limit knob, but that doesn't affect cpufreq (maybe it

Re: [PATCH 0/3] phy: omap-usb2: Fixes for v4.9

2016-09-02 Thread Kishon Vijay Abraham I
On Tuesday 23 August 2016 02:27 PM, Roger Quadros wrote: > Hi Kishon & Tony, > > Here are some fixes found in the TI vendor tree for omap-usb2 PHY > and are important for upstream. Please queue for -next if OK. Thanks. merged the phy patches to linux-phy -next Thanks Kishon > > The 3rd patch

Re: [RESEND AGAIN][PATCH 2/2] phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops

2016-09-02 Thread Kishon Vijay Abraham I
On Tuesday 30 August 2016 07:24 PM, Axel Lin wrote: > Add missing .owner field in ns2_pci_phy_ops, which is used for refcounting. > While at it, also makes ns2_pci_phy_ops const as it's never get modified. > > Signed-off-by: Axel Lin > Reviewed-and-tested-by: Jon Mason merged, thanks -Kishon

Re: [PATCH] phy: mark tegra_xusb_lane_lookup_function() static

2016-09-02 Thread Kishon Vijay Abraham I
Hi, On Wednesday 31 August 2016 03:31 PM, Arnd Bergmann wrote: > On Wednesday, August 31, 2016 5:05:19 PM CEST Baoyou Xie wrote: >> We get 1 warning when building kernel with W=1: >> drivers/phy/tegra/xusb.c:104:5: warning: no previous prototype for >> 'tegra_xusb_lane_lookup_function' [-Wmissing

Re: [tip:smp/hotplug 4/8] kernel/cpu.c:1252:3: error: unknown field 'startup' specified in initializer

2016-09-02 Thread Thomas Gleixner
On Fri, 2 Sep 2016, Sebastian Andrzej Siewior wrote: > On 2016-09-02 17:42:33 [+0800], kbuild test robot wrote: > > compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 > > > > >> kernel/cpu.c:1252:3: error: unknown field 'startup' specified in > > >> initializer > > >> kernel/cpu.c:1252:3: warning:

[PATCH net-next 2/3] net: dsa: mv88e6xxx: move Global2 code

2016-09-02 Thread Vivien Didelot
Marvell chips are composed of multiple SMI devices. One of them at address 0x1C is called Global2. It provides an extended set of registers, used for interrupt control, EEPROM access, indirect PHY access (to bypass the PHY Polling Unit) and cross-chip related setup. Most chips have it, but some ot

[PATCH net-next 3/3] net: dsa: mv88e6xxx: make global2 code optional

2016-09-02 Thread Vivien Didelot
Since not every chip has a Global2 set of registers, make its support optional, in which case the related functions will return -EOPNOTSUPP. This also allows to reduce the size of the mv88e6xxx driver for devices such as home routers embedding Ethernet chips without Global2 support. It is present

[PATCH net-next 1/3] net: dsa: mv88e6xxx: fix module naming

2016-09-02 Thread Vivien Didelot
Since the mv88e6xxx.c file has been renamed, the driver compiled as a module is called chip.ko instead of mv88e6xxx.ko. Fix this. Fixes: fad09c73c270 ("net: dsa: mv88e6xxx: rename single-chip support") Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/Makefile | 3 ++- 1 file changed,

[PATCH net-next 0/3] net: dsa: mv88e6xxx: isolate Global2 support

2016-09-02 Thread Vivien Didelot
Registers of Marvell chips are organized in internal SMI devices. One of them at address 0x1C is called Global2. It provides an extended set of registers, used for interrupt control, EEPROM access, indirect PHY access (to bypass the PHY Polling Unit) and cross-chip setup. Most chips have it, but

Re: [PATCH 2/2] sched/wait: avoid abort_exclusive_wait() in __wait_on_bit_lock()

2016-09-02 Thread Oleg Nesterov
On 09/02, Peter Zijlstra wrote: > > FWIW, the way the mutex code avoids this issue is by doing the > signal_pending test while holding the q->lock, that way its exclusive > with wakeup. And __wait_event_interruptible_locked() too. BTW it is buggy anyway, it needs the - __add_wait_q

Re: [PATCH 2/2] sched/wait: avoid abort_exclusive_wait() in __wait_on_bit_lock()

2016-09-02 Thread Oleg Nesterov
On 09/01, Peter Zijlstra wrote: > > > ret = 0; > > > > for (;;) { > > prepare_to_wait_exclusive(wq, &q->wait, mode); > > > > if (test_bit(&q->key.bit_nr, &q->key.flag)) > > ret = action(&q->key, mode); > > > > if (!test_and_set_bit(&q-

Re: [PATCH 2/2] sched/wait: avoid abort_exclusive_wait() in __wait_on_bit_lock()

2016-09-02 Thread Oleg Nesterov
On 09/01, Peter Zijlstra wrote: > > On Fri, Aug 26, 2016 at 02:45:52PM +0200, Oleg Nesterov wrote: > > > We do not need anything tricky to avoid the race, > > The race being: > > CPU0 CPU1CPU2 > > __wait_on_bit_lock() >

[PATCH] xen/pciback: support driver_override

2016-09-02 Thread Juergen Gross
Support the driver_override scheme introduced with commit 782a985d7af2 ("PCI: Introduce new device binding path using pci_dev.driver_override") As pcistub_probe() is called for all devices (it has to check for a match based on the slot address rather than device type) it has to check for driver_ov

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Robin Murphy
On 02/09/16 11:53, Felipe Balbi wrote: > > Hi, > > Arnd Bergmann writes: >> On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: >>> >>> Hi Felipe and Arnd, >>> >>> It has been a while since the last response to this discussion, but we >>> haven't reached an agreement yet! Can we get to

Re: [Linaro-acpi] [PATCH V8 1/8] ACPI: I/O Remapping Table (IORT) initial support

2016-09-02 Thread Fu Wei
Hi Tomasz, On 11 August 2016 at 18:06, Tomasz Nowicki wrote: > IORT shows representation of IO topology for ARM based systems. > It describes how various components are connected together on > parent-child basis e.g. PCI RC -> SMMU -> ITS. Also see IORT spec. > http://infocenter.arm.com/help/topi

Re: [PATCH 3/4] dt-binding: remoteproc: venus rproc dt binding document

2016-09-02 Thread Marek Szyprowski
Hi, On 2016-09-01 16:58, Stanimir Varbanov wrote: Hi, Cc: Marek ... But I presume we have the implementation issue of dma_alloc_coherent() failing in either case with the 5MB size. I think we need to look into I'd be good to include Marek Szyprowski? At least he will know what design res

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Tomi Valkeinen
On 02/09/16 13:01, Nishanth Menon wrote: > On 09/02/2016 04:58 AM, Tomi Valkeinen wrote: >> On 02/09/16 12:06, Nishanth Menon wrote: >> >>> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts >>> b/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts >>> new file mode 100644 >>> index 000

Re: [Patch v4 01/12] microblaze: irqchip: Move intc driver to irqchip

2016-09-02 Thread Zubair Lutfullah Kakakhel
Hi, Thanks for the valuable feedback. Comments inline On 09/02/2016 11:27 AM, Michal Simek wrote: On 2.9.2016 12:06, Zubair Lutfullah Kakakhel wrote: Hi, On 09/02/2016 07:25 AM, Michal Simek wrote: On 1.9.2016 18:50, Zubair Lutfullah Kakakhel wrote: The Xilinx AXI Interrupt Controller IP b

[Patch v5 2/2] net: ethernet: xilinx: Enable emaclite for MIPS

2016-09-02 Thread Zubair Lutfullah Kakakhel
The MIPS based xilfpga platform uses this driver. Enable it for MIPS Signed-off-by: Zubair Lutfullah Kakakhel --- V3 -> V4 Removed unnecesary braces V2 -> V3 No change V1 -> V2 No change --- drivers/net/ethernet/xilinx/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[RFC PATCH v2 2/3] xpfo: Only put previous userspace pages into the hot cache

2016-09-02 Thread Juerg Haefliger
Allocating a page to userspace that was previously allocated to the kernel requires an expensive TLB shootdown. To minimize this, we only put non-kernel pages into the hot cache to favor their allocation. Signed-off-by: Juerg Haefliger --- include/linux/xpfo.h | 2 ++ mm/page_alloc.c | 8 ++

[RFC PATCH v2 3/3] block: Always use a bounce buffer when XPFO is enabled

2016-09-02 Thread Juerg Haefliger
This is a temporary hack to prevent the use of bio_map_user_iov() which causes XPFO page faults. Signed-off-by: Juerg Haefliger --- block/blk-map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-map.c b/block/blk-map.c index b8657fa8dc9a..e889dbfee6fb 100644 --- a/

[Patch v5 0/2] net: ethernet: xilinx: mac addr and mips

2016-09-02 Thread Zubair Lutfullah Kakakhel
Hi, A couple of simple patches to generate the random mac address if none is found. And enabling the driver for mips. Based on v4.8-rc4. These were part of a larger series but that series is growing wildly. Splitting and submitting the net subsystem patches separately. Hence the v5. Regards, Zu

[Patch v5 1/2] net: ethernet: xilinx: Generate random mac if none found

2016-09-02 Thread Zubair Lutfullah Kakakhel
At the moment, if the emaclite device doesn't find a mac address from any source, it simply uses 0x0 with a warning printed. Instead of using a 0x0 mac address, use a randomly generated one. Signed-off-by: Zubair Lutfullah Kakakhel --- V3 -> V4 Curly braces after if check for correct styling V

[RFC PATCH v2 1/3] Add support for eXclusive Page Frame Ownership (XPFO)

2016-09-02 Thread Juerg Haefliger
This patch adds support for XPFO which protects against 'ret2dir' kernel attacks. The basic idea is to enforce exclusive ownership of page frames by either the kernel or userspace, unless explicitly requested by the kernel. Whenever a page destined for userspace is allocated, it is unmapped from ph

[RFC PATCH v2 0/3] Add support for eXclusive Page Frame Ownership (XPFO)

2016-09-02 Thread Juerg Haefliger
Changes from: v1 -> v2: - Moved the code from arch/x86/mm/ to mm/ since it's (mostly) arch-agnostic. - Moved the config to the generic layer and added ARCH_SUPPORTS_XPFO for x86. - Use page_ext for the additional per-page data. - Removed the clearing of pages. This can

Re: [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-09-02 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Sep 02, 2016 at 11:

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

2016-09-02 Thread Chanwoo Choi
Hi Javier, On 2016년 08월 27일 03:30, Javier Martinez Canillas wrote: > Hello Chanwoo, > > The patch looks mostly good to me, I've just some comments: > > [snip] > >> + >> +&decon { >> +status = "okay"; >> +iommu-reserved-mapping = <0x2000 0x2000 0xc000>; >> + > > This propert

Re: [PATCH v3 21/22] phy: Add support for Qualcomm's USB HSIC phy

2016-09-02 Thread vivek . gautam
On 2016-09-02 03:30, Stephen Boyd wrote: (Please trim replies) sorry, will take care from next time. Quoting Vivek Gautam (2016-08-31 23:17:55) On Thu, Sep 1, 2016 at 6:10 AM, Stephen Boyd wrote: > + > + uphy->cal_sleep_clk = clk = devm_clk_get(&ulpi->dev, "cal_sleep"); > + if

Re: [PATCH v4 1/2] serial: 8250_dw: make dw8250_set_termios as default set_termios callback

2016-09-02 Thread Heikki Krogerus
On Wed, Aug 31, 2016 at 03:07:56PM +0300, Heikki Krogerus wrote: > Hi, > > On Wed, Aug 31, 2016 at 11:29:11AM +0800, Kefeng Wang wrote: > > Make dw8250_set_termios() handle all cases of dw8250_data->clk properly, > > then we can safely use dw8250_set_termios() as the default set_termios > > callba

[PATCH v7 7/9] drm/mediatek: add dsi transfer function

2016-09-02 Thread YT Shen
From: shaoming chen add dsi read/write commands for transfer function Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 188 + 1 file changed, 188 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/

[PATCH v7 5/9] drm/mediatek: cleaning up and refine

2016-09-02 Thread YT Shen
cleaning up unused define and refine function name and variable Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 77 -- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 8 ++-- 2 files changed, 41 insertions(+), 44 deletio

[PATCH v7 8/9] drm/mediatek: update DSI sub driver flow

2016-09-02 Thread YT Shen
This patch update enable/disable flow of DSI module and MIPI TX module Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 102 +++-- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 32 ++- 2 files changed, 101 insertion

[PATCH v7 3/9] drm/mediatek: add shadow register support

2016-09-02 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 - drivers/gpu/drm/mediatek/mtk_drm_ddp.

[PATCH v7 9/9] drm/mediatek: add support for Mediatek SoC MT2701

2016-09-02 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 6 ++ drivers/gpu/drm/mediatek/mtk_disp_rdma.c| 6 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 17 +++

[PATCH v7 4/9] drm/mediatek: update display module connections

2016-09-02 Thread YT Shen
update connections for OVL, RDMA, BLS, DSI Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index b77d456..a9b209c 1006

[PATCH v7 6/9] drm/mediatek: add dsi interrupt control

2016-09-02 Thread YT Shen
From: shaoming chen add dsi interrupt control Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 76 ++ 1 file changed, 76 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index 4efeb38..

[PATCH v7 2/9] drm/mediatek: add *driver_data for different hardware settings

2016-09-02 Thread YT Shen
There are some hardware settings changed, between MT8173 & MT2701: DISP_OVL address offset changed, color format definition changed. DISP_RDMA fifo size changed. DISP_COLOR offset changed. MIPI_TX pll setting changed. And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod. Signed-off-by: YT She

[PATCH v7 0/9] MT2701 DRM support

2016-09-02 Thread YT Shen
This is MT2701 DRM support PATCH v7, based on 4.8-rc1. We add DSI interrupt control, transfer function for MIPI DSI panel support. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size changed

[PATCH v7 1/9] drm/mediatek: rename macros, add chip prefix

2016-09-02 Thread YT Shen
Add MT8173 prefix for hardware related macros. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 60 +- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Tomi Valkeinen
On 02/09/16 13:41, Sekhar Nori wrote: > Also, how about renaming the existing dts to am57xx-beagle-x15-reva2.dts > and let the production version be called am57xx-beagle-x15.dts? Surely > this will cause some inconvenience to A2 users. But there are few users > of those and it might be more intuit

Re: [PATCH] dmaengine: tegra210-adma: Add memcpy support

2016-09-02 Thread Vinod Koul
On Thu, Sep 01, 2016 at 03:43:16PM -0700, Nicolin Chen wrote: > +#define ADMA_CH_CTRL_MODE_ONCE (1 << 8) BIT(8)? You should change the existing ones too :) > #define ADMA_CH_CTRL_MODE_CONTINUOUS (2 << 8) > +#define ADMA_CH_CTRL_MODE_LINKED_LIST

Re: [PATCH v4 2/2] serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 SoC

2016-09-02 Thread Heikki Krogerus
On Wed, Aug 31, 2016 at 11:29:12AM +0800, Kefeng Wang wrote: > Add ACPI identifier for UART on Hisilicon Hip05 SoC, be careful that > it is not 16550 compatible, and "reg-io-width" and "reg-shift" need > be set properly by _DSD method in DSDT. > > Signed-off-by: Kefeng Wang Acked-by: Heikki Krog

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Felipe Balbi
Hi, Russell King - ARM Linux writes: > On Fri, Sep 02, 2016 at 12:43:39PM +0200, Arnd Bergmann wrote: >> On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: >> > >> > Hi Felipe and Arnd, >> > >> > It has been a while since the last response to this discussion, but we >> > haven't reac

[PATCH 6/7] Drivers: hv: utils: Continue to poll VSS channel after handling requests.

2016-09-02 Thread kys
From: Alex Ng Multiple VSS_OP_HOT_BACKUP requests may arrive in quick succession, even though the host only signals once. The driver wass handling the first request while ignoring the others in the ring buffer. We should poll the VSS channel after handling a request to continue processing other r

Re: [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210

2016-09-02 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get 2 warnings when build kernel with W=1: Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:261:5: warning: no previous Baoyou> prototype for 'tc_dwc_g210_config_40_bit' [-Wmissing-prototypes] Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:293:5: warning: no previous

[PATCH 3/7] Drivers: hv: ring_buffer: use wrap around mappings in hv_copy{from,to}_ringbuffer()

2016-09-02 Thread kys
From: Vitaly Kuznetsov With wrap around mappings for ring buffers we can always use a single memcpy() to do the job. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan Tested-by: Dexuan Cui --- drivers/hv/ring_buffer.c | 24 +++- 1 files changed, 3 insertio

[PATCH 1/7] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-09-02 Thread kys
From: Vitaly Kuznetsov In preparation for doing wrap around mappings for ring buffers cleanup vmbus_open() function: - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel drivers now); - kfree(open_info) on error only after we kzalloc() it (not an issue as it is valid to c

[PATCH 2/7] Drivers: hv: ring_buffer: wrap around mappings for ring buffers

2016-09-02 Thread kys
From: Vitaly Kuznetsov Make it possible to always use a single memcpy() or to provide a direct link to a packet on the ring buffer by creating virtual mapping for two copies of the ring buffer with vmap(). Utilize currently empty hv_ringbuffer_cleanup() to do the unmap. While on it, replace size

[PATCH 5/7] Drivers: hv: Introduce a policy for controlling channel affinity

2016-09-02 Thread kys
From: K. Y. Srinivasan Introduce a mechanism to control how channels will be affinitized. We will support two policies: 1. HV_BALANCED: All performance critical channels will be dstributed evenly amongst all the available NUMA nodes. Once the Node is assigned, we will assign the CPU based on a s

[PATCH 7/7] Drivers: hv: utils: Check VSS daemon is listening before a hot backup

2016-09-02 Thread kys
From: Alex Ng Hyper-V host will send a VSS_OP_HOT_BACKUP request to check if guest is ready for a live backup/snapshot. The driver should respond to the check only if the daemon is running and listening to requests. This allows the host to fallback to standard snapshots in case the VSS daemon is

[PATCH 4/7] Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw()

2016-09-02 Thread kys
From: Vitaly Kuznetsov With wrap around mappings in place we can always provide drivers with direct links to packets on the ring buffer, even when they wrap around. Do the required updates to get_next_pkt_raw()/put_pkt_raw() Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan Teste

[PATCH 0/7] Drivers: hv: Some miscellaneous fixes

2016-09-02 Thread kys
From: K. Y. Srinivasan Some miscellaneous fixes and enhancements. These patches were all sent earlier but failed to apply clean on Greg's tree. These have now been rebased. Alex Ng (2): Drivers: hv: utils: Continue to poll VSS channel after handling requests. Drivers: hv: utils: Check VS

Re: [RFC PATCH v2 03/20] x86: Secure Memory Encryption (SME) build enablement

2016-09-02 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:35:59PM -0500, Tom Lendacky wrote: > Provide the Kconfig support to build the SME support in the kernel. > > Signed-off-by: Tom Lendacky > --- > arch/x86/Kconfig |9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig >

Re: [Patch v4 02/12] irqchip: axi-intc: Clean up irqdomain argument and read/write

2016-09-02 Thread Zubair Lutfullah Kakakhel
Hi, Thanks for the review. Comments inline. On 09/01/2016 06:15 PM, Marc Zyngier wrote: On 01/09/16 17:50, Zubair Lutfullah Kakakhel wrote: The drivers read/write function handling is a bit quirky. And the irqmask is passed directly to the handler. Add a new irqchip struct to pass to the hand

Re: [PATCH] scsi: constify sr_pm_ops structure

2016-09-02 Thread Martin K. Petersen
> "Julia" == Julia Lawall writes: Julia> sr_pm_ops, of type struct dev_pm_ops, is never modified, so Julia> declare it as const. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 4/6] arm64: dts: rockchip: add the gmac power domain on rk3399

2016-09-02 Thread Heiko Stübner
Am Freitag, 2. September 2016, 01:50:02 schrieb Caesar Wang: > This patch supports the gmac pd to save power consumption. > Even though some boards not need Ethernet support, the driver > core can also take care of powering up the pd before probe. > > Signed-off-by: Caesar Wang applied to my dts

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

2016-09-02 Thread Chanwoo Choi
Hi Javier, On 2016년 08월 27일 02:49, Javier Martinez Canillas wrote: > Hello Chanwoo, > > The patch looks good to me, I just have a few minor comments: > > On 08/24/2016 09:49 AM, Chanwoo Choi wrote: > > [snip] > >> + >> +reboot: syscon-reboot { >> +compatible = "syscon-reboot";

Re: [PATCH V3] dmaengine: dmatest: exclude compare and fill time during perf report

2016-09-02 Thread Vinod Koul
On Thu, Sep 01, 2016 at 10:02:55AM -0400, Sinan Kaya wrote: > Dmatest is currently including compare and fill time into the > calculated performance numbers. This does not reflect the HW > capability and the results vary based on the CPU speed instead of > the HW speed. Applied, thanks -- ~Vinod

Re: [PATCH] scsi: ufs: add missing declaration in ufshcd.h

2016-09-02 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get 1 warning about global functions without a declaration in Baoyou> the scsi ufshcd driver when building with W=1: Baoyou> drivers/scsi/ufs/ufshcd.c:1991:5: warning: no previous prototype Baoyou> for 'ufshcd_query_descriptor_retry' [-Wmissing-prot

[GIT PULL]: dmaengine fixes for 4.8-rc5

2016-09-02 Thread Vinod Koul
Hi Linus, Here is the fixes PULL request for dmaengine. This time we have odd driver fixes, nothing major. The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.infradead.org

Re: [PART2 PATCH v7 00/12] iommu/AMD: Introduce IOMMU AVIC support

2016-09-02 Thread Paolo Bonzini
On 29/08/2016 06:53, Suravee Suthikulpanit wrote: > Hi Joerg, Radim > > Any other concerns? Joerg, if there's no other issues, could you apply the first 9 patches to a branch based on 4.8-rc1 or similar, so that I can pull it into the KVM tree? Thanks, Paolo > Thanks, > Suravee > > On 8/24/

Re: [PATCH] fix:pmcraid: mark symbols static where possible

2016-09-02 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get 4 warnings about global functions without a declaration Baoyou> in the scsi pmcraid driver when building with W=1: Baoyou> drivers/scsi/pmcraid.c:309:6: warning: no previous prototype for Baoyou> 'pmcraid_init_cmdblk' [-Wmissing-prototypes] Baoy

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Felipe Balbi
Hi, Arnd Bergmann writes: > On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: >> >> Hi Felipe and Arnd, >> >> It has been a while since the last response to this discussion, but we >> haven't reached an agreement yet! Can we get to a conclusion on if it >> is valid to create child

Re: [PATCH 1/6] irqchip: mips-gic: Add context saving for MIPS_REMOTEPROC

2016-09-02 Thread Marc Zyngier
Hi Matt, On 02/09/16 10:59, Matt Redfearn wrote: > The MIPS remote processor driver allows non-Linux firmware to take > control of and execute on one of the systems VPEs. If that VPE is > brought back under Linux, it is necessary to ensure that all GIC > interrupts are routed and masked as Linux e

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Russell King - ARM Linux
On Fri, Sep 02, 2016 at 12:43:39PM +0200, Arnd Bergmann wrote: > On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: > > > > Hi Felipe and Arnd, > > > > It has been a while since the last response to this discussion, but we > > haven't reached an agreement yet! Can we get to a conclusio

Re: [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399

2016-09-02 Thread Heiko Stübner
Am Donnerstag, 1. September 2016, 16:53:22 schrieb Douglas Anderson: > On some rk3399 boards GPIO0_A0 is hooked up to a 32 kHz clock. This can > be used as the source for various clocks in the system. > > Add a pinmux so boards can get this pin properly configured. > > Signed-off-by: Douglas And

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

2016-09-02 Thread Bamvor Jian Zhang
Hi, Yury On 08/17/2016 07:46 PM, Yury Norov wrote: > From: Andrew Pinski > [...] > diff --git a/arch/arm64/kernel/sys_ilp32.c b/arch/arm64/kernel/sys_ilp32.c > new file mode 100644 > index 000..10fc0ca > --- /dev/null > +++ b/arch/arm64/kernel/sys_ilp32.c > @@ -0,0 +1,86 @@ > +/* > + * AArch

Re: [PATCH v11 3/4] tee: add OP-TEE driver

2016-09-02 Thread Jens Wiklander
On Thu, Sep 01, 2016 at 01:06:04PM -0500, Andrew F. Davis wrote: > On 09/01/2016 04:22 AM, Jens Wiklander wrote: > > On Wed, Aug 31, 2016 at 11:40:20AM -0500, Andrew F. Davis wrote: > >> On 08/31/2016 08:50 AM, Jens Wiklander wrote: > >>> On Tue, Aug 30, 2016 at 03:23:24PM -0500, Andrew F. Davis wr

Re: [PATCH 2/2] KVM: nVMX: make emulated nested preemption timer pinned

2016-09-02 Thread Paolo Bonzini
On 30/08/2016 10:14, Wanpeng Li wrote: > From: Wanpeng Li > > Commit 61abdbe0bc ("kvm: x86: make lapic hrtimer pinned") pins the emulated > lapic timer. This patch does the same for the emulated nested preemption > timer to avoid vmexit an unrelated vCPU and the latency of kicking IPI to > a

Re: [tip:smp/hotplug 4/8] kernel/cpu.c:1252:3: error: unknown field 'startup' specified in initializer

2016-09-02 Thread Sebastian Andrzej Siewior
On 2016-09-02 17:42:33 [+0800], kbuild test robot wrote: > compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 > > >> kernel/cpu.c:1252:3: error: unknown field 'startup' specified in > >> initializer > >> kernel/cpu.c:1252:3: warning: missing braces around initializer >kernel/cpu.c:1252:3: warni

Re: [PATCH] relay: Use irq_work instead of plain timer for deferred wakeup

2016-09-02 Thread kbuild test robot
eup/20160902-165512 reproduce: make htmldocs All warnings (new ones prefixed by >>): lib/crc32.c:148: warning: No description found for parameter 'tab)[256]' lib/crc32.c:148: warning: Excess function parameter 'tab' description in 'crc32_le_generic' l

Re: [PATCH 1/2] KVM: lapic: fix preemption timer backward when TSC backward

2016-09-02 Thread Paolo Bonzini
On 30/08/2016 10:14, Wanpeng Li wrote: > From: Wanpeng Li > > TSC_OFFSET will be adjusted if discovers TSC backward during vCPU load. > The preemption timer which will leverage guest tsc to reprogram its > preemption timer value is also reprogrammed if vCPU is scheded in to > a different pCP

Re: [PATCH] spi: qup: skip clk_disable_unprepare if the device is already runtime suspended

2016-09-02 Thread Sudeep Holla
On 02/09/16 10:38, Mark Brown wrote: On Fri, Sep 02, 2016 at 09:42:04AM +0100, Sudeep Holla wrote: On 01/09/16 21:29, Mark Brown wrote: On Thu, Aug 25, 2016 at 01:33:28PM +0100, Sudeep Holla wrote: CPU: 3 PID: 1593 Comm: bash Tainted: GW 4.8.0-rc3 #14 Hardware name: Qualcomm

Re: [Patch v4 01/12] microblaze: irqchip: Move intc driver to irqchip

2016-09-02 Thread Michal Simek
On 2.9.2016 12:06, Zubair Lutfullah Kakakhel wrote: > Hi, > > On 09/02/2016 07:25 AM, Michal Simek wrote: >> On 1.9.2016 18:50, Zubair Lutfullah Kakakhel wrote: >>> The Xilinx AXI Interrupt Controller IP block is used by the MIPS >>> based xilfpga platform. >>> >>> Move the interrupt controller co

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Arnd Bergmann
On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: > > Hi Felipe and Arnd, > > It has been a while since the last response to this discussion, but we > haven't reached an agreement yet! Can we get to a conclusion on if it > is valid to create child platform device for abstraction purpo

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Sekhar Nori
+ Robert Nelson On Friday 02 September 2016 02:36 PM, Nishanth Menon wrote: > Latest update to the BeagleBoard-X15 platform (revision B1)[1] updates > for allowing UHS SD cards to function with the split of supply to SD > card from a dedicated LDO. > > As a result of this, AM57xx BeagleBoard-X15

Re: [PATCH 1/2] wd719x: Remove last declaration using DEFINE_PCI_DEVICE_TABLE

2016-09-02 Thread Martin K. Petersen
> "Joe" == Joe Perches writes: Joe> Convert it to the preferred const struct pci_device_id instead. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/6] irqchip: mips-gic: Add context saving for MIPS_REMOTEPROC

2016-09-02 Thread Matt Redfearn
On 02/09/16 10:59, Matt Redfearn wrote: The MIPS remote processor driver allows non-Linux firmware to take control of and execute on one of the systems VPEs. If that VPE is brought back under Linux, it is necessary to ensure that all GIC interrupts are routed and masked as Linux expects them, a

Re: [PATCH] arm64: dts: hi6220: add sd-uhs- properties into dwmmc_1

2016-09-02 Thread Wei Xu
Hi Guodong, On 31/08/2016 14:10, Guodong Xu wrote: > With these properties added, sd cards inserted into hikey can work at UHS > mode if they have such capability. > > Note, this depends on HiKey UHS-SD support patch [1] to work properly. > If you didn't add this patch, but added sd-uhs- properti

Re: [PATCH] arm64/efi: efi_init error handling fix

2016-09-02 Thread Will Deacon
On Fri, Sep 02, 2016 at 06:18:39PM +0800, Xie Yisheng wrote: > From: Yisheng Xie > > There's an early memmap leak in efi_init error path, fix it. > > Signed-off-by: Yisheng Xie > --- > drivers/firmware/efi/arm-init.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Adding linux-efi,

Re: [PATCH 2/2] arm64: dts: rockchip: add eMMC's power domain support for rk3399

2016-09-02 Thread Ulf Hansson
On 1 September 2016 at 23:50, Doug Anderson wrote: > Hi, > > On Thu, Sep 1, 2016 at 6:45 AM, Ulf Hansson wrote: >> I was reading the discussion regarding this change and browsing the DT >> documentation around this... Can you guys explain what really goes on >> here, please. >> >> To me, it seems

[PATCH 1/3] staging: rtl8712: delete one space before if statement

2016-09-02 Thread Louie Lu
This patch fixed minor checkpatch warning: WARNING: Statements should start on a tabstop Signed-off-by: Louie Lu --- drivers/staging/rtl8712/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c in

[PATCH] arm64/efi: efi_init error handling fix

2016-09-02 Thread Xie Yisheng
From: Yisheng Xie There's an early memmap leak in efi_init error path, fix it. Signed-off-by: Yisheng Xie --- drivers/firmware/efi/arm-init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/arm-init.c index c49d50e..

[PATCH 2/3] staging: rtl8172: fixed comment style in rts871x_cmd.c

2016-09-02 Thread Louie Lu
Fixed comment style warning by checkpatch: * Block comments use * on subsequent lines * Block comments use a trailing */ on a separate line Signed-off-by: Louie Lu --- drivers/staging/rtl8712/rtl871x_cmd.c | 46 +++ 1 file changed, 25 insertions(+), 21 deletions(

Re: [RFC2 nowrap: PATCH v7 00/18] ILP32 for ARM64

2016-09-02 Thread Bamvor Jian Zhang
Base on the off-list discussion, the community care about the performance regression of aarch64 LP64 and aarch32 after ILP32 is merged. Given that there is not big open issue in ILP32 in kernel part, I try to address this concern. It is reasonable that we should run lots of testsuite(such as LKP)

Re: [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Remove pinmux configurations

2016-09-02 Thread Sekhar Nori
On Friday 02 September 2016 02:35 PM, Nishanth Menon wrote: > pinmuxing for DRA7x/AM57x family of processors need to be done in IO > isolation as part of initial bootloader executed from SRAM. This is > done as part of iodelay configuration sequence and is required due to > the limitations introduc

Re: [PATCH 0/2] fusion: Remove deprecated create_singlethread_workqueue

2016-09-02 Thread Martin K. Petersen
> "Bhaktipriya" == Bhaktipriya Shridhar writes: Bhaktipriya> This patch set removes deprecated Bhaktipriya> create_singlethread_workqueue instances from Bhaktipriya> drivers/message Applied to 4.9/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH 3/3] staging: rtl8712: fixed comment style and space indent

2016-09-02 Thread Louie Lu
fixed comment style and space indent report from checkpatch: * WARNING: Statements should start on a tabstop * WARNING: Block comments use * on subsequent lines * WARNING: suspect code indent for conditional statements (16, 32) Signed-off-by: Louie Lu --- drivers/staging/rtl8712/rtl871x_ioctl_l

[PATCH 0/3] staging: rtl8712: fixed indent and comment style in code

2016-09-02 Thread Louie Lu
This patchsets cleanup some warning report from checkpatch Including: * space indent * bad comment style Louie Lu (3): staging: rtl8712: delete one space before if statement staging: rtl8172: fixed comment style in rts871x_cmd.c staging: rtl8712: fixed comment style and space indent d

Re: [PATCH] bfa: do not dereference port before it is null checked

2016-09-02 Thread Martin K. Petersen
> "Colin" == Colin King writes: Colin> port is deferenced before it is null sanity checked, hence we Colin> potentially have a null pointer dereference bug. Instead, Colin> initialise trl_enabled from port->fcs->bfa after we are sure port Colin> is not null. Applied to 4.9/scsi-queue. -- M

Re: alloc_pages_exact() triggering memory fragmentation on nommu?

2016-09-02 Thread Nikita Yushchenko
> I'm having a guess that this can be caused by use of > alloc_pages_exact() for NoMMU private anonymous mappings. > > This routine causes "tail" of allocation to be returned back > to allocator... and inserted at top of free list. Later, when > whatever in the system makes a trivial order-0 alloc

Re: [PATCH] [SCSI] qla4xxx: mark symbols static where possible

2016-09-02 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get 1 warning when build kernel with W=1: Baoyou> drivers/scsi/qla4xxx/ql4_nx.c:1846:10: warning: no previous Baoyou> prototype for 'ql4_84xx_ipmdio_rd_reg' [-Wmissing-prototypes] Baoyou> In fact, this function is only used in the file in which it

Re: [PATCH v4 2/2] soc: qcom: add l2 cache perf events driver

2016-09-02 Thread Mark Rutland
On Thu, Sep 01, 2016 at 05:30:52PM +0100, Mark Rutland wrote: > On Tue, Aug 30, 2016 at 01:01:33PM -0400, Neil Leeder wrote: > > +static DEFINE_MUTEX(l2cache_pmu_mutex); > > A mutex (which can sleep) is not safe for the hotplug state machine > stuff. See recent patches to the arm_pmu code. > > Th

Re: [Patch v4 01/12] microblaze: irqchip: Move intc driver to irqchip

2016-09-02 Thread Zubair Lutfullah Kakakhel
Hi, On 09/02/2016 07:25 AM, Michal Simek wrote: On 1.9.2016 18:50, Zubair Lutfullah Kakakhel wrote: The Xilinx AXI Interrupt Controller IP block is used by the MIPS based xilfpga platform. Move the interrupt controller code out of arch/microblaze so that it can be used by everyone Signed-off-

Re: [PATCH 0/6] constify snd_pcm_ops structures

2016-09-02 Thread Julia Lawall
On Fri, 2 Sep 2016, Takashi Iwai wrote: > On Fri, 02 Sep 2016 00:13:08 +0200, > Julia Lawall wrote: > > > > Constify snd_pcm_ops structures. > > Applied all six patches now. Thanks. Thanks. There are a bunch more for this type, for other directories. I will send them shortly. julia

Re: [PATCH v2 9/9] arm64: Work around systems with mismatched cache line sizes

2016-09-02 Thread Suzuki K Poulose
On 26/08/16 18:00, Catalin Marinas wrote: On Fri, Aug 26, 2016 at 05:16:27PM +0100, Will Deacon wrote: On Fri, Aug 26, 2016 at 02:08:01PM +0100, Suzuki K Poulose wrote: On 26/08/16 14:04, Suzuki K Poulose wrote: It might be worth looking to see if we can pass the ctr as an extra parameter to

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Nishanth Menon
On 09/02/2016 04:58 AM, Tomi Valkeinen wrote: On 02/09/16 12:06, Nishanth Menon wrote: diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts b/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts new file mode 100644 index ..da61dbba7768 --- /dev/null +++ b/arch/arm/boot/dts/am57xx-b

[PATCH 2/6] MIPS: tlb-r4k: If there are wired entries, don't use TLBINVF

2016-09-02 Thread Matt Redfearn
When adding a wired entry to the TLB via add_wired_entry, the tlb is flushed with local_flush_tlb_all, which on CPUs with TLBINV results in the new wired entry being flushed again. Behavior of the TLBINV instruction applies to all applicable TLB entries and is unaffected by the setting of the Wire

<    1   2   3   4   5   6   7   >