[PATCH] x86/paravirt: Disable virt spinlock when CONFIG_PARAVIRT_SPINLOCKS disabled

2024-05-16 Thread Chen Yu
nit() function warning") Suggested-by: Qiuxu Zhuo Reported-by: Prem Nath Dey Reported-by: Xiaoping Zhou Signed-off-by: Chen Yu --- arch/x86/kernel/paravirt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index 5358d4

Re: [PATCH 1/3] init: Declare rodata_enabled and mark_rodata_ro() at all time

2024-01-30 Thread Chen-Yu Tsai
Hi, On Mon, Jan 29, 2024 at 12:09:50PM -0800, Luis Chamberlain wrote: > On Thu, Dec 21, 2023 at 10:02:46AM +0100, Christophe Leroy wrote: > > Declaring rodata_enabled and mark_rodata_ro() at all time > > helps removing related #ifdefery in C files. > > > > Signed-off-by: Christophe Leroy > >

Re: [PATCH] remoteproc: mediatek: Refactor single core check and fix retrocompatibility

2023-09-21 Thread Chen-Yu Tsai
, 7 insertions(+), 11 deletions(-) > > > > Tested on asurada (spherion) and jacuzzi (juniper). The issue was detected by > KernelCI, so: > > Reported-by: "kernelci.org bot" > Tested-by: Laura Nao Reviewed-by: Chen-Yu Tsai Tested-by: Chen-Yu Tsai on Hayato (MT8192) and Juniper (MT8183).

Re: [PATCH] remoteproc: mediatek: Detect single/multi core SCP with rpmsg-name property

2023-09-19 Thread Chen-Yu Tsai
On Tue, Sep 19, 2023 at 5:26 PM AngeloGioacchino Del Regno wrote: > > Il 19/09/23 07:03, Chen-Yu Tsai ha scritto: > > In the just landed multi-core SCP work, detection of single/multi core > > SCP is done by checking the immediate child node of the SCP complex > > devi

Re: [PATCH v17 00/14] Add support for MT8195 SCP 2nd core

2023-09-18 Thread Chen-Yu Tsai
On Tue, Sep 19, 2023 at 9:17 AM Mathieu Poirier wrote: > > On Mon, Sep 18, 2023 at 06:44:25PM +0800, Chen-Yu Tsai wrote: > > On Mon, Sep 18, 2023 at 6:32 PM Laura Nao wrote: > > > > > > > Other than patch 2 and 14, I have applied this set. The remaining

[PATCH] remoteproc: mediatek: Detect single/multi core SCP with rpmsg-name property

2023-09-18 Thread Chen-Yu Tsai
old device trees working again. Reported-by: Laura Nao Fixes: 1fdbf0cdde98 ("remoteproc: mediatek: Probe SCP cluster on multi-core SCP") Signed-off-by: Chen-Yu Tsai --- The patch is based on next-20230918 with a whole bunch of local patches stacked on top. None of my local patches are r

Re: [PATCH v17 00/14] Add support for MT8195 SCP 2nd core

2023-09-18 Thread Chen-Yu Tsai
On Mon, Sep 18, 2023 at 6:32 PM Laura Nao wrote: > > > Other than patch 2 and 14, I have applied this set. The remaining patches > > will > > have to be resent to Matthias. > > > Thanks, > > Mathieu > > Hello, > > With patch 2 missing, the SCP is not probed correctly anymore on asurada >

Re: [PATCH v2] tools/power turbostat: Fix RAPL summary collection on AMD processors

2021-04-20 Thread Chen Yu
On Tue, Apr 20, 2021 at 09:28:06AM -0400, Calvin Walton wrote: > On Tue, 2021-04-20 at 21:15 +0800, Chen Yu wrote: > > > > Okay. I would vote for the the patch from Bas as it was a combined > > work from two > > authors and tested by several AMD users. But let me past

Re: [PATCH v2] tools/power turbostat: Fix RAPL summary collection on AMD processors

2021-04-20 Thread Chen Yu
On Tue, Apr 20, 2021 at 10:07:01AM +0200, Borislav Petkov wrote: > On Tue, Apr 20, 2021 at 10:03:36AM +0800, Chen Yu wrote: > > On Mon, Apr 19, 2021 at 02:58:12PM -0500, Terry Bowman wrote: > > > Turbostat fails to correctly collect and display RAPL summary information > >

Re: [PATCH v2] tools/power turbostat: Fix RAPL summary collection on AMD processors

2021-04-19 Thread Chen Yu
On Mon, Apr 19, 2021 at 02:58:12PM -0500, Terry Bowman wrote: > Turbostat fails to correctly collect and display RAPL summary information > on Family 17h and 19h AMD processors. Running turbostat on these processors > returns immediately. If turbostat is working correctly then RAPL summary > data

Re: [PATCH 0/2] sunxi: Enforce consistent MMC numbering

2021-04-18 Thread Chen-Yu Tsai
Hi, On Mon, Apr 19, 2021 at 10:52 AM Samuel Holland wrote: > > Dealing with the inconsistent numbering has been a major pain, and > there is a solution with (as far as I can tell) no tangible downsides. > So let's use it. > > Yes, I know the kernel supports UUIDs for root=. But UUIDs do not help

