Re: [PATCH v4 02/10] resource: add walk_system_ram_res_rev()

2017-10-05 Thread AKASHI Takahiro
Hi Julien, On Thu, Oct 05, 2017 at 10:36:47AM +0100, Julien Thierry wrote: > Hi Takahiro, > > On 02/10/17 07:14, AKASHI Takahiro wrote: > >This function, being a variant of walk_system_ram_res() introduced in > >commit 8c86e70acead ("resource: provide new functions to walk through > >resources"),

Re: [PATCH] mm: deferred_init_memmap improvements

2017-10-05 Thread Anshuman Khandual
On 10/04/2017 08:59 PM, Pavel Tatashin wrote: > This patch fixes another existing issue on systems that have holes in > zones i.e CONFIG_HOLES_IN_ZONE is defined. > > In for_each_mem_pfn_range() we have code like this: > > if (!pfn_valid_within(pfn) > goto free_range; > > Note: 'page' is n

[PATCH] net/ipv6: Convert icmpv6_push_pending_frames to void

2017-10-05 Thread Joe Perches
commit cc71b7b07119 ("net/ipv6: remove unused err variable on icmpv6_push_pending_frames") exposed icmpv6_push_pending_frames return value not being used. Remove now unnecessary int err declarations and uses. Miscellanea: o Remove unnecessary goto and out: labels o Realign arguments Signed-off-

[PATCH v3 2/3] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Ultra

2017-10-05 Thread Icenowy Zheng
From: Chen-Yu Tsai The Banana Pi M2 Ultra is an SBC based on the Allwinner R40 SoC. The form factor and position of various connectors, leds and buttons is similar to the Banana Pi M1+, Banana Pi M3, and is exactly the same as the latest Banana Pi M64. It features: - X-Powers AXP221s PMIC con

[PATCH v3 3/3] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Berry

2017-10-05 Thread Icenowy Zheng
The Banana Pi M2 Ultra is an SBC based on the Allwinner V40 SoC (same as the R40 SoC). The form factor is similar to the Raspberry Pi series. It features: - X-Powers AXP221s PMIC connected to i2c0 - 1GiB DDR3 DRAM - microSD slot - MicroUSB Type-B port for power and connected to usb0 - HDMI output

[PATCH v3 1/3] ARM: dts: sun8i: Add basic dtsi file for Allwinner R40

2017-10-05 Thread Icenowy Zheng
From: Chen-Yu Tsai The Allwinner R40 SoC is marketed as the successor to the A20 SoC. The R40 is a smaller chip than the A20, but features the same set of programmable pins, with a couple extra pins and some new pin functions. The chip features 4 Cortex-A7 cores and a Mali-400 MP2 GPU. It retains

[PATCH v3 0/3] Basical device tree parts for Allwinner R40 SoC

2017-10-05 Thread Icenowy Zheng
This patchset adds basical device tree parts for the Allwinner R40 SoC and two boards feature this SoC -- Banana Pi M2 Ultra and Berry (The BPi M2 Berry board uses V40 SoC, which is just a renamed R40). Chen-Yu Tsai (2): ARM: dts: sun8i: Add basic dtsi file for Allwinner R40 ARM: dts: sun8i: A

Re: [RFC 2/2] phy: exynos5-usbdrd: remove disable and enable of phy clk

2017-10-05 Thread Krzysztof Kozlowski
On Fri, Oct 6, 2017 at 6:36 AM, Anand Moon wrote: > remove the disable and enable of phy clk. > phy clk is needed to tune the phy controller. Drivers should in general enable and disable the clocks they use. Just like in patch #1 please describe why you are doing this, what kind of problem are yo

Re: [PATCH] kvm, mm: account kvm related kmem slabs to kmemcg

2017-10-05 Thread Shakeel Butt
On Thu, Oct 5, 2017 at 9:28 PM, Anshuman Khandual wrote: > On 10/06/2017 06:37 AM, Shakeel Butt wrote: >> The kvm slabs can consume a significant amount of system memory >> and indeed in our production environment we have observed that >> a lot of machines are spending significant amount of memory

Re: [PATCH v5 0/5] cramfs refresh for embedded usage

2017-10-05 Thread Christoph Hellwig
This is still missing a proper API for accessing the file system, as said before specifying a physical address in the mount command line is a an absolute non-no. Either work with the mtd folks to get the mtd core down to an absolute minimum suitable for you, or figure out a way to specify fs nodes

Re: [RFC 1/2] ARM: dts: exynos: update the usbdrd phy and ref clk

2017-10-05 Thread Krzysztof Kozlowski
On Fri, Oct 6, 2017 at 6:36 AM, Anand Moon wrote: > update the usbdrd link control and phy contol clks. The commit title and especially commit message should explain why you are doing this and what are you doing. "Update" is not enough. Everything could be called update. Therefore I do not under

[PATCH 1/2] clk: sunxi-ng: r40: rewrite init code to a platform driver

2017-10-05 Thread Icenowy Zheng
As we need to register a regmap on the R40 CCU, there needs to be a device structure bound to the CCU device node. Rewrite the R40 CCU driver initial code to make it a proper platform driver, thus we will have a platform device bound to it. Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-ng/

[PATCH 2/2] clk: sunxi-ng: r40: export a regmap to access the GMAC register

2017-10-05 Thread Icenowy Zheng
There's a GMAC configuration register, which exists on A64/A83T/H3/H5 in the syscon part, in the CCU of R40 SoC. Export a regmap of the CCU. Read access is not restricted to all registers, but only the GMAC register is allowed to be written. Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-n

[PATCH 0/2] Add a regmap to Allwinner R40 CCU to export GMAC register

2017-10-05 Thread Icenowy Zheng
In the CCU of the Allwinner R40 SoC, there's a GMAC configuration register, which is intended to be accessed by the dwmac-sun8i driver. On SoCs already supported by the driver the register is placed in the syscon rather than the CCU. As CCU is a critical part of the SoC, so write to it should be s

[sysfs] Sysfs acceptable paths to custom functionality

2017-10-05 Thread steven
I am developing a driver for an audio codec that has fixed DSP functionality. On the device there are coefficients that can be programmed to implement different types of filters that can be used to implement an EQ or 3D sound effects. Based on what I have seen in the Kernel so far our device i

Re: [v10 3/6] mm, oom: cgroup-aware OOM killer

2017-10-05 Thread Michal Hocko
On Thu 05-10-17 15:02:18, David Rientjes wrote: [...] > I would need to add patches to add the "evaluate as a whole but do not > kill all" knob and a knob for "oom priority" so that userspace has the > same influence over a cgroup based comparison that it does with a process > based comparison t

Re: [PATCH v2 09/16] driver core: add iommu device fault reporting data

2017-10-05 Thread Greg Kroah-Hartman
On Thu, Oct 05, 2017 at 04:03:37PM -0700, Jacob Pan wrote: > DMA faults can be detected by IOMMU at device level. Adding a pointer > to struct device allows IOMMU subsystem to report relevant faults > back to the device driver for further handling. > For direct assigned device (or user space driver

Re: [PATCH 1/4] dt-bindings: media: Binding document for Qualcomm Camera Control Interface driver

2017-10-05 Thread Bjorn Andersson
On Mon 02 Oct 07:13 PDT 2017, Todor Tomov wrote: > diff --git a/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt > b/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt > new file mode 100644 > index 000..f4c5338 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/i2c-qcom-c

Re: [PATCH 2/4] i2c: Add Qualcomm Camera Control Interface driver

2017-10-05 Thread Bjorn Andersson
On Mon 02 Oct 07:13 PDT 2017, Todor Tomov wrote: > diff --git a/drivers/i2c/busses/i2c-qcom-cci.c > b/drivers/i2c/busses/i2c-qcom-cci.c [..] > +#define NUM_MASTERS 1 So you will only register one of the masters? [..] > +enum cci_i2c_queue_t { > + QUEUE_0, > + QUEUE_1 Could these be call

Re: [PATCH] net/ipv6: remove unused err variable on icmpv6_push_pending_frames

2017-10-05 Thread David Miller
From: Tim Hansen Date: Thu, 5 Oct 2017 15:45:32 -0400 > int err is unused by icmpv6_push_pending_frames(), this patch returns removes > the variable and returns the function with 0. > > git bisect shows this variable has been around since linux has been in git in > commit 1da177e4c3f41524e886b

[PATCH v2 3/3] arm64: dts: uniphier: add efuse node for LD20

2017-10-05 Thread Keiji Hayashibara
Add efuse node for UniPhier LD20 SoC. This efuse node is included in soc-glue. Signed-off-by: Keiji Hayashibara --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/ar

[PATCH v2 0/3] add UniPhier efuse support

2017-10-05 Thread Keiji Hayashibara
This series adds support for eFuse implemented on UniPhier LD20 SoCs. The eFuse device is under soc-glue and this register implements as read only. patch V1 https://lkml.org/lkml/2017/8/31/880 Changes between V2 and V1 = 1. Fix sparse warnings 2. Changed to implement witho

[PATCH v2 2/3] nvmem: uniphier: add UniPhier eFuse driver

2017-10-05 Thread Keiji Hayashibara
Add eFuse driver for Socionext UniPhier series SoC. Note that eFuse device is under soc-glue and this register implements as read only. Signed-off-by: Keiji Hayashibara --- drivers/nvmem/Kconfig | 11 + drivers/nvmem/Makefile | 2 + drivers/nvmem/uniphier-efuse.c | 97 +

[PATCH v2 1/3] dt-bindings: nvmem: add description for UniPhier eFuse

2017-10-05 Thread Keiji Hayashibara
Add uniphier-efuse dt-bindings documentation. Signed-off-by: Keiji Hayashibara --- .../devicetree/bindings/nvmem/uniphier-efuse.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt diff --git a/Documen

Re: [PATCH] firmware: add firmware to new device's devres list for second time cache

2017-10-05 Thread Kai-Heng Feng
On Thu, Oct 5, 2017 at 5:17 AM, Luis R. Rodriguez wrote: > On Tue, Aug 22, 2017 at 03:52:46PM +0800, Kai-Heng Feng wrote: >> Currently, firmware will only be chached if assign_firmware_buf() gets >> called. > > True, but also more importantly we peg the fw cache to the device via devres > *iff* th

Re: [PATCH] net/mlx4_core: Convert timers to use timer_setup()

2017-10-05 Thread Leon Romanovsky
On Wed, Oct 04, 2017 at 05:51:54PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Tariq Toukan > Cc: net...@vger.kern

Re: [RFC PATCH -tip 0/5] kprobes: Abolish jprobe APIs

2017-10-05 Thread Masami Hiramatsu
On Thu, 5 Oct 2017 19:58:08 -0400 Steven Rostedt wrote: > On Thu, 5 Oct 2017 16:35:22 -0700 > Kees Cook wrote: > > > > As far as I can see, tcp probe, dccp probe, sctp probe and lkdtm > > > are using jprobe to probe function. Please consider to migrate. > > > > I'm happy to do so, but I'm qu

Re: [RFC PATCH -tip 0/5] kprobes: Abolish jprobe APIs

2017-10-05 Thread Masami Hiramatsu
On Thu, 5 Oct 2017 21:11:30 -0400 Steven Rostedt wrote: > On Fri, 6 Oct 2017 09:32:52 +0900 > Masami Hiramatsu wrote: > > > I think using ftrace gives you lower latency, but you need to depend on > > CONFIG_FUNCTION_TRACER instead of CONFIG_KPROBES. > > Which shouldn't be an issue, since all d

Re: [PATCH] md: raid10: remove VLAIS

2017-10-05 Thread Shaohua Li
On Fri, Oct 06, 2017 at 01:22:12PM +1100, Neil Brown wrote: > On Thu, Oct 05 2017, Matthias Kaehlcke wrote: > > > Hi Neil, > > > > El Fri, Oct 06, 2017 at 10:58:59AM +1100 NeilBrown ha dit: > > > >> On Thu, Oct 05 2017, Matthias Kaehlcke wrote: > >> > >> > The raid10 driver can't be built with cl

Re: btusb "firmware request while host is not available" at resume

2017-10-05 Thread Kai-Heng Feng
Hi Luis, On Wed, Oct 4, 2017 at 8:20 AM, Luis R. Rodriguez wrote: > So please retest now that the revert happened: commit > f007cad159e99fa2acd3b2e9364fbb32ad28b971 ("Revert "firmware: add sanity check > on shutdown/suspend"). I can confirm the issue is gone after the commit. Also, thanks for yo

[RFC 2/2] phy: exynos5-usbdrd: remove disable and enable of phy clk

2017-10-05 Thread Anand Moon
remove the disable and enable of phy clk. phy clk is needed to tune the phy controller. Before: mout_usbd300 112400 0 0 dout_usbd300 002400 0 0 sclk_usbd300

[RFC 1/2] ARM: dts: exynos: update the usbdrd phy and ref clk

2017-10-05 Thread Anand Moon
update the usbdrd link control and phy contol clks. Signed-off-by: Anand Moon --- Tested on Odroid XU4 and Odroid HC1 develpment board. Did not test Odroid XU develpment board. --- arch/arm/boot/dts/exynos5410.dtsi | 4 ++-- arch/arm/boot/dts/exynos5420.dtsi | 4 ++-- 2 files changed, 4 insertio

Re: [PATCH] kvm, mm: account kvm related kmem slabs to kmemcg

2017-10-05 Thread Anshuman Khandual
On 10/06/2017 06:37 AM, Shakeel Butt wrote: > The kvm slabs can consume a significant amount of system memory > and indeed in our production environment we have observed that > a lot of machines are spending significant amount of memory that > can not be left as system memory overhead. Also the all

Re: [PATCH] net: qcom/emac: make function emac_isr static

2017-10-05 Thread David Miller
From: Colin King Date: Thu, 5 Oct 2017 10:10:23 +0100 > From: Colin Ian King > > The function emac_isr is local to the source and does not need to > be in global scope, so make it static. > > Cleans up sparse warnings: > symbol 'emac_isr' was not declared. Should it be static? > > Signed-off

Re: [PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics P610

2017-10-05 Thread Kai-Heng Feng
Hi, On Fri, Oct 6, 2017 at 2:22 AM, Takashi Iwai wrote: > On Thu, 05 Oct 2017 20:04:06 +0200, > Kai-Heng Feng wrote: >> >> Like other Plantronics devices, P610 does not support sample >> rate reading. Apply sample rate quirk to it. >> >> BugLink: https://bugs.launchpad.net/bugs/1719853 >> >> Sign

Re: [PATCH resend] platform/x86: peaq-wmi: Add DMI check before binding to the WMI interface

2017-10-05 Thread Kai-Heng Feng
Hi Hans, On Fri, Oct 6, 2017 at 2:04 AM, Hans de Goede wrote: > Hi All, > > This is a resend with Kai Heng Feng added to the Cc. Kai can you please > test this patch. This patch replaces yours, as many devices seem to be > affected so a whitelist is the better approach here. I'll let the affecte

Re: [PATCH net v2] RDS: IB: Initialize max_items based on underlying device attributes

2017-10-05 Thread David Miller
From: Avinash Repaka Date: Wed, 4 Oct 2017 12:11:29 -0700 > Use max_1m_mrs/max_8k_mrs while setting max_items, as the former > variables are set based on the underlying device attributes. > > Signed-off-by: Avinash Repaka > Acked-by: Santosh Shilimkar Applied to net-next.

Re: [PATCH] net/ipv4: Remove unused variable in route.c

2017-10-05 Thread David Miller
From: Tim Hansen Date: Wed, 4 Oct 2017 15:59:49 -0400 > int rc is unmodified after initalization in net/ipv4/route.c, this patch > simply cleans up that variable and returns 0. > > This was found with coccicheck M=net/ipv4/ on linus' tree. > > Signed-off-by: Tim Hansen Applied to net-next.

Re: [PATCH net v2] RDS: IB: Limit the scope of has_fr/has_fmr variables

2017-10-05 Thread David Miller
From: Avinash Repaka Date: Wed, 4 Oct 2017 12:10:43 -0700 > This patch fixes the scope of has_fr and has_fmr variables as they are > needed only in rds_ib_add_one(). > > Signed-off-by: Avinash Repaka > Acked-by: Santosh Shilimkar Applied to net-next.

Re: [PATCH net v2 3/9] net/mac89x0: Fix and modernize log messages

2017-10-05 Thread David Miller
From: Finn Thain Date: Thu, 5 Oct 2017 21:11:05 -0400 (EDT) > Fix misplaced newlines in conditional log messages. Please don't do this, the way the author formatted the strings was intentional, they intended to print out: NAME: cs89%c0%s rev %c found at %#8lx IRQ %d ADDR %pM But now y

Re: [PATCH v6 3/3] drm/panel: Add support for the Raspberry Pi 7" Touchscreen.

2017-10-05 Thread Archit Taneja
On 09/28/2017 01:06 AM, Eric Anholt wrote: This driver communicates with the Atmel microcontroller for sequencing the poweron of the TC358762 DSI-DPI bridge and controlling the backlight PWM. v2: Set the same default orientation as the closed source firmware used, which is the best for vi

Re: [PATCH] staging: ccree: local variable "dev" not required

2017-10-05 Thread Suniel Mahesh
On Thursday 05 October 2017 11:30 PM, Joe Perches wrote: > On Thu, 2017-10-05 at 10:07 +0300, Gilad Ben-Yossef wrote: >> On Wed, Oct 4, 2017 at 10:12 PM, wrote: >>> There is no need to create a local pointer variable "dev" and >>> pass it various API's, instead use plat_dev which is enumerated >>

Re: [PATCHv2 1/2] mm: Introduce wrappers to access mm->nr_ptes

2017-10-05 Thread Anshuman Khandual
On 10/05/2017 03:44 PM, Kirill A. Shutemov wrote: > Let's add wrappers for ->nr_ptes with the same interface as for nr_pmd > and nr_pud. > > It's preparation for consolidation of page-table counters in mm_struct. > > Signed-off-by: Kirill A. Shutemov Hey Kirill, This patch does not apply clean

Re: [PATCH v2 1/2] staging: Introduce NVIDIA Tegra20 video decoder driver

2017-10-05 Thread kbuild test robot
Hi Dmitry, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.14-rc3 next-20170929] [cannot apply to tegra/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commi

[PATCH 3/3] binfmt_elf: Search an unmapped area with total_size but not map the whole image

2017-10-05 Thread Baoquan He
In elf_map(), we can search an unmapped area for the whole image of dynamic loader with total_size, then map the first PT_LOAD segment with its own size. But not map the while image, then unmap the remainder at the end. And also update the code comment in elf_map() accordingly. Signed-off-by: Bao

[PATCH 2/3] binfmt_elf: Get the total_size only for dynamic loader in load_elf_binary()

2017-10-05 Thread Baoquan He
In commit: eab09532d4 ("binfmt_elf: use ELF_ET_DYN_BASE only for PIE") ... PIE programs are loaded offset from ELF_ET_DYN_BASE, and its map has been set as MAP_FIXED. Only dynamic loader will be mapped from below mm->mmap_base (E.g "./ld.so someprog"), and need take account of the need to alloc

[PATCH 0/3] binfmt_elf: Clean up codes related to total_size passed into elf_map()

2017-10-05 Thread Baoquan He
Currently total_size passed into elf_map() is non-zero only for dynamic loader, either in load_elf_interp(), or in load_elf_binary() for ET_DYN without INTERP case. Now PIE programs are loaded offset from ELF_ET_DYN_BASE, and map flags has been set as MAP_FIXED, no need to use tatal_size strategy.

[PATCH 1/3] binfmt_elf: Clean up the variable name of map flags

2017-10-05 Thread Baoquan He
In load_elf_interp() and elf_map(), variables with value of map flags are named as type or elf_type. That may bring confusion since their values not only contain map type which is MAP_SHARED or MAP_PRIVATE, also MAP_FIXED or MAP_DENYWRITE, etc. So change them as flags or elf_flags. Signed-off-by:

Re: [PATCH RFC hack dont apply] intel_idle: support running within a VM

2017-10-05 Thread Michael S. Tsirkin
On Wed, Oct 04, 2017 at 11:31:43AM -0700, Jacob Pan wrote: > On Wed, 4 Oct 2017 20:12:28 +0300 > "Michael S. Tsirkin" wrote: > > > On Wed, Oct 04, 2017 at 10:09:39AM -0700, Jacob Pan wrote: > > > On Wed, 4 Oct 2017 05:09:09 +0300 > > > "Michael S. Tsirkin" wrote: > > > > > > > On Mon, Oct 02,

Re: [PATCH 2/2] perf, tools, stat: Reset ids counter when retrying events

2017-10-05 Thread Andi Kleen
> Poisoned by user: f7 > ASan internal: fe > Forgot add. This should be Cc: sta...@vger.kernel.org # 4.4+ [it breaks pmu-tools] -Andi

Re: [PATCH v2 1/2] staging: Introduce NVIDIA Tegra20 video decoder driver

2017-10-05 Thread kbuild test robot
Hi Dmitry, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.14-rc3 next-20170929] [cannot apply to tegra/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commi

[PATCH]Support new Alps HID Touchpad device

2017-10-05 Thread Masaki Ota
Hi, Jiri, Sorry, I have fixed the build warning error, and send the patch again. Best Regards, Masaki Ota

[PATCH 1/7] Delete unnecessary structure

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Delete "struct u1_dev devInfo" structure, because u1_dev structure is already declared as "struct u1_dev *data", and this structure is used for getting U1 data in [PATCH 2/7]. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 69 +

[PATCH 2/7] Separate U1 device code

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Create "static int u1_init()" function for separate U1 device initialization code from Main initialization. -Create "has_sp" variable for checking whether it has SP device or not. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 120 +++--

[PATCH 4/7] replace some variables

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Move some variables(dev_ctrl, dev_type, sen_line_num_x, sen_line_num_y, pitch_x, pitch_y, resolution, btn_info) from u1_dev structure to "u1_init()", because these variables are only used in "u1_init()" function. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 67

[PATCH 6/7] Add new U1 device ID

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Add new U1 device Product ID -This device is used on HP Elite book x360 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 3 +++ drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-alps.c b/driv

[PATCH 5/7] Support Alps T4 Touchpad device

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Define T4 device specification value for support T4 device. -Create "t4_contact_data" and "t4_input_report" structure for decode T4 data and store it. -Create "t4_calc_check_sum()" function for calculate checksum value to send the device. T4 needs to send this value when read/w

[PATCH 7/7] Support Alps U1 USB Touchpad device

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Add T4 USB device Product ID. (0x1216) -Separate T4 USB device initialization code from T4 Standard device code. -T4 USB device is used on HP Elite x2 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 35 +-- drivers/hid/hid-core.c

[PATCH 3/7] Add some variables

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Create x_min, y_min and max_fingers variables for set correct XY minimum value and the number of max finger on each devices. -Move the Button pad checking code to U1 init function, because this checking code is for U1 device. Signed-off-by: Masaki Ota --- drivers/hid/hid-alp

[PATCH v5 4/5] cramfs: add mmap support

2017-10-05 Thread Nicolas Pitre
When cramfs_physmem is used then we have the opportunity to map files directly from ROM, directly into user space, saving on RAM usage. This gives us Execute-In-Place (XIP) support. For a file to be mmap()-able, the map area has to correspond to a range of uncompressed and contiguous blocks, and i

[PATCH v5 3/5] cramfs: implement uncompressed and arbitrary data block positioning

2017-10-05 Thread Nicolas Pitre
Two new capabilities are introduced here: - The ability to store some blocks uncompressed. - The ability to locate blocks anywhere. Those capabilities can be used independently, but the combination opens the possibility for execute-in-place (XIP) of program text segments that must remain uncompr

[PATCH v5 2/5] cramfs: make cramfs_physmem usable as root fs

2017-10-05 Thread Nicolas Pitre
Signed-off-by: Nicolas Pitre Tested-by: Chris Brandt --- init/do_mounts.c | 8 1 file changed, 8 insertions(+) diff --git a/init/do_mounts.c b/init/do_mounts.c index c2de5104aa..43b5817f60 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -556,6 +556,14 @@ void __init prepare_nam

[PATCH v5 0/5] cramfs refresh for embedded usage

2017-10-05 Thread Nicolas Pitre
This series brings a nice refresh to the cramfs filesystem, adding the following capabilities: - Direct memory access, bypassing the block and/or MTD layers entirely. - Ability to store individual data blocks uncompressed. - Ability to locate individual data blocks anywhere in the filesystem. T

[PATCH v5 1/5] cramfs: direct memory access support

2017-10-05 Thread Nicolas Pitre
Small embedded systems typically execute the kernel code in place (XIP) directly from flash to save on precious RAM usage. This adds the ability to consume filesystem data directly from flash to the cramfs filesystem as well. Cramfs is particularly well suited to this feature as it is very simple a

[PATCH v5 5/5] cramfs: rehabilitate it

2017-10-05 Thread Nicolas Pitre
Update documentation, pointer to latest tools, appoint myself as maintainer. Given it's been unloved for so long, I don't expect anyone will protest. Signed-off-by: Nicolas Pitre Tested-by: Chris Brandt --- Documentation/filesystems/cramfs.txt | 42 MAINTAIN

Re: r8169 Wake-on-LAN causes immediate ACPI GPE wakeup

2017-10-05 Thread Daniel Drake
On Fri, Oct 6, 2017 at 9:24 AM, Rafael J. Wysocki wrote: >> On the other hand, the RP05 (root port) _PRW says it will wake up the >> system via GPE09, and the _L09 handler at least has one codepath which >> could potentially do a Notify(PXSX, 2) to indicate an ethernet wakeup. > > Which can only h

Re: r8169 Wake-on-LAN causes immediate ACPI GPE wakeup

2017-10-05 Thread Daniel Drake
On Fri, Oct 6, 2017 at 8:16 AM, Francois Romieu wrote: > Daniel Drake : > [...] >> Also, is there a standard behaviour defined for ethernet drivers >> regarding wake-on-LAN? r8169 appears to enable wake-on-LAN by default >> if it believes the hardware is capable of it, > > If so it isn't its desi

__ubsan_handle_type_mismatch converted to __ubsan_handle_type_mismatch_v1

2017-10-05 Thread Sodagudi Prasad
Hi All, Based on below links __ubsan_handle_type_mismatch has been renamed to __ubsan_handle_type_mismatch_v1. https://github.com/llvm-mirror/compiler-rt/commit/56faee71af1888ba12ab076b3d1f9bbe223493df#diff-21369cc6f3917b27df3ced8de89cf134 https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg

Re: [PATCH] md: raid10: remove VLAIS

2017-10-05 Thread NeilBrown
On Thu, Oct 05 2017, Matthias Kaehlcke wrote: > Hi Neil, > > El Fri, Oct 06, 2017 at 10:58:59AM +1100 NeilBrown ha dit: > >> On Thu, Oct 05 2017, Matthias Kaehlcke wrote: >> >> > The raid10 driver can't be built with clang since it uses a variable >> > length array in a structure (VLAIS): >> > >>

Re: [ANNOUNCE] v4.11.12-rt13

2017-10-05 Thread Mike Galbraith
On Thu, 2017-10-05 at 17:54 +0200, Sebastian Andrzej Siewior wrote: > On 2017-10-04 18:07:59 [+0200], Mike Galbraith wrote: > > Seems combo-patch induced some ltp posix conformance test grumbling. > > > > +clock_settime_8_1 ... ... FAILED > > +clock_settime_4_2 ... ... FAILED > > +clock_settime_

RE: [PATCH v3 0/4] phy: rcar-gen3-usb2: add support for r8a77995

2017-10-05 Thread Yoshihiro Shimoda
Hi Kishon, Would you review this patch set? I checked this can apply your latest linux-phy.git / next branch (the commit id = 415060b21f31). Best regards, Yoshihiro Shimoda > -Original Message- > From: Yoshihiro Shimoda > Sent: Friday, September 1, 2017 11:41 AM > To: kis...@ti.com > Cc

Re: [PATCH] vfs: hard-ban creating files with control characters in the name

2017-10-05 Thread Dave Chinner
On Thu, Oct 05, 2017 at 12:16:19PM -0400, J. Bruce Fields wrote: > This kind of restriction sounds more like a permanent feature of the > filesystem--something you'd set at mkfs time. > > We already have filesystems with these kinds of restrictions, don't we? In general, no. Filename storage typi

[git pull] drm fixes for 4.14-rc4

2017-10-05 Thread Dave Airlie
Hi Linus, Some i915 fixes from last two weeks (as they were on a strange base and I just waited for rc3), also a single sun4i hdmi fix. Dave. The following changes since commit 9e66317d3c92ddaab330c125dfe9d06eee268aff: Linux 4.14-rc3 (2017-10-01 14:54:54 -0700) are available in the git repos

Re: [PATCH 1/2] powerpc/platforms/cell: Delete an error message for a failed memory allocation in three functions

2017-10-05 Thread Joe Perches
On Thu, 2017-10-05 at 22:29 +0200, Michal Suchánek wrote: > I do not expect the kernel to generate a > stack trace every time memory allocation fails. With all the hooks in > the code it is hard to tell, though. All [kv].alloc failures without __GFP_NOWARN call dump_stack()

[PATCH 2/2] perf, tools, stat: Reset ids counter when retrying events

2017-10-05 Thread Andi Kleen
From: Andi Kleen perf stat can retry opening events. After opening an file descriptor it adds the ids to the ecsel. Each event keeps a running count of ids. When we decide to close an evsel and retry with a different configuration this count needs to be reset, otherwise it can overflow the buffer

[PATCH 1/2] perf, tools, stat: Use xyarray dimensions to iterate fds

2017-10-05 Thread Andi Kleen
From: Andi Kleen Now that the xyarray stores the dimensions we can use those to iterate over the FDs for a evsel. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/built

[PATCH v6 3/3] KVM: LAPIC: Apply change to TDCR right away to the timer

2017-10-05 Thread Wanpeng Li
From: Wanpeng Li The description in the Intel SDM of how the divide configuration register is used: "The APIC timer frequency will be the processor's bus clock or core crystal clock frequency divided by the value specified in the divide configuration register." Observation of baremetal shown tha

[PATCH v6 1/3] KVM: LAPIC: Introduce limit_periodic_timer_frequency

2017-10-05 Thread Wanpeng Li
From: Wanpeng Li Extract the logic of limit lapic periodic timer frequency to a new function, this function will be used by later patches. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/kvm/lapic.c | 39 ++- 1 file changed, 22 i

[PATCH v6 2/3] KVM: LAPIC: Keep timer running when switching between one-shot and periodic mode

2017-10-05 Thread Wanpeng Li
From: Wanpeng Li If we take TSC-deadline mode timer out of the picture, the Intel SDM does not say that the timer is disable when the timer mode is change, either from one-shot to periodic or vice versa. After this patch, the timer is no longer disarmed on change of mode, so the counter (TMCCT)

[PATCH v6 0/3] KVM: LAPIC: Rework lapic timer to behave more like real-hardware

2017-10-05 Thread Wanpeng Li
The issue is reported in xen community. Anthony PERARD pointed out: https://www.mail-archive.com/xen-devel@lists.xen.org/msg117283.html# | When developing PVH for OVMF, I've used the lapic timer. It turns out that the | way it is used by OVMF did not work with Xen [1]. I tried to find out how

Re: [PATCH] arch_topology: Fix section miss match warning due to free_raw_capacity()

2017-10-05 Thread Sodagudi Prasad
On 2017-09-25 16:20, Viresh Kumar wrote: On 25-09-17, 15:51, Prasad Sodagudi wrote: Remove the __init annotation from free_raw_capacity() to avoid the following warning. The function init_cpu_capacity_callback() references the function __init free_raw_capacity(). WARNING: vmlinux.o(.text+0x425c

Hi There

2017-10-05 Thread Ms. Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your response.

Re: [PATCH] kvm/x86: Avoid async PF to end RCU read-side critical section early in PREEMPT=n kernel

2017-10-05 Thread Boqun Feng
On Tue, Oct 03, 2017 at 02:11:08PM +, Paolo Bonzini wrote: > I'd prefer a slight change in subject and topic: > > --- 8< > Subject: [PATCH] kvm/x86: Avoid async PF preempting the kernel incorrectly > > Currently, in PREEMPT_COUNT=n kernel, kvm_async_pf_task_wait() could call > sc

Re: [PATCH] vfs: fix statfs64() returning impossible EOVERFLOW for 64-bit f_files

2017-10-05 Thread Linus Torvalds
On Thu, Oct 5, 2017 at 4:06 PM, Al Viro wrote: > > Just to make sure we are on the same page: out of kstatfs fields > we have 5 u64 ones (see above; all of them are u64 is struct statfs64 > on all architectures), an opaque 64bit f_fsid and 5 fields that > are long: f_type (magic numbers, all 32bit

Re: r8169 Wake-on-LAN causes immediate ACPI GPE wakeup

2017-10-05 Thread Rafael J. Wysocki
On Thu, Oct 5, 2017 at 10:57 AM, Daniel Drake wrote: > Hi, > > On the Acer laptop models Aspire ES1-533, Aspire ES1-732, PackardBell > ENTE69AP and Gateway NE533, we are seeing a problem where the system > immediately wakes up after being put into S3 suspend. > > This problem has been seen on all

[PATCH 1/7] Delete unnecessary structure

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Delete "struct u1_dev devInfo" structure, because u1_dev structure is already declared as "struct u1_dev *data", and this structure is used for getting U1 data in [PATCH 2/7]. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 69 +

[PATCH 6/7] Add new U1 device ID

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Add new U1 device Product ID -This device is used on HP Elite book x360 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 3 +++ drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-alps.c b/driv

[PATCH 3/7] Add some variables

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Create x_min, y_min and max_fingers variables for set correct XY minimum value and the number of max finger on each devices. -Move the Button pad checking code to U1 init function, because this checking code is for U1 device. Signed-off-by: Masaki Ota --- drivers/hid/hid-alp

[PATCH]Support new Alps HID Touchpad device

2017-10-05 Thread Masaki Ota
I have modified the Patch. About __maybe_unused annotation, it was specified by Benjamin in previous review. So I added this annotation. Best Regards, Masaki OTa

[PATCH 4/7] replace some variables

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Move some variables(dev_ctrl, dev_type, sen_line_num_x, sen_line_num_y, pitch_x, pitch_y, resolution, btn_info) from u1_dev structure to "u1_init()", because these variables are only used in "u1_init()" function. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 67

[PATCH 2/7] Separate U1 device code

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Create "static int u1_init()" function for separate U1 device initialization code from Main initialization. -Create "has_sp" variable for checking whether it has SP device or not. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 120 +++--

[PATCH 7/7] Support Alps U1 USB Touchpad device

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Add T4 USB device Product ID. (0x1216) -Separate T4 USB device initialization code from T4 Standard device code. -T4 USB device is used on HP Elite x2 series Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 35 +-- drivers/hid/hid-core.c

[PATCH 5/7] Support Alps T4 Touchpad device

2017-10-05 Thread Masaki Ota
From: Masaki Ota -Define T4 device specification value for support T4 device. -Create "t4_contact_data" and "t4_input_report" structure for decode T4 data and store it. -Create "t4_calc_check_sum()" function for calculate checksum value to send the device. T4 needs to send this value when read/w

[PATCH net v2 3/9] net/mac89x0: Fix and modernize log messages

2017-10-05 Thread Finn Thain
Fix misplaced newlines in conditional log messages. Add missing printk severity levels. Log the MAC address after the interface gets a meaningful name. Drop deprecated "out of memory" message as per checkpatch advice. Signed-off-by: Finn Thain --- drivers/net/ethernet/cirrus/mac89x0.c | 26 +

[PATCH net v2 1/9] net/smc9194: Remove bogus CONFIG_MAC reference

2017-10-05 Thread Finn Thain
The only version of smc9194.c with Mac support is the one in the linux-mac68k CVS repo. AFAIK that driver never made it to the mainline. Despite that, as of v2.3.45, arch/m68k/config.in listed CONFIG_SMC9194 under CONFIG_MAC. This mistake got carried over into Kconfig in v2.5.55. (See pre-git era

[PATCH net v2 4/9] net/mac89x0: Replace custom debug logging with netif_* calls

2017-10-05 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/net/ethernet/cirrus/mac89x0.c | 47 --- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/drivers/net/ethernet/cirrus/mac89x0.c b/drivers/net/ethernet/cirrus/mac89x0.c index fa4b6968afd5..d331c8344b96 100644 ---

[PATCH net v2 5/9] net/macmace: Fix and cleanup log messages

2017-10-05 Thread Finn Thain
Log the MAC address after the interface gets a meaningful name and in doing so, make the registration error path more idiomatic. Drop redundant debug messages for FIFO events recorded in the interface statistics (consistent with mace.c). Signed-off-by: Finn Thain Tested-by: Stan Johnson --- dri

[PATCH net v2 6/9] net/sonic: Cleanup and modernize log messages

2017-10-05 Thread Finn Thain
Add missing printk severity levels. Don't print the valid silicon revision number (it's in the source). Avoid KERN_CONT usage as per advice from checkpatch. Avoid ifdef around printk calls. Cc: Thomas Bogendoerfer Cc: Chris Zankel Signed-off-by: Finn Thain --- Only the macsonic.c changes have b

[PATCH net v2 8/9] net/8390: Fix redundant code

2017-10-05 Thread Finn Thain
The patch which introduced the 8390 core module parameter 'msg_enable' failed to do anything useful with it: it merely causes an ancient version string to be logged. Remove the other code that logs the same string. Use the msg_enable module parameter as the default value for ei_local->msg_enable.

[PATCH net v2 9/9] net/mac8390: Fix log messages

2017-10-05 Thread Finn Thain
Before expansion, dev->name is "eth%d", so log the slot number instead. Log the MAC address after the interface gets a meaningful name. Disambiguate the two identical "Card type %s is unsupported" messages. Fix the duplicated driver name in the pr_warn() message. Fixes: 3a3a7f3b7fbd ("net: mac8390

  1   2   3   4   5   6   7   8   9   10   >