Re: [PATCH v3 0/9] w1: ds2438: adding support for calibration of current measurements

2021-04-05 Thread Greg KH
On Sat, Apr 03, 2021 at 01:45:47AM -0300, Luiz Sampaio wrote: > The following patches aim to make a user able to calibrate the current > measurement of the DS2438. This chip uses a offset register in page1, which > is added to the current register to give the user the current measurement. If > t

[PATCH] net: nfc: Fix spelling errors in net/nfc module

2021-04-05 Thread Zheng Yongjun
These patches fix a series of spelling errors in net/nfc module. Reported-by: Hulk Robot Signed-off-by: Zheng Yongjun --- net/nfc/digital_dep.c | 2 +- net/nfc/nci/core.c| 2 +- net/nfc/nci/uart.c| 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/nfc/digital_de

[PATCH v4 0/9] w1: ds2438: adding support for calibration of current measurements

2021-04-05 Thread Luiz Sampaio
The following patches aim to make a user able to calibrate the current measurement of the DS2438. This chip uses a offset register in page1, which is added to the current register to give the user the current measurement. If this value is wrong, the user will get an offset current value, even if

[PATCH v4 1/9] w1: ds2438: fixed a coding style issue after return

2021-04-05 Thread Luiz Sampaio
There is an if statement and, if the function goes into it, it returns. So, the next else is not required. Signed-off-by: Luiz Sampaio --- drivers/w1/slaves/w1_ds2438.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slave

[PATCH v4 5/9] w1: ds2438: fixed a coding style issue in vdd_read

2021-04-05 Thread Luiz Sampaio
Since there is only one statement inside the if clause, no brackets are required. Signed-off-by: Luiz Sampaio --- drivers/w1/slaves/w1_ds2438.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c index eeb593294fbd

[PATCH v4 3/9] w1: ds2438: fixed a coding style issue in temperature_read

2021-04-05 Thread Luiz Sampaio
Since there is only one statement inside the if clause, no brackets are required. Signed-off-by: Luiz Sampaio --- drivers/w1/slaves/w1_ds2438.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c index a5bb53042c93

[PATCH v4 2/9] w1: ds2438: fixed a coding style issue in iad_read

2021-04-05 Thread Luiz Sampaio
Since there is only one statement inside the if clause, no brackets are required. Signed-off-by: Luiz Sampaio --- drivers/w1/slaves/w1_ds2438.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c index 148921fb9702

[PATCH v4 8/9] w1: ds2438: adding support for reading page1

2021-04-05 Thread Luiz Sampaio
Added a sysfs entry to support reading the page1 registers. This registers contain Elapsed Time Meter (ETM) data, which shows for how long the chip is on, as well as an Offset Register data, which can be used to calibrate the current measurement of the chip. Signed-off-by: Luiz Sampaio --- Docum

[PATCH v4 7/9] w1: ds2438: fixing bug that would always get page0

2021-04-05 Thread Luiz Sampaio
The purpose of the w1_ds2438_get_page function is to get the register values at the page passed as the pageno parameter. However, the page0 was hardcoded, such that the function always returned the page0 contents. Fixed so that the function can retrieve any page. Signed-off-by: Luiz Sampaio ---

[PATCH v4 9/9] w1: ds2438: support for writing to offset register

2021-04-05 Thread Luiz Sampaio
Added a sysfs entry to support writing to the offset register on page1. This register is used to calibrate the chip canceling offset errors in the current ADC. This means that, over time, reading the IAD register will not return the correct current measurement, it will have an offset. Writing to th

[PATCH v4 4/9] w1: ds2438: fixed a coding style issue in vad_read

2021-04-05 Thread Luiz Sampaio
Since there is only one statement inside the if clause, no brackets are required. Signed-off-by: Luiz Sampaio --- drivers/w1/slaves/w1_ds2438.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c index eca50cec304f

[PATCH v4 6/9] w1: ds2438: fixed a coding style issue to preferred octal style

2021-04-05 Thread Luiz Sampaio
Changed the permissions to preferred octal style. Signed-off-by: Luiz Sampaio --- drivers/w1/slaves/w1_ds2438.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c index 56e53a748059..ccb06b8c2d78 100644 --- a/drivers/

Re: [PATCH v4 2/9] w1: ds2438: fixed a coding style issue in iad_read

2021-04-05 Thread Greg KH
On Mon, Apr 05, 2021 at 07:50:02AM -0300, Luiz Sampaio wrote: > Since there is only one statement inside the if clause, no brackets > are required. > > Signed-off-by: Luiz Sampaio > --- > drivers/w1/slaves/w1_ds2438.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) As this does the

Re: [PATCH v4 6/9] w1: ds2438: fixed a coding style issue to preferred octal style

2021-04-05 Thread Greg KH
On Mon, Apr 05, 2021 at 07:50:06AM -0300, Luiz Sampaio wrote: > Changed the permissions to preferred octal style. > > Signed-off-by: Luiz Sampaio > --- > drivers/w1/slaves/w1_ds2438.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/w1/slaves/w1_ds2438.c b/driver

Re: [PATCH v4 0/9] w1: ds2438: adding support for calibration of current measurements

2021-04-05 Thread Greg KH
On Mon, Apr 05, 2021 at 07:50:00AM -0300, Luiz Sampaio wrote: > The following patches aim to make a user able to calibrate the current > measurement of the DS2438. This chip uses a offset register in page1, which > is added to the current register to give the user the current measurement. If > t

