Re: [Jfs-discussion] [PATCH] jfs: Add missing NULL pointer check in __get_metapage

2017-11-01 Thread Juerg Haefliger
On 10/30/2017 11:13 PM, Dave Kleikamp wrote: > On 10/25/2017 02:50 AM, Juerg Haefliger wrote: >> Is this a patch you might consider? > > Sorry it's taken me so long to respond. > > I don't think this is the right fix. A failed allocation will still > result in a null pointer dereference by the

Re: [PATCH] net: hns3: remove a couple of redundant assignments

2017-11-01 Thread David Miller
From: Colin King Date: Wed, 1 Nov 2017 10:17:15 + > From: Colin Ian King > > The assignment to kinfo is redundant as this is a duplicate of > the initialiation of kinfo a few lines earlier, so it can be > removed. The assignment to v_tc_info is never read, so this > variable is redundant

Re: [PATCH v2 1/2] futex: futex_wake_op, do not fail on invalid op

2017-11-01 Thread Jiri Slaby
Hi, is this OK/going to be applied to 4.14 yet or postponed to 4.15-rc? On 10/23/2017, 01:41 PM, Jiri Slaby wrote: > In 30d6e0a4190d ("futex: Remove duplicated code and fix undefined > behaviour"), I let FUTEX_WAKE_OP to fail on invalid op. Namely when > op should be considered as shift and the s

Re: [PATCH] liquidio: remove redundant setting of inst_processed to zero

2017-11-01 Thread David Miller
From: Colin King Date: Wed, 1 Nov 2017 09:09:13 + > From: Colin Ian King > > The zero value assigned to inst_processed at the end of each > iteration of the do-while loop is overwritten on the next iteration > and hence it is a redundant assignment and can be removed. Cleans > up clang war

Re: [PATCH] net: dl2k: remove redundant re-assignment to np

2017-11-01 Thread David Miller
From: Colin King Date: Wed, 1 Nov 2017 08:57:37 + > From: Colin Ian King > > The pointer np is initialized and then re-assigned the same value > a few lines later. Remove the redundant duplicated assignment. Cleans > up clang warning: > > drivers/net/ethernet/dlink/dl2k.c:314:25: warning:

Re: [PATCH] wan: wanxl: remove redundant assignment to stat

2017-11-01 Thread David Miller
From: Colin King Date: Wed, 1 Nov 2017 08:49:45 + > From: Colin Ian King > > stat set to zero and the value is never read, instead stat is > set again in the do-loop. Hence the setting to zero is redundant > and can be removed. Cleans up clang warning: > > drivers/net/wan/wanxl.c:737:2: w

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

