Re: [PATCH v3 2/3] hwmon/ltc2990: Generalise DT to fwnode support

2019-08-16 Thread Max Staudt
On 08/16/2019 12:43 AM, Guenter Roeck wrote: > On Fri, Aug 16, 2019 at 12:19:42AM +0200, Max Staudt wrote: >> On 08/15/2019 02:58 PM, Max Staudt wrote: >>> - if (of_node) { >>> - ret = of_property_read_u32_array(of_node, "lltc,meas-mode", >>> -

[PATCH v1 48/63] input: atmel_mxt_ts: move bootloader probe from mxt_initialize()

2019-08-16 Thread Jiada Wang
From: Deepak Das Validity of bootloader address is now checked before checking the bootloader status so mxt_lookup_bootloader_address() was moved from mxt_probe_bootloader() to mxt_initialize(). Above changes added lot of bootloader mode verification code into mxt_initialize() which made this fun

[PATCH v1 34/63] Input: atmel_mxt_ts - Change call-points of mxt_free_* functions

2019-08-16 Thread Jiada Wang
From: Kautuk Consul Revamping the code to call mxt_free_object_table and mxt_free_input_device functions only in the following scenarios and code paths: 1) The error path of the mxt_probe() entry point 2) The mxt_remove de-init path entry point 3) All paths which definitely expect to populate the

[PATCH v1 52/63] Input: Atmel: use T44 object to process T5 messages

2019-08-16 Thread Jiada Wang
From: Deepak Das T44 object returns the count of valid T5 messages in the buffer. According to atmel, this count should be the main criteria to read the number of T5 messages. Following is the statement from atmel confirming the same :- "For the readout of messages we recommend to stop after the

[PATCH v1 31/63] Input: atmel_mxt_ts - add memory access interface via sysfs

2019-08-16 Thread Jiada Wang
From: Nick Dyer Atmel maXTouch chips can be addressed via an "Object Based Protocol" which defines how i2c registers are mapped to different functions within the chips. This interface exposes the register map and allows user-space utilities to inspect and alter object configuration, and to view d

[PATCH v1 54/63] Input: atmel_mxt_ts: Avoid race condition in freeing of input device

2019-08-16 Thread Jiada Wang
From: Bhuvanesh Surachari >From the static analysis of the code it seems that there could be a race condition leading to crash while freeing input device in mxt_free_input_device(). The backtrace of crash is as shown below: Unable to handle kernel NULL pointer dereference at virtual address

[PATCH v1 33/63] Input: atmel_mxt_ts - eliminate data->raw_info_block

2019-08-16 Thread Jiada Wang
Dynamically allocated in mxt_read_info_block() buffer buf is assigned both to data->info and data->raw_info_block, having both data->info and data->raw_info_block is redundant and confusing. This patch eliminates data->raw_info_block. Signed-off-by: Jiada Wang Signed-off-by: George G. Davis Sig

[PATCH v1 53/63] Input: atmel_mxt_ts: use gpiod_set_value_cansleep for reset pin

2019-08-16 Thread Jiada Wang
From: Balasubramani Vivekanandan In case of remote display, touch controller will be also remote. In such cases, the reset pin of the touch controller will be controlled through bridging ICs like Deserilizer and Serializer. Therefore accessing the gpio pins require transactions with the external

[PATCH v1 32/63] Input: atmel_mxt_ts - implement improved debug message interface

2019-08-16 Thread Jiada Wang
From: Nick Dyer Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit 078569c13c88dcb6f8d882bfe17168587712df7d) [gdavis: Resolve forward port conflicts due to v4.14.51 commit 960fe000b1d3 ("Input: atmel_mxt_ts - fix the firmware update").] Signed-off-by:

[PATCH v1 56/63] Input: atmel_mxt_ts: Use complete when in_bootloader true

2019-08-16 Thread Jiada Wang
From: Dean Jenkins In mxt_interrupt(), complete(&data->chg_completion) was called everytime mxt_interrupt() ran which is unnecessary. mxt_regulator_enable() sets data->in_bootloader to true and waits for the completion indication for data->chg_completion to be set by mxt_interrupt(). mxt_interr

[PATCH v1 55/63] Input: atmel_mxt_ts: Use msecs_to_jiffies() instead of HZ

2019-08-16 Thread Jiada Wang
From: Dean Jenkins Replace HZ / 10 with msecs_to_jiffies(100) in the schedule_delayed_work() calls in mxt_fw_work() and mxt_check_bootloader() because it is cleaner. Signed-off-by: Dean Jenkins Signed-off-by: Sanjeev Chugh Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers

[PATCH v1 51/63] input: Atmel: limit the max bytes transferred while reading T5 messages