Re: [PATCH v2] rockchip: enabled LAN port on NanoPi R2S

2021-04-05 Thread Johan Jonker
Hi Tianling, On 4/5/21 11:34 AM, Tianling Shen wrote: > From: David Bauer > > Enable the USB3 port on the FriendlyARM NanoPi R2S. > This is required for the USB3 attached LAN port to work. > > Signed-off-by: David Bauer > [added device node for USB Ethernet controller] > Signed-off-by: Tianlin

Re: [PATCH] clk: Mark fwnodes when their clock provider is added

2021-04-05 Thread Nicolas Saenz Julienne
On Wed, 2021-03-31 at 12:25 -0700, Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2021-03-31 00:05:00) > > On Wed, Mar 31, 2021 at 4:22 AM Stephen Boyd wrote: > > > > > Does it have any use? > > > > > > > > of_clk_del_provider() removes the first provider found with node == > > > > NULL. > >

Re: [PATCH v4 9/9] w1: ds2438: support for writing to offset register

2021-04-05 Thread Greg KH
On Mon, Apr 05, 2021 at 07:50:09AM -0300, Luiz Sampaio wrote: > Added a sysfs entry to support writing to the offset register on page1. > This register is used to calibrate the chip canceling offset errors in the > current ADC. This means that, over time, reading the IAD register will not > return

[PATCH v15 4/4] dt-bindings: msm/dp: Add bindings of MSM DisplayPort controller

2021-04-05 Thread Krishna Manikandan
Add bindings for Snapdragon DisplayPort controller driver. Signed-off-by: Chandan Uddaraju Signed-off-by: Vara Reddy Signed-off-by: Tanmay Shah Signed-off-by: Kuogee Hsieh Signed-off-by: Krishna Manikandan Changes in V2: -Provide details about sel-gpio Changes in V4: -Provide details about

[PATCH v15 3/4] dt-bindings: msm: dsi: add yaml schemas for DSI PHY bindings

2021-04-05 Thread Krishna Manikandan
Add YAML schema for the device tree bindings for DSI PHY. Signed-off-by: Krishna Manikandan Changes in v1: - Merge dsi-phy.yaml and dsi-phy-10nm.yaml (Stephen Boyd) - Remove qcom,dsi-phy-regulator-ldo-mode (Stephen Boyd) - Add clock cells properly (Stephen Boyd) - Remove unnecessary

[PATCH v15 2/4] dt-bindings: msm: dsi: add yaml schemas for DSI bindings

2021-04-05 Thread Krishna Manikandan
Add YAML schema for the device tree bindings for DSI Signed-off-by: Krishna Manikandan Changes in v1: - Separate dsi controller bindings to a separate patch (Stephen Boyd) - Merge dsi-common-controller.yaml and dsi-controller-main.yaml to a single file (Stephen Boyd) - Drop sup

[PATCH v15 1/4] dt-bindings: msm: disp: add yaml schemas for DPU bindings

2021-04-05 Thread Krishna Manikandan
MSM Mobile Display Subsytem (MDSS) encapsulates sub-blocks like DPU display controller, DSI etc. Add YAML schema for DPU device tree bindings. Signed-off-by: Krishna Manikandan Changes in v2: - Changed dpu to DPU (Sam Ravnborg) - Fixed indentation issues (Sam Ravnborg) - Added empty

Re: [PATCH] ASoC: amd: Add support for ALC1015P codec in acp3x machine driver