Re: [PATCH] nvmem: sunxi_sid: Set type to OTP

2021-04-18 Thread Chen-Yu Tsai
On Mon, Apr 19, 2021 at 9:58 AM Samuel Holland wrote: > > This device currently reports an "Unknown" type in sysfs. > Since it is an eFuse hardware device, set its type to OTP. > > Signed-off-by: Samuel Holland Acked-by: Chen-Yu Tsai

Re: [PATCH] Fix turbostat exiting with an error when run on AMD CPUs

2021-04-14 Thread Chen Yu
Hi Calvin, On Wed, Apr 14, 2021 at 10:08:07PM -0400, Calvin Walton wrote: > On Wed, 2021-04-14 at 22:05 -0400, Calvin Walton wrote: > > The current version of turbostat exits immediately upon entering the > > main loop, with error code -13. This is a regression that was > > introducted > > in

Re: [PATCH v2 3/6] ARM: dts: rockchip: remove interrupts properties from pwm nodes rv1108.dtsi

2021-04-12 Thread Chen-Yu Tsai
On Mon, Apr 12, 2021 at 6:03 PM Johan Jonker wrote: > > On 4/12/21 5:15 AM, Chen-Yu Tsai wrote: > > On Sun, Apr 11, 2021 at 9:11 PM Johan Jonker wrote: > >> > >> A test with the command below gives this error: > >> > >> /arch/arm/boot/dts/rv1108-e

Re: [PATCH v2 3/6] ARM: dts: rockchip: remove interrupts properties from pwm nodes rv1108.dtsi

2021-04-11 Thread Chen-Yu Tsai
On Sun, Apr 11, 2021 at 9:11 PM Johan Jonker wrote: > > A test with the command below gives this error: > > /arch/arm/boot/dts/rv1108-evb.dt.yaml: > pwm@1028: 'interrupts' does not match any of the regexes: > 'pinctrl-[0-9]+' > > "interrupts" is an undocumented property, so remove them > from

Re: [PATCH] cpufreq: intel_pstate: Simplify intel_pstate_update_perf_limits()

2021-04-09 Thread Chen Yu
ide policy_max > and policy_min, respectively, by pstate.scaling. Make it do so. > > While at it, move the definition and initialization of the > turbo_max local variable to the code branch using it. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Tested-by: Chen Yu

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 > >

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

2021-04-05 Thread Chen-Yu Tsai
On Mon, Apr 5, 2021 at 4:53 PM Tianling Shen wrote: > > Hi Chen-Yu, > > On 2021-04-05 16:14, Chen-Yu Tsai wrote: > > > > Hi, > > > > On Mon, Apr 5, 2021 at 3:46 PM Tianling Shen wrote: > > > > > > From: David Bauer > >

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

2021-04-05 Thread Chen-Yu Tsai
Hi, On Mon, Apr 5, 2021 at 3:46 PM 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 > Signed-off-by: Tianling Shen > --- >

Re: [PATCH 28/38] dt-bindings: power: supply: axp20x: Convert to DT schema format

2021-03-23 Thread Chen-Yu Tsai
On Fri, Mar 12, 2021 at 11:52 PM Sebastian Reichel wrote: > > Convert the binding to DT schema format. > > Cc: Chen-Yu Tsai > Signed-off-by: Sebastian Reichel Looks good to me. Though I'm not well versed in the new YAML binding format yet. Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button

2021-03-23 Thread Chen-Yu Tsai
On Wed, Mar 24, 2021 at 4:44 AM Jernej Skrabec wrote: > > Beelink X2 has power button. Add node for it. > > Signed-off-by: Jernej Skrabec Acked-by: Chen-Yu Tsai

Re: [PATCH v3 6/8] power: supply: Clean-up few drivers by using managed work init

2021-03-23 Thread Chen-Yu Tsai
Hi, On Tue, Mar 23, 2021 at 9:58 PM Matti Vaittinen wrote: > > Few drivers implement remove call-back only for ensuring a delayed > work gets cancelled prior driver removal. Clean-up these by switching > to use devm_delayed_work_autocancel() instead. > > This change is compile-tested only. All

Re: [PATCH] cpufreq: intel_pstate: Clean up frequency computations

2021-03-22 Thread Chen Yu
ntel_pstate_get_hwp_cap(), > suitable for the initialization path. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Tested-by: Chen Yu thanks, Chenyu

Re: [PATCH] ACPI: CPPC: Add emtpy stubs of functions for CONFIG_ACPI_CPPC_LIB unset

2021-03-22 Thread Chen Yu
L, include > linux/cpufreq.h into the CPPC library header file and drop the > direct inclusion of it from cppc_acpi.c. > > Signed-off-by: Rafael J. Wysocki Tested-by: Chen Yu thanks, Chenyu

Re: [RFC RESEND PATCH v2 6/8] power: supply: Clean-up few drivers by using managed work init