2019-08-16 Thread Jiada Wang
From: Deepak Das "a008387 Input: atmel_mxt_ts: Limit the max bytes transferred in an i2c transaction" limited the Max bytes transferred in i2c transaction while reading T5 message in mxt_process_messages_until_invalid(). mxt_process_messages_t44() reads the T44 message which contains the pending

[PATCH v1 05/63] Input: atmel_mxt_ts - output status from T48 Noise Supression

2019-08-16 Thread Jiada Wang
From: Nick Dyer Signed-off-by: Nick Dyer Acked-by: Benson Leung Acked-by: Yufeng Shen (cherry picked from ndyer/linux/for-upstream commit 2895a6ff150a49f27a02938f8d262be238b296d8) Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 25 +++

[PATCH v1 09/63] Input: atmel_mxt_ts - handle reports from T47 Stylus object

2019-08-16 Thread Jiada Wang
From: Nick Dyer Signed-off-by: Nick Dyer Acked-by: Benson Leung Acked-by: Yufeng Shen (cherry picked from ndyer/linux/for-upstream commit 56405a5ea08eb34cfe83f3121867c9de0a5c48c1) Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 12 +++

[PATCH v2 42/63] Input: atmel_mxt_ts: Limit the max bytes transferred in an i2c transaction

2019-08-16 Thread Jiada Wang
From: Balasubramani Vivekanandan In mxt_process_messages_until_invalid() function, driver tries to read all possible reportid in a single i2c transaction. Number of bytes read is limited by the max_reportid parameter. If the max_reportid is a very large value, then a large chunk of bytes will be

[PATCH v1 07/63] Input: atmel_mxt_ts - implement T9 vector/orientation support

2019-08-16 Thread Jiada Wang
From: Nick Dyer The atmel touch messages contain orientation information as a byte in a packed format which can be passed straight on to Android if the input device configuration is correct. This requires vector reports to be enabled in maXTouch config (zero DISVECT bit 3 in T9 CTRL field) Andr

[PATCH v1 59/63] Input: atmel_mxt_ts: Prevent crash due to freeing of input device

2019-08-16 Thread Jiada Wang
From: Bhuvanesh Surachari Move sysfs creation after intializing the input device to prevent crash due to freeing of input device by function via sysfs. Signed-off-by: Bhuvanesh Surachari Signed-off-by: Sanjeev Chugh Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/

[PATCH v1 44/63] Input: atmel_mxt_ts: return error from mxt_process_messages_until_invalid()

2019-08-16 Thread Jiada Wang
From: Dean Jenkins mxt_process_messages_until_invalid() failed to propagate the error code from mxt_read_and_process_messages() so return the error code. Signed-off-by: Dean Jenkins Signed-off-by: Deepak Das Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscr

[PATCH v1 12/63] Input: atmel_mxt_ts - release touch state during suspend

2019-08-16 Thread Jiada Wang
From: Nick Dyer If fingers are down as the MXT chip goes into suspend it does not send a lift message. In addition, it may not complete its final measurement cycle immediately, which means touch messages may be received by the interrupt handler after mxt_stop() has completed. So: - disable irq d

[PATCH v1 63/63] Input: atmel_mxt_ts - Fix compilation warning

2019-08-16 Thread Jiada Wang
fix "make W=1" compilation warnings from Atmel driver as per the compilation logs. Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atme

[PATCH v1 08/63] Input: atmel_mxt_ts - implement T15 Key Array support

2019-08-16 Thread Jiada Wang
From: Nick Dyer There is a key array object in many maXTouch chips which allows some X/Y lines to be used as a key array. This patch maps them to a series of keys which may be configured in a platform data array. Signed-off-by: Nick Dyer Acked-by: Benson Leung Acked-by: Yufeng Shen (cherry pi

[PATCH v1 43/63] Input: atmel_mxt_ts: update stale use_retrigen_workaround flag

2019-08-16 Thread Jiada Wang
From: Balasubramani Vivekanandan If after configuration update, retrigen status is enabled, the mxt_check_retrigen() function, called after configuration update, does not clear the use_retrigen_workaround flag, if it was previously set. Signed-off-by: Balasubramani Vivekanandan Signed-off-by:

[PATCH v1 14/63] Input: atmel_mxt_ts - report failures in suspend/resume

2019-08-16 Thread Jiada Wang
From: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit 93a57575403de4dd07cd64807d3c2ed7f2cca262) [gdavis: Resolve forward port conflicts due to applying upstream commit 96a938aa214e ("Input: atmel_mxt_ts - remove platform data support").] Signed-off-by: George G. D

[PATCH v1 39/63] Input: touchscreen: Atmel: Add device tree support for T15 key array objects

2019-08-16 Thread Jiada Wang
From: Daniel Gong Signed-off-by: Daniel Gong Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscree

[PATCH v1 62/63] Input: atmel_mxt_ts: Implement synchronization during various operation

2019-08-16 Thread Jiada Wang
From: Sanjeev Chugh There could be scope of race conditions when sysfs is being handled and at the same time, device removal is occurring. For example, we don't want the device removal to begin if the Atmel device cfg update is going on or firmware update is going on. In such cases, wait for devi

[PATCH v1 61/63] input: atmel_mxt_ts: Add NULL check for sysfs attribute debug_msg_attr

2019-08-16 Thread Jiada Wang
From: Balasubramani Vivekanandan In some scenarios mxt_debug_msg_remove() can be called from mxt_remove() even before the data->debug_msg_attr is updated. So a NULL check is required for data->debug_msg_attr before accessing it. There is also an additional change in mxt_debug_msg_init() to update

[PATCH v1 06/63] Input: atmel_mxt_ts - output status from T42 Touch Suppression

2019-08-16 Thread Jiada Wang
From: Nick Dyer Signed-off-by: Nick Dyer Acked-by: Benson Leung Acked-by: Yufeng Shen (cherry picked from ndyer/linux/for-upstream commit ab95b5a30d2c098daaa9f88d9fcfae7eb516) Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 25 +++

[PATCH v1 11/63] Input: atmel_mxt_ts - add debug for T92 gesture and T93 touch seq msgs

2019-08-16 Thread Jiada Wang
From: Karl Tsou Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit cb98986f8342107bf4a536aed4160b20839e97c1) Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 40 1 file changed, 40 inser

[PATCH v1 10/63] Input: atmel_mxt_ts - implement support for T107 active stylus

2019-08-16 Thread Jiada Wang
From: Nick Dyer Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit 20e357dd9acf8c2040068c8b22d6bc1401a1893f) [gdavis: Forward port and fix conflicts due to applying upstream commit 96a938aa214e ("Input: atmel_mxt_ts - remove platform data support").]

[PATCH v1 13/63] Input: atmel_mxt_ts - add regulator control support

2019-08-16 Thread Jiada Wang
From: Nick Dyer Allow the driver to optionally manage enabling/disable power to the touch controller itself. If the regulators are not present then use the deep sleep power mode instead. For a correct power on sequence, it is required that we have control over the RESET line. Signed-off-by: Nic

[PATCH v1 60/63] input: atmel_mxt_ts: added sysfs interface to update atmel T38 data

2019-08-16 Thread Jiada Wang
From: Naveen Chakka Atmel touch controller contains T38 object where a user can store its own data of length 64 bytes. T38 data will not be part of checksum calculation on executing T6 BACKUP command. format used to update the T38 data is given below: offset: offset address of the data to b

[PATCH v1 17/63] Input: atmel_mxt_ts - allow input name to be specified in platform data

2019-08-16 Thread Jiada Wang
From: Nick Dyer Android systems identify the input device and map to IDC file by using the input device name. To avoid unnecessary deltas to the driver file, allow this to be set from the platform data. Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit cbf94a7bda754d

[PATCH v1 38/63] Input: atmel_mxt_ts: Add support for run self-test routine.

2019-08-16 Thread Jiada Wang
From: Nikhil Ravindran The self test object T25 runs self test routines in device to find faults Sysfs entry add to start self test routine and read back the test results for atmel touchcontrollers.The feature will be used for A-IVI and CAF projects. Signed-off-by: Nikhil Ravindran Signed-off-b

[PATCH v1 15/63] Input: atmel_mxt_ts - allow specification of firmware file name

2019-08-16 Thread Jiada Wang
From: Nick Dyer On platforms which have multiple device instances using this driver, the firmware may be different on each device. This patch makes the user give the name of the firmware file when flashing. This also prevents accidental triggering of the firmware load process. Signed-off-by: Ni

[PATCH v1 40/63] input: atmel_mxt_ts: Add Missing Delay for reset handling of Atmel touch panel controller in detachable displays.

2019-08-16 Thread Jiada Wang
From: keerthikumarp In case of attached display, the touchpanel reset is controlled via imx gpio's from atmel driver and the delay between touchpanel reset and the time at which the chip becomes capable to communicate with the host processor, has be taken care. However in case of detachable dis

[PATCH v1 19/63] Input: atmel_mxt_ts - check data->input_dev is not null in mxt_input_sync()

2019-08-16 Thread Jiada Wang
From: Janus Cheng * Symptom: if update_fw and update_cfg, kernel panic occurs. * Reproducibility: 10% * Root Cause: - If update_fw, the T6 will send a CFG_ERR message periodically. - After that, update_cfg process begin, the mxt_update_cfg_store() will invoke mxt_free_input_device() and n

