Re: [PATCH] infiniband:core:Add needed error path in cm_init_av_by_path

2015-12-06 Thread Haggai Eran
On Friday, December 4, 2015 8:02 PM, Nicholas Krause wrote: > To: dledf...@redhat.com > Cc: sean.he...@intel.com; hal.rosenst...@gmail.com; Haggai Eran; > jguntho...@obsidianresearch.com; Matan Barak; yun.w...@profitbricks.com; > ted.h@oracle.com; Doron Tsur; Erez Shitrit; david.ah...@oracl

Re: [PATCH V2 5/6] cpufreq: governor: replace per-cpu delayed work with timers

2015-12-06 Thread Viresh Kumar
On 07-12-15, 02:28, Rafael J. Wysocki wrote: > What about if that happens in parallel with the decrementation in > dbs_work_handler()? > > Is there anything preventing that from happening? Hmmm, you are right. Following is required for that. diff --git a/drivers/cpufreq/cpufreq_governor.c b/dri

Re: [PATCH 03/10] i915: Replace "hweight8(dev_priv->info.subslice_7eu[i]) != 1" with "!is_power_of_2(dev_priv->info.subslice_7eu[i])"

2015-12-06 Thread Daniel Vetter
On Sun, Dec 06, 2015 at 06:26:30PM +0800, Zhaoxiu Zeng wrote: > From: Zeng Zhaoxiu > > Signed-off-by: Zeng Zhaoxiu Queued for -next, thanks for the patch. -Daniel > --- > drivers/gpu/drm/i915/intel_ringbuffer.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/driver

[PATCH 8/8 v3] thermal: of-thermal: of_thermal_set_trip_temp() call thermal_zone_device_update()

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto of_thermal_set_trip_temp() updates trip temperature. It should call thermal_zone_device_update() immediately. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change drivers/thermal/of-thermal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thermal/

[PATCH 4/8 v3] thermal: rcar: retern error rcar_thermal_get_temp() if no ctemp update

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto Current rcar_thermal_get_temp() returns latest temperature, but it might not be updated if some HW issue happend. This means user might get wrong temperature. This patch solved this issue. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change drivers/thermal/rcar

[PATCH 5/8 v3] thermal: rcar: enable to use thermal-zone on DT

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch enables to use thermal-zone on DT if it was call as "renesas,rcar-thermal-gen2". Previous style is still supported by "renesas,rcar-thermal". Signed-off-by: Kuninori Morimoto --- v2 -> v3 - compatible "renesas,rcar-thermal-gen2" -> "renesas,rcar-gen2-therma

Re: [PATCH] drivers: dma-coherent: simplify dma_init_coherent_memory return value

2015-12-06 Thread Marek Szyprowski
Hello, On 2015-12-04 21:14, Michal Nazarewicz wrote: Since only dma_declare_coherent_memory cares about dma_init_coherent_memory returning part of flags as it return value, move the condition to the former and simplify the latter. This in turn makes rmem_dma_device_init less confusing. Reporte

Re: [PATCH] drm: do not use device name as a format string

2015-12-06 Thread Daniel Vetter
On Sun, Dec 06, 2015 at 11:16:32AM +0100, Nicolas Iooss wrote: > On 12/06/2015 10:35 AM, Daniel Vetter wrote: > >> On 11/18/2015 06:58 PM, Nicolas Iooss wrote: > >>> drm_dev_set_unique() formats its parameter using kvasprintf() but many > >>> of its callers directly pass dev_name(dev) as printf for