2021-03-22 Thread Chen-Yu Tsai
Hi, On Mon, Mar 22, 2021 at 3:38 PM Matti Vaittinen wrote: > > Few drivers implement remove call-back only for ensuring a delayed > work gets cancelled prior driver removal. Clean-up these by switching > to use devm_delayed_work_autocancel() instead. > > This change is compile-tested only. All

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

2021-03-17 Thread Chen Yu
Hi Stephen, On Wed, Mar 17, 2021 at 06:56:05PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (sparc64 > defconfig) produced this warning: > > drivers/net/ethernet/intel/e1000e/netdev.c:6926:12: warning: > 'e1000e_pm_prepare' defined but

Re: [3/3,v3] tools/power turbostat: Enable accumulate RAPL display

2021-03-12 Thread Chen Yu
for MSR_PKG_ENERGY_STATUS. Fixes: 9972d5d84d76 ("tools/power turbostat: Enable accumulate RAPL display") Reported-by: youling257 Co-developed-by: Bingsong Si Signed-off-by: Chen Yu --- tools/power/x86/turbostat/turbostat.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --gi

Re: [3/3,v3] tools/power turbostat: Enable accumulate RAPL display

2021-03-12 Thread Chen Yu
r credits and send to Len for pulling. thanks, Chenyu > ... Doug > > On Mon, Mar 8, 2021 at 8:11 AM Chen Yu wrote: > > > > Hi, > > On Mon, Mar 08, 2021 at 07:37:07AM -0800, Doug Smythies wrote: > > > On Mon, Mar 8, 2021 at 5:50 AM youling257 wrote: > > > &g

Re: [3/3,v3] tools/power turbostat: Enable accumulate RAPL display

2021-03-08 Thread Chen Yu
Hi, On Mon, Mar 08, 2021 at 07:37:07AM -0800, Doug Smythies wrote: > On Mon, Mar 8, 2021 at 5:50 AM youling257 wrote: > > > > this cause turbostat not work on amd cpu. > > > > root@localhost:~# /turbostat > > turbostat version 20.09.30 - Len Brown > > CPUID(0): AuthenticAMD 0xd CPUID levels;

Re: [PATCH] media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()

2021-03-07 Thread Chen-Yu Tsai
Signed-off-by: Jia-Ju Bai This should have the tag: Fixes: 5cc7522d8965 ("media: sun6i: Add support for Allwinner CSI V3s") Please try to add them when fixing bugs. And this should also be tagged for stable, so Cc: Otherwise, Acked-by: Chen-Yu Tsai

[PATCH] arm64: dts: allwinner: h6: Switch to macros for RSB clock/reset indices

2021-03-01 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The macros for the clock and reset indices for the RSB hardware block were replaced with raw numbers when the RSB controller node was added. This was done to avoid cross-tree dependencies. Now that both the clk and DT changes have been merged, we can switch back to using

Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output

2021-02-18 Thread Chen-Yu Tsai
On Thu, Feb 18, 2021 at 4:06 PM Icenowy Zheng wrote: > > > > 于 2021年2月18日 GMT+08:00 下午3:58:35, Maxime Ripard 写到: > >Hi, > > > >On Fri, Feb 12, 2021 at 02:57:25PM +0100, Tobias Schramm wrote: > >> Previously the variable rate audio pll output was fixed to a divider > >of > >> four. This is

Re: Re: [PATCH 2/5] drm/sun4i: tcon: set sync polarity for tcon1 channel

2021-02-05 Thread Chen-Yu Tsai
On Sat, Feb 6, 2021 at 12:21 AM Jernej Škrabec wrote: > > Dne petek, 05. februar 2021 ob 17:01:30 CET je Maxime Ripard napisal(a): > > On Fri, Feb 05, 2021 at 11:21:22AM +0800, Chen-Yu Tsai wrote: > > > On Fri, Feb 5, 2021 at 2:48 AM Jernej Skrabec > wrote: > > >

Re: [linux-sunxi] [PATCH 5/5] drm/sun4i: dw-hdmi: Fix max. frequency for H6

2021-02-04 Thread Chen-Yu Tsai
more pronounced with higher frequencies. > > Fix that by allowing max. supported frequency in HW and fix the comment. > > Fixes: cd9063757a22 ("drm/sun4i: DW HDMI: Lower max. supported rate for H6") > Tested-by: Andre Heider > Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH 4/5] drm/sun4i: Fix H6 HDMI PHY configuration

2021-02-04 Thread Chen-Yu Tsai
On Fri, Feb 5, 2021 at 2:48 AM Jernej Skrabec wrote: > > cpce value for 594 MHz is set differently in BSP driver. Fix that. > > Fixes: c71c9b2fee17 ("drm/sun4i: Add support for Synopsys HDMI PHY") > Tested-by: Andre Heider > Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai

Re: [PATCH 3/5] drm/sun4i: dw-hdmi: always set clock rate

2021-02-04 Thread Chen-Yu Tsai
Fix that by removing set_rate quirk and always set clock rate. > > Fixes: 40bb9d3147b2 ("drm/sun4i: Add support for H6 DW HDMI controller") > Tested-by: Andre Heider > Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai

Re: [PATCH 2/5] drm/sun4i: tcon: set sync polarity for tcon1 channel

2021-02-04 Thread Chen-Yu Tsai
gt; + val |= SUN4I_TCON0_IO_POL_VSYNC_POSITIVE; > + > + regmap_write(tcon->regs, SUN4I_TCON0_IO_POL_REG, val); > + } else { > + val = SUN4I_TCON1_IO_POL_UNKNOWN; I think a comment for the origin of this is warranted. Otherwise

Re: [linux-sunxi] [PATCH 1/5] clk: sunxi-ng: mp: fix parent rate change flag check

2021-02-04 Thread Chen-Yu Tsai
> Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai

[PATCH 1/2] tools/power turbostat: Support Alder Lake P

2021-02-03 Thread Chen Yu
Share the code between Alder Lake P and Alder Lake S. Tested-by: Wendy Wang Signed-off-by: Chen Yu --- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 389ea5209a83

[PATCH 0/2] Add more CPUs support in turbostat

2021-02-03 Thread Chen Yu
Alder Lake P and Ice Lake D are added in this patch set. Chen Yu (2): tools/power turbostat: Support Alder Lake Mobile tools/power turbostat: Support Ice Lake D tools/power/x86/turbostat/turbostat.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1

[PATCH 2/2] tools/power turbostat: Support Ice Lake D

2021-02-03 Thread Chen Yu
Ice Lake D is low-end server version of Ice Lake X, reuse the code accordingly. Tested-by: Wendy Wang Signed-off-by: Chen Yu --- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat

Re: [linux-sunxi] Re: [PATCH v5 06/20] mfd: axp20x: Allow AXP chips without interrupt lines

2021-02-02 Thread Chen-Yu Tsai
ber returned by the platform code is > > valid, before trying to register the irqchip. If not, we skip this > > registration, to avoid the driver to bail out completely. > > > > Signed-off-by: Andre Przywara > > Acked-by: Maxime Ripard Acked-by: Chen-Yu Tsai

Re: [PATCH v5 14/20] dt-bindings: bus: rsb: Add H616 compatible string

2021-02-01 Thread Chen-Yu Tsai
On Thu, Jan 28, 2021 at 1:26 AM Andre Przywara wrote: > > Add the obvious compatible name to the existing RSB binding, and pair > it with the existing A23 fallback compatible string, as the devices are > compatible. > > Signed-off-by: Andre Przywara Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v5 04/20] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

2021-02-01 Thread Chen-Yu Tsai
Hi, On Thu, Jan 28, 2021 at 1:26 AM Andre Przywara wrote: > > The AXP305 PMIC used in AXP805 seems to be fully compatible to the ^ This statement doesn't quite make sense. I assume you wanted to mention a board or the H616 SoC here? > AXP805 PMIC, so add the proper

Re: arm: sunxi: &83t: WARNING: CPU: 2 PID: 57 at drivers/thermal/thermal_core.c:563 thermal_zone_device_update

2021-01-30 Thread Chen-Yu Tsai
Hi, On Sun, Jan 31, 2021 at 12:54 AM Corentin Labbe wrote: > > Hello > > When booting next-20210128, I got the following warning on by bpim3 > 6.148421] [ cut here ] > [6.153145] WARNING: CPU: 2 PID: 57 at drivers/thermal/thermal_core.c:563 >

Re: [PATCH v5 00/10] sunxi: Support IRQ wakeup from deep sleep

2021-01-27 Thread Chen-Yu Tsai
On Mon, Jan 25, 2021 at 6:56 PM Maxime Ripard wrote: > > On Sat, Jan 23, 2021 at 12:26:26AM -0600, Samuel Holland wrote: > > On 1/22/21 4:47 AM, Maxime Ripard wrote: > > > On Thu, Jan 21, 2021 at 07:33:54PM -0600, Samuel Holland wrote: > > >> On 1/21/21 2:35 PM, Marc Zyngier wrote: > > >>> On

Re: [PATCH] power: supply: axp20x_usb_power: Init work before enabling IRQs

2021-01-24 Thread Chen-Yu Tsai
On Sun, Jan 24, 2021 at 11:24 PM Samuel Holland wrote: > > The IRQ handler calls mod_delayed_work() on power->vbus_detect. However, > that work item is not initialized until after the IRQs are enabled. If > an IRQ is already pending when the driver is probed, the driver calls > mod_delayed_work()

Re: [PATCH v2] ARM: dts: sun7i: a20: bananapro: Fix ethernet node

2021-01-21 Thread Chen-Yu Tsai
On Fri, Jan 22, 2021 at 3:54 AM Jernej Škrabec wrote: > > Dne četrtek, 21. januar 2021 ob 18:08:36 CET je Hermann Lauer napisal(a): > > BPi Pro needs TX and RX delay for Gbit to work reliable and avoid high > > packet loss rates. The realtek phy driver overrides the settings of the > > pull ups

[PATCH v4 4/4] arm64: dts: rockchip: rk3399: Add NanoPi M4B

2021-01-21 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi M4B is a minor revision of the original M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recovery button added Additional changes specific to the M4B