[PATCH v1 57/63] input: touchscreen: atmel_mxt_ts: Added sysfs entry for touchscreen status

2019-08-16 Thread Jiada Wang
From: Naveen Chakka To know the current communication status of the touch controller during runtime, sysfs interface is added sysfs interface: /sys/class/i2c-dev/i2c-*/device/*/touch_dev_stat Executing the above sysfs interface provides two output values 1)Status of the touch device val

[PATCH v1 18/63] Input: atmel_mxt_ts - add config checksum attribute to sysfs

2019-08-16 Thread Jiada Wang
From: karl tsou Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit 03477477ddbe5dcad42853ab3f84166a8f807acf) [gdavis: Forward port and fix conflicts.] Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 11

[PATCH v1 41/63] Input: touchscreen: Atmel: Enable IRQ_DISABLE_UNLAZY flag for interrupt

2019-08-16 Thread Jiada Wang
From: Bhuvanesh Surachari The de-/serializer driver has defined only irq_mask "ds90ub927_irq_mask" and irq_unmask "ds90ub927_irq_unmask" callback functions. And de-/serializer driver doesn't implement the irq_disable and irq_enable callback functions. Hence inorder to invoke irq_mask callback fun

[PATCH v1 16/63] Input: atmel_mxt_ts - handle cfg filename via pdata/sysfs

2019-08-16 Thread Jiada Wang
From: Nick Dyer There may be multiple maXTouch chips on a single device which will require different configuration files. Add a platform data value for the configuration filename. Add sysfs entry to write configuration file if the platform data is not set. Split out the object initialisation co

[PATCH v1 35/63] Input: atmel_mxt_ts - rely on calculated_crc rather than file config_crc

2019-08-16 Thread Jiada Wang
From: Kautuk Consul We now prefer to rely on the calculated CRC and not on the CRC stored in the file. The new logic is as follows: 1) stored CRC of file != calculated CRC of file, then refuse the possible corrupted file 2) calculated CRC of file != CRC of configuration in controller, then

[PATCH v1 30/63] Input: atmel_mxt_ts - implement debug output for messages

2019-08-16 Thread Jiada Wang
From: Nick Dyer Add a debug switch which causes all messages from the touch controller to be dumped to the dmesg log with a set prefix "MXT MSG:". This is used by Atmel user-space utilities to debug touch operation. Enabling this output does impact touch performance. Signed-off-by: Nick Dyer (c

[PATCH v1 58/63] Input: atmel_mxt_ts: Remove sysfs attributes during driver detach

2019-08-16 Thread Jiada Wang
From: Sanjeev Chugh This change prevents a scenario when sysfs attributes for Atmel touch controller driver are being accessed by userland while touch driver module unloading has already begun. At present, sysfs attribute files are created at device probe but they are not removed while driver is

[PATCH v1 36/63] Input: atmel_mxt_ts - configure and use gpios as real gpios

2019-08-16 Thread Jiada Wang
From: Kautuk Consul The upstream Atmel mXT driver implementation seems to handle the T19 GPIO/PWM object as a key pad. Keys can be defined in the device tree ("linux,gpio-keymap") and will be transported as key events to the Linux input device if GPIO state changes. With our hardware, the GPIO p

[PATCH v1 50/63] Input: Atmel: handle ReportID "0x00" while processing T5 messages

2019-08-16 Thread Jiada Wang
From: Deepak Das ReportID "0x00" is reserved by Atmel and should not be used by any Atmel touch controller. reportID is the first byte retrieved from T5 message payload. Currently Atmel driver continues to process the T5 messages even if the reportID "0x00" is returned by Touch Controller. This

[PATCH v1 37/63] input: atmel_mxt_ts: export GPIO reset line via sysfs

2019-08-16 Thread Jiada Wang
From: "George G. Davis" N.B. Modifying the atmel_mxt_ts GPIO reset line during operation will cause problems with normal driver operation. This feature is provided as a diagnostic debug aid. It does not take into consideration any pending operations which may be in progress. Modifying the atme

Re: [PATCH] gpio: pl061: Fix the issue failed to register the ACPI interruption

2019-08-16 Thread Wei Xu
Hi Linus, On 2019/8/14 17:04, Linus Walleij wrote: Hi Wei, thanks for your patch! This doesn't apply for my "devel" branch, can you rebase on this: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/log/?h=devel We have moved some ACPI headers around recently. Thanks to r

[PATCH v3 1/2] dt-bindings: i2c: mv64xxx: Add compatible for the H6 i2c node.

2019-08-16 Thread Bhushan Shah
Allwinner H6 have a mv64xxx i2c interface available to be used. Signed-off-by: Bhushan Shah --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/d

[PATCH v3 2/2] arm64: allwinner: h6: add I2C nodes

2019-08-16 Thread Bhushan Shah
Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl nodes. Suggested-by: Icenowy Zheng Signed-off-by: Bhushan Shah --- Changes in v3: - fix compatible for the i2c arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 60 +++- 1 file changed, 59 insertions(+), 1 dele

[PATCH v3 0/2] Enable the I2C nodes for Allwinner H6 CPU

2019-08-16 Thread Bhushan Shah
This patch series adds device-tree nodes for i2c nodes in the H6 dtsi, and enables it for the Pine H64. Changes in v2: - Add the SoC specific compatible string instead of re-using a31 one. - Don't enable the i2c0 node in PineH64 by default Changes in v3: - Fix compatible for i2c in sun50i-h

[PATCH] perf/x86: Fix typo in core.c

2019-08-16 Thread Su Yanjun
No functional change related. Signed-off-by: Su Yanjun --- arch/x86/events/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index 81b005e..325959d 100644 --- a/arch/x86/events/core.c +++ b/arch/x86/events/core.c @@ -1236,7

Re: [RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

2019-08-16 Thread Vlastimil Babka
On 8/15/19 3:35 PM, Jan Kara wrote: >> >> So when the GUP user uses MMU notifiers to stop writing to pages whenever >> they are writeprotected with page_mkclean(), they don't really need page >> pin - their access is then fully equivalent to any other mmap userspace >> access and filesystem knows

Re: [PATCH] Makefile: Convert -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang

2019-08-16 Thread Joe Perches
(adding Vivien Didelot for vim) On Wed, 2019-08-14 at 19:44 -0700, Joe Perches wrote: > On Tue, 2019-08-13 at 14:44 +0200, Miguel Ojeda wrote: > > Hm... I would go for either __fallthrough as the rest of attributes, > > or simply fallthrough -- FALLTHROUGH seems wrong. If you want it that > > way

Re: [PATCH v3 2/10] pwm: mediatek: allocate the clks array dynamically

2019-08-16 Thread Uwe Kleine-König
Hello, On Fri, Aug 16, 2019 at 03:21:20PM +0800, Sam Shih wrote: > @@ -119,9 +104,9 @@ static void mtk_pwm_clk_disable(struct pwm_chip *chip, > struct pwm_device *pwm) > if (!pc->soc->has_clks) > return; > > - clk_disable_unprepare(pc->clks[MTK_CLK_PWM1 + pwm->hwpwm]); >

Re: INFO: rcu detected stall in __do_softirq

2019-08-16 Thread Srinivas Kandagatla
On 16/08/2019 01:10, syzbot wrote: syzbot has bisected this bug to: commit 2aeac95d1a4cc85aae57ab842d5c3340df0f817f Author: Srinivas Kandagatla Date:   Tue Jun 11 10:40:41 2019 +     soundwire: add module_sdw_driver helper macro Not sure how adding a macro with no users triggers this

Re: [PATCH v2 1/6] perf: Refactor svg_build_topology_map

2019-08-16 Thread Jiri Olsa
On Wed, Aug 14, 2019 at 03:38:24PM -0500, Kyle Meyer wrote: SNIP > diff --git a/tools/perf/util/svghelper.c b/tools/perf/util/svghelper.c > index ae6a534a7a80..1beeb7291361 100644 > --- a/tools/perf/util/svghelper.c > +++ b/tools/perf/util/svghelper.c > @@ -751,38 +751,37 @@ static int str_to_bit

Re: [PATCH] FS: timerfd: [Trimmed unreadable long subject line ]

2019-08-16 Thread Thomas Gleixner
Arul, On Fri, 16 Aug 2019, arul.jenis...@gmail.com wrote: Please write the subject as a short precise sentence which fits into 70 characters and put the long explanation into the body, i.e. here. See Documentation/process/submitting-patches.rst > From: ARUL JENISTON MC This lacks a Signed-off

[PATCH v2] gpio: pl061: Fix the issue failed to register the ACPI interrtupion

2019-08-16 Thread Wei Xu
Invoke acpi_gpiochip_request_interrupts after the acpi data has been attached to the pl061 acpi node to register interruption. Otherwise it will be failed to register interruption for the ACPI case. Because in the gpiochip_add_data_with_key, acpi_gpiochip_add is invoked after gpiochip_add_irqchip

RE: [PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-16 Thread Hayes Wang
Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Friday, August 16, 2019 4:20 PM [...] > Which callback ? The USB device has two endpoints for Tx and Rx. If I submit tx or rx URB to the USB host controller, the relative callback functions would be called, when they are finished. For rx, it is

Re: [PATCH v9 0/7] Solve postboot supplier cleanup and optimize probe ordering

2019-08-16 Thread Greg Kroah-Hartman
On Thu, Aug 15, 2019 at 08:09:19PM -0700, Frank Rowand wrote: > Hi Saravana, > > On 8/15/19 6:50 PM, Saravana Kannan wrote: > > On Fri, Aug 9, 2019 at 10:20 PM Frank Rowand wrote: > >> > >> On 8/9/19 10:00 PM, Saravana Kannan wrote: > >>> On Fri, Aug 9, 2019 at 7:57 PM Frank Rowand > >>> wrote:

[GIT PULL] sound fixes for 5.3-rc5

2019-08-16 Thread Takashi Iwai
Linus, please pull sound fixes for v5.3-rc5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.3-rc5 The topmost commit is 19bce474c45be69a284ecee660aa12d8f1e88f18 sound fixes for 5.3-rc5 All sma

Re: [PATCH] platform/x86: intel_pmc_core: Do not ioremap RAM

2019-08-16 Thread Andy Shevchenko
On Fri, Aug 16, 2019 at 4:42 AM M. Vefa Bicakci wrote: > > On a Xen-based PVH virtual machine with more than 4 GiB of RAM, > intel_pmc_core fails initialization with the following warning message > from the kernel, indicating that the driver is attempting to ioremap > RAM: > > [ cut

Re: linux-next: Signed-off-by missing for commits in the net-next tree

2019-08-16 Thread Andy Grover
On 8/16/19 3:06 PM, Gerd Rausch wrote: > Hi, > > Just added the e-mail addresses I found using a simple "google search", > in order to reach out to the original authors of these commits: > Chris Mason and Andy Grover. > > I'm hoping they still remember their work from 7-8 years ago. Yes looks li

Re: [PATCH v2 10/24] EDAC, mc: Remove per layer counters

2019-08-16 Thread Borislav Petkov
On Mon, Jun 24, 2019 at 03:09:15PM +, Robert Richter wrote: > Looking at how mci->{ue,ce}_per_layer[EDAC_MAX_LAYERS] is used, it > turns out that only the leaves in the memory hierarchy are consumed > (in sysfs), but not the intermediate layers, e.g.: > > count = dimm->mci->ce_per_layer[dimm-

[PATCH v2 00/10] Add definition for the number of standard PCI BARs

2019-08-16 Thread Denis Efremov
Code that iterates over all standard PCI BARs typically uses PCI_STD_RESOURCE_END, but this is error-prone because it requires "i <= PCI_STD_RESOURCE_END" rather than something like "i < PCI_STD_NUM_BARS". We could add such a definition and use it the same way PCI_SRIOV_NUM_BARS is used. There is a

[PATCH v2 02/10] s390/pci: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- arch/s390/include/asm/pci.h | 5 + arch/s390/include/asm/pci_clp.h | 6 +++--- arch/s390/pci/pci.c | 16 arch/s390/pci/pci_clp.c |

[PATCH v2 01/10] PCI: Add define for the number of standard PCI BARs

2019-08-16 Thread Denis Efremov
Code that iterates over all standard PCI BARs typically uses PCI_STD_RESOURCE_END. However, it requires the "unusual" loop condition "i <= PCI_STD_RESOURCE_END" rather than something more standard like "i < PCI_STD_NUM_BARS". This patch adds the definition PCI_STD_NUM_BARS which is equivalent to "

[PATCH v2 05/10] net: dwc-xlgmac: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c b/drivers/net/e

[PATCH v2 08/10] vfio_pci: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- drivers/vfio/pci/vfio_pci.c | 11 +++ drivers/vfio/pci/vfio_pci_config.c | 10 ++ drivers/vfio/pci/vfio_pci_private.h | 4 ++-- 3 files changed, 15 inse

[PATCH v2 09/10] PCI: hv: Use PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Replace the magic constant with define PCI_STD_NUM_BARS. Signed-off-by: Denis Efremov --- drivers/pci/controller/pci-hyperv.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 40b625458a

[PATCH v2 07/10] efifb: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Denis Efremov --- drivers/video/fbdev/efifb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/f

[PATCH v2 04/10] stmmac: pci: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drive

[PATCH v2 10/10] PCI: Use PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Replace the magic constant with define PCI_STD_NUM_BARS. Signed-off-by: Denis Efremov --- drivers/pci/pci.c| 11 ++- drivers/pci/quirks.c | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 1b27b5af3d55..a9005c9eee6c 100

[PATCH v2 06/10] rapidio/tsi721: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- drivers/rapidio/devices/tsi721.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rapidio/devices/tsi721.c b/drivers/rapidio/devices/tsi721.c index 125

[PATCH v2 03/10] x86/PCI: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Denis Efremov
Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of 'i <= PCI_STD_RESOURCE_END'. Signed-off-by: Denis Efremov --- arch/x86/pci/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 9acab6ac28f5..1e59df041456 100644 --

Re: [PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-16 Thread Eric Dumazet
On 8/16/19 11:08 AM, Hayes Wang wrote: > Eric Dumazet [mailto:eric.duma...@gmail.com] >> Sent: Friday, August 16, 2019 4:20 PM > [...] >> Which callback ? > > The USB device has two endpoints for Tx and Rx. > If I submit tx or rx URB to the USB host controller, > the relative callback functions

Re: [PATCH] rtw88: pci: Move a mass of jobs in hw IRQ to soft IRQ

2019-08-16 Thread Jian-Hong Pan
Tony Chuang 於 2019年8月16日 週五 下午4:07寫道: > > Hi, > > A few more questions below > > > > From: Jian-Hong Pan [mailto:jian-h...@endlessm.com] > > > > > > There is a mass of jobs between spin lock and unlock in the hardware > > > IRQ which will occupy much time originally. To make system work more > > >

Re: [PATCH v2 03/10] x86/PCI: Loop using PCI_STD_NUM_BARS

2019-08-16 Thread Thomas Gleixner
On Fri, 16 Aug 2019, Denis Efremov wrote: > Refactor loops to use 'i < PCI_STD_NUM_BARS' instead of > 'i <= PCI_STD_RESOURCE_END'. Please describe the WHY not the WHAT. I can see the WHAT from the patch itself, but I can't figure out WHY. Thanks, tglx

Re: [PATCH] ARM64: dts: allwinner: Add devicetree for pine H64 modelA evaluation board

2019-08-16 Thread Corentin Labbe
On Wed, Aug 14, 2019 at 03:33:22PM +0200, Maxime Ripard wrote: > On Wed, Aug 14, 2019 at 03:17:41PM +0200, Corentin Labbe wrote: > > On Mon, Aug 12, 2019 at 11:40:00AM +0200, Maxime Ripard wrote: > > > On Thu, Aug 08, 2019 at 10:42:53AM +0200, Corentin Labbe wrote: > > > > This patch adds the evalu

Re: [PATCH v12 3/5] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver

2019-08-16 Thread Marc Kleine-Budde
On 5/9/19 6:11 PM, Dan Murphy wrote: > DT binding documentation for TI TCAN4x5x driver. > > Signed-off-by: Dan Murphy > --- > > v12 - No changes - https://lore.kernel.org/patchwork/patch/1052300/ > > v11 - No changes - https://lore.kernel.org/patchwork/patch/1051178/ > v10 - No changes - https:

[PATCH] pinctrl: intel: remap the pin number to gpio offset for irq enabled pin

2019-08-16 Thread Chris Chiu
On Asus X571GT, GPIO 297 is configured as an interrupt and serves for the touchpad. The touchpad will report input events much less than expected after S3 suspend/resume, which results in extremely slow cursor movement. However, the number of interrupts observed from /proc/interrupts increases much

Re: [PATCH v2 0/3] soundwire: debugfs support for 5.4

2019-08-16 Thread Vinod Koul
On 12-08-19, 18:59, Pierre-Louis Bossart wrote: > This patchset enables debugfs support and corrects all the feedback > provided on an earlier RFC ('soundwire: updates for 5.4') > > There is one remaining hard-coded value in intel.c that will need to > be fixed in a follow-up patchset not specific

Linux 4.14.139

2019-08-16 Thread Greg KH
I'm announcing the release of the 4.14.139 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Linux 4.19.67

2019-08-16 Thread Greg KH
I'm announcing the release of the 4.19.67 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.67

2019-08-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 065e5b34dc02..b6aa6e8d4411 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 66 +SUBLEVEL = 67 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/boot/dts/bcm47094-l

Re: Linux 4.14.139

2019-08-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 82ae13348266..3ccf48b2714a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 138 +SUBLEVEL = 139 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/mach-davinci/sleep.S

Re: [PATCH 01/10] PCI: designware-ep: Add multiple PFs support for DWC

2019-08-16 Thread Andrew Murray
On Fri, Aug 16, 2019 at 02:55:41AM +, Xiaowei Bao wrote: > > > > -Original Message- > > From: Andrew Murray > > Sent: 2019年8月15日 19:32 > > To: Xiaowei Bao > > Cc: jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > > bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com;

Linux 5.2.9

2019-08-16 Thread Greg KH
I'm announcing the release of the 5.2.9 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-08-16 Thread Petr Mladek
On Wed 2019-08-14 10:12:44, Josh Poimboeuf wrote: > On Wed, Aug 14, 2019 at 01:06:09PM +0200, Miroslav Benes wrote: > > > Really, we should be going in the opposite direction, by creating module > > > dependencies, like all other kernel modules do, ensuring that a module > > > is loaded *before* we

[PATCH v2] nvme: allow 64-bit results in passthru commands

2019-08-16 Thread Marta Rybczynska
It is not possible to get 64-bit results from the passthru commands, what prevents from getting for the Capabilities (CAP) property value. As a result, it is not possible to implement IOL's NVMe Conformance test 4.3 Case 1 for Fabrics targets [1] (page 123). This issue has been already discussed

Re: [PATCH v5 02/18] dt-bindings: thermal: add binding document for h6 thermal controller

2019-08-16 Thread Maxime Ripard
On Tue, Aug 13, 2019 at 07:40:44AM +0800, Frank Lee wrote: > On Mon, Aug 12, 2019 at 4:56 PM Maxime Ripard > wrote: > > > > On Sat, Aug 10, 2019 at 05:28:13AM +, Yangtao Li wrote: > > > This patch adds binding document for allwinner h6 thermal controller. > > > > > > Signed-off-by: Yangtao Li

[GIT PULL]: dmaengine fixes for v5.3-rc5

2019-08-16 Thread Vinod Koul
Hello Linus, Please pull the fixes for dmaengine drivers as listed below. The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.infradead.org/users/vkoul/slave-dma.git tags/dm

Re: [linux-sunxi] [PATCH] ARM64: dts: allwinner: Add devicetree for pine H64 modelA evaluation board

2019-08-16 Thread Jernej Škrabec
Dne sreda, 14. avgust 2019 ob 15:28:53 CEST je Clément Péron napisal(a): > Hi, > > On Wed, 14 Aug 2019 at 15:20, Corentin Labbe wrote: > > On Mon, Aug 12, 2019 at 12:56:56PM +0200, Jernej Škrabec wrote: > > > Dne četrtek, 08. avgust 2019 ob 10:42:53 CEST je Corentin Labbe napisal(a): > > > > Th

Re: [PATCH v6,1/2] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-16 Thread Lorenzo Pieralisi
On Thu, Aug 15, 2019 at 05:01:37PM +, Haiyang Zhang wrote: > Currently in Azure cloud, for passthrough devices, the host sets the device > instance ID's bytes 8 - 15 to a value derived from the host HWID, which is > the same on all devices in a VM. So, the device instance ID's bytes 8 and 9 > p

Re: [PATCH v2 13/24] EDAC, ghes: Add support for legacy API counters

2019-08-16 Thread Borislav Petkov
On Mon, Jun 24, 2019 at 03:09:22PM +, Robert Richter wrote: > The ghes driver is not able yet to count legacy API counters in sysfs, > e.g.: > > /sys/devices/system/edac/mc/mc0/csrow2/ce_count > /sys/devices/system/edac/mc/mc0/csrow2/ch0_ce_count > /sys/devices/system/edac/mc/mc0/csrow2/ch1

[GIT PULL] soundwire fixes for v5.4-rc5

2019-08-16 Thread Vinod Koul
Hi Greg, We have couple of fixes queued up, please pull. Some more are in review, will send them later. These fixes are in linux-next as well. The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git reposi

Re: [PATCH] platform/x86: touchscreen_dmi: Add info for the Irbis TW90 tablet

2019-08-16 Thread Andy Shevchenko
On Sun, Aug 4, 2019 at 4:40 PM Hans de Goede wrote: > > Add touchscreen info for the Irbis TW90 tablet. > Pushed to my review and testing queue, thanks! > Reported-by: russianneuroman...@ya.ru > Signed-off-by: Hans de Goede > --- > drivers/platform/x86/touchscreen_dmi.c | 26 ++

Re: [PATCH V6 4/4] arm64: dts: imx8mm: Enable cpu-idle driver

2019-08-16 Thread Daniel Lezcano
On 16/08/2019 02:38, Anson Huang wrote: > Enable i.MX8MM cpu-idle using generic ARM cpu-idle driver, 2 states > are supported, details as below: > > root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name > WFI > root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/usag

[PATCH] shmem: fix obsolete comment in shmem_getpage_gfp()

2019-08-16 Thread Miles Chen
Replace "fault_mm" with "vmf" in code comment because the commit cfda05267f7b ("userfaultfd: shmem: add userfaultfd hook for shared memory faults") has changed the prototpye of shmem_getpage_gfp() - pass vmf instead of fault_mm to the function. Before: static int shmem_getpage_gfp(struct inode *in

RE: [PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-16 Thread Hayes Wang
Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Friday, August 16, 2019 5:27 PM [...] > Maybe you would avoid messing with a tasklet (we really try to get rid > of tasklets in general) using two NAPI, one for TX, one for RX. > > Some drivers already use two NAPI, it is fine. > > This might a

<    1   2   3   4   5   6   7   8   9   >