[PATCH 7/8 v3] ARM: shmobile: r8a7791: enable to use thermal-zone

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch enables to use thermal-zone on r8a7791. This thermal sensor can measure temperature from -4 to 125000, but over 117000 can be critical on this chip. Thus, default critical temperature is now set as 115000 (this driver is using 5000 steps) (Current critical

[PATCH 6/8 v3] ARM: shmobile: r8a7790: enable to use thermal-zone

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch enables to use thermal-zone on r8a7790. This thermal sensor can measure temperature from -4 to 125000, but over 117000 can be critical on this chip. Thus, default critical temperature is now set as 115000 (this driver is using 5000 steps) (Current critical

[PATCH 3/8 v3] thermal: rcar: check irq possibility in rcar_thermal_irq_xxx()

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto Current rcar thermal driver sometimes checks irq possibility when it calls rcar_thermal_irq_enable/disable(), but sometimes not. This patch checks it inside rcar_thermal_irq_enable/disable(). Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change drivers/thermal/r

[PATCH 2/8 v3] thermal: rcar: check every rcar_thermal_update_temp() return value

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change drivers/thermal/rcar_thermal.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 96707a6..4d1bc2b 10064

[PATCH 1/8 v3] thermal: rcar: move rcar_thermal_dt_ids to upside

2015-12-06 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch is prepare for of-thermal support. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change drivers/thermal/rcar_thermal.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/r

[PATCH 0/8 v3] enable to use thermal-zone on r8a7790/1

2015-12-06 Thread Kuninori Morimoto
Hi These are v3 of thermal-zone support for r8a7790/r8a7791. Mainly, it cares return value of get_temp() I think 8) is needed on of-thermal (?) Kuninori Morimoto (8): 1) thermal: rcar: move rcar_thermal_dt_ids to upside 2) thermal: rcar: check every rcar_thermal_update_temp() return

Re: Asterisk deadlocks since Kernel 4.1

2015-12-06 Thread Philipp Hahn
Hello Stefan, Am 06.12.2015 um 21:56 schrieb Stefan Priebe: > i think i found the issue in 4.1 with netlink. Somebody made a mistake > while backporting or cherry-picking your patch "netlink: Fix autobind > race condition that leads to zero port ID" to 4.1. > > It misses a goto in 4.1. > > This