2017-11-01 Thread Stephen Rothwell
Hi all, After merging the powerpc tree, today's linux-next build (powerpc64 allnoconfig) failed like this: arch/powerpc/kernel/irq.o: In function `.replay_system_reset': irq.c:(.text+0x10): undefined reference to `.ppc_save_regs' Caused by commit 78adf6c214f0 ("powerpc/64s: Implement system r

Re: [PATCH v2 0/2] KVM: MMU: fix kvm_is_mmio_pfn()

2017-11-01 Thread Haozhong Zhang
On 10/31/17 19:48 +0800, Haozhong Zhang wrote: > [I just copy the commit message from patch 2] > > Some reserved pages, such as those from NVDIMM DAX devices, are > not for MMIO, and can be mapped with cached memory type for better > performance. However, the above check misconceives those pages a

Re: [PATCH 2/2] clk: qcom: Modify RCG shared ops to support freq_tbl without XO entry

2017-11-01 Thread Stephen Boyd
On 10/31, Amit Nischal wrote: > There could be some clock sources where there is no entry corresponding > XO in their frequency table, for such sources rcg2_shared_ops would > wrongly configure the RCG registers during enable/disable, which leads > to mismatch between the hardware and software rate

Re: [PATCH] clk: qcom: Remove unused RCG ops

2017-11-01 Thread Stephen Boyd
On 08/24, Georgi Djakov wrote: > The RCGs ops for shared branches are not used now, so remove it. > > Signed-off-by: Georgi Djakov > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v3] clk: at91: utmi: set the mainck rate

2017-11-01 Thread Stephen Boyd
On 09/06, Ludovic Desroches wrote: > By default, it is assumed that the UTMI clock is generated from a 12 MHz > reference clock (MAINCK). If it's not the case, the FREQ field of the > SFR_UTMICKTRIM has to be updated to generate the UTMI clock in the > proper way. > > The UTMI clock has a fixed ra

Re: [PATCH 1/2] clk: Add devm_of_clk_add_hw_provider()/del_provider() APIs

2017-11-01 Thread Stephen Boyd
On 09/01, Stephen Boyd wrote: > Sometimes we only have one of_clk_del_provider() call in driver > error and remove paths, because we're missing a > devm_of_clk_add_hw_provider() API. Introduce the API so we can > convert drivers to use this and potentially reduce the amount of > code needed to remo

Re: [PATCH 2/2] clk: qcom: common: Migrate to devm_* APIs for resets and clk providers

2017-11-01 Thread Stephen Boyd
On 09/01, Stephen Boyd wrote: > Now that we have devm APIs for the reset controller and of clk hw > provider APIs we can remove the custom code here. > > Signed-off-by: Stephen Boyd > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundati

[PATCH 2/2] hwmon: (w83773g) Add documentation

2017-11-01 Thread Lei YU
Add documentation for the w83773g driver. Signed-off-by: Lei YU --- Documentation/hwmon/w83773g | 28 1 file changed, 28 insertions(+) create mode 100644 Documentation/hwmon/w83773g diff --git a/Documentation/hwmon/w83773g b/Documentation/hwmon/w83773g new file mod

[PATCH 0/2] Add W83773G hwmon sensor driver and doc

2017-11-01 Thread Lei YU
Nuvoton W83773G is a hardware monitoring chip, which integrates two remote and one local temperature sensors. Lei YU (2): drivers: hwmon: Add W83773G driver hwmon: (w83773g) Add documentation Documentation/hwmon/w83773g | 28 + drivers/hwmon/Kconfig | 11 ++ drivers/hwmon/Makefil

[PATCH 1/2] drivers: hwmon: Add W83773G driver

2017-11-01 Thread Lei YU
Nuvoton W83773G is a hardware monitor IC providing one local temperature and two remote temperature sensors. Signed-off-by: Lei YU --- drivers/hwmon/Kconfig | 11 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/w83773g.c | 276 3 files change

[PATCH] mm: page_ext: allocate page extension though first PFN is invalid

2017-11-01 Thread Jaewon Kim
online_page_ext and page_ext_init allocate page_ext for each section, but they do not allocate if the first PFN is !pfn_present(pfn) or !pfn_valid(pfn). Then section->page_ext remains as NULL. lookup_page_ext checks NULL only if CONFIG_DEBUG_VM is enabled. For a valid PFN, __set_page_owner will try

Re: [PATCH] clk: mxs: make clk_ops const

2017-11-01 Thread Stephen Boyd
On 08/22, Bhumika Goyal wrote: > Make these const as they are only stored in the const field of a > clk_init_data structure. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] clk: mmp: make clk_ops const

2017-11-01 Thread Stephen Boyd
On 08/22, Bhumika Goyal wrote: > Make these const as they are only stored in the const field of a > clk_init_data structure. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] clk: imx: make clk_ops const

2017-11-01 Thread Stephen Boyd
On 08/22, Bhumika Goyal wrote: > Make these const as they are only stored in the const field of a > clk_init_data structure. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] clk: sirf: make clk_ops const

2017-11-01 Thread Stephen Boyd
On 08/22, Bhumika Goyal wrote: > Make these const as they are only stored in the const field of a > clk_init_data structure. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] clk: hisilicon: make clk_ops const

2017-11-01 Thread Stephen Boyd
On 08/22, Bhumika Goyal wrote: > Make these const as they are only stored in the const field of a > clk_init_data structure. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] clk: make clk_init_data const

2017-11-01 Thread Stephen Boyd
On 08/18, Bhumika Goyal wrote: > Make these const as they are only stored in the init field of a clk_hw > structure, which is const. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative

Re: [PATCH] clk: spear: make clk_ops const

2017-11-01 Thread Stephen Boyd
On 08/22, Bhumika Goyal wrote: > Make these const as they are only stored in the const field of a > clk_init_data structure. > > Signed-off-by: Bhumika Goyal > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/2] CLK: SPEAr: make structure field and function argument as const

2017-11-01 Thread Stephen Boyd
On 10/17, Bhumika Goyal wrote: > Make the masks field of clk_aux structure const as it do not modify the > fields of the aux_clk_masks structure it points to. > > Make the struct aux_clk_masks *aux argument of the function > clk_register_aux as const as the argument is only stored in the masks > f

Re: [PATCH 3.10 054/139] direct-io: Prevent NULL pointer access in submit_page_section

2017-11-01 Thread Willy Tarreau
Hi Andreas, On Wed, Nov 01, 2017 at 11:43:26PM +0100, Andreas Gruenbacher wrote: > > diff --git a/fs/direct-io.c b/fs/direct-io.c > > index e17d919..85485c1 100644 > > --- a/fs/direct-io.c > > +++ b/fs/direct-io.c > > @@ -760,6 +760,8 @@ out: > > if (sdio->boundary) { > > r

Re: [PATCH] clk: uniphier: fix clock data for PXs3

2017-11-01 Thread Stephen Boyd
On 10/13, Masahiro Yamada wrote: > Fix reg offsets of USB clocks. > > Fixes: 736de651a836 ("clk: uniphier: add PXs3 clock data") > Signed-off-by: Masahiro Yamada > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Pr

Re: [PATCH 3.10 000/139] 3.10.108-stable review

2017-11-01 Thread Willy Tarreau
Hi Guenter, On Wed, Nov 01, 2017 at 06:21:13PM -0700, Guenter Roeck wrote: > drivers/s390/scsi/zfcp_scsi.c: In function 'zfcp_task_mgmt_function': > drivers/s390/scsi/zfcp_scsi.c:298:4: error: too many arguments to function > 'zfcp_dbf_scsi_devreset' > drivers/s390/scsi/zfcp_dbf.h:408:6: note: de

[PATCH v5 2/2] Input: add support for the Samsung S6SY761 touchscreen

2017-11-01 Thread Andi Shyti
The S6SY761 touchscreen is a capicitive multi-touch controller for mobile use. It's connected with i2c at the address 0x48. This commit provides a basic version of the driver which can handle only initialization, touch events and power states. The controller is controlled by a firmware which, in

[PATCH v5 1/2] dt-bindings: Input: add Samsung S6SY761 touchscreen binding file

2017-11-01 Thread Andi Shyti
Add the binding file for the Samsung capacitive multi-touch touchscreen S6SY761. Signed-off-by: Andi Shyti Acked-by: Rob Herring --- .../bindings/input/touchscreen/samsung,s6sy761.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bin

[PATCH v5 0/2] add support for the Samsung S6SY761 touchscreen

2017-11-01 Thread Andi Shyti
Hi, This patchset adds support for the Samsung s6sy761 touchscreen. Thanks, Andi v4 - v5 - The previous patch has been split in two parts as requested by Rob and added his ack in the dt-binding patch. - I tried to fix all the reviews from Dmitry[*] - other random cleanups [*] https://www.

Re: [PATCH v2] clk: sunxi: fix build warning

2017-11-01 Thread Stephen Boyd
On 10/24, Corentin Labbe wrote: > This patch fix the following build warning: > drivers/clk/sunxi/clk-factors.c:279:14: warning: variable 'name' set but not > used [-Wunused-but-set-variable] > > Fixes: 4cbeaebb8af1 ("clk: sunxi: factors: Add unregister function") > > Acked-by: Maxime Ripard >

Re: [PATCH 009/102] clk: sunxi: explicitly request exclusive reset control

2017-11-01 Thread Stephen Boyd
On 07/19, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control behavior. Convert all drivers reques

linux-next: manual merge of the kspp tree with the kvm tree

2017-11-01 Thread Stephen Rothwell
Hi Kees, Today's linux-next merge of the kspp tree got a conflict in: virt/kvm/kvm_main.c between commit: 46bea48ac241 ("kvm, mm: account kvm related kmem slabs to kmemcg") from the kvm tree and commit: 67ac5ee34976 ("kvm: whitelist struct kvm_vcpu_arch") from the kspp tree. I fixed i

[PATCH v3] pids: introduce find_get_task_by_vpid helper

2017-11-01 Thread Mike Rapoport
There are several functions that do find_task_by_vpid() followed by get_task_struct(). We can use a helper function instead. Signed-off-by: Mike Rapoport Acked-by: Oleg Nesterov --- v3: update arch/ia64/kernel/perfmon.c and security/yama/yama_lsm.c that were missing in the previous versions v2:

Re: [PATCH -mm -V3] mm, swap: Fix false error message in __swp_swapcount()

2017-11-01 Thread Minchan Kim
On Thu, Nov 02, 2017 at 01:42:25PM +0800, Huang, Ying wrote: > From: Huang Ying > > When a page fault occurs for a swap entry, the physical swap readahead > (not the VMA base swap readahead) may readahead several swap entries > after the fault swap entry. The readahead algorithm calculates some

Re: [PATCH v6 2/9] KVM: arm/arm64: vgic-its: Fix vgic_its_restore_collection_table returned value

2017-11-01 Thread Christoffer Dall
On Thu, Oct 26, 2017 at 05:23:04PM +0200, Eric Auger wrote: > vgic_its_restore_cte returns +1 if the collection table entry > is valid and properly decoded. As a consequence, if the > collection table is fully filled with valid data that are > decoded without error, vgic_its_restore_collection_tabl

[PATCH -mm -V3] mm, swap: Fix false error message in __swp_swapcount()

2017-11-01 Thread Huang, Ying
From: Huang Ying When a page fault occurs for a swap entry, the physical swap readahead (not the VMA base swap readahead) may readahead several swap entries after the fault swap entry. The readahead algorithm calculates some of the swap entries to readahead via increasing the offset of the fault

Re: [PATCH 0/3] Make core_pattern support namespace

2017-11-01 Thread 曹树烽
ping 在 2017年08月02日 14:37, Cao Shufeng 写道: This patchset includes following function points: 1: Let usermodehelper function possible to set pid namespace done by: [PATCH_v4.1_1/3] Make call_usermodehelper_exec possible to set namespaces 2: Let pipe_type core_pattern write dump into contai

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

2017-11-01 Thread Masahiro Yamada
Hi Stephen, 2017-11-02 14:20 GMT+09:00 Stephen Rothwell : > Hi Linus, > > After merging the gpio tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/gpio/gpio-uniphier.c:324:14: error: initialization from incompatible > pointer type [-Werror=incompatible-point

Re: [PATCH v6 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2017-11-01 Thread Stephen Boyd
On 10/27, Oleksij Rempel wrote: > Signed-off-by: Oleksij Rempel > Acked-by: Rob Herring > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/2] perf mmap: Fix perf backward recording

2017-11-01 Thread Namhyung Kim
Hi Kan, On Wed, Nov 01, 2017 at 04:22:53PM +, Liang, Kan wrote: > > On 2017/11/1 21:57, Liang, Kan wrote: > > >> On 2017/11/1 20:00, Namhyung Kim wrote: > > >>> On Wed, Nov 01, 2017 at 06:32:50PM +0800, Wangnan (F) wrote: > > > There are only four test cases which set overwrite, > > > sw-clock

Re: [RFC PATCH] clk: move of_clk_get_parent_count() declaration to

2017-11-01 Thread Stephen Boyd
On 10/29, Masahiro Yamada wrote: > 2017-10-13 8:17 GMT+09:00 Stephen Boyd : > > > USB has a > > similar case, which I think Shawn Guo/Dong Aisheng was trying to > > add an OF based bulk clk_get() API called of_clk_bulk_get() > > for[1]. If this get all clks API works there too then we should > >

[PATCH resend] Documentation: Update of broken link

2017-11-01 Thread Claudia Meitinger
The link of devicetree.org was broken. Site has been moved to elinux.org. Signed-off-by: Claudia Meitinger --- Documentation/devicetree/usage-model.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-m

PROBLEM: Asus C201 video mode problems on HDMI hotplug (regression)

2017-11-01 Thread Nick Bowler
Hi, On my Asus C201 laptop (rk3288) the HDMI has been behaving weirdly after Linux upgrade. ~50% of the time after a hotplug, there is a vertical pink bar on the left of the display area and audio is not working at all. According to the sink device the display size is 1282x720 which seems pretty

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

2017-11-01 Thread Stephen Rothwell
Hi Linus, After merging the gpio tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpio/gpio-uniphier.c:324:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .activate = uniphier_gpio_irq_domain_activate,

[PATCH] regulator: qcom_spmi: Include offset when translating voltages

2017-11-01 Thread Stephen Boyd
This driver converts voltages from a non-linear range in hardware to a linear range in software and vice versa. During the conversion, we exclude certain voltages that are invalid to use because the software interface is more flexible than reality. For example, the FTSMPS2P5 regulators have a volt

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

2017-11-01 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the gpio tree got a conflict in: include/linux/bitops.h between commit: cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h") from the tip tree and commit: 5307e2ad69ab ("bitops: Introduce assign_bit()") from the gpio tree. I fixed it u

Re: [RFC V7 2/2] OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values

2017-11-01 Thread Viresh Kumar
On 01-11-17, 14:43, Stephen Boyd wrote: > On 11/01, Rob Herring wrote: > > On Tue, Oct 31, 2017 at 9:17 PM, Viresh Kumar > > wrote: > > > On 31 October 2017 at 16:02, Rob Herring wrote: > > >> Why not a new property for magic values? opp-magic? Don't we want to > > >> know when we have magic val

Re: [RFC V7 2/2] OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values

2017-11-01 Thread Viresh Kumar
On 01-11-17, 15:39, Rob Herring wrote: > On Tue, Oct 31, 2017 at 9:17 PM, Viresh Kumar wrote: > > On 31 October 2017 at 16:02, Rob Herring wrote: > >> Why not a new property for magic values? opp-magic? Don't we want to > >> know when we have magic values? > > > > I have kept a separate property

USB is not resumed(disconnected) after suspend to disk

2017-11-01 Thread Ivid Suvarna
Hi all, I am trying to support suspend to disk(hibernate) on Hikey with 4.4 kernel. During suspend, I could see the usb devices getting reset and I can access them properly. Message can be seen as below: usb 1-1: reset high-speed USB device number 2 using dwc2 usb 1-1.2: reset high-speed USB devi

Re: [PATCH] mailbox: add support for doorbell/signal mode controllers

2017-11-01 Thread Jassi Brar
On Thu, Nov 2, 2017 at 8:57 AM, Bjorn Andersson wrote: > On Wed 01 Nov 20:02 PDT 2017, Jassi Brar wrote: > >> On Thu, Nov 2, 2017 at 3:47 AM, Bjorn Andersson >> wrote: >> > On Wed 01 Nov 11:15 PDT 2017, Sudeep Holla wrote: >> >> >> >> 80 writel_relaxed(msg->cmd, mb->mbox_base + >> >> MAI

Re: [PATCH V2] of: platform: Create dummy routines for !CONFIG_OF_ADDRESS

2017-11-01 Thread Viresh Kumar
On 01-11-17, 16:14, Rob Herring wrote: > On Sat, Oct 28, 2017 at 03:56:46PM +0530, Viresh Kumar wrote: > > Few routines don't have their dummy counterparts which results in build > > failures where these routines are used without CONFIG_OF_ADDRESS > > enabled. > > > > Fix those by defining the dum

linux-next: build warnings after merge of the staging tree

2017-11-01 Thread Stephen Rothwell
Hi Greg, After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: drivers/staging/rtlwifi/base.c: In function 'rtl_watch_dog_timer_callback': drivers/staging/rtlwifi/base.c:2167:23: warning: unused variable 'hw' [-Wunused-variable] struct ieee8021

linux-next: manual merge of the staging tree with the v4l-dvb tree

2017-11-01 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c between commit: 309167b966b6 ("media: staging: atomisp: cleanup out of memory messages") from the v4l-dvb tree and commit: 63342e75e661 ("Staging: media: atom

Re: 答复: [PATCH] mm: extend reuse_swap_page range as much as possible

2017-11-01 Thread Minchan Kim
On Thu, Nov 02, 2017 at 02:09:57AM +, zhouxianrong wrote: > writes: > > > From: zhouxianrong > > > > origanlly reuse_swap_page requires that the sum of page's mapcount and > > swapcount less than or equal to one. > > in this case we can reuse this page and avoid COW currently. > > > > now r

linux-next: manual merge of the char-misc tree with the tip tree

2017-11-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/misc/lkdtm_core.c between commit: 8776fe75dc0e ("lkdtm, kprobes: Convert from jprobes to kprobes") from the tip tree and commits: 31c5c870a112 ("lkdtm: Convert from jprobe to kprobe") 75f98b7ab748 ("lkdt

linux-next: build warnings after merge of the usb tree

2017-11-01 Thread Stephen Rothwell
Hi Greg, After merging the usb tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from include/linux/printk.h:327:0, from include/linux/kernel.h:13, from include/asm-generic/bug.h:15, from arch/x86/incl

linux-next: build warning after merge of the usb tree

2017-11-01 Thread Stephen Rothwell
Hi Greg, After merging the usb tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: arch/arm/boot/dts/stih410-b2120.dtb: Warning (gpios_property): hdmi,hpd-gpio property size (8) too small for cell size 2 in /soc/sti-display-subsystem/sti-hdmi@8d04000 arch/arm/boot/dts

Re: [PATCH] dma-buf: Cleanup comments on dma_buf_map_attachment()

2017-11-01 Thread Alex Deucher
On Wed, Nov 1, 2017 at 10:06 AM, Liviu Dudau wrote: > Mappings need to be unmapped by calling dma_buf_unmap_attachment() and > not by calling again dma_buf_map_attachment(). Also fix some spelling > mistakes. > > Signed-off-by: Liviu Dudau Reviewed-by: Alex Deucher > --- > drivers/dma-buf/dma

linux-next: manual merge of the ipmi tree with the modules tree

2017-11-01 Thread Stephen Rothwell
Hi Corey, Today's linux-next merge of the ipmi tree got a conflict in: drivers/char/ipmi/ipmi_si_intf.c between commit: e4dca7b7aa08 ("treewide: Fix function prototypes for module_param_call()") from the modules tree and commit: 44814ec982d2 ("ipmi_si: Move the hotmod handling to anothe

[PATCH] PCI: Fail pci_map_rom if the PCI ROM is invalid

2017-11-01 Thread changbin . du
From: Changbin Du If we detected a invalid PCI ROM (e.g. Invalid PCI ROM header signature), we should unmap it immediately and fail. It doesn't make any sense that return a mapped area with size of 0. I have seen this case on Intel GVTg vGPU, which have no vbios. It will not cause a real problem

[PATCH v2 2/3] hwmon: (aspeed-pwm-tacho) Deassert reset in probe

2017-11-01 Thread Joel Stanley
The ASPEED SoC must deassert a reset in order to use the PWM/tach peripheral. Signed-off-by: Joel Stanley --- v2: - Correct horrible mistakes - Boot tested and hwmon sysfs files checked --- drivers/hwmon/aspeed-pwm-tacho.c | 21 + 1 file changed, 21 insertions(+) diff --gi

[PATCH v2 3/3] dt-bindings: hwmon: aspeed-pwm-tacho: Add reset node

2017-11-01 Thread Joel Stanley
The device tree bindings are updated to document the resets phandle, and the example is updated to match what is expected for both the reset and clock phandle. Note that the bindings should have always had the reset controller, as the hardware is unusable without it. Signed-off-by: Joel Stanley

[PATCH v2 0/3] hwmon: Add reset support to aspeed-pwm-tach

2017-11-01 Thread Joel Stanley
Gunter, This adds reset controller support to the ASPEED pwm/tach driver. The reset controller and clock driver is currently under review, so to test those patches must be merged in to fully test these changes[1]. To address your concerns from v1: This driver was not usable as-is upstream. I bel

[PATCH v2 1/3] hwmon: (aspeed-pwm-tacho) Sort headers

2017-11-01 Thread Joel Stanley
Sort the headers in preperation for future changes. Signed-off-by: Joel Stanley --- drivers/hwmon/aspeed-pwm-tacho.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/aspeed-pwm-tacho.c b/drivers/hwmon/aspeed-pwm-tacho.c index f914e5f41048..63a95e23ca81 1006

Re: [PATCH net-next V2 1/3] tun: abstract flow steering logic

2017-11-01 Thread Jason Wang
On 2017年11月02日 11:45, Michael S. Tsirkin wrote: On Thu, Nov 02, 2017 at 11:43:48AM +0800, Jason Wang wrote: On 2017年11月02日 09:11, Willem de Bruijn wrote: On Tue, Oct 31, 2017 at 7:32 PM, Jason Wang wrote: tun now use flow caches based automatic queue steering method. This may not suffice a

Re: [PATCH net-next V2 3/3] tun: add eBPF based queue selection method

2017-11-01 Thread Jason Wang
On 2017年11月01日 21:59, Michael S. Tsirkin wrote: On Wed, Nov 01, 2017 at 09:02:03PM +0800, Jason Wang wrote: On 2017年11月01日 00:45, Michael S. Tsirkin wrote: +static void __tun_set_steering_ebpf(struct tun_struct *tun, + struct bpf_prog *new) +{ + struct

Re: [PATCH net-next V2 1/3] tun: abstract flow steering logic

2017-11-01 Thread Michael S. Tsirkin
On Thu, Nov 02, 2017 at 11:43:48AM +0800, Jason Wang wrote: > > > On 2017年11月02日 09:11, Willem de Bruijn wrote: > > On Tue, Oct 31, 2017 at 7:32 PM, Jason Wang wrote: > > > tun now use flow caches based automatic queue steering method. This > > > may not suffice all user cases. To extend it to b

Re: [PATCH net-next V2 1/3] tun: abstract flow steering logic

2017-11-01 Thread Jason Wang
On 2017年11月02日 09:11, Willem de Bruijn wrote: On Tue, Oct 31, 2017 at 7:32 PM, Jason Wang wrote: tun now use flow caches based automatic queue steering method. This may not suffice all user cases. To extend it to be able to use more flow steering policy, this patch abstracts flow steering log

Re: [PATCH] timer: Add parenthesis around timer_setup() macro arguments

2017-11-01 Thread Stephen Rothwell
Hi Kees, On Wed, 1 Nov 2017 20:04:05 -0700 Kees Cook wrote: > > On Wed, Nov 1, 2017 at 7:33 PM, Stephen Rothwell > wrote: > > Hi Kees, > > > > On Wed, 1 Nov 2017 07:32:50 -0700 Kees Cook wrote: > >> > >> In the case where expressions are passed as macro arguments, the LOCKDEP > >> version of

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

2017-11-01 Thread Stephen Rothwell
Hi Tejun, After merging the workqueues tree, today's linux-next build (arm multi_v7_defconfig) failed like this: kernel/workqueue.c: In function 'workqueue_init_early': kernel/workqueue.c:5561:56: error: 'cpu_isolated_map' undeclared (first use in this function) cpumask_andnot(wq_unbound_cpuma

Re: [PATCH net-next 3/9] net: hns3: Refactor the initialization of command queue

2017-11-01 Thread Yunsheng Lin
Hi, Lipeng On 2017/11/1 22:47, Lipeng wrote: > From: qumingguang > > There is no necessary to reallocate the descriptor and remap the descriptor > memory in reset process, But there is still some other action exit in both exit -> exist > reset process and initialization process. > > To reuse

Re: Regression: commit da029c11e6b1 broke toybox xargs.

2017-11-01 Thread Kees Cook
On Wed, Nov 1, 2017 at 4:34 PM, Rob Landley wrote: > Toybox has been trying to figure out how big an xargs is allowed to be > for a while: > > http://lists.landley.net/pipermail/toybox-landley.net/2017-October/009186.html > > We're trying to avoid the case where you can run something from the > co

Re: [PATCH 4/7] MIPS: Octeon: Add Free Pointer Unit (FPA) support.

2017-11-01 Thread Florian Fainelli
Le 11/01/17 à 17:36, David Daney a écrit : > From: Carlos Munoz > > From the hardware user manual: "The FPA is a unit that maintains > pools of pointers to free L2/DRAM memory. To provide QoS, the pools > are referenced indirectly through 1024 auras. Both core software > and hardware units alloca

Re: [PATCH] mailbox: add support for doorbell/signal mode controllers

2017-11-01 Thread Bjorn Andersson
On Wed 01 Nov 20:02 PDT 2017, Jassi Brar wrote: > On Thu, Nov 2, 2017 at 3:47 AM, Bjorn Andersson > wrote: > > On Wed 01 Nov 11:15 PDT 2017, Sudeep Holla wrote: > >> > >> 80 writel_relaxed(msg->cmd, mb->mbox_base + > >> MAILBOX_A2B_CMD(chans->idx)); > >> 81 writel_relaxed(msg->r

Re: [alsa-devel] [PATCH 08/14] soundwire: Add Slave status handling helpers

2017-11-01 Thread Vinod Koul
On Wed, Nov 01, 2017 at 04:10:08PM -0500, Pierre-Louis Bossart wrote: > On 11/1/17 4:08 AM, Vinod Koul wrote: > >On Wed, Nov 01, 2017 at 02:49:15AM +0530, Pierre-Louis Bossart wrote: > >>> > >>>BUT given that we have seen stuff i am inclined to add a counter, we cant > >>>have more than 11 device s

Re: [PATCH net-next V2 3/3] tun: add eBPF based queue selection method

2017-11-01 Thread Jason Wang
On 2017年11月02日 03:12, Alexei Starovoitov wrote: On Wed, Nov 01, 2017 at 03:59:48PM +0200, Michael S. Tsirkin wrote: On Wed, Nov 01, 2017 at 09:02:03PM +0800, Jason Wang wrote: On 2017年11月01日 00:45, Michael S. Tsirkin wrote: +static void __tun_set_steering_ebpf(struct tun_struct *tun, +

Re: [PATCH net-next] vhost_net: conditionally enable tx polling

2017-11-01 Thread Jason Wang
On 2017年11月01日 23:03, Michael S. Tsirkin wrote: On Wed, Nov 01, 2017 at 08:51:36PM +0800, Jason Wang wrote: On 2017年11月01日 00:36, Michael S. Tsirkin wrote: On Tue, Oct 31, 2017 at 06:27:20PM +0800, Jason Wang wrote: We always poll tx for socket, this is sub optimal since: - we only want to

RE: [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI

2017-11-01 Thread Z.q. Hou
Hi Rob, Thanks a lot for the ack! > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 2017年11月2日 8:14 > To: Z.q. Hou > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; linux-...@vger.kernel.org; broo...@kernel.org

Re: [PATCH] sh: remove pointless select of KBUILD_DEFCONFIG

2017-11-01 Thread Masahiro Yamada
SH developers, No comment? Looks like the SH maintainers are no more picking up any patches. If nobody takes care of this patch, I will apply it to Kbuild tree. 2017-10-04 18:33 GMT+09:00 Masahiro Yamada : > KBUILD_DEFCONFIG := shx3_defconfig > > is never used in a sensible way. KBUILD_DEF

Re: [PATCH] timer: Add parenthesis around timer_setup() macro arguments

2017-11-01 Thread Kees Cook
On Wed, Nov 1, 2017 at 7:33 PM, Stephen Rothwell wrote: > Hi Kees, > > On Wed, 1 Nov 2017 07:32:50 -0700 Kees Cook wrote: >> >> In the case where expressions are passed as macro arguments, the LOCKDEP >> version of the timer macros need enclosing parenthesis. >> >> Reported-by: Stephen Rothwell

[f2fs-dev] [PATCH] f2fs: save a multiplication for last_nid calculation

2017-11-01 Thread Fan Li
Use a slightly easier way to calculate last_nid. Signed-off-by: Fan li --- fs/f2fs/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 7834097..55ab330 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -2642,7 +2642,7 @@ static inlin

Re: [PATCH] mailbox: add support for doorbell/signal mode controllers

2017-11-01 Thread Jassi Brar
On Thu, Nov 2, 2017 at 3:47 AM, Bjorn Andersson wrote: > On Wed 01 Nov 11:15 PDT 2017, Sudeep Holla wrote: >> >> 80 writel_relaxed(msg->cmd, mb->mbox_base + >> MAILBOX_A2B_CMD(chans->idx)); >> 81 writel_relaxed(msg->rx_size, mb->mbox_base + >> >> 82MAILBO

Re: [PATCH] mailbox: add support for doorbell/signal mode controllers

2017-11-01 Thread Jassi Brar
On Thu, Nov 2, 2017 at 3:42 AM, Bjorn Andersson wrote: > On Wed 01 Nov 11:03 PDT 2017, Jassi Brar wrote: >> On Wed, Nov 1, 2017 at 10:02 PM, Sudeep Holla wrote: > [..] >> > >> > This is rough idea I have on extending mailbox interface to support >> > the doorbell requirements. >> > >> What doorbe

linux-next: build warnings after merge of the tip tree

2017-11-01 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: net/dccp/probe.c: In function 'dccpprobe_init': net/dccp/probe.c:166:2: warning: 'register_jprobe' is deprecated [-Wdeprecated-declarations] ret = register_jprobe(&dccp_send_probe); ^

RE: [f2fs-dev] [PATCH] f2fs: modify the procedure of scan free nid

2017-11-01 Thread Fan Li
> -Original Message- > From: Chao Yu [mailto:c...@kernel.org] > Sent: Wednesday, November 01, 2017 8:47 PM > To: Fan Li; 'Jaegeuk Kim' > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH] f2fs: modify the procedure of scan free nid >

Re: [PATCH] mailbox: add support for doorbell/signal mode controllers

2017-11-01 Thread Jassi Brar
On Wed, Nov 1, 2017 at 11:45 PM, Sudeep Holla wrote: > > > On 01/11/17 18:03, Jassi Brar wrote: >> On Wed, Nov 1, 2017 at 10:02 PM, Sudeep Holla wrote: >> >>> >>> Such controllers don't need to transmit any data, they just transmit >>> the signal. In such controllers the data pointer passed to >>

[PATCH v2] pstore: add lz4hc and 842 compression support

2017-11-01 Thread Geliang Tang
From: Geliang Tang Currently, pstore has supported three compression algorithms: zlib, lzo and lz4. This patch added two more compression algorithms: lz4hc and 842. Signed-off-by: Geliang Tang --- Changes in v2: fix checkpatch.pl WARNING: please write a paragraph that describes the config sym

Re: Confirm Reciept Of This Mail

2017-11-01 Thread Meiwa Corporation co.Ltd
Season Greetings To You; Are you interested in taking up a representative position (Account Receivable Agent) for Meiwa Corporation co.Ltd, who is currently looking on contracting both Companies and Individuals who are based in Canada and USA irrespectively Please Note: * This is a part time

Re: [PATCH] timer: Add parenthesis around timer_setup() macro arguments

2017-11-01 Thread Stephen Rothwell
Hi Kees, On Wed, 1 Nov 2017 07:32:50 -0700 Kees Cook wrote: > > In the case where expressions are passed as macro arguments, the LOCKDEP > version of the timer macros need enclosing parenthesis. > > Reported-by: Stephen Rothwell > Signed-off-by: Kees Cook I have applied that patch to linux-ne

Re: MAINTAINERS has a AS3645A LED FLASH duplicated section in -next

2017-11-01 Thread Laurent Pinchart
Hi Joe, On Thursday, 2 November 2017 03:54:29 EET Joe Perches wrote: > MAINTAINERS is not supposed to have duplicated sections. > Can you both please resolve this? Sure. Sakari, your plan was to drop drivers/media/i2c/as3645a.c if I recall correctly. Do you still want to proceed with that, or s

Re: [PATCH] selftests: remove obsolete kconfig fragment for cpu-hotplug

2017-11-01 Thread lyang0
On 2017年11月02日 06:59, Shuah Khan wrote: On 11/01/2017 04:52 PM, Thomas Gleixner wrote: On Wed, 1 Nov 2017, Shuah Khan wrote: On 10/17/2017 08:10 PM, lei.y...@windriver.com wrote: From: Lei Yang Kconfig CONFIG_CPU_NOTIFIER_ERROR_INJECT has been removed since kernel 4.10 check commit: c

printk discussions at KS

2017-11-01 Thread Joe Perches
As I was not there, and I know about as much as anyone about printk internals, can you please post a recap of what was discussed, technical and other, about printk improvements at the kernel-summit? If there was a pdf/powerpoint, that'd be nice to post too. Thanks and cheers, Joe

linux-next: manual merge of the integrity tree with the security tree

2017-11-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the integrity tree got a conflict in: MAINTAINERS between commit: e28aa8aeab43 ("MAINTAINERS: remove David Safford as maintainer for encrypted+trusted keys") from the security tree and commit: 46d6c35e6882 ("MAINTAINERS: update the IMA, EVM, trusted-

MAINTAINERS has a AS3645A LED FLASH duplicated section in -next

2017-11-01 Thread Joe Perches
MAINTAINERS is not supposed to have duplicated sections. Can you both please resolve this? AS3645A LED FLASH CONTROLLER DRIVER M: Sakari Ailus L: linux-l...@vger.kernel.org S: Maintained F: drivers/leds/leds-as3645a.c AS3645A LED FLASH CONTROLLER DRIVER M: Laurent Pincha

( Compensation Reinbursement )

2017-11-01 Thread United Nations
View the enclosed file for your Compensation Reinbursement Code Payment.pdf Description: Adobe PDF document

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

2017-11-01 Thread Doug Anderson
Hi, On Wed, Nov 1, 2017 at 6:36 PM, Stephen Rothwell wrote: > Hi Ulf, > > After merging the mmc tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/linux/irqflags.h:14:0, > from arch/arm/include/asm/bitops.h:27, >

Re: [PATCH] mm: extend reuse_swap_page range as much as possible

2017-11-01 Thread Huang, Ying
writes: > From: zhouxianrong > > origanlly reuse_swap_page requires that the sum of page's > mapcount and swapcount less than or equal to one. > in this case we can reuse this page and avoid COW currently. > > now reuse_swap_page requires only that page's mapcount > less than or equal to one and

RE: [PATCH v10 0/4] this patchset is to remove PPCisms for QEIC

2017-11-01 Thread Qiang Zhao
On Wed, 1 Nov 2017, Thomas Gleixner wrote: > -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Thursday, November 02, 2017 1:10 AM > To: Qiang Zhao > Cc: Michael Ellerman ; Jason Cooper > ; Marc Zyngier ; > o...@buserror.net; linuxppc-...@lists.ozlabs.org; X

  1   2   3   4   5   6   7   8   9   10   >