[RESEND PATCH v4 0/2] add thermal nodes for UniPhier SoCs

2017-09-03 Thread Kunihiko Hayashi
This series adds thermal nodes for UniPhier PXs2 and LD20 SoCs. Resending the patches to apply the missing comments, please ignore previous v4. Changes since v3: - use the dt-bindings header to replace the limit values with THERMAL_NO_LIMIT - add the calibration value to uniphier-pxs2.dtsi - move

[RESEND PATCH v4 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-09-03 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor node is included in sysctrl. Since the efuse might not have a calibrated value of thermal monitor, this patch gives the default value for PXs2. Furthermore, add cpuN labels for reference in cooling-device prop

[RESEND PATCH v4 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-09-03 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor node is included in sysctrl. Since the efuse might not have a calibrated value of thermal monitor, this patch gives the default value for LD20. Signed-off-by: Kunihiko Hayashi --- arch/arm64/boot/dts/socione

Re: [PATCH 0/3] Add 'external mode' for GPIO-based FSI master

2017-09-03 Thread Joel Stanley
Hi Jeremy, On Mon, Jun 19, 2017 at 6:56 PM, Jeremy Kerr wrote: > This series (on top of current char-misc-next) implements "external > mode" (ie, support for FSI debug devices) for the GPIO-based FSI master > driver. > > We implement this control in the GPIO master driver, as it has the > mapping

[GIT PULL] RCU changes for v4.14

2017-09-03 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus # HEAD: 94edf6f3c20c9c8ee301bde04150a91bab4bf32c Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into co

[PATCH 2/2] ARM: cpuidle: replace cpuidle_get_driver with cpuidle_get_cpu_driver

2017-09-03 Thread Leo Yan
commit d50a7d8acd78 ("ARM: cpuidle: Support asymmetric idle definition") supports multiple CPU idle driver so every CPU has its own driver. When the initialization fails, the failure handling releases the resources for every previous CPU; so it needs to retrieve every CPU device and driver handler

[PATCH 1/2] ARM: cpuidle: refine failure handling in init flow

2017-09-03 Thread Leo Yan
After applied Stefan Wahren patch ("ARM: cpuidle: Avoid memleak if init fail") there have no memleak issue, but the code is not consistent to handle initialization failure between driver registration and device registration. And when device registration fails, it misses to unregister the driver. S

Re: [PATCH 1/3] dmaengine: sun6i: Correct DMA support on H3

2017-09-03 Thread Maxime Ripard
On Fri, Sep 01, 2017 at 02:42:47PM +, Brüns, Stefan wrote: > On Freitag, 1. September 2017 15:35:49 CEST Maxime Ripard wrote: > > On Fri, Sep 01, 2017 at 05:04:54AM +0200, Stefan Bruens wrote: > > > On Donnerstag, 31. August 2017 16:51:35 CEST Maxime Ripard wrote: > > > > Hi, > > > > > > > > O

[GIT PULL] debugobjects changes for v4.14

2017-09-03 Thread Ingo Molnar
Linus, Please pull the latest core-debugobjects-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-for-linus # HEAD: caba4cbbd27d755572730801ac34fe063fc40a32 debugobjects: Make kmemleak ignore debug objects A single commit making debugob

[PATCH v5 1/3] dt-bindings: add eeprom "size" property

2017-09-03 Thread Divagar Mohandass
This adds eeprom "size" as optional property for i2c eeproms. The "size" property allows explicitly specifying the size of the EEPROM chip in bytes. Signed-off-by: Divagar Mohandass Acked-by: Rob Herring --- Documentation/devicetree/bindings/eeprom/eeprom.txt | 2 ++ 1 file changed, 2 insertion

[PATCH v5 2/3] eeprom: at24: add support to fetch eeprom device property "size"

2017-09-03 Thread Divagar Mohandass
Obtain the size of the EEPROM chip from DT if the "size" property is specified for the device. Signed-off-by: Divagar Mohandass --- drivers/misc/eeprom/at24.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 764ff5df..2199c42 1

[PATCH v5 3/3] eeprom: at24: enable runtime pm support

2017-09-03 Thread Divagar Mohandass
Currently the device is kept in D0, there is an opportunity to save power by enabling runtime pm. Device can be daisy chained from PMIC and we can't rely on I2C core for auto resume/suspend. Driver will decide when to resume/suspend. Signed-off-by: Divagar Mohandass --- drivers/misc/eeprom/at24

Re: [PATCH v4 1/3] dt-bindings: Document the hi3660 thermal sensor bindings

2017-09-03 Thread Wangtao (Kevin, Kirin)
在 2017/9/1 2:24, Daniel Lezcano 写道: On 29/08/2017 10:17, Tao Wang wrote: From: Tao Wang This adds documentation of device tree bindings for the thermal sensor controller of hi3660 SoC. Signed-off-by: Tao Wang --- .../devicetree/bindings/thermal/hisi-tsensor.txt | 37 +++

[PATCH v5 0/3] enable eeprom "size" property and runtime pm

2017-09-03 Thread Divagar Mohandass
This series adds support for eeprom "size" property which will be read by the driver for eeprom size. The existing ACPI has a different default size which can be overridden with a DSD property value provided by the platform FW. This series also adds support for runtime PM. The eeprom driver curren

Re: linux-next: manual merge of the pm tree with the dmi tree

2017-09-03 Thread Stephen Rothwell
Hi Jean, On Fri, 01 Sep 2017 15:20:21 +0200 Jean Delvare wrote: > > On jeu., 2017-08-31 at 11:07 +1000, Stephen Rothwell wrote: > > > > Today's linux-next merge of the pm tree got a conflict in: > > > > drivers/acpi/blacklist.c > > > > between commit: > > > > f996c4155d0d ("dmi: Mark all

Apply for your loan today at 2%

2017-09-03 Thread Dario
Apply for your loan today at a very low interest rate of 2%..We offer loan to every Individuals and Company's... If you are in need of any kinds of loan, do contact us now for more info

Re: [PATCH 0/3] ARM: dts: sunxi: Use defines for ccu clock indices

2017-09-03 Thread Maxime Ripard
On Sun, Sep 03, 2017 at 04:50:15PM +0300, Priit Laes wrote: > This is a follow-up commit for sun{4,7}i ccu conversion. Now that > all the relevant pieces have been merged we can use dt-binding headers > again. > > Also included is additional patch to add i2s0 block to sun4i dtsi header. The last

Re: [PATCH v4 3/3] platform/x86: intel_cht_int33fe: Update fusb302 type string, add properties

2017-09-03 Thread Andy Shevchenko
On Sun, Sep 3, 2017 at 3:41 PM, Hans de Goede wrote: > The fusb302 driver as merged in staging uses "typec_fusb302" as i2c-id > rather then just "fusb302" and needs us to set a number of device- > properties, adjust the intel_cht_int33fe driver accordingly. > > One of the properties set is max-snk

Re: [PATCH 3/3] drm/exynos/gsc: Add rotation hardware limits of gscaler

2017-09-03 Thread Hoegeun Kwon
On 09/01/2017 04:31 PM, Marek Szyprowski wrote: Hi Hoegeun, On 2017-09-01 03:47, Hoegeun Kwon wrote: The gscaler has hardware rotation limits that need to be imported from dts. Parse them and add them to the property list. The rotation hardware limits are related to the cropped source size. Wh

[PATCH 2/2] ip6_tunnel: fix setting hop_limit value for ipv6 tunnel

2017-09-03 Thread Haishuang Yan
Similar to vxlan/geneve tunnel, if hop_limit is zero, it should fall back to ip6_dst_hoplimt(). Signed-off-by: Haishuang Yan --- net/ipv6/ip6_tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 3a0ba2a..10a693a 100644 --- a/net/ipv6/ip

[PATCH v3] ip6_tunnel: Correct tos value in collect_md mode

2017-09-03 Thread Haishuang Yan
Same as ip_gre, geneve and vxlan, use key->tos as traffic class value. CC: Peter Dawson Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets”) Signed-off-by: Haishuang Yan --- Changes since v3: * Add fixes information * Remove obsoleted RT_TOS mask --- net

Re: linux-next: manual merge of the kvm tree with the tip tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Mon, 28 Aug 2017 14:52:09 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the kvm tree got a conflict in: > > arch/x86/kvm/mmu.c > > between commit: > > ea2800ddb20d ("kvm/x86: Avoid clearing the C-bit in rsvd_bits()") > > from the tip tree and commit: > > d63

Re: Converting struct timer_list callback argument to struct timer_list *

2017-09-03 Thread Christoph Hellwig
On Sun, Sep 03, 2017 at 01:18:44PM -0700, Kees Cook wrote: > It feels weird to have different semantics from container_of() too, so > I'll probably just switch everything around to be like all the others, > in that they are just direct wrappers around container_of()... I'll > settle on something an

Re: linux-next: manual merge of the tip tree with the spi tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Mon, 28 Aug 2017 14:05:03 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > tools/Makefile > > between commit: > > e9d4650dcc59 ("spi: tools: add install section") > > from the spi tree and commit: > > ecda85e70277 ("x86/lgues

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

2017-09-03 Thread Stephen Rothwell
Hi all, On Fri, 25 Aug 2017 14:34:16 +1000 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the kvm tree got a conflict in: > > arch/x86/include/asm/cpufeatures.h > > between commit: > > 5442c2699552 ("x86/cpufeature, kvm/svm: Rename (shorten) the new > "virtualized V

[PATCH v4] sched: check user input value of sysctl_sched_time_avg

2017-09-03 Thread Ethan Zhao
System will hang if user set sysctl_sched_time_avg to 0 by [root@XXX ~]# sysctl kernel.sched_time_avg_ms=0 Stack traceback for pid 0 0x883f6406c600 0 0 1 3 R 0x883f6406cf50 *swapper/3 883f7ccc3ae8 0018 810c4dd0 00017800 883f7ccc3d78 000

Re: linux-next: manual merge of the btrfs-kdave tree with Linus' tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Fri, 25 Aug 2017 09:58:25 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the btrfs-kdave tree got a conflict in: > > fs/btrfs/inode.c > > between commit: > > 58efbc9f5463 ("Btrfs: fix blk_status_t/errno confusion") > > from Linus' tree and commit: > > e6961ca

[PATCH v3] sched: check user input value of sysctl_sched_time_avg

2017-09-03 Thread Ethan Zhao
System will hang if user set sysctl_sched_time_avg to 0 by [root@XXX ~]# sysctl kernel.sched_time_avg_ms=0 Stack traceback for pid 0 0x883f6406c600 0 0 1 3 R 0x883f6406cf50 *swapper/3 883f7ccc3ae8 0018 810c4dd0 00017800 883f7ccc3d78 000

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

2017-09-03 Thread Stephen Rothwell
Hi all, On Thu, 24 Aug 2017 09:22:46 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the arm64 tree got a conflict in: > > arch/arm64/kernel/fpsimd.c > > between commit: > > 096622104e14 ("arm64: fpsimd: Prevent registers leaking across exec") > > from Linus' tree and commi

Re: linux-next: build warning after merge of the dma-mapping tree

2017-09-03 Thread Christoph Hellwig
Thanks Stephen, I'll fix it.

linux-next: manual merge of the usb tree with the mips tree

2017-09-03 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in: drivers/phy/Makefile between commit: 0ab3aa747f26 ("phy: Add an USB PHY driver for the Lantiq SoCs using the RCU module") from the mips tree and commit: cd4ec4b03dc1 ("phy: phy-mt65xx-usb3: add mediatek directory and

Re: Applied "regulator: pbias: Select voltage table based on max-voltage" to the regulator tree

2017-09-03 Thread Kishon Vijay Abraham I
Hi Mark, On Friday 01 September 2017 09:53 PM, Mark Brown wrote: > On Fri, Sep 01, 2017 at 03:18:03PM +0200, Ulf Hansson wrote: >> On 31 August 2017 at 15:50, Mark Brown wrote: >>> On Thu, Aug 31, 2017 at 05:37:34PM +0530, Kishon Vijay Abraham I wrote: > This patch should be merged along wi

Re: linux-next: manual merge of the tip tree with the iommu tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Tue, 22 Aug 2017 13:50:57 +1000 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the tip tree got conflicts in: > > drivers/iommu/amd_iommu.c > drivers/iommu/amd_iommu_init.c > drivers/iommu/amd_iommu_proto.h > drivers/iommu/amd_iommu_types.h > > between

Re: printk: what is going on with additional newlines?

2017-09-03 Thread Joe Perches
On Mon, 2017-09-04 at 14:22 +0900, Sergey Senozhatsky wrote: > there is only way to serialize printks against other printks -- take > the logbuf lock. If that's really necessary, instead make that logbuf_lock a public interface and keep the rest of the code simple. I think it's more important to

Re: linux-next: manual merge of the tip tree with the arm64 tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Tue, 22 Aug 2017 13:38:02 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > drivers/firmware/efi/libstub/arm64-stub.c > > between commit: > > 170976bcab07 ("efi/arm64: add EFI_KIMG_ALIGN") > > from the arm64 tree and commit: > >

Re: printk: what is going on with additional newlines?

2017-09-03 Thread Sergey Senozhatsky
On (09/04/17 13:30), Sergey Senozhatsky wrote: > On (09/01/17 10:32), Joe Perches wrote: > [..] > > > +static inlin __printf(2, 3) __cold > > > > uncompiled > > > > > +static int __prbuf_write(struct seq_buf *s, const char *fmt, ...) > > > > inline > > > > thanks. > > there is always a missin

Re: linux-next: manual merge of the net-next tree with the rockchip tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Tue, 22 Aug 2017 11:24:14 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the net-next tree got a conflict in: > > arch/arm64/boot/dts/rockchip/rk3328-evb.dts > > between commits: > > ab78718bda79 ("arm64: dts: rockchip: Enable tsadc module on RK3328 > eavluation

Re: printk: what is going on with additional newlines?

2017-09-03 Thread Sergey Senozhatsky
Hello, I'll answer to both Linus and Joe, just to keep it all one place. On (09/01/17 13:21), Linus Torvalds wrote: > On Fri, Sep 1, 2017 at 10:32 AM, Joe Perches wrote: > > > > Yes, it's a poor name. At least keep using a pr_ prefix. > > I'd suggest perhaps just "pr_line()". ok, pr_line soun

Re: linux-next: manual merge of the v4l-dvb tree with the arm-soc tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Tue, 22 Aug 2017 10:55:34 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the v4l-dvb tree got a conflict in: > > arch/arm/configs/imx_v6_v7_defconfig > > between commit: > > b834bc1c52b8 ("ARM: imx_v6_v7_defconfig: Enable staging video4linux > drivers") > > fro

[PATCH] binder: fix "cast to pointer from integer of different size" warning

2017-09-03 Thread Jisheng Zhang
The binder driver now could cause warnings as below on 32bit platforms if ANDROID_BINDER_IPC_32BIT is unselected: drivers/android/binder.c:1550:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] This patch fix all of them. Signed-off-by: Jisheng Zhang --- drive

Re: [PATCH v4 0/3] i2c: Hookup typec power-negotation to the PMIC and charger

2017-09-03 Thread Wolfram Sang
Hi, > The first 2 patches are i2c patches, if you could review and > merge these (preferably for 4.14, but 4.15 is fine too) that would > be great. Definately for v4.15 and I very likely won't be able to review them before rc1 or rc2 time, if even that. Sorry, but I2C core changes need extra care

Re: linux-next: manual merge of the spi tree with the pm tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Thu, 17 Aug 2017 13:23:08 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the spi tree got a conflict in: > > drivers/spi/spi.c > > between commit: > > 8a2e487e6fc1 ("spi: Use Apple device properties in absence of ACPI > resources") > > from the pm tree and comm

Re: linux-next: manual merge of the pci tree with the net tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Wed, 16 Aug 2017 09:51:28 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the pci tree got a conflict in: > > drivers/pci/probe.c > > between commit: > > a99b646afa8a ("PCI: Disable PCIe Relaxed Ordering if unsupported") > > from the net tree and commit: > > 6

linux-next: build failure after merge of the rcu tree

2017-09-03 Thread Stephen Rothwell
Hi Paul, After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "rcu_cpu_stall_suppress" [kernel/rcu/rcutorture.ko] undefined! ERROR: "rcu_cpu_stall_suppress" [kernel/rcu/rcuperf.ko] undefined! Caused by commit 909bd6e3d9e7 ("rcu: Suppress RCU CPU

Re: [PATCH v3 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-09-03 Thread Kunihiko Hayashi
Yamada-san, On Thu, 10 Aug 2017 19:44:38 +0900 wrote: > Hayashi-san > > > 2017-07-05 20:53 GMT+09:00 Kunihiko Hayashi : > > Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. > > The thermal monitor is included in sysctrl. > > Furthermore, add cpuN labels for reference in coo

Re: [PATCH v3 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-09-03 Thread Kunihiko Hayashi
Yamada-san, On Thu, 10 Aug 2017 19:48:22 +0900 wrote: > Hi Hayashi-san, > > > 2017-07-05 20:53 GMT+09:00 Kunihiko Hayashi : > > Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. > > The thermal monitor is included in sysctrl. > > > > Furthermore, since the reference board do

Re: linux-next: manual merge of the tip tree with the pm tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Fri, 11 Aug 2017 14:06:46 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > kernel/sched/fair.c > > between commit: > > 674e75411fc2 ("sched: cpufreq: Allow remote cpufreq callbacks") > > from the pm tree and commit: > > a030d

Re: linux-next: manual merge of the pm tree with the dmi tree

2017-09-03 Thread Stephen Rothwell
Hi all, On Mon, 7 Aug 2017 11:40:33 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the pm tree got a conflict in: > > drivers/acpi/sbs.c > > between commit: > > f996c4155d0d ("dmi: Mark all struct dmi_system_id instances const") > > from the dmi tree and commit: > > 630

Re: printk: what is going on with additional newlines?

2017-09-03 Thread Sergey Senozhatsky
On (09/01/17 10:32), Joe Perches wrote: [..] > > +static inlin __printf(2, 3) __cold > > uncompiled > > > +static int __prbuf_write(struct seq_buf *s, const char *fmt, ...) > > inline > thanks. there is always a missing if (console_trylock()) console_unlock(); in flu

linux-next: manual merge of the tip tree with the mips tree

2017-09-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/irqchip/irq-mips-gic.c between commit: ac04be51a650 ("irqchip: mips-gic: Remove gic_map_to_vpe()") b6e583e41993 ("irqchip: mips-gic: Make pcpu_masks a per-cpu variable") 6ab4fb2810db ("irqchip: mips-gic: Use pcp

Re: [PATCH v4 0/2] add thermal nodes for UniPhier SoCs

2017-09-03 Thread hayashi.kunihiko
On Mon, 4 Sep 2017 11:09:51 +0900 wrote: > Hi. > > > > 2017-09-04 10:16 GMT+09:00 Kunihiko Hayashi : > > This series adds thermal nodes for UniPhier PXs2 and LD20 SoCs. > > > > Changes since v3: > > - rebase on top of linux-next > > > This repost is a spam. > > I left some comments in v3,

Re: [PATCH][next] Thermal: int3406_thermal: fix unused variable warning

2017-09-03 Thread Zhang Rui
On Fri, 2017-09-01 at 10:58 +0100, Colin King wrote: > From: Colin Ian King > > The variable index was introduced by an earlier commit and is not > used, and hence should be removed. > > Cleans up warning: "unused variable 'index'" > > Fixes: c658894562ba ("Thermal: int3406_thermal: fix thermal

[PATCH net-next 1/2] tun: reserve extra headroom only when XDP is set

2017-09-03 Thread Jason Wang
We reserve headroom unconditionally which could cause unnecessary stress on socket memory accounting because of increased trusesize. Fix this by only reserve extra headroom when XDP is set. Cc: Jakub Kicinski Signed-off-by: Jason Wang --- drivers/net/tun.c | 26 ++ 1 fil

[PATCH net-next 2/2] tun: rename generic_xdp to skb_xdp

2017-09-03 Thread Jason Wang
Rename "generic_xdp" to "skb_xdp" to avoid confusing it with the generic XDP which will be done at netif_receive_skb(). Cc: Daniel Borkmann Signed-off-by: Jason Wang --- drivers/net/tun.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/net/tun.c b

Re: [PATCH net] net: dsa: loop: Do not unregister invalid fixed PHY

2017-09-03 Thread David Miller
From: Florian Fainelli Date: Sat, 2 Sep 2017 08:56:45 -0700 > During error injection it was possible to crash in dsa_loop_exit() because of > an attempt to unregister an invalid PHY. We actually want to the driver > probing > in dsa_loop_init() even though fixed_phy_register() may return an err

Re: [RFC][PATCH] exec: Don't wait for ptraced threads to be reaped.

2017-09-03 Thread Robert O'Callahan
Sorry about replying to this old thread, but... On Mon, Apr 3, 2017 at 9:07 AM, Eric W. Biederman wrote: > I don't know who actually useses PTRACE_O_TRACEEXIT so I don't actually > know what the implications of changing it are. Let's see... > > gdb - no > upstart - no > lldb - yes > strace - no

Re: [PATCH net-next v3 0/3] net: mvpp2: improve the mac address retrieval logic

2017-09-03 Thread David Miller
From: Antoine Tenart Date: Sat, 2 Sep 2017 11:06:46 +0200 > This series aims at fixing the logic behind the MAC address retrieval in the > PPv2 driver. A possible issue is also fixed in patch 3/3 to introduce > fallbacks > when the address given in the device tree isn't valid. ... > Since v2:

[PATCH v2] Revert "f2fs: add a new function get_ssr_cost"

2017-09-03 Thread Yunlong Song
This reverts commit b7b7c4cf1c9ef0272a65f1480457cbfdadcda19d. se->ckpt_valid_blocks will never be smaller than se->valid_blocks, so just remove get_ssr_cost. Signed-off-by: Yunlong Song Signed-off-by: Chao Yu --- fs/f2fs/gc.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) d

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

2017-09-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/host/rdma.c between commit: b925a2dc165e ("nvme-rdma: default MR page size to 4k") from Linus' tree and commits: 90af35123d3b ("nvme-rdma: move nvme_rdma_configure_admin_queue code location") a7b7c7a105

Re: [HMM-v25 19/19] mm/hmm: add new helper to hotplug CDM memory region v3

2017-09-03 Thread Bob Liu
On 2017/8/17 8:05, Jérôme Glisse wrote: > Unlike unaddressable memory, coherent device memory has a real > resource associated with it on the system (as CPU can address > it). Add a new helper to hotplug such memory within the HMM > framework. > Got an new question, coherent device( e.g CCIX) mem

Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory

2017-09-03 Thread Chao Fan
On Mon, Sep 04, 2017 at 10:26:19AM +0800, Baoquan He wrote: >On 09/04/17 at 12:55am, Rafael J. Wysocki wrote: >> On Sunday, September 3, 2017 4:31:23 PM CEST Chao Fan wrote: >> > KASLR should choose the memory region of immovable node to extract kernel. >> > So get ACPI SRAT table and store the mem

Re: [RFC PATCH v1 1/3] arm64/ras: support sea error recovery

2017-09-03 Thread Xie XiuQi
Hi Julien, On 2017/9/1 23:51, Julien Thierry wrote: > Hi Xie, > > On 01/09/17 11:31, Xie XiuQi wrote: >> With ARM v8.2 RAS Extension, SEA are usually triggered when memory errors >> are consumed. In some cases, if the error address is in a clean page or a >> read-only page, there is a chance to r

Re: [PATCH net] vhost_net: correctly check tx avail during rx busy polling

2017-09-03 Thread Jason Wang
On 2017年09月01日 23:51, Michael S. Tsirkin wrote: On Fri, Sep 01, 2017 at 05:02:50PM +0800, Jason Wang wrote: We check tx avail through vhost_enable_notify() in the past which is wrong since it only checks whether or not guest has filled more available buffer since last avail idx synchronization

Re: [PATCH] f2fs: clear get_ssr_cost

2017-09-03 Thread Chao Yu
On 2017/9/4 9:54, Yunlong Song wrote: > The update_sit_entry provides this: > ... > 1658 if (!f2fs_test_bit(offset, se->ckpt_valid_map)) > 1659 se->ckpt_valid_blocks += del; > ... > As a result, the ckpt_valid_blocks is always larger than valid_blocks. > If not correct, can you provide

linux-next: build warning after merge of the sound-asoc tree

2017-09-03 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/codecs/cs43130.c: In function 'cs43130_imp_meas': sound/soc/codecs/cs43130.c:2089:18: warning: 'hpload_seq' may be used uninitialized in this function [-Wmaybe-uninitialized

Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory

2017-09-03 Thread Baoquan He
On 09/04/17 at 12:55am, Rafael J. Wysocki wrote: > On Sunday, September 3, 2017 4:31:23 PM CEST Chao Fan wrote: > > KASLR should choose the memory region of immovable node to extract kernel. > > So get ACPI SRAT table and store the memory region of movable node which > > kaslr shold avoid. > > Ple

Re: [PATCH] iio staging: tsl2x7x: clean up limit checks

2017-09-03 Thread Brian Masney
On Sun, Sep 03, 2017 at 12:35:05PM +0100, Jonathan Cameron wrote: > On Mon, 21 Aug 2017 13:11:03 +0300 > Dan Carpenter wrote: > > > The second part of this patch is probably the most interesting. We > > use "TSL2X7X_MAX_LUX_TABLE_SIZE * 3" as the limit instead of just > > "TSL2X7X_MAX_LUX_TABLE_

Re: [PATCH v4 0/2] add thermal nodes for UniPhier SoCs

2017-09-03 Thread Masahiro Yamada
Hi. 2017-09-04 10:16 GMT+09:00 Kunihiko Hayashi : > This series adds thermal nodes for UniPhier PXs2 and LD20 SoCs. > > Changes since v3: > - rebase on top of linux-next This repost is a spam. I left some comments in v3, but no response from you nothing was reflected in v4. > Changes sinc

Re: [PATCH 4/4] lockdep: Fix workqueue crossrelease annotation

2017-09-03 Thread Byungchul Park
On Mon, Sep 04, 2017 at 10:30:32AM +0900, Byungchul Park wrote: > On Fri, Sep 01, 2017 at 06:38:52PM +0200, Peter Zijlstra wrote: > > On Fri, Sep 01, 2017 at 10:51:48PM +0900, Byungchul Park wrote: > > > On Fri, Sep 1, 2017 at 9:38 PM, Peter Zijlstra > > > wrote: > > > > On Fri, Sep 01, 2017 at 0

Re: [PATCH] f2fs: clear get_ssr_cost

2017-09-03 Thread Yunlong Song
The update_sit_entry provides this: ... 1658 if (!f2fs_test_bit(offset, se->ckpt_valid_map)) 1659 se->ckpt_valid_blocks += del; ... As a result, the ckpt_valid_blocks is always larger than valid_blocks. If not correct, can you provide the case valid_blocks larger than ckpt_valid_bloc

Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory

2017-09-03 Thread Chao Fan
On Mon, Sep 04, 2017 at 12:55:00AM +0200, Rafael J. Wysocki wrote: >On Sunday, September 3, 2017 4:31:23 PM CEST Chao Fan wrote: >> KASLR should choose the memory region of immovable node to extract kernel. >> So get ACPI SRAT table and store the memory region of movable node which >> kaslr shold a

Re: [PATCH 1/1] docs-rst: media: Don't use \small for V4L2_PIX_FMT_SRGGB10 documentation

2017-09-03 Thread Mauro Carvalho Chehab
Em Sun, 3 Sep 2017 23:12:33 +0300 Sakari Ailus escreveu: > There appears to be an issue in using \small in certain cases on Sphinx > 1.4 and 1.5. Other format documents don't use \small either, remove it > from here as well. > > Signed-off-by: Sakari Ailus > --- > Hi Mauro, > > What would you

Re: Re: [PATCH] mm/vmstats: add counters for the page frag cache

2017-09-03 Thread Kyeongdon Kim
Thanks for your reply, We already used other i/f like page_owner and kmemleak to resolve memory leakage issue. But, page_owner can only for guess but cannot find intuitively memory usage regarding page_frag_cache. And kmemleak cannot use (because of calling directly __alloc_pages_nodemask()).

Re: Re: [PATCH] mm/vmstats: add counters for the page frag cache

2017-09-03 Thread Kyeongdon Kim
Thanks for your reply, But I couldn't find "NR_FRAGMENT_PAGES" in linux-next.git .. is that vmstat counter? or others? As you know, page_frag_alloc() directly calls __alloc_pages_nodemask() function, so that makes too difficult to see memory usage in real time even though we have "/meminfo or

Re: [f2fs-dev] [PATCH 2/2] f2fs: don't check inode's checksum if it was dirtied or writebacked

2017-09-03 Thread Chao Yu
On 2017/9/2 1:25, Jaegeuk Kim wrote: > If another thread already made the page dirtied or writebacked, we must avoid > to verify checksum. If we got an error, we need to remove its uptodate as > well. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu > --- > fs/f2fs/inode.c | 3 ++- > fs/f

Re: [PATCH 4/4] lockdep: Fix workqueue crossrelease annotation

2017-09-03 Thread Byungchul Park
On Fri, Sep 01, 2017 at 06:38:52PM +0200, Peter Zijlstra wrote: > On Fri, Sep 01, 2017 at 10:51:48PM +0900, Byungchul Park wrote: > > On Fri, Sep 1, 2017 at 9:38 PM, Peter Zijlstra wrote: > > > On Fri, Sep 01, 2017 at 07:16:29PM +0900, Byungchul Park wrote: > > > > > >> It would be gone _only_ at

Re: [f2fs-dev] [PATCH 1/2] f2fs: don't need to update inode checksum for recovery

2017-09-03 Thread Chao Yu
On 2017/9/2 1:25, Jaegeuk Kim wrote: > This patch fixes "f2fs: support inode checksum". > The recovered inode page will be rewritten with valid checksum. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu > --- > fs/f2fs/node.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/f2

Re: [PATCH] f2fs: clear get_ssr_cost

2017-09-03 Thread Chao Yu
On 2017/9/1 20:14, Yunlong Song wrote: > se->ckpt_valid_blocks is always larger than se->valid_blocks, so > get_ssr_cost can be cleared. I think this is not correct. Thanks, > > Signed-off-by: Yunlong Song > --- > fs/f2fs/gc.c | 11 +-- > 1 file changed, 1 insertion(+), 10 deletions(-

Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-03 Thread Mauro Carvalho Chehab
Em Sun, 3 Sep 2017 22:05:23 +0200 Honza Petrouš escreveu: > > There is still a gap at the CA API, as there are three ioctls that are used > > only by a few drivers and whose structs are not properly documented: > > CA_GET_MSG, CA_SEND_MSG and CA_SET_DESCR. > > > > The first two ones seem to be re

[PATCH v4 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-09-03 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor is included in sysctrl. Furthermore, add cpuN labels for reference in cooling-device property. Signed-off-by: Kunihiko Hayashi --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 43 --

[PATCH v4 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-09-03 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor is included in sysctrl. Furthermore, since the reference board doesn't have a calibrated value of thermal monitor, this patch gives the default value for LD20 reference board. Signed-off-by: Kunihiko Hayashi

[PATCH v4 0/2] add thermal nodes for UniPhier SoCs

2017-09-03 Thread Kunihiko Hayashi
This series adds thermal nodes for UniPhier PXs2 and LD20 SoCs. Changes since v3: - rebase on top of linux-next Changes since v2: - add the calibration value to device tree for LD20 reference board Changes since v1: - separate from driver's patchset[1] - add cooling-maps nodes on the device tree

Re: [PATCH 08/13] thermal/drivers/hisi: Fix configuration register setting

2017-09-03 Thread Leo Yan
On Sat, Sep 02, 2017 at 10:34:34AM +0200, Daniel Lezcano wrote: > On 02/09/2017 04:54, Leo Yan wrote: > > On Wed, Aug 30, 2017 at 10:47:32AM +0200, Daniel Lezcano wrote: > >> The TEMP0_CFG configuration register contains different field to set up the > >> temperature controller. However in the code

Re: [PATCH] mm: kvfree the swap cluster info if the swap file is unsatisfactory

2017-09-03 Thread Huang, Ying
David Rientjes writes: > On Thu, 31 Aug 2017, Darrick J. Wong wrote: > >> If initializing a small swap file fails because the swap file has a >> problem (holes, etc.) then we need to free the cluster info as part of >> cleanup. Unfortunately a previous patch changed the code to use >> kvzalloc b

Re: [PATCH 00/15] Improve DVB documentation and reduce its gap

2017-09-03 Thread Soeren Moch
Hi Mauro, On 01.09.2017 11:32, Mauro Carvalho Chehab wrote: > Em Fri, 1 Sep 2017 10:40:28 +0200 > Honza Petrouš escreveu: > >> 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab : >>> The DVB documentation was negligected for a long time, with >>> resulted on several gaps between the API description

Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-03 Thread Mauro Carvalho Chehab
Em Sun, 3 Sep 2017 22:05:23 +0200 Honza Petrouš escreveu: > 1) #define CA_SET_DESCR _IOW('o', 134, ca_descr_t) > > > CA_SET_DESCR is used for feeding descrambler device > with correct keys (called here "control words") what > allows to get servic

Re: [PATCH 09/13] thermal/drivers/hisi: Remove costly sensor inspection

2017-09-03 Thread Leo Yan
On Sat, Sep 02, 2017 at 03:10:29PM +0200, Daniel Lezcano wrote: [...] > On 02/09/2017 05:29, Leo Yan wrote: > > On Wed, Aug 30, 2017 at 10:47:33AM +0200, Daniel Lezcano wrote: > >> The sensor is all setup, bind, resetted, acked, etc... every single second. > >> > >> That was the way to workaround

[GIT PULL] hwmon updates for v4.14

2017-09-03 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux v4.14 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.14 Thanks, Guenter -- The following changes since commit aae4e7a8bc44722fe70d58920a36916b1043195e: Linux 4.13-rc4 (2017-08-0

Re: [PATCH 08/10] dmaengine: sun6i: Add support for Allwinner A64 and compatibles

2017-09-03 Thread Stefan Bruens
On Montag, 4. September 2017 01:37:58 CEST André Przywara wrote: > > @@ -1090,6 +1101,7 @@ MODULE_DEVICE_TABLE(of, sun6i_dma_match); > > > > static int sun6i_dma_probe(struct platform_device *pdev) > > { > > > > const struct of_device_id *device; > > > > + struct device_node *np = pdev

Re: [PATCH 07/10] dmaengine: sun6i: Retrieve channel count/max request from devicetree

2017-09-03 Thread Stefan Bruens
On Montag, 4. September 2017 01:44:54 CEST André Przywara wrote: > Hi, > > On 03/09/17 23:40, Stefan Brüns wrote: > > To avoid introduction of a new compatible for each small SoC/DMA > > controller > > variation, move the definition of the channel count to the devicetree. > > > > The number of vc

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

2017-09-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the s390 tree got a conflict in: arch/s390/include/asm/mmu_context.h between commit: 0b89ede62963 ("s390/mm: fork vs. 5 level page tabel") from Linus' tree and commit: f1c1174fa099 ("s390/mm: use new mm defines instead of magic values") from the s390

Re: [PATCH 07/10] dmaengine: sun6i: Retrieve channel count/max request from devicetree

2017-09-03 Thread André Przywara
Hi, On 03/09/17 23:40, Stefan Brüns wrote: > To avoid introduction of a new compatible for each small SoC/DMA controller > variation, move the definition of the channel count to the devicetree. > > The number of vchans is no longer explicit, but limited by the highest > port/DMA request number. T

Re: [PATCH 08/10] dmaengine: sun6i: Add support for Allwinner A64 and compatibles

2017-09-03 Thread André Przywara
Hi, On 03/09/17 23:40, Stefan Brüns wrote: > The A64 SoC has the same dma engine as the H3 (sun8i), with a > reduced amount of physical channels. To allow future reuse of the > compatible, leave the channel count etc. in the config data blank > and retrieve it from the devicetree. > > Signed-off-

Re: [PATCH 0/7] EDAC, mce_amd: Issue decoded MCE through the tracepoint

2017-09-03 Thread mark gross
On Wed, Aug 30, 2017 at 07:30:58PM -0400, Steven Rostedt wrote: > On Wed, 30 Aug 2017 14:47:19 -0700 > mark gross wrote: > > > > > struct dentry *ras_debugfs_dir; > > > > > > static atomic_t trace_count = ATOMIC_INIT(0); > > > @@ -12,7 +14,9 @@ EXPORT_SYMBOL_GPL(ras_userspace_consumers); > >

Re: [PATCH 01/10] dmaengine: sun6i: Correct setting of clock autogating register for A83T/H3

2017-09-03 Thread André Przywara
On 03/09/17 23:40, Stefan Brüns wrote: > The H83T uses a compatible string different from the A23, but requires A83T > the same clock autogating register setting. > > The H3 also requires setting the clock autogating register, but has > the register at a different offset. > > Some current

Re: [PATCH 3/3] dmaengine: sun6i: Add support for Allwinner A64

2017-09-03 Thread André Przywara
On 02/09/17 03:02, Stefan Bruens wrote: > On Samstag, 2. September 2017 00:32:50 CEST André Przywara wrote: >> Hi, >> >> On 01/09/17 02:19, Stefan Bruens wrote: >>> On Freitag, 1. September 2017 02:31:35 CEST Andre Przywara wrote: Hi, On 31/08/17 00:36, Stefan Brüns wrote: > The

Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory

2017-09-03 Thread Rafael J. Wysocki
On Sunday, September 3, 2017 4:31:23 PM CEST Chao Fan wrote: > KASLR should choose the memory region of immovable node to extract kernel. > So get ACPI SRAT table and store the memory region of movable node which > kaslr shold avoid. Please elaborate. This is far too little information on what pr

[PATCH 03/10] dmaengine: sun6i: Restructure code to allow extension for new SoCs

2017-09-03 Thread Stefan Brüns
The current code mixes three distinct operations when transforming the slave config to register settings: 1. special handling of DMA_SLAVE_BUSWIDTH_UNDEFINED, maxburst == 0 2. range checking 3. conversion of raw to register values As the range checks depend on the specific SoC, move these o

[PATCH 01/10] dmaengine: sun6i: Correct setting of clock autogating register for A83T/H3

2017-09-03 Thread Stefan Brüns
The H83T uses a compatible string different from the A23, but requires the same clock autogating register setting. The H3 also requires setting the clock autogating register, but has the register at a different offset. Some currently available SoCs not yet supported by the sun6i-dma driver will r

[PATCH 00/10] dmaengine: sun6i: Fixes for H3/A83T, enable A64

2017-09-03 Thread Stefan Brüns
Commit 3a03ea763a67 ("dmaengine: sun6i: Add support for Allwinner A83T (sun8i) variant") and commit f008db8c00c1 ("dmaengine: sun6i: Add support for Allwinner H3 (sun8i) variant") added support for the A83T resp. H3, but missed some differences between the original A31 and A83T/H3. The first patch

  1   2   3   >