[PATCH v4 3/4] arm64: dts: rockchip: nanopi4: Move ep-gpios property to nanopc-t4

2021-01-21 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Only the NanoPC T4 hs the PCIe reset pin routed to the SoC. For the NanoPi M4 family, no such signal is routed to the expansion header on the base board. As the schematics for the expansion board were not released, it is unclear how this is handled, but the likely answer

[PATCH v4 2/4] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi M4B

2021-01-21 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi M4B is a minor revision of the original M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recovery button added Additional changes specific to the M4B

[PATCH v4 0/4] arm64: rockchip: Fix PCIe ep-gpios requirement and Add Nanopi M4B

2021-01-21 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This is v4 of my Nanopi M4B series. Changes since v3 include: - Directly return dev_err_probe() instead of having a separate return statement Changes since v2 include: - Replaced dev_err() with dev_err_probe() for gpiod_get_optional() error - Added

[PATCH v4 1/4] PCI: rockchip: Make 'ep-gpios' DT property optional

2021-01-21 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Rockchip PCIe controller DT binding clearly states that 'ep-gpios' is an optional property. And indeed there are boards that don't require it. Make the driver follow the binding by using devm_gpiod_get_optional() instead of devm_gpiod_get(). Fixes: e77f847df54c (&quo

Re: [PATCH v4 1/4] dt-bindings: usb: add rk3328 dwc3 docs

2021-01-20 Thread Chen-Yu Tsai
On Thu, Jan 21, 2021 at 12:30 PM Lindsey Stanpoor wrote: > > On Fri, Nov 6, 2020 at 11:42 PM Felipe Balbi wrote: > > > > > > Hi, > > > > Lindsey Stanpoor writes: > > > On Wed, Sep 2, 2020 at 11:12 AM wrote: > > >> > > >> From: Cameron Nemo > > >> > > >> Document compatible for dwc3 on the

Re: [PATCH v3 1/4] PCI: rockchip: Make 'ep-gpios' DT property optional

2021-01-19 Thread Chen-Yu Tsai
On Tue, Jan 19, 2021 at 5:11 PM Heiko Stübner wrote: > > Am Mittwoch, 6. Januar 2021, 14:46:14 CET schrieb Chen-Yu Tsai: > > From: Chen-Yu Tsai > > > > The Rockchip PCIe controller DT binding clearly states that 'ep-gpios' is > > an optional property. And inde

Re: [PATCH v3 0/4] arm64: rockchip: Fix PCIe ep-gpios requirement and Add Nanopi M4B

2021-01-18 Thread Chen-Yu Tsai
Hi, On Wed, Jan 6, 2021 at 9:46 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > Hi everyone, > > This is v3 of my Nanopi M4B series. Changes since v2 include: > > - Replaced dev_err() with dev_err_probe() for gpiod_get_optional() error > - Added Reviewed-by tag

Re: [linux-sunxi] Re: [PATCH v3 02/21] mmc: sunxi: add support for A100 mmc controller

2021-01-18 Thread Chen-Yu Tsai
On Mon, Jan 18, 2021 at 11:53 PM Andre Przywara wrote: > > On Mon, 18 Jan 2021 14:28:54 +0100 > Maxime Ripard wrote: > > Hi Maxime, > > > On Mon, Jan 18, 2021 at 02:08:29AM +, Andre Przywara wrote: > > > From: Yangtao Li > > > > > > This patch adds support for A100 MMC controller, which use

Re: [linux-sunxi] Re: [PATCH v2 4/4] arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection

2021-01-18 Thread Chen-Yu Tsai
On Wed, Jan 13, 2021 at 5:16 PM Chen-Yu Tsai wrote: > > On Thu, Jan 7, 2021 at 6:27 PM Samuel Holland wrote: > > > > On 1/6/21 5:38 AM, Chen-Yu Tsai wrote: > > > On Wed, Jan 6, 2021 at 7:06 PM Maxime Ripard wrote: > > >> > > >> On Mon, Jan

Re: [PATCH] ARM: dts: sun8i-v3s: Add CSI0 MCLK pin definition

2021-01-17 Thread Chen-Yu Tsai
On Wed, Dec 30, 2020 at 11:29 AM Chen-Yu Tsai wrote: > > On Tue, Dec 22, 2020 at 4:17 PM Jernej Škrabec > wrote: > > > > Hi! > > > > Dne petek, 18. december 2020 ob 20:50:33 CET je Paul Kocialkowski > > napisal(a): > > > This adds a device-tree d

[PATCH v2 2/3] dt-bindings: arm: rockchip: Add Radxa ROCK Pi E

2021-01-17 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Radxa ROCK Pi E is a router oriented SBC based on Rockchip's RK3328 SoC. As the official wiki page puts it, "E for Ethernets". It features the RK3328 SoC, gigabit and fast Ethernet RJ45 ports, both directly served by Ethernet controllers in the SoC, a USB 3.0

[PATCH v2 1/3] arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node