Re: [PATCH v10 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-12-06 Thread Yakir Yang
On 12/07/2015 02:38 PM, Yakir Yang wrote: Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, rename the platform code to exynos_dp. Beside the new analogix_dp driver would export six hooks. "analogix_dp_bind()" and "analogix_dp_unbi

Re: [PATCH v3 1/7] mm/compaction: skip useless pfn when updating cached pfn

2015-12-06 Thread Joonsoo Kim
On Thu, Dec 03, 2015 at 11:36:52AM +0100, Vlastimil Babka wrote: > On 12/03/2015 08:11 AM, Joonsoo Kim wrote: > > Cached pfn is used to determine the start position of scanner > > at next compaction run. Current cached pfn points the skipped pageblock > > so we uselessly checks whether pageblock is

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-06 Thread Joonsoo Kim
On Fri, Dec 04, 2015 at 01:34:09PM +0100, Vlastimil Babka wrote: > On 12/03/2015 12:52 PM, Aaron Lu wrote: > >On Thu, Dec 03, 2015 at 07:35:08PM +0800, Aaron Lu wrote: > >>On Thu, Dec 03, 2015 at 10:38:50AM +0100, Vlastimil Babka wrote: > >>>On 12/03/2015 10:25 AM, Aaron Lu wrote: > On Thu, Dec

Re: [PATCH v3] acpi, apei, arm64: APEI initial support for aarch64.

2015-12-06 Thread Fu Wei
Hi all, On 4 December 2015 at 01:15, wrote: > From: Tomasz Nowicki > > This commit provides APEI arch-specific bits for aarch64 > > The reason for wrapping "acpi_disable_cmcff" by > "#if defined(__i386__) || defined(__x86_64__)" in hest.c is: > according to ACPI spec CMC(Corrected Machine Check

[PATCH 1/2] ARM: dts: sun4i: gemei-g9: Add touchscreen (Goodix gt801x2) support

2015-12-06 Thread Priit Laes
Goodix GT801 2+1 is a touchscreen controller supporting up to 10 touches. Enable pin and wakeup pin support is currently not implemented: - enable pin (PI16, specified in FEX) seems to be wrong - wakeup pin needs some additional reverse engineering work Signed-off-by: Priit Laes --- arch/arm/

[PATCH 0/2] input: Driver for Goodix GT801 2+1 touchscreen

2015-12-06 Thread Priit Laes
This series adds support for Goodix GT801 2+1 touchscreen controller and hooks it up on Gemei G9 tablet. Now about GT801 2+1 - I initially tried to implement this inside the existing Goodix driver, but unfortunately there are too many small bits and pieces that would make the otherwise simple driv

[PATCH 2/2] input: gt801_2plus1 - Add initial support for Goodix GT801 2+1

2015-12-06 Thread Priit Laes
This patch adds Goodix GT801 2+1 touchscreen controller support. GT801 2+1 is a 10-finger touch controller consisting of ARM controller interfacing two GT801 5-finger controllers. Signed-off-by: Priit Laes --- .../bindings/input/touchscreen/gt801_2plus1.txt| 23 ++ MAINTAINERS

Re: [PATCH] ARM: avoid ARCH_MMAP_RND_BITS for NOMMU

2015-12-06 Thread Uwe Kleine-König
On Fri, Nov 27, 2015 at 03:04:03PM +0100, Arnd Bergmann wrote: > ARM kernels with MMU disabled fail to build because of > CONFIG_ARCH_MMAP_RND_BITS: > > kernel/built-in.o:(.data+0x754): undefined reference to `mmap_rnd_bits' > kernel/built-in.o:(.data+0x76c): undefined reference to `mmap_rnd_bits

Re: [PATCH] Staging: speakup: kobjects: Return the error type to caller

2015-12-06 Thread Saurabh Sengar
On 7 December 2015 at 12:18, Dan Carpenter wrote: > On Fri, Dec 04, 2015 at 08:12:33PM +0530, Saurabh Sengar wrote: >> Inorder to notify the user that value is not successfuly set in sys >> entry, error should be returned from store function instead of count >> >> Signed-off-by: Saurabh Sengar >>

Re: [PATCH net-next 2/2] net: hns: enet specisies a reference to dsaf (config and documents)

2015-12-06 Thread Yankejian (Hackim Yim)
On 2015/12/6 6:19, Arnd Bergmann wrote: > On Saturday 05 December 2015 14:10:56 yankejian wrote: >> diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt >> b/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt >> index 80411b2..ecacfa4 100644 >> --- a/Documentation/

[PATCH] spi/spi-fsl-espi.c: Add spi cs polarity support

2015-12-06 Thread Andreas Werner
Add CS polarity flag to be able to set the CS polarity via the DT property spi-cs-high. Signed-off-by: Andreas Werner --- drivers/spi/spi-fsl-espi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index c27124a..2dc70

RE: [PATCH 0/2] power: Add support for TI BQ24261 charger

2015-12-06 Thread Pallala, Ramakrishna
Hi Sebastian, > On Thu, Oct 29, 2015 at 10:07:03PM +0530, Ramakrishna Pallala wrote: > > This patch series adds the support for TI BQ24261 charger driver. > > > > TI BQ24261 charger driver relies on extcon notifications to get the > > charger cable type and based on that it will set the charging p

Re: [PATCH v2 3/9] ARM: hisi: enable Hi3519 soc

2015-12-06 Thread xuejiancheng
Hi Arnd, On 2015/12/5 5:54, Arnd Bergmann wrote: > On Friday 04 December 2015 12:07:58 xuejiancheng wrote: >> On 2015/12/3 17:40, Arnd Bergmann wrote: >>> On Thursday 03 December 2015 10:42:45 Jiancheng Xue wrote: --- a/arch/arm/mach-hisi/Kconfig +++ b/arch/arm/mach-hisi/Kconfig @@

Re: Asterisk deadlocks since Kernel 4.1

2015-12-06 Thread Stefan Priebe - Profihost AG
Hi Herbert, Am 07.12.2015 um 02:20 schrieb Herbert Xu: > On Sun, Dec 06, 2015 at 09:56:34PM +0100, Stefan Priebe wrote: >> Hi Herbert, >> >> i think i found the issue in 4.1 with netlink. Somebody made a >> mistake while backporting or cherry-picking your patch "netlink: Fix >> autobind race condi

[PATCH] perf kvm record/report: 'unprocessable sample' error while recording/reporting guest data

2015-12-06 Thread Ravi Bangoria
While recording guest samples in host using perf kvm record, it will populate unprocessable sample error, though samples will be recorded properly. While generating report using perf kvm report, no samples will be processed and same error will populate. We have seen this behaviour with upstream per

Re: [PATCH] Staging: speakup: kobjects: Return the error type to caller

2015-12-06 Thread Dan Carpenter
On Fri, Dec 04, 2015 at 08:12:33PM +0530, Saurabh Sengar wrote: > Inorder to notify the user that value is not successfuly set in sys > entry, error should be returned from store function instead of count > > Signed-off-by: Saurabh Sengar > --- > drivers/staging/speakup/kobjects.c | 5 - > 1

Re: [PATCH v2 4/9] ARM: dts: add dts files for hi3519-demb board

2015-12-06 Thread xuejiancheng
On 2015/12/4 18:49, Arnd Bergmann wrote: > On Friday 04 December 2015 10:27:58 xuejiancheng wrote: >>> +sysctrl: system-controller@1202 { +compatible = "hisilicon,sysctrl"; +reg = <0x1202 0x1000>; +

Re: [tip:perf/core] perf/x86: Use INST_RETIRED.PREC_DIST for cycles: ppp

2015-12-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Sun, Dec 06, 2015 at 02:11:02PM +0100, Ingo Molnar wrote: > > > Also, I'm not convinced we need a new 'ppp' qualifier for any of this, why > > not > > just replace 'pp' with this event - 'pp' is meant to be our most precise > > event. > > I requested this because

[PATCH v10 02/17] drm: bridge: analogix/dp: fix some obvious code style

2015-12-06 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v10: None Changes in v9: None Changes in v8: None Change

[PATCH v10 03/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-06 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7G

[PATCH v10 04/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-12-06 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Signed-off-by: Yakir

[PATCH v10 09/17] phy: Add driver for rockchip Display Port PHY

2015-12-06 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v10: - Fix the wrong macro value of GRF_EDP_REF_CLK_SEL_INTER_HIWORD_MASK BIT(4) -> BIT(20) Changes in v

[PATCH v10 12/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-12-06 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in

[PATCH v10 13/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-06 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v10: - Remove the surplus "plat_data" check. (Heiko) - switch (dp->plat_data && d

[PATCH v10 14/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-12-06 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Chang

[PATCH v10 15/17] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-12-06 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit: drm/exynos: do not s

[PATCH v10 16/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-12-06 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit:

[PATCH v10 17/17] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-06 Thread Yakir Yang
After test on rockchiop platform, i found sometims driver would failed at reading EDID message. After debugging more, i found that it's okay to read_a byte from i2c, but it would failed at AUX transcation if we try to ready multi-bytes from i2c. Driver just can't received the AUX CH reply command,

[PATCH v10 11/17] drm: rockchip: vop: add bpc and color mode setting

2015-12-06 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Ch

[PATCH v10 10/17] dt-bindings: add document for rockchip dp phy

2015-12-06 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v10: None Changes in v9: None Changes in v8: - Remove the specific address in the example node name. (Heiko) Changes in v7: - Simplify the commit message. (Kishon) C

[PATCH v10 05/17] dt-bindings: add document for analogix display port driver

2015-12-06 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --

[PATCH v10 08/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-12-06 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v10: None Changes in v9: - Document more details for 'ports' property. Changes in v8: -

[PATCH v10 07/17] drm: rockchip: dp: add rockchip platform dp driver

2015-12-06 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v10: - Correct the ROCKCHIP_ANALOGIX_DP indentation in Kconfig to

[PATCH v10 06/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-06 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward compati

[PATCH v10 0/17] Add Analogix Core Display Port Driver

2015-12-06 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp control

Re: [PATCH] of: fix build failure

2015-12-06 Thread Sudip Mukherjee
On Sat, Dec 05, 2015 at 12:09:41PM +0100, Geert Uytterhoeven wrote: > Hi Sudip > > On Thu, Dec 3, 2015 at 9:38 AM, Sudip Mukherjee > wrote: > > We are having build failure with next-20151202 for sparc allmodconfig > > with the error messages: > > undefined reference to 'of_io_request_and_map' > >

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

2015-12-06 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the cgroup tree got a conflict in: net/core/netclassid_cgroup.c between commit: 3b13758f51de ("cgroups: Allow dynamically changing net_classid") from Linus' tree and commit: 1f7dd3e5a6e4 ("cgroup: fix handling of multi-destination migration from su

Re: [PATCH 3/4] ARM: shmobile: r8a7790: enable to use thermal-zone

2015-12-06 Thread Simon Horman
On Fri, Dec 04, 2015 at 03:18:11AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > This patch enables to use thermal-zone on r8a7790. > This thermal sensor can measure temperature from -4 to 125000, > but over 117000 can be critical on this chip. > Thus, default critical temp

Re: [PATCH] Staging: Skein: Patch adds the test vectors

2015-12-06 Thread Dan Carpenter
The patch is still corrupt. Read Documentation/email-clients.txt and test it as described. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majord

Re: [PATCH] Staging: Skein: Patch adds the test vectors

2015-12-06 Thread Sudip Mukherjee
On Sat, Dec 05, 2015 at 06:44:10AM -0500, Sanidhya Solanki wrote: > The patch is included below. > I would like to apologize for the past few emails. It turns out the > documentation included in the eMail clients file is woefully out of > date. I have checked the patches for errors using the script

Re: [tpmdd-devel] [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-06 Thread Jason Gunthorpe
On Sun, Dec 06, 2015 at 06:15:44AM +0200, Jarkko Sakkinen wrote: > You can completely ignore this question. I saw Martins reply with a fix for > "tpm_tis: Use devm_ioremap_resource" that you should squash into that > change. It isn't quite the right fix - but I've added something that should be OK

Re: [PATCH] Staging: Skein: Moved macros from skein_block.c to header

2015-12-06 Thread Sudip Mukherjee
On Sat, Dec 05, 2015 at 10:25:16PM -0500, Sanidhya Solanki wrote: > I disagree with the output of the automaton. Included below are my > compile checks before and after the patch. Build fails with: skein_block.c: multiple definition of 'skein_256_process_block' And you moved skein_256_process_bl

Re: [PATCH] net: hisilicon: constify hnae_buf_ops and hnae_ae_ops structures

2015-12-06 Thread Julia Lawall
On Sun, 6 Dec 2015, David Miller wrote: > From: Julia Lawall > Date: Sun, 6 Dec 2015 17:24:57 +0100 > > > The hnae_buf_ops and hnae_ae_ops structures are never modified, so declare > > them as const. > > > > Done with the help of Coccinelle. > > > > Signed-off-by: Julia Lawall > > This do

Re: [PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices

2015-12-06 Thread Archit Taneja
Hi, On 11/30/2015 06:15 PM, kbuild test robot wrote: Hi Archit, [auto build test ERROR on: v4.4-rc3] [also build test ERROR on: next-20151127] url: https://github.com/0day-ci/linux/commits/Archit-Taneja/drm-dsi-DSI-for-devices-with-different-control-bus/20151130-200725 config: x86_64-allye

Re: [PATCH v6 1/4] gadget: Introduce the usb charger framework

2015-12-06 Thread Baolin Wang
On 6 December 2015 at 00:27, Sebastian Reichel wrote: > Hi, > > On Mon, Nov 16, 2015 at 02:33:31PM +0800, Baolin Wang wrote: >> +static ssize_t cur_limit_show(struct device *dev, >> + struct device_attribute *attr, >> + char *buf) >> +{ >> +

linux-next: manual merge of the clockevents tree with the h8300 tree

2015-12-06 Thread Stephen Rothwell
Hi Daniel, Today's linux-next merge of the clockevents tree got a conflict in: arch/h8300/Kconfig between commits: f639eeb4a60c ("h8300: enable CLKSRC_OF") a801eb26d124 ("h8300: Add LZO compression") from the h8300 tree and commit: 6a5c601bf048 ("clocksource/drivers/h8300_timer8: Sepa

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Randy Dunlap
On 12/06/15 20:13, Joe Perches wrote: > On Sun, 2015-12-06 at 19:10 -0500, Sanidhya Solanki wrote: >> Try the patch I just send you. > > I think you should first try the patch you just sent yourself. > Yes, it appears to be mangled. :( -- ~Randy -- To unsubscribe from this list: send the line

[PATCH 1/1] ACPI: Support D3 COLD device for old BIOS

2015-12-06 Thread Ken Xue
D3cold is only regarded as valid if the "_PR3" object is present for the given device after the commit <20dacb71ad28> (ACPI/PM: Reworkdevice power management to follow ACPI 6). But some old BIOS only defined "_PS3" for the D3COLD device. And old kernel also believes the device has "_PS3" is a D3CO

[PATCH 1/2] net: thunderx: nicvf_queues: nivc_*_intr: remove duplication

2015-12-06 Thread Sunil Goutham
From: Yury Norov The same switch-case repeates for nivc_*_intr functions. In this patch it is moved to a helper nicvf_int_type_to_mask(). By the way: - Unneeded write to NICVF register dropped if int_type is unknown. - netdev_dbg() is used instead of netdev_err(). Signed-off-by: Yury Norov S

[PATCH 0/2] net: thunderx: Miscellaneous cleanups

2015-12-06 Thread Sunil Goutham
From: Sunil Goutham This patch series contains contains couple of cleanup patches. Sunil Goutham (1): net, thunderx: Remove unnecessary rcv buffer start address management Yury Norov (1): net: thunderx: nicvf_queues: nivc_*_intr: remove duplication drivers/net/ethernet/cavium/thunder/nicv

[PATCH 2/2] net, thunderx: Remove unnecessary rcv buffer start address management

2015-12-06 Thread Sunil Goutham
From: Sunil Goutham Since we have moved on to using allocated pages to carve receive buffers instead of netdev_alloc_skb() there is no need to store any pointers for later retrieval. Earlier we had to store skb and skb->data pointers which later are used to handover received packet to network sta

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread bayi cheng
On Mon, 2015-12-07 at 12:34 +0800, bayi cheng wrote: > On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: > > Bayi, > > > > On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: > > > Add Mediatek nor flash node > > > > > > Signed-off-by: Bayi Cheng > > > Acked-by: Brian Norris > > > --- > > >

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread bayi cheng
On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: > Bayi, > > On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: > > Add Mediatek nor flash node > > > > Signed-off-by: Bayi Cheng > > Acked-by: Brian Norris > > --- > > Previous version of this patch is > > http://lists.infradead.org/piperma

Re: [PATH 02/02] af_unix: fix unix_dgram_recvmsg entry locking

2015-12-06 Thread David Miller
From: Rainer Weikusat Date: Sun, 06 Dec 2015 21:11:38 + > The current unix_dgram_recvsmg code acquires the u->readlock mutex in > order to protect access to the peek offset prior to calling > __skb_recv_datagram for actually receiving data. This implies that a > blocking reader will go to sle

Re: [PATCH 01/02] core: enable more fine-grained datagram reception control

2015-12-06 Thread David Miller
From: Rainer Weikusat Date: Sun, 06 Dec 2015 21:11:34 + > The __skb_recv_datagram routine in core/ datagram.c provides a general > skb reception factility supposed to be utilized by protocol modules > providing datagram sockets. It encompasses both the actual recvmsg code > and a surrounding

Re: [GIT PULL] ARM: Exynos fixes for v4.4

2015-12-06 Thread Krzysztof Kozlowski
On 27.11.2015 10:26, Krzysztof Kozlowski wrote: > Hi Kukjin, > > > Two fixes for v4.4 cycle. Rafael wanted the cpufreq fix to go through > arm-soc tree. > > Please note that location of repository has changed to kernel.org. Hi Arnd, Kevin and Olof, Could you pull this directly for current RC-c

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

2015-12-06 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/host/pci.c between commit: 1f390c1fde3a ("nvme: temporary fix for Apple controller reset") from Linus' tree and commit: 7a67cbea653e ("nvme: use offset instead of a struct for registers") from the block

Re: [PATCH v5] pwm-backlight: Avoid backlight flicker when probed from DT

2015-12-06 Thread Daniel Kurtz
Hi Lee, On Wed, Nov 25, 2015 at 12:26 AM, Lee Jones wrote: > On Wed, 18 Nov 2015, Philipp Zabel wrote: > >> If the driver is probed from the device tree, and there is a phandle >> property set on it, and the enable GPIO is already configured as output, >> and the backlight is currently disabled,

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

2015-12-06 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/host/Makefile between commit: c4699e70d1db ("lightnvm: Simplify config when disabled") from Linus' tree and commit: 21d34711e1b5 ("nvme: split command submission helpers out of pci.c") from the block tr

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Joe Perches
On Sun, 2015-12-06 at 19:10 -0500, Sanidhya Solanki wrote: > Try the patch I just send you. I think you should first try the patch you just sent yourself. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Sanidhya Solanki
So, now that everyone has sounded off about their clients, I guess we can know how people still use the clients that are included in the documentation. As a side note, JC, I think I have figured out why the patch did not apply for you but works for me. It appears, ostensibly, that when using CLaws

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread Daniel Kurtz
Bayi, On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: > Add Mediatek nor flash node > > Signed-off-by: Bayi Cheng > Acked-by: Brian Norris > --- > Previous version of this patch is > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/386005.html > Drop flash node from mt8173

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Sanidhya Solanki
[PATCH] Documentation: email-clients.txt The information for Claws Mail, Evolution and Thunderbird was out of date. It has been updated with new instructions and warnings. Signed-off-by: Sanidhya Solanki --- Documentation/email-clients.txt | 19 +++ 1 file changed, 15 insertions

[PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- Previous version of this patch is http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/386005.html Drop flash node from mt8173.dtsi accroding review comment --- arch/arm64/boot/dts/mediatek/mt8173.d

Re: [PATCH] net: hisilicon: constify hnae_buf_ops and hnae_ae_ops structures

2015-12-06 Thread David Miller
From: Julia Lawall Date: Sun, 6 Dec 2015 17:24:57 +0100 > The hnae_buf_ops and hnae_ae_ops structures are never modified, so declare > them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall This doesn't apply to net-next. > I have the impression that this drive

Re: [PATCH v6 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-06 Thread Florian Fainelli
Le 05/12/2015 03:53, Kapil Hali a écrit : > From: Jon Mason > > Add SMP support for Broadcom's 4708 SoCs. > > Signed-off-by: Jon Mason > Acked-by: Hauke Mehrtens > Tested-by: Hauke Mehrtens > Signed-off-by: Kapil Hali Applied to soc/next, thanks! -- Florian -- To unsubscribe from this list

Re: [PATCH v6 4/5] ARM: BCM: Add SMP support for Broadcom NSP

2015-12-06 Thread Florian Fainelli
Le 05/12/2015 03:53, Kapil Hali a écrit : > Add SMP support for Broadcom's Northstar Plus SoC > cpu enable method. This changes also consolidates > iProc family's - BCM NSP and BCM Kona, platform > SMP handling in a common file. > > Northstar Plus SoC is based on ARM Cortex-A9 > revision r3p0 whic

Re: [PATCH v6 2/5] ARM: BCM: Clean up SMP support for Broadcom Kona

2015-12-06 Thread Florian Fainelli
Le 05/12/2015 03:53, Kapil Hali a écrit : > These changes cleans up SMP implementaion for Broadcom's > Kona SoC which are required for handling SMP for iProc > family of SoCs at a single place for BCM NSP and BCM Kona. > > Signed-off-by: Kapil Hali Applied to soc/next, thanks! -- Florian -- To

Re: [PATCH v6 3/5] ARM: dts: Add SMP support for Broadcom NSP

2015-12-06 Thread Florian Fainelli
Le 05/12/2015 03:53, Kapil Hali a écrit : > Add device tree changes required for providing SMP support > for Broadcom Northstar Plus SoC. > > Signed-off-by: Kapil Hali Applied to devicetree/next; thanks! -- Florian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH v6 1/5] dt-bindings: add SMP enable-method for Broadcom NSP

2015-12-06 Thread Florian Fainelli
Le 05/12/2015 03:53, Kapil Hali a écrit : > Add a compatible string "brcm,bcm-nsp-smp" for Broadcom's > Northstar Plus CPU to the 32-bit ARM CPU device tree binding > documentation file and create a new binding documentation for > Northstar Plus CPU. > > Signed-off-by: Kapil Hali Applied to devi

[PATCH v2] power: Fix unmet dependency on POWER_SUPPLY by POWER_RESET by uncoupling them

2015-12-06 Thread Krzysztof Kozlowski
Currently the reset/power off handlers (POWER_RESET) and Adaptive Voltage Scaling class (POWER_AVS) are not built when POWER_SUPPLY is disabled. The POWER_RESET is also not visible in drivers main section of config. However they do not really depend on power supply so they can be built always. The

[GIT PULL] ext4 bugfixes for 4.4

2015-12-06 Thread Theodore Ts'o
The following changes since commit be69e1c19f0efb091f29521715c380842fa4cd7e: fs/ext4: remove unnecessary new_valid_dev check (2015-10-29 14:18:13 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you t

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

2015-12-06 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/imx/imx-drm-core.c between commit: 3f3a7280d4ca ("GPU-DRM-IMX: Delete an unnecessary check before drm_fbdev_cma_restore_mode()") from Linus' tree and commit: c1ff5a7aa3c3 ("drm/imx: Remove local fbdev

RE: [PATCH resend] perf machine: Pass correct string to dso__adjust_kmod_long_name

2015-12-06 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Wang Nan [mailto:wangn...@huawei.com] > >There's a mistake in dso__adjust_kmod_long_name() that, it use strdup() >to dup the new long_name of a dso, but passes the original string >to dso__set_long_name(). Which causes random crash during cleanup. > Looks good to me:) Reviewed-by: Masami H

Re: [PATCH v2 0/4] Add online file check feature

2015-12-06 Thread Gang He
Hello Greg and Pavel, Sorry, there was a misunderstand, I was not aware that there were some design constraints for sysfs interfaces. I will review and modify this portion code. Thanks Gang >>> > On Fri, Dec 04, 2015 at 01:36:21AM -0700, Gang He wrote: >> Hi Greg, >> >> >> >>> >> > On W

Re: [PATCH net-next] net: hns: optimize XGE capability by reducing cpu usage

2015-12-06 Thread Joe Perches
On Sun, 2015-12-06 at 22:29 -0500, David Miller wrote: > From: yankejian > Date: Sat, 5 Dec 2015 15:32:29 +0800 > > > +#if (PAGE_SIZE < 8192) > > + if (hnae_buf_size(ring) == HNS_BUFFER_SIZE_2048) { > > + truesize = hnae_buf_size(ring); > > + } else { > > + truesiz

Re: [PATCH net-next] net: hns: optimize XGE capability by reducing cpu usage

2015-12-06 Thread David Miller
From: yankejian Date: Sat, 5 Dec 2015 15:32:29 +0800 > +#if (PAGE_SIZE < 8192) > + if (hnae_buf_size(ring) == HNS_BUFFER_SIZE_2048) { > + truesize = hnae_buf_size(ring); > + } else { > + truesize = ALIGN(size, L1_CACHE_BYTES); > + last_offset = hnae_pag

Re: [PATCH v2 77/71] ncr5380: Fix wait for 53C80 registers registers after PDMA

2015-12-06 Thread Finn Thain
On Mon, 7 Dec 2015, Ondrej Zary wrote: > The check for 53C80 registers accessibility was commented out because > it was broken (inverted). Fix and enable it. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/g_NCR5380.c | 37 ++--- > 1 file changed, 6 insert

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

2015-12-06 Thread Stephen Rothwell
Hi Kalle, Today's linux-next merge of the wireless-drivers-next tree got a conflict in: drivers/net/wireless/ath/ath10k/pci.c between commit: 6419fdbb6f90 ("ath10k: poll HTT send completion when CE 5 is unused") from Linus' tree and commit: afb0bf7f530b ("ath10k: add support for pktlog

Re: [RFC][PATCH] Add __GFP_ZERO to alloc_cpumask_var_node() if ptr is zero

2015-12-06 Thread Rusty Russell
Ingo Molnar writes: > * Rusty Russell wrote: >> I don't think there are great answers here. But adding more subtle zeroing >> semantics feels wrong, even if it will mostly Just Work. > > It's not subtle if the naming clearly reflects it (hence my suggestion to > rename > the API) - and the st

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-06 Thread Aaron Lu
On 12/04/2015 08:38 PM, Vlastimil Babka wrote: > On 12/04/2015 07:25 AM, Aaron Lu wrote: >> On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: >>> Aaron, could you try this on your testcase? >> >> One time result isn't stable enough, so I did 9 runs for each commit, >> here is the res

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-06 Thread Chris Zhong
On 12/07/2015 10:52 AM, Doug Anderson wrote: Hi, On Sun, Dec 6, 2015 at 6:50 PM, Doug Anderson wrote: Chris, On Sun, Dec 6, 2015 at 5:33 PM, Chris Zhong wrote: Hi Doug RK808 has a shadowed register for saving a "frozen" RTC time. When we setting "GET_TIME" to 1, the time will save in thi

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

2015-12-06 Thread Rob Herring
On Fri, Dec 04, 2015 at 09:19:19PM -0800, Brian Norris wrote: > The platform description (such as the type of partition formats used on > a given flash) should be done independently of the flash driver in use. > However, we can't reasonably have *all* partition parsers run on all > flash (until the

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

2015-12-06 Thread David Gibson
On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: > On 5 December 2015 at 12:39, Jonas Gorski wrote: > > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris > > wrote: > > >> + > >> +Examples: > >> + > >> +flash@0 { > >> + partitions { > >> + compatible = "google,fmap

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-06 Thread Doug Anderson
Hi, On Sun, Dec 6, 2015 at 6:50 PM, Doug Anderson wrote: > Chris, > > On Sun, Dec 6, 2015 at 5:33 PM, Chris Zhong wrote: >> Hi Doug >> >> RK808 has a shadowed register for saving a "frozen" RTC time. >> When we setting "GET_TIME" to 1, the time will save in this shadowed >> register. So if we do

  1   2   3   >