2021-04-05 Thread Mukunda,Vijendar
On 3/30/21 9:57 PM, Pierre-Louis Bossart wrote: On 3/30/21 10:35 AM, Mark Brown wrote: On Tue, Mar 30, 2021 at 09:12:11PM +0530, Mukunda,Vijendar wrote: On 3/30/21 7:52 PM, Pierre-Louis Bossart wrote:    static const struct acpi_device_id acp3x_audio_acpi_match[] = {    { "AMDI5682"

Re: [PATCH v10 0/4] misc: Add Synopsys DesignWare xData IP driver

2021-04-05 Thread Greg Kroah-Hartman
On Mon, Mar 29, 2021 at 01:17:44PM +0200, Gustavo Pimentel wrote: > This patch series adds a new driver called xData-pcie for the Synopsys > DesignWare PCIe prototype. > > The driver configures and enables the Synopsys DesignWare PCIe traffic > generator IP inside of prototype Endpoint which will

Re: [PATCH][next] scsi: ufs: Fix out-of-bounds warnings in ufshcd_exec_raw_upiu_cmd

2021-04-05 Thread Gustavo A. R. Silva
On 4/3/21 14:44, Avri Altman wrote: >> >> Fix the following out-of-bounds warnings by enclosing >> some structure members into new structure objects upiu_req >> and upiu_rsp: >> >> include/linux/fortify-string.h:20:29: warning: '__builtin_memcpy' offset [29, >> 48] from the object at 'treq' is o

[PATCH net-next v2 0/2] Enable 2.5Gbps speed for stmmac

2021-04-05 Thread Michael Sit Wei Hong
This patchset enables 2.5Gbps speed mode for stmmac. Link speed mode is detected and configured at serdes power up sequence. For 2.5G, we do not use SGMII in-band AN, we check the link speed mode in the serdes and disable the in-band AN accordingly. Changes: v1 -> v2 patch 1/2 -Remove MAC suppor

[PATCH net-next v2 2/2] net: pcs: configure xpcs 2.5G speed mode

2021-04-05 Thread Michael Sit Wei Hong
From: Voon Weifeng Besides setting 2.5G configuration, this patch will also disable automatic speed mode change. This is due to the 2.5G mode is using the same functionality as 1G mode except the clock rate is 2.5 times the original rate. Hence, auto-negotiation is disabled to make sure it will o

[PATCH net-next v2 1/2] net: stmmac: enable 2.5Gbps link speed

2021-04-05 Thread Michael Sit Wei Hong
From: Voon Weifeng The MAC support 2.5G mode when the PCS is in 1000BASE-T mode. The 2.5G mode of operation is functionally same as 1000BASE-T mode, except that the clock rate is 2.5 times the original rate. In this mode, the serdes/PHY operates at a serial baud rate of 3.125 Gbps and the PCS dat

[PATCH] net: tun: set tun->dev->addr_len during TUNSETLINK processing

2021-04-05 Thread Phillip Potter
When changing type with TUNSETLINK ioctl command, set tun->dev->addr_len to match the appropriate type, using new tun_get_addr_len utility function which returns appropriate address length for given type. Fixes a KMSAN-found uninit-value bug reported by syzbot at: https://syzkaller.appspot.com/bug?

[PATCH v6 00/16] Support ROHM BD71815 PMIC

2021-04-05 Thread Matti Vaittinen
Patch series introducing support for ROHM BD71815 PMIC ROHM BD71815 is a power management IC used in some battery powered systems. It contains regulators, GPO(s), charger + coulomb counter, RTC and a clock gate. All regulators can be controlled via I2C. LDO4 can additionally be set to be enabled/

[PATCH v6 01/16] rtc: bd70528: Do not require parent data

2021-04-05 Thread Matti Vaittinen
The ROHM BD71828 and BD71815 RTC drivers only need the regmap pointer from parent. Regmap can be obtained via dev_get_regmap() so do not require parent to populate driver data for that. BD70528 on the other hand requires parent data to access the watchdog so leave the parent data for BD70528 here

[PATCH v6 02/16] mfd: bd718x7: simplify by cleaning unnecessary device data

2021-04-05 Thread Matti Vaittinen
Most ROHM PMIC sub-devices only use the regmap pointer from parent device. They can obtain this by dev_get_regamap so in most cases the MFD device does not need to allocate and populate the driver data. Simplify drivers by removing this. The BD70528 still needs the access to watchdog mutex so keep

[PATCH v6 03/16] dt_bindings: bd71828: Add clock output mode

2021-04-05 Thread Matti Vaittinen
The BD71828 allows configuring the clk32kout pin mode to CMOS or open-drain. Add device-tree property for specifying the preferred mode. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- No changes since v3 .../devicetree/bindings/mfd/rohm,bd71828-pmic.yaml | 6 ++ 1 file

[PATCH v6 04/16] dt_bindings: regulator: Add ROHM BD71815 PMIC regulators

2021-04-05 Thread Matti Vaittinen
Add binding documentation for regulators on ROHM BD71815 PMIC. 5 bucks, 7 LDOs and a boost for LED. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- No Changes since v3 .../regulator/rohm,bd71815-regulator.yaml | 116 ++ 1 file changed, 116 insertions(+) create m

[PATCH v6 05/16] dt_bindings: mfd: Add ROHM BD71815 PMIC

2021-04-05 Thread Matti Vaittinen
Document DT bindings for ROHM BD71815. BD71815 is a single-chip power management IC mainly for battery-powered portable devices. The IC integrates 5 bucks, 7 LDOs, a boost driver for LED, a battery charger with a Coulomb counter, a real-time clock, a 32kHz clock and two general-purpose outputs alt

[PATCH v6 06/16] mfd: Add ROHM BD71815 ID

2021-04-05 Thread Matti Vaittinen
Add chip ID for ROHM BD71815 and PMIC so that drivers can identify this IC. Signed-off-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- No changes since v4 include/linux/mfd/rohm-generic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/m

[PATCH v6 07/16] mfd: Sort ROHM chip ID list for better readability

2021-04-05 Thread Matti Vaittinen
Sort the ID list so it is easier to see which ICs are present. Signed-off-by: Matti Vaittinen Suggested-by: Lee Jones --- No changes since v4 include/linux/mfd/rohm-generic.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/mfd/rohm-generic.h b/include/

[PATCH v6 08/16] mfd: Support for ROHM BD71815 PMIC core

2021-04-05 Thread Matti Vaittinen
Add core support for ROHM BD71815 Power Management IC. The IC integrates regulators, a battery charger with a coulomb counter, a real-time clock (RTC), clock gate and general-purpose outputs (GPO). Signed-off-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- No changes since v4 drivers/mfd/K

[PATCH v6 09/16] gpio: support ROHM BD71815 GPOs

2021-04-05 Thread Matti Vaittinen
Support GPO(s) found from ROHM BD71815 power management IC. The IC has two GPO pins but only one is properly documented in the data-sheet. The driver exposes by default only the documented GPO. The second GPO is connected to E5 pin and is marked as GND in the data-sheet. Control for this undocument

[PATCH v6 10/16] regulator: rohm-regulator: linear voltage support

2021-04-05 Thread Matti Vaittinen
The helper for obtaining HW-state based DVS voltage levels currently only works for regulators using linear-ranges. Extend support to regulators with simple linear mappings and add also proper error path if pickable-ranges regulators call this. Signed-off-by: Matti Vaittinen Acked-by: Mark Brown

[PATCH v6 11/16] regulator: rohm-regulator: Support SNVS HW state.

2021-04-05 Thread Matti Vaittinen
The ROHM BD71815 supports setting voltage levels/regulator status for HW-states "RUN", "SUSPEND", "LPSR" and "SNVS". Add DT parsing helper also for SNVS state. Signed-off-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones Acked-by: Mark Brown --- Changes since v3: - No changes drivers/regulator/

[PATCH v6 12/16] regulator: bd718x7, bd71828: Use ramp-delay helper

2021-04-05 Thread Matti Vaittinen
Use generic regamp ramp-delay helper function instead of implementing own. Signed-off-by: Matti Vaittinen Acked-by: Mark Brown --- No changes since v4 drivers/regulator/bd71828-regulator.c | 51 --- drivers/regulator/bd718x7-regulator.c | 60 --- 2 fi

[PATCH v6 13/16] regulator: Support ROHM BD71815 regulators

2021-04-05 Thread Matti Vaittinen
Support voltage control for regulators on ROHM BD71815 PMIC. ROHM BD71815 contains 5 bucks, 7 LDOs and a boost (intended for LED). Bucks 1 and 2 support HW state based voltage level and enable states. Other regulators support HW state based enable states. All bucks and LDOs 1-5 allow voltage chang

[PATCH v6 14/16] clk: bd718x7: Add support for clk gate on ROHM BD71815 PMIC

2021-04-05 Thread Matti Vaittinen
ROHM BD71815 also provide clk signal for RTC. Add control for gating this clock. Signed-off-by: Matti Vaittinen Reviewed-by: Stephen Boyd --- Changes since v3: - No changes drivers/clk/clk-bd718x7.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-bd7

Re: [syzbot] WARNING in mntput_no_expire (2)

2021-04-05 Thread Christian Brauner
On Sun, Apr 04, 2021 at 08:17:21PM +, Al Viro wrote: > On Sun, Apr 04, 2021 at 06:50:10PM +, Al Viro wrote: > > > > Yeah, I have at least namei.o > > > > > > https://drive.google.com/file/d/1AvO1St0YltIrA86DXjp1Xg3ojtS9owGh/view?usp=sharing > > > > *grumble* > > > > Is it reproducible w

[PATCH v6 15/16] rtc: bd70528: Support RTC on ROHM BD71815

2021-04-05 Thread Matti Vaittinen
BD71815 contains similar RTC block as BD71828. Only the address offsets seem different. Support also BD71815 RTC using rtc-bd70528. Signed-off-by: Matti Vaittinen Acked-by: Alexandre Belloni --- Changes since v3: - No changes drivers/rtc/Kconfig | 6 +++--- drivers/rtc/rtc-bd70528.c | 4

[PATCH v6 16/16] MAINTAINERS: Add ROHM BD71815AGW

2021-04-05 Thread Matti Vaittinen
Add maintainer entries for ROHM BD71815AGW drivers. New regulator and GPIO drivers were introduced for these PMICs. Signed-off-by: Matti Vaittinen --- Changes since v3: - No changes MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c80ad735b384..

Re: [PATCH v5] lockdep: Allow tuning tracing capacity constants.

2021-04-05 Thread Tetsuo Handa
Dmitry, I've just sent this patch to tomoyo-test1.git tree, for finding bugs (which previously could not be found due to lack of this patch) in linux-next.git will be helpful anyway. Since this patch should appear in tomorrow's linux-next.git , please prepare syzkaller for tuning appropriate valu

Re: [PATCH v5 0/4] man2: udpate mm/userfaultfd manpages to latest

2021-04-05 Thread Michael Kerrisk (man-pages)
Hi Alex, > I applied all 4 patches (with a few minor fixes to 1/4 and 4/4 (cosmetic > fixes; some of them about the 80-col right margin)): > How big is your current queue of pending patches from other

Re: [PATCH v2] net: mac802154: Fix general protection fault

2021-04-05 Thread Alexander Aring
Hi, On Mon, 5 Apr 2021 at 01:45, Pavel Skripkin wrote: > > Hi! > ... > > > > I forgot to check the patch with ./scripts/checkpatch.pl :( > > > Dumb question: What is the meaning of it? > > This is for gerrit code review. This is required to push changes to > gerrit public mirror. I'm using it to

Re: [PATCH v1 1/1] i2c: designware: Adjust bus_freq_hz when refuse high speed mode set

2021-04-05 Thread Andy Shevchenko
On Wed, Mar 31, 2021 at 09:37:41PM +, Song Bao Hua (Barry Song) wrote: > > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > > Sent: Thursday, April 1, 2021 12:05 AM > > To: Andy Shevchenko ; Serge Semin > > ; linux-...@vger.kernel.org; > > linux-kernel@vger.kernel.org ... >

Re: [PATCH v2] rockchip: enabled LAN port on NanoPi R2S

2021-04-05 Thread Chen-Yu Tsai
On Mon, Apr 5, 2021 at 7:03 PM Johan Jonker wrote: > > Hi Tianling, > > On 4/5/21 11:34 AM, Tianling Shen wrote: > > From: David Bauer > > > > Enable the USB3 port on the FriendlyARM NanoPi R2S. > > This is required for the USB3 attached LAN port to work. > > > > Signed-off-by: David Bauer > > [

arch/mips/include/asm/mach-ar7/ar7.h:111:24: error: implicit declaration of function 'KSEG1ADDR'; did you mean 'CKSEG1ADDR'?

2021-04-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e49d033bddf5b565044e2abe4241353959bc9120 commit: b13812ddea615b6507beef24f76540c0c1143c5c MIPS: Loongson2ef: Disable Loongson MMI instructions date: 6 months ago config: mips-randconfig-c003-20210405

Re: [PATCH] h8300: rearrange headers inclusion order in asm/bitops

2021-04-05 Thread Andy Shevchenko
On Thu, Apr 01, 2021 at 01:32:28PM -0700, Yury Norov wrote: > This patch fixes [next-20210401] commit a5145bdad3ff ("arch: rearrange "This patch fixes [next-20210401] commit ..." ==> "The commit ... > headers inclusion order in asm/bitops for m68k and sh"). ...fixed header ordering issue." >

Re: [PATCH v2] powerpc/traps: Enhance readability for trap types

2021-04-05 Thread Xiongwei Song
> On Apr 2, 2021, at 12:11 AM, Segher Boessenkool > wrote: > > On Thu, Apr 01, 2021 at 10:55:58AM +0800, Xiongwei Song wrote: >> Segher Boessenkool 于2021年4月1日周四 上午6:15写道: >> >>> On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote: So perhaps: EXC_SYSTEM_RESET >>

Re: [PATCH v6 1/4] usb: dwc3: of-simple: bail probe if no dwc3 child node

2021-04-05 Thread Johan Jonker
On 4/5/21 9:02 AM, Greg KH wrote: > On Thu, Apr 01, 2021 at 11:36:49PM +0200, Johan Jonker wrote: >> For some of the dwc3-of-simple compatible SoCs we >> don't want to bind this driver to a dwc3 node, >> but bind that node to the 'snps,dwc3' driver instead. >> The kernel has no logic to decide whic

Re: [PATCH] net: phy: fix PHY possibly unwork after MDIO bus resume back

2021-04-05 Thread Heiner Kallweit
On 05.04.2021 10:43, Christian Melki wrote: > On 4/5/21 12:48 AM, Heiner Kallweit wrote: >> On 04.04.2021 16:09, Heiner Kallweit wrote: >>> On 04.04.2021 12:07, Joakim Zhang wrote: commit 4c0d2e96ba055 ("net: phy: consider that suspend2ram may cut off PHY power") invokes phy_init_hw() whe

Re: [PATCH v2] powerpc/traps: Enhance readability for trap types

2021-04-05 Thread Xiongwei Song
Regards, Xiongwei > On Apr 1, 2021, at 4:01 PM, Nicholas Piggin wrote: > > Excerpts from Michael Ellerman's message of April 1, 2021 12:39 pm: >> Segher Boessenkool writes: >>> On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote: So perhaps: EXC_SYSTEM_RESET >

Re: [PATCH v2] powerpc/traps: Enhance readability for trap types

2021-04-05 Thread Xiongwei Song
Regards, Xiongwei > On Apr 2, 2021, at 8:36 AM, Nicholas Piggin wrote: > > Excerpts from Segher Boessenkool's message of April 2, 2021 2:11 am: >> On Thu, Apr 01, 2021 at 10:55:58AM +0800, Xiongwei Song wrote: >>> Segher Boessenkool 于2021年4月1日周四 上午6:15写道: >>> On Wed, Mar 31, 2021 at

RE: [PATCH net 1/2] net: hns3: Remove the left over redundant check & assignment

2021-04-05 Thread Salil Mehta
Hi Leon, Thanks for the review. > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Sunday, April 4, 2021 7:26 AM > To: Salil Mehta > Cc: da...@davemloft.net; k...@kernel.org; net...@vger.kernel.org; > linux-kernel@vger.kernel.org; Linuxarm ; > linux...@openeuler.org > Subject: Re: [PATCH ne

Re: [Outreachy kernel] [PATCH] staging: iio: cdc: remove repeated word

2021-04-05 Thread Vaishali Thakkar
On Mon, Apr 5, 2021 at 12:24 AM David Villasana Jiménez wrote: > > Fix checkpatch warning: > WARNING: Possible repeated word: 'from' You don't need to include the checkpatch warning in the commit log. Your commit log should just be able to give enough information about why you're doing this chang

Re: [PATCH net 1/2] net: hns3: Remove the left over redundant check & assignment

2021-04-05 Thread Leon Romanovsky
On Mon, Apr 05, 2021 at 12:26:37PM +, Salil Mehta wrote: > Hi Leon, > Thanks for the review. > > > From: Leon Romanovsky [mailto:l...@kernel.org] > > Sent: Sunday, April 4, 2021 7:26 AM > > To: Salil Mehta > > Cc: da...@davemloft.net; k...@kernel.org; net...@vger.kernel.org; > > linux-kernel@

Re: [PATCH v4 9/9] w1: ds2438: support for writing to offset register

2021-04-05 Thread Luiz Sampaio
On Mon, Apr 05, 2021 at 01:04:59PM +0200, Greg KH wrote: > On Mon, Apr 05, 2021 at 07:50:09AM -0300, Luiz Sampaio wrote: > > Added a sysfs entry to support writing to the offset register on page1. > > This register is used to calibrate the chip canceling offset errors in the > > current ADC. This m

Re: [PATCH net-next 1/2] net: stmmac: enable 2.5Gbps link speed

2021-04-05 Thread Andrew Lunn
On Mon, Apr 05, 2021 at 09:07:34AM +, Voon, Weifeng wrote: > > On Fri, Apr 02, 2021 at 07:45:04AM +, Voon, Weifeng wrote: > > > > > + /* 2.5G mode only support 2500baseT full duplex only */ > > > > > + if (priv->plat->has_gmac4 && priv->plat->speed_2500_en) { > > > > > +

Re: [PATCH] powerpc/32: Remove powerpc specific definition of 'ptrdiff_t'

2021-04-05 Thread Segher Boessenkool
On Mon, Apr 05, 2021 at 09:57:27AM +, Christophe Leroy wrote: > For unknown reason, old commit d27dfd388715 ("Import pre2.0.8") > changed 'ptrdiff_t' from 'int' to 'long'. > > GCC expects it as 'int' really, It isn't actually defined in the ABI as far as I can see (neither the old document or

Re: [PATCH v4 0/9] w1: ds2438: adding support for calibration of current measurements

2021-04-05 Thread Luiz Sampaio
On Mon, Apr 05, 2021 at 12:53:38PM +0200, Greg KH wrote: > On Mon, Apr 05, 2021 at 07:50:00AM -0300, Luiz Sampaio wrote: > > The following patches aim to make a user able to calibrate the current > > measurement of the DS2438. This chip uses a offset register in page1, which > > is added to the c

Re: [PATCH v4 6/9] w1: ds2438: fixed a coding style issue to preferred octal style

2021-04-05 Thread Luiz Sampaio
On Mon, Apr 05, 2021 at 12:53:22PM +0200, Greg KH wrote: > On Mon, Apr 05, 2021 at 07:50:06AM -0300, Luiz Sampaio wrote: > > Changed the permissions to preferred octal style. > > > > Signed-off-by: Luiz Sampaio > > --- > > drivers/w1/slaves/w1_ds2438.c | 2 +- > > 1 file changed, 1 insertion(+),

Re: [PATCH v4 9/9] w1: ds2438: support for writing to offset register

2021-04-05 Thread Greg KH
On Mon, Apr 05, 2021 at 09:44:01AM -0300, Luiz Sampaio wrote: > On Mon, Apr 05, 2021 at 01:04:59PM +0200, Greg KH wrote: > > On Mon, Apr 05, 2021 at 07:50:09AM -0300, Luiz Sampaio wrote: > > > Added a sysfs entry to support writing to the offset register on page1. > > > This register is used to cal

Re: [PATCH v2] firmware: qcom_scm: Only compile legacy calls on ARM

2021-04-05 Thread Stephan Gerhold
On Fri, Apr 02, 2021 at 10:21:58AM -0700, Stephen Boyd wrote: > Quoting Stephan Gerhold (2021-04-02 03:18:04) > > On Thu, Apr 01, 2021 at 11:58:48PM -0700, Stephen Boyd wrote: > > > [...] > > > > > > Maybe it would be better to catch that problem at the source and force > > > arm64 calling conventi

Re: [PATCHv2 RESEND] firmware: stratix10-svc: build only on 64-bit ARM

2021-04-05 Thread Dinh Nguyen
On 4/5/21 5:30 AM, Greg KH wrote: On Sun, Apr 04, 2021 at 10:20:26AM -0500, Dinh Nguyen wrote: On 4/4/21 9:08 AM, Greg KH wrote: On Sun, Apr 04, 2021 at 07:46:09AM -0500, Dinh Nguyen wrote: From: Krzysztof Kozlowski The Stratix10 service layer and RCU drivers are useful only on Stratix1

Re: [PATCH net-next v2 0/2] Enable 2.5Gbps speed for stmmac

2021-04-05 Thread Andrew Lunn
On Mon, Apr 05, 2021 at 07:29:51PM +0800, Michael Sit Wei Hong wrote: > This patchset enables 2.5Gbps speed mode for stmmac. > Link speed mode is detected and configured at serdes power up sequence. > For 2.5G, we do not use SGMII in-band AN, we check the link speed mode > in the serdes and disable

Re: [PATCH 1/2] mtd: spi-nor: sfdp: save a copy of the SFDP data

2021-04-05 Thread Tudor.Ambarus
Hi, On 3/18/21 11:24 AM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Due to possible mode switching to 8D-8D-8D, it might not be possible to > read the SFDP after the initial probe. To be able to dump the SFDP via > sysf

[PATCH] net: fix odd_ptr_err.cocci warnings

2021-04-05 Thread kernel test robot
. Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci CC: Loic Poulain Reported-by: kernel test robot Signed-off-by: kernel test robot --- url: https://github.com/0day-ci/linux/commits/Loic-Poulain/net-Add-a-WWAN-subsystem/20210405-174547 base: https://git.kernel.org/pub/scm/linux

[RFC PATCH] lib/genalloc: add parameter description to fix doc compile warning

2021-04-05 Thread alexs
From: Alex Shi commit 52fbf1134d47 ("lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk") add a new parameter 'start_addr' w/o description for it. That cause some doc compile warning: lib/genalloc.c:649: warning: Function parameter or member 'start_addr' not described in '

Re: [RFC PATCH v1 0/4] arm64: Implement stack trace reliability checks

2021-04-05 Thread Masami Hiramatsu
Hi Madhaven, On Sat, 3 Apr 2021 22:29:12 -0500 "Madhavan T. Venkataraman" wrote: > >> Check for kretprobe > >> === > >> > >> For functions with a kretprobe set up, probe code executes on entry > >> to the function and replaces the return address in the stack frame with a > >> kr

[PATCH] platform/x86: add Gigabyte WMI temperature driver

2021-04-05 Thread Thomas Weißschuh
Hi, this patch adds support for temperature readings on Gigabyte Mainboards. (At least on mine) The current code should be usable as is. I'd like for people to test it though and report their results with different hardware. Further development I have some general questions: The ASL IndexField

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-04-05 Thread Andrew Lunn
On Sun, Apr 04, 2021 at 09:23:55PM +0200, Danilo Krummrich wrote: > On Fri, Apr 02, 2021 at 01:58:58PM +0100, Russell King - ARM Linux admin > wrote: > > On Fri, Apr 02, 2021 at 03:10:49AM +0200, Danilo Krummrich wrote: > > > On Thu, Apr 01, 2021 at 09:48:58AM +0100, Russell King - ARM Linux admin

Re: [PATCH 5.4 03/74] module: merge repetitive strings in module_sig_check()

2021-04-05 Thread Sergey Shtylyov
On 4/5/21 11:53 AM, Greg Kroah-Hartman wrote: > From: Sergey Shtylyov > > [ Upstream commit 705e9195187d85249fbb0eaa844b1604a98fbc9a ] > > The 'reason' variable in module_sig_check() points to 3 strings across > the *switch* statement, all needlessly starting with the same text. > Let's put the

Re: [PATCH 5.4 03/74] module: merge repetitive strings in module_sig_check()

2021-04-05 Thread Greg Kroah-Hartman
On Mon, Apr 05, 2021 at 04:35:40PM +0300, Sergey Shtylyov wrote: > On 4/5/21 11:53 AM, Greg Kroah-Hartman wrote: > > > From: Sergey Shtylyov > > > > [ Upstream commit 705e9195187d85249fbb0eaa844b1604a98fbc9a ] > > > > The 'reason' variable in module_sig_check() points to 3 strings across > > th

Re: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs

2021-04-05 Thread Christoph Hellwig
On Mon, Apr 05, 2021 at 08:23:54AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > >From Avihai, > > Relaxed Ordering is a PCIe mechanism that relaxes the strict ordering > imposed on PCI transactions, and thus, can improve performance. > > Until now, relaxed ordering could be set onl

Re: [PATCH rdma-next 01/10] RDMA: Add access flags to ib_alloc_mr() and ib_mr_pool_init()

2021-04-05 Thread Christoph Hellwig
On Mon, Apr 05, 2021 at 08:23:55AM +0300, Leon Romanovsky wrote: > From: Avihai Horon > > Add access flags parameter to ib_alloc_mr() and to ib_mr_pool_init(), > and refactor relevant code. This parameter is used to pass MR access > flags during MR allocation. > > In the following patches, the n

Re: [RFC PATCH v1 0/4] arm64: Implement stack trace reliability checks

2021-04-05 Thread Madhavan T. Venkataraman
On 4/5/21 8:24 AM, Masami Hiramatsu wrote: > Hi Madhaven, > > On Sat, 3 Apr 2021 22:29:12 -0500 > "Madhavan T. Venkataraman" wrote: > > Check for kretprobe === For functions with a kretprobe set up, probe code executes on entry to the function and rep

[PATCH 2/2] drm/msm: Select CONFIG_NVMEM

2021-04-05 Thread Akhil P Oommen
The speedbin support requires nvmem driver api. So lets explicitly enable CONFIG_NVMEM to have this support. Signed-off-by: Akhil P Oommen --- drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index dabb4a1..

[PATCH 1/2] drm/msm/a6xx: Fix perfcounter oob timeout

2021-04-05 Thread Akhil P Oommen
We were not programing the correct bit while clearing the perfcounter oob. So, clear it correctly using the new 'clear' bit. This fixes the below error: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set PERFCOUNTER: 0x8000 Signed-off-by: Akhil P Oommen --- drivers/gpu/drm/msm/

Re: [PATCH v3] mm,hwpoison: return -EHWPOISON when page already poisoned

2021-04-05 Thread 堀口 直也
On Fri, Apr 02, 2021 at 03:11:20PM +, Luck, Tony wrote: > >> Combined with my "mutex" patch (to get rid of races where 2nd process > >> returns > >> early, but first process is still looking for mappings to unmap and tasks > >> to signal) this patch moves forward a bit. But I think it needs an

RE: [PATCH next 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-05 Thread Min Li
> > > > > > Any specific reason you are not using the misc_device api? That > > > would clean up this driver a lot, there's no need to create a whole > > > class just for a single driver. > > > > > > > Hi Greg > > > > No specific reason. I just didn't know the existence of misc_register API. > >

Re: [PATCH] net: phy: fix PHY possibly unwork after MDIO bus resume back

2021-04-05 Thread Christian Melki
On 4/5/21 2:09 PM, Heiner Kallweit wrote: > On 05.04.2021 10:43, Christian Melki wrote: >> On 4/5/21 12:48 AM, Heiner Kallweit wrote: >>> On 04.04.2021 16:09, Heiner Kallweit wrote: On 04.04.2021 12:07, Joakim Zhang wrote: > commit 4c0d2e96ba055 ("net: phy: consider that suspend2ram may cu

[PATCH] lib/percpu_counter: tame kernel-doc compile warning

2021-04-05 Thread alexs
From: Alex Shi commit 3e8f399da490 ("writeback: rework wb_[dec|inc]_stat family of functions") add some function description of percpu_counter_add_batch. but the double '*' in comments means a kernel-doc format comment which isn't right. Since the whole file of lib/percpu_counter.c has no any ot

[PATCH] iov_iter: fix kernel-doc comments issues

2021-04-05 Thread alexs
From: Alex Shi There are some issues of kernel-doc comments: lib/iov_iter.c:752: warning: Function parameter or member 'i' not described in '_copy_mc_to_iter' lib/iov_iter.c:752: warning: Excess function parameter 'iter' description in '_copy_mc_to_iter' lib/iov_iter.c:886: warning: Function pa

Re: [Outreachy kernel] [PATCH] staging: emxx_udc: Ending line with argument

2021-04-05 Thread Beatriz Martins de Carvalho
Em 01/04/21 22:16, Julia Lawall escreveu: On Thu, 1 Apr 2021, Beatriz Martins de Carvalho wrote: Cleans up check of "Lines should not end with a '('" with argument present in next line in file emxx_udc.c The coding style documentation encourages remaining within 80 characters. I'm not sure

Re: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs

2021-04-05 Thread Leon Romanovsky
On Mon, Apr 05, 2021 at 03:41:15PM +0200, Christoph Hellwig wrote: > On Mon, Apr 05, 2021 at 08:23:54AM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > >From Avihai, > > > > Relaxed Ordering is a PCIe mechanism that relaxes the strict ordering > > imposed on PCI transactions, and

Re: [PATCH 5.4 03/74] module: merge repetitive strings in module_sig_check()

2021-04-05 Thread Sergey Shtylyov
On 4/5/21 4:40 PM, Greg Kroah-Hartman wrote: [...] >>> [ Upstream commit 705e9195187d85249fbb0eaa844b1604a98fbc9a ] >>> >>> The 'reason' variable in module_sig_check() points to 3 strings across >>> the *switch* statement, all needlessly starting with the same text. >>> Let's put the starting text

Re: [PATCH] memory: pl353: fix macro definition of ecc page_size for arm pl353 static memory controller

2021-04-05 Thread Krzysztof Kozlowski
On Wed, 31 Mar 2021 11:10:56 +0800, gexueyuan wrote: > the macro "PL353_SMC_ECC_MEMCFG_PGSIZE_MASK" should be 0x3, > according to the datasheet of pl353 smc Applied, with fixes in commit msg and adding Fixes tag. Please do not forget about Fixes tag and start new sentences with capital letter

[PATCH v11 00/13] Add AMD SEV guest live migration support

2021-04-05 Thread Ashish Kalra
From: Ashish Kalra The series add support for AMD SEV guest live migration commands. To protect the confidentiality of an SEV protected guest memory while in transit we need to use the SEV commands defined in SEV API spec [1]. SEV guest VMs have the concept of private and shared memory. Private

[PATCH v11 01/13] KVM: SVM: Add KVM_SEV SEND_START command

2021-04-05 Thread Ashish Kalra
From: Brijesh Singh The command is used to create an outgoing SEV guest encryption context. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org Cc: k...@vger.kernel.org Cc: linux-kernel@vger.k

RE: [PATCH net-next v2 0/2] Enable 2.5Gbps speed for stmmac

2021-04-05 Thread Sit, Michael Wei Hong
> -Original Message- > From: Andrew Lunn > Sent: Monday, 5 April, 2021 9:11 PM > To: Sit, Michael Wei Hong > Cc: peppe.cavall...@st.com; alexandre.tor...@st.com; > joab...@synopsys.com; da...@davemloft.net; > k...@kernel.org; mcoquelin.st...@gmail.com; > li...@armlinux.org.uk; Voon, We

[PATCH v11 02/13] KVM: SVM: Add KVM_SEND_UPDATE_DATA command

2021-04-05 Thread Ashish Kalra
From: Brijesh Singh The command is used for encrypting the guest memory region using the encryption context created with KVM_SEV_SEND_START. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org

[PATCH v11 03/13] KVM: SVM: Add KVM_SEV_SEND_FINISH command

2021-04-05 Thread Ashish Kalra
From: Brijesh Singh The command is used to finailize the encryption context created with KVM_SEV_SEND_START command. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org Cc: k...@vger.kernel.or

[PATCH v11 04/13] KVM: SVM: Add support for KVM_SEV_RECEIVE_START command

2021-04-05 Thread Ashish Kalra
From: Brijesh Singh The command is used to create the encryption context for an incoming SEV guest. The encryption context can be later used by the hypervisor to import the incoming data into the SEV guest memory space. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzin

[PATCH v11 05/13] KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command

2021-04-05 Thread Ashish Kalra
From: Brijesh Singh The command is used for copying the incoming buffer into the SEV guest memory space. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org Cc: k...@vger.kernel.org Cc: linux-

<    2   3   4   5   6   7   8   9   10   11   >