2021-01-17 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The gmac2phy is integrated with the PHY within the SoC. Any properties related to this integration can be included in the .dtsi file, instead of having board dts files specify them separately. Add the clock_in_out property to specify the direction of the PHY clock

[PATCH v2 0/3] arm64: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-17 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This is v2 of my ROCK Pi E support series. Changes since v1: - Picked up Rob's Ack for the binding - Dropped comment about LED color - Dropped max-frequency from emmc node - Changed pingroup name from "ethernet-phy" to "ephy" to avoid DT bin

[PATCH v2 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-17 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Radxa ROCK Pi E is a router oriented SBC based on Rockchip's RK3328 SoC. As the official wiki page puts it, "E for Ethernets". It features the RK3328 SoC, gigabit and fast Ethernet RJ45 ports, both directly served by Ethernet controllers in the SoC, a USB 3.0

Re: [PATCH] ARM: dts: sun8i: h2-plus: bananapi-m2-zero: Increase BT UART speed

2021-01-16 Thread Chen-Yu Tsai
On Sat, Jan 16, 2021 at 6:37 PM Jernej Skrabec wrote: > > Bluetooth module on BananaPi M2 Zero can also be used for streaming > audio. However, for that case higher UART speed is required. > > Add a max-speed property. > > Signed-off-by: Jernej Skrabec Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH] ARM: dts: sunxi: bananapi-m2-plus: Increase BT UART speed

2021-01-16 Thread Chen-Yu Tsai
On Sat, Jan 16, 2021 at 6:52 PM Jernej Skrabec wrote: > > Bluetooth module on BananaPi M2 Plus can also be used for streaming > audio. However, for that case higher UART speed is required. > > Add a max-speed property. > > Signed-off-by: Jernej Skrabec Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] Re: [PATCH v2 4/4] arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection

2021-01-13 Thread Chen-Yu Tsai
On Thu, Jan 7, 2021 at 6:27 PM Samuel Holland wrote: > > On 1/6/21 5:38 AM, Chen-Yu Tsai wrote: > > On Wed, Jan 6, 2021 at 7:06 PM Maxime Ripard wrote: > >> > >> On Mon, Jan 04, 2021 at 10:54:19AM +, André Przywara wrote: > >>> On 03/01/2021 10:

Re: [linux-sunxi] [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth

2021-01-13 Thread Chen-Yu Tsai
On Mon, Jan 11, 2021 at 5:16 AM Jernej Skrabec wrote: > > PineH64 model B has wifi+bt combo module. Wifi is already supported, so > lets add also bluetooth node. > > Signed-off-by: Jernej Skrabec Acked-by: Chen-Yu Tsai Looks good to me, though I couldn't find anything

Re: [PATCH][v3] cpufreq: intel_pstate: Get percpu max freq via HWP MSR register if available

2021-01-12 Thread Chen Yu
On Tue, Jan 12, 2021 at 02:52:50PM +0100, Rafael J. Wysocki wrote: > On Tue, Jan 12, 2021 at 6:19 AM Chen Yu wrote: > > > > Currently when turbo is disabled(either by BIOS or by the user), the > > intel_pstate driver reads the max non-turbo frequency from the package-wide

Re: [PATCH v3 2/4] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi M4B

2021-01-12 Thread Chen-Yu Tsai
On Wed, Jan 6, 2021 at 9:46 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > The NanoPi M4B is a minor revision of the original M4. > > The differences against the original Nanopi M4 that are common with the > other M4V2 revision include: > > - microphone header

[PATCH][v3] cpufreq: intel_pstate: Get percpu max freq via HWP MSR register if available

2021-01-11 Thread Chen Yu
max non-turbo cpu frequency, because the MSR_HWP_CAPABILITIES is percpu scope according to Intel Software Developer Manual. The turbo max freq is already percpu basis in current code, thus make similar change to the max non-turbo frequency as well. Reported-by: Wendy Wang Signed-off-by: Chen Yu

Re: [PATCH 2/2][v2] cpufreq: intel_pstate: Get percpu max freq via HWP MSR register if available

2021-01-11 Thread Chen Yu
On Mon, Jan 11, 2021 at 03:11:02AM -0800, Srinivas Pandruvada wrote: > On Mon, 2021-01-11 at 15:43 +0800, Chen Yu wrote: > > Currently when turbo is disabled(either by BIOS or by the user), the > > intel_pstate > > driver reads the max frequency from the package-wide >

Re: [PATCH 1/2][v2] cpufreq: intel_pstate: Add parameter to get guarantee frequency

2021-01-11 Thread Chen Yu
On Mon, Jan 11, 2021 at 01:44:09PM +0100, Rafael J. Wysocki wrote: > On Mon, Jan 11, 2021 at 8:40 AM Chen Yu wrote: > > > > Add input parameter to receive guarantee pstate from > > intel_pstate_get_hwp_max() > > for later use. > > I'm not a fan of this change, b

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-11 Thread Chen-Yu Tsai
On Mon, Jan 11, 2021 at 3:50 PM Heiko Stübner wrote: > > Am Montag, 11. Januar 2021, 04:27:47 CET schrieb Chen-Yu Tsai: > > On Mon, Jan 11, 2021 at 4:06 AM Heiko Stübner wrote: > > > > > > Hi, > > > > > > Am Sonntag, 10. Januar 2021, 16:37:15 CE

[PATCH 2/2][v2] cpufreq: intel_pstate: Get percpu max freq via HWP MSR register if available

2021-01-10 Thread Chen Yu
frequency, because the MSR_HWP_CAPABILITIES is percpu scope according to Intel Software Developer Manual. The turbo max freq is already percpu basis in current code, thus make similar change to the max non-turbo frequency as well. Reported-by: Wendy Wang Signed-off-by: Chen Yu --- v2: per

[PATCH 1/2][v2] cpufreq: intel_pstate: Add parameter to get guarantee frequency

2021-01-10 Thread Chen Yu
Add input parameter to receive guarantee pstate from intel_pstate_get_hwp_max() for later use. No functional change intended. Signed-off-by: Chen Yu --- drivers/cpufreq/intel_pstate.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/cpufreq

[PATCH 0/2][v2] Get percpu max freq via HWP MSR register

2021-01-10 Thread Chen Yu
.bdjsIDbar3@kreacher/ Chen Yu (2): cpufreq: intel_pstate: Add parameter to get guarantee cpufreq: intel_pstate: Get percpu max freq via HWP MSR register if available drivers/cpufreq/intel_pstate.c | 29 - 1 file changed, 16 insertions(+), 13 deletions

Re: [PATCH] arm64: dts: rockchip: rename pinctrl nodename to gmac2io for nanopi-r2s board

2021-01-10 Thread Chen-Yu Tsai
Hi Rob, On Mon, Jan 11, 2021 at 3:50 AM Johan Jonker wrote: > > A test with the command below gives this error: > /arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dt.yaml: > ethernet-phy: 'reg' is a required property > > The pinctrl nodename "ethernet-phy" conflicts with the rules > in the

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-10 Thread Chen-Yu Tsai
On Mon, Jan 11, 2021 at 4:17 AM Johan Jonker wrote: > > Hi Chen-Yu, > > Most is already answered by Heiko. > > On 1/10/21 4:37 PM, Chen-Yu Tsai wrote: > > Hi, > > > > On Sun, Jan 10, 2021 at 10:45 PM Johan Jonker wrote: > >> > >> Hi Chen-Yu

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-10 Thread Chen-Yu Tsai
On Mon, Jan 11, 2021 at 4:06 AM Heiko Stübner wrote: > > Hi, > > Am Sonntag, 10. Januar 2021, 16:37:15 CET schrieb Chen-Yu Tsai: > > > > + vcc_sd: sdmmc-regulator { > > > > + compatible = "regulator-fixed"; > &g

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-10 Thread Chen-Yu Tsai
Hi, On Sun, Jan 10, 2021 at 10:45 PM Johan Jonker wrote: > > Hi Chen-Yu, > > Some comments, have a look if it is useful... > > On 1/10/21 4:58 AM, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > Radxa ROCK Pi E is a router oriented SBC based on Rockchip's

[PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Radxa ROCK Pi E is a router oriented SBC based on Rockchip's RK3328 SoC. As the official wiki page puts it, "E for Ethernets". It features the RK3328 SoC, gigabit and fast Ethernet RJ45 ports, both directly served by Ethernet controllers in the SoC, a USB 3.0

[PATCH 1/3] arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node

2021-01-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The gmac2phy is integrated with the PHY within the SoC. Any properties related to this integration can be included in the .dtsi file, instead of having board dts files specify them separately. Add the clock_in_out property to specify the direction of the PHY clock

[PATCH 0/3] arm64: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This series adds support for the Radxa ROCK Pi E. This is a router oriented SBC based on Rockchip's RK3328 SoC. As the official wiki page puts it, "E for Ethernets". It features the RK3328 SoC, gigabit and fast Ethernet RJ45 ports, both direc

[PATCH 2/3] dt-bindings: arm: rockchip: Add Radxa ROCK Pi E

2021-01-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Radxa ROCK Pi E is a router oriented SBC based on Rockchip's RK3328 SoC. As the official wiki page puts it, "E for Ethernets". It features the RK3328 SoC, gigabit and fast Ethernet RJ45 ports, both directly served by Ethernet controllers in the SoC, a USB 3.0

[PATCH] staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules

2021-01-08 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The custom regulatory ruleset in the rtl8723bs driver lists an incorrect number of rules: one too many. This results in an out-of-bounds access, as detected by KASAN. This was possible thanks to the newly added support for KASAN on ARMv7. Fix this by filling in the correct

Re: [PATCH v1 1/3] cpufreq: intel_pstate: Always read hwp_cap_cached with READ_ONCE()

2021-01-07 Thread Chen Yu
gned-off-by: Rafael J. Wysocki Tested-by: Chen Yu thanks, Chenyu

Re: [PATCH v1 2/3] cpufreq: intel_pstate: Change intel_pstate_get_hwp_max() argument

2021-01-07 Thread Chen Yu
order to update > hwp_cap_cached), so modify the code to pass a struct cpudata pointer > to it instead of the CPU number. > > Signed-off-by: Rafael J. Wysocki Tested-by: Chen Yu thanks, Chenyu

Re: [PATCH v1 3/3] cpufreq: intel_pstate: Rename two functions

2021-01-07 Thread Chen Yu
sible confusion with the ->adjist_perf() > callback function, intel_cpufreq_adjust_perf(). > > Signed-off-by: Rafael J. Wysocki > --- Tested-by: Chen Yu

[PATCH v3 0/4] arm64: rockchip: Fix PCIe ep-gpios requirement and Add Nanopi M4B

2021-01-06 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This is v3 of my Nanopi M4B series. Changes since v2 include: - Replaced dev_err() with dev_err_probe() for gpiod_get_optional() error - Added Reviewed-by tag from Robin Murphy for patch 3 Changes since v1 include: - Rewrite subject of patch 1 to match

[PATCH v3 1/4] PCI: rockchip: Make 'ep-gpios' DT property optional

2021-01-06 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Rockchip PCIe controller DT binding clearly states that 'ep-gpios' is an optional property. And indeed there are boards that don't require it. Make the driver follow the binding by using devm_gpiod_get_optional() instead of devm_gpiod_get(). Fixes: e77f847df54c (&quo

[PATCH v3 2/4] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi M4B

2021-01-06 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi M4B is a minor revision of the original M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recovery button added Additional changes specific to the M4B

[PATCH v3 4/4] arm64: dts: rockchip: rk3399: Add NanoPi M4B

2021-01-06 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi M4B is a minor revision of the original M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recovery button added Additional changes specific to the M4B

[PATCH v3 3/4] arm64: dts: rockchip: nanopi4: Move ep-gpios property to nanopc-t4

2021-01-06 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Only the NanoPC T4 hs the PCIe reset pin routed to the SoC. For the NanoPi M4 family, no such signal is routed to the expansion header on the base board. As the schematics for the expansion board were not released, it is unclear how this is handled, but the likely answer

Re: [PATCH 0/4] bus: sunxi-rsb: Implement power managment

2021-01-06 Thread Chen-Yu Tsai
On Wed, Jan 6, 2021 at 6:50 PM Maxime Ripard wrote: > > Hi! > > On Sun, Jan 03, 2021 at 05:06:31AM -0600, Samuel Holland wrote: > > This series adds system (complete power down) and runtime (clock gate) > > PM hooks to the RSB controller driver. Tested on A64 and H6. > > > > Samuel Holland (4): >

Re: [PATCH v2 4/4] arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection

2021-01-06 Thread Chen-Yu Tsai
On Wed, Jan 6, 2021 at 7:06 PM Maxime Ripard wrote: > > On Mon, Jan 04, 2021 at 10:54:19AM +, André Przywara wrote: > > On 03/01/2021 10:00, Samuel Holland wrote: > > > On boards where the only peripheral connected to PL0/PL1 is an X-Powers > > > PMIC, configure the connection to use the RSB

Re: [PATCH net-next 5/5] net: stmmac: dwmac-sun8i: Add a shutdown callback

2021-01-06 Thread Chen-Yu Tsai
". > > Signed-off-by: Samuel Holland Reviewed-by: Chen-Yu Tsai

Re: [PATCH net-next 4/5] net: stmmac: dwmac-sun8i: Minor probe function cleanup

2021-01-06 Thread Chen-Yu Tsai
On Sun, Jan 3, 2021 at 7:25 PM Samuel Holland wrote: > > Adjust the spacing and use an explicit "return 0" in the success path > to make the function easier to parse. > > Signed-off-by: Samuel Holland Reviewed-by: Chen-Yu Tsai

Re: [PATCH net-next 2/5] net: stmmac: dwmac-sun8i: Remove unnecessary PHY power check

2021-01-06 Thread Chen-Yu Tsai
On Sun, Jan 3, 2021 at 7:25 PM Samuel Holland wrote: > > sun8i_dwmac_unpower_internal_phy already checks if the PHY is powered, > so there is no need to do it again here. > > Signed-off-by: Samuel Holland Reviewed-by: Chen-Yu Tsai

Re: [PATCH net-next 3/5] net: stmmac: dwmac-sun8i: Use reset_control_reset

2021-01-06 Thread Chen-Yu Tsai
On Sun, Jan 3, 2021 at 7:25 PM Samuel Holland wrote: > > Use the appropriate function instead of reimplementing it, > and update the error message to match the code. > > Signed-off-by: Samuel Holland Reviewed-by: Chen-Yu Tsai

Re: [PATCH net-next 1/5] net: stmmac: dwmac-sun8i: Return void from PHY unpower

2021-01-06 Thread Chen-Yu Tsai
On Sun, Jan 3, 2021 at 7:25 PM Samuel Holland wrote: > > This is a deinitialization function that always returned zero, and that > return value was always ignored. Have it return void instead. > > Signed-off-by: Samuel Holland Reviewed-by: Chen-Yu Tsai

  1   2   3   4   5   6   7   8   9   10   >