[PATCH v3 4/4] ARM: dts: bcm283x: Add and use bcm2835-aux-intc

2017-06-14 Thread Phil Elwell
reserving it, along with preparing for a point in the future where the clock node may be shrunk to the single word it actually needs. Signed-off-by: Phil Elwell --- arch/arm/boot/dts/bcm283x.dtsi | 27 +++ 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/arch/arm

[PATCH v3 1/4] clk: bcm2835: More flexible IO register remapping

2017-06-14 Thread Phil Elwell
handling the case where this driver's MEM resource has been reduced to include only the AUXENB register. Otherwise, use devm_ioremap to remap the region without reserving it. Signed-off-by: Phil Elwell --- drivers/clk/bcm/clk-bcm2835-aux.c | 27 +++ 1 file change

[PATCH v3 0/4] Add bcm2835aux interrupt controller

2017-06-14 Thread Phil Elwell
to permit sharing. Phil Elwell (4): clk: bcm2835: More flexible IO register remapping dt: bindings: Add bindings for bcm2835-aux-intc irqchip: Add BCM2835 AUX interrupt controller ARM: dts: bcm283x: Add and use bcm2835-aux-intc .../interrupt-controller/brcm,bcm2835-aux-intc.txt | 28

[PATCH v3 2/4] dt: bindings: Add bindings for bcm2835-aux-intc

2017-06-14 Thread Phil Elwell
Add bindings documentation for brcm,bcm2835-aux-intc and human-readable declarations for the BCM2835 AUX IRQs. Signed-off-by: Phil Elwell Reviewed-by: Florian Fainelli --- .../interrupt-controller/brcm,bcm2835-aux-intc.txt | 27 ++ .../interrupt-controller/bcm2835-aux

Re: RFC: i2c designware gpio recovery

2017-04-30 Thread Phil Reid
t;disabled"; @@ -673,6 +676,7 @@ #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc07000 0x1000>; + resets = <&rst I2C3_RESET>; clocks

Re: RFC: i2c designware gpio recovery

2017-04-30 Thread Phil Reid
7 @@ static int i2c_generic_recovery(struct i2c_adapter *adap) ndelay(RECOVERY_NDELAY); } + dev_err(&adap->dev,"recovery cycle\n"); if (bri->unprepare_recovery) bri->unprepare_recovery(adap); @@ -839,10 +843,12 @@ int i2c_generic_gpio_recovery(struct i2c_adapter *adap) { int ret; + ret = i2c_get_gpios_for_recovery(adap); if (ret) return ret; + dev_err(&adap->dev,"i2c_generic_gpio_recovery have gpios\n"); ret = i2c_generic_recovery(adap); i2c_put_gpios_for_recovery(adap); -- Regards Phil Reid

Re: RFC: i2c designware gpio recovery

2017-05-02 Thread Phil Reid
G'day Tim, On 1/05/2017 21:31, Tim Sander wrote: Good Day Phil Am Montag, 1. Mai 2017, 09:57:35 CEST schrieb Phil Reid: So i took a look into the device tree file socfpga.dtsi and found that the reset lines where not defined (although available in the corresponding reset manager). Is th

[PATCH v2 resend] staging: bcm2835-audio: Fix memory corruption

2017-09-24 Thread Phil Elwell
connections. Simplifying the code by removing a bunch of gotos and returning errors directly. Signed-off-by: Phil Elwell Fixes: 0adbfd4694c2 ("staging: bcm2835-audio: fix memory leak in bcm2835_audio_open_connection()") --- v2: Simplified following feedback from Dan Carpenter. --- .../vc0

Re: [PATCH 1/2] clk: bcm2835: Add AUX interrupt controller

2017-06-07 Thread Phil Elwell
On 07/06/2017 18:25, Alexander Stein wrote: On Wednesday, June 7, 2017, 2:37:41 PM CEST Phil Elwell wrote: On 07/06/2017 13:07, Alexander Stein wrote: On Wednesday 07 June 2017 12:11:45, Phil Elwell wrote: Devices in the AUX block share a common interrupt line, with a register indicating

Re: [PATCH 0/2] Add bcm2835aux interrupt controller

2017-06-07 Thread Phil Elwell
On 07/06/2017 21:37, Stefan Wahren wrote: Hi Phil, Phil Elwell hat am 7. Juni 2017 um 13:11 geschrieben: Devices in the AUX block share a common interrupt line, with a register indicating which devices have active IRQs. Expose this as a nested interrupt controller to avoid IRQ sharing

Re: [PATCH 0/2] Add bcm2835aux interrupt controller

2017-06-08 Thread Phil Elwell
On 07/06/2017 21:58, Florian Fainelli wrote: > On 06/07/2017 04:11 AM, Phil Elwell wrote: >> Devices in the AUX block share a common interrupt line, with a register >> indicating which devices have active IRQs. Expose this as a nested >> interrupt controller to avoid IRQ sha

Re: CLK_OF_DECLARE advice required

2017-06-05 Thread Phil Elwell
On 02/06/2017 23:34, Stephen Boyd wrote:> On 06/01, Phil Elwell wrote: >> On 01/06/2017 07:39, Stephen Boyd wrote: >>> On 05/31, Phil Elwell wrote: >>>> For my edification, can you pretend for a moment that the application was >>>> a valid one an

[PATCH 0/1] ARM: bcm2836: Send event when onlining other cores

2017-08-08 Thread Phil Elwell
e irqchip driver. [1] - https://github.com/anholt/linux/commits/bcm2835-soc-smp-cleanup Phil Elwell (1): ARM: bcm2836: Send event when onlining other cores arch/arm/mach-bcm/platsmp.c | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1

[PATCH] ARM: bcm2836: Send event when onlining other cores

2017-08-08 Thread Phil Elwell
"sev" (and a memory barrier) to bcm2836_boot_secondary, the function that wakes the waiting cores during booting. This is required if the secondary cores are sitting in "wfe", and harmless if not. Signed-off-by: Phil Elwell --- arch/arm/mach-bcm/platsmp.c | 3 +++ 1 file cha

[PATCH] staging: bcm2835-audio: Fix memory corruption

2017-08-08 Thread Phil Elwell
I'm all for fixing memory leaks, but freeing a block while it is still being used is a recipe for hard-to-debug kernel exceptions. 1) There is already a vchi method for freeing the instance, so use it. 2) Only call it on error, and then only before initted is false. Signed-off-by: Phil E

Re: [PATCH v4] iio : Add cm3218 smbus ara and acpi support

2017-11-20 Thread Phil Reid
eally not terribly nice (as it registers the ARA device by messing with the address and registering a second device). As I understood it the ARA device registration should be handled by the i2c master, but there are very few examples. Phil pointed out that equivalent OF support recently got taken

Re: [PATCH v4] iio : Add cm3218 smbus ara and acpi support

2017-11-26 Thread Phil Reid
On 25/11/2017 21:57, Jonathan Cameron wrote: On Tue, 21 Nov 2017 09:22:16 +0800 Phil Reid wrote: On 20/11/2017 18:57, Mika Westerberg wrote: +Jarkko On Sun, Nov 19, 2017 at 04:35:51PM +, Jonathan Cameron wrote: On Thu, 2 Nov 2017 16:04:07 +0100 Wolfram Sang wrote: On Thu, Nov 02

Re: [PATCH] power: supply: sbs-battery: simplify DT parsing

2016-09-19 Thread Phil Reid
{ .probe = sbs_probe, .remove = sbs_remove, .id_table = sbs_id, .driver = { .name = "sbs-battery", - .of_match_table = of_match_ptr(sbs_dt_ids), + .of_match_table = sbs_dt_ids, .pm = SBS_PM_OPS, }, }; Also sbs_external_power_changed is still referencing chip->pdata->poll_retry_count. Which I think will result in null pointer dereference now. -- Regards Phil Reid

Re: [PATCH net-next] selftests: wireguards: use nft by default

2024-11-07 Thread Phil Sutter
; policy accept \; } > + n0 nft add rule inet filter INPUT meta length 1360 counter drop > +else > + n0 iptables -A INPUT -m length --length 1360 -j DROP > +fi > n1 ip route add 192.168.241.2/32 dev wg0 mtu 1299 > n2 ip route add 192.168.241.1/32 dev wg0 mtu 1299 > n2 ping -c 1 -W 1 -s 1269 192.168.241.1 > n2 ip route delete 192.168.241.1/32 dev wg0 mtu 1299 > n1 ip route delete 192.168.241.2/32 dev wg0 mtu 1299 > -n0 iptables -F INPUT > +if use_nft; then > + n0 nft delete table inet filter Here just flush the table (drops only the rules): | n0 nft flush table ip wgtest Cheers, Phil

Re: [PATCHv2 net-next] selftests: wireguards: use nft by default

2024-11-20 Thread Phil Sutter
ou may find proper details about the failure in config.log. My guess is the cross build prevents host libraries from being used. (No idea why your manual call works, though.) > But I can config it manually like: ./configure --prefix=/ > --build=x86_64-redhat-linux --host=x86_64-linux-musl --enable-static > --disable-shared correctly > > Do you have any idea? You may just pass '--with-mini-gmp' to nftables' configure call to avoid the external dependency. Cheers, Phil

Re: [PATCHv4 RESEND net-next 2/2] selftests: wireguard: update to using nft for qemu test

2025-03-21 Thread Phil Sutter
Hi Hangbin, On Fri, Mar 21, 2025 at 10:40:25AM +, Hangbin Liu wrote: > Hi Jason, Phil, > On Wed, Mar 19, 2025 at 05:15:41PM +0100, Jason A. Donenfeld wrote: > > On Mon, Jan 06, 2025 at 08:10:43AM +, Hangbin Liu wrote: > > > + echo "file /bin/nft $(NFTA

Re: [PATCH 2/2] audit: show (grand)parents information of an audit context

2021-02-03 Thread Phil Zhang (xuanyzha)
low up the audit log. But we'd like to hear alternatives. On Wed, 2021-02-03 at 18:57 +, Daniel Walker (danielwa) wrote: > On Tue, Feb 02, 2021 at 04:44:47PM -0500, Paul Moore wrote: > > On Tue, Feb 2, 2021 at 4:29 PM Daniel Walker < > > danie...@cisco.com &g

[tip:sched/urgent] sched/fair: Fix throttle_list starvation with low CFS quota

2018-10-11 Thread tip-bot for Phil Auld
Commit-ID: 8b48300108248e950cde0bdc5708039fc3836623 Gitweb: https://git.kernel.org/tip/8b48300108248e950cde0bdc5708039fc3836623 Author: Phil Auld AuthorDate: Mon, 8 Oct 2018 10:36:40 -0400 Committer: Ingo Molnar CommitDate: Thu, 11 Oct 2018 11:18:32 +0200 sched/fair: Fix throttle_list

[tip:sched/urgent] sched/fair: Fix throttle_list starvation with low CFS quota

2018-10-11 Thread tip-bot for Phil Auld
Commit-ID: baa9be4ffb55876923dc9716abc0a448e510ba30 Gitweb: https://git.kernel.org/tip/baa9be4ffb55876923dc9716abc0a448e510ba30 Author: Phil Auld AuthorDate: Mon, 8 Oct 2018 10:36:40 -0400 Committer: Ingo Molnar CommitDate: Thu, 11 Oct 2018 13:10:18 +0200 sched/fair: Fix throttle_list

[tip:sched/urgent] sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup

2019-04-16 Thread tip-bot for Phil Auld
Commit-ID: 2e8e19226398db8265a8e675fcc0118b9e80c9e8 Gitweb: https://git.kernel.org/tip/2e8e19226398db8265a8e675fcc0118b9e80c9e8 Author: Phil Auld AuthorDate: Tue, 19 Mar 2019 09:00:05 -0400 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 16:50:05 +0200 sched/fair: Limit

[tip:sched/core] sched/fair: Limit sched_cfs_period_timer loop to avoid hard lockup

2019-04-03 Thread tip-bot for Phil Auld
Commit-ID: 06ec5d30e8d57b820d44df6340dcb25010d6d0fa Gitweb: https://git.kernel.org/tip/06ec5d30e8d57b820d44df6340dcb25010d6d0fa Author: Phil Auld AuthorDate: Tue, 19 Mar 2019 09:00:05 -0400 Committer: Ingo Molnar CommitDate: Wed, 3 Apr 2019 09:50:23 +0200 sched/fair: Limit

[tip: sched/urgent] sched/fair: Fix enqueue_task_fair() warning some more

2020-05-19 Thread tip-bot2 for Phil Auld
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: b34cb07dde7c2346dec73d053ce926aeaa087303 Gitweb: https://git.kernel.org/tip/b34cb07dde7c2346dec73d053ce926aeaa087303 Author:Phil Auld AuthorDate:Tue, 12 May 2020 09:52:22 -04:00 Committer

[tip: sched/urgent] sched: Fix use of count for nr_running tracepoint

2020-08-06 Thread tip-bot2 for Phil Auld
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: a1bd06853ee478d37fae9435c5521e301de94c67 Gitweb: https://git.kernel.org/tip/a1bd06853ee478d37fae9435c5521e301de94c67 Author:Phil Auld AuthorDate:Wed, 05 Aug 2020 16:31:38 -04:00 Committer

[tip:sched/core] sched/fair: Use rq_lock/unlock in online_fair_sched_group

2019-08-12 Thread tip-bot for Phil Auld
Commit-ID: a46d14eca7b75fffe35603aa8b81df654353d80f Gitweb: https://git.kernel.org/tip/a46d14eca7b75fffe35603aa8b81df654353d80f Author: Phil Auld AuthorDate: Thu, 1 Aug 2019 09:37:49 -0400 Committer: Thomas Gleixner CommitDate: Mon, 12 Aug 2019 14:45:34 +0200 sched/fair: Use rq_lock

[tip:sched/core] sched/fair: Use rq_lock/unlock in online_fair_sched_group

2019-08-08 Thread tip-bot for Phil Auld
Commit-ID: 6b8fd01b21f5f2701b407a7118f236ba4c41226d Gitweb: https://git.kernel.org/tip/6b8fd01b21f5f2701b407a7118f236ba4c41226d Author: Phil Auld AuthorDate: Thu, 1 Aug 2019 09:37:49 -0400 Committer: Peter Zijlstra CommitDate: Thu, 8 Aug 2019 09:09:31 +0200 sched/fair: Use rq_lock

[tip: sched/core] sched: Add a tracepoint to track rq->nr_running

2020-07-09 Thread tip-bot2 for Phil Auld
The following commit has been merged into the sched/core branch of tip: Commit-ID: 9d246053a69196c7c27068870e9b4b66ac536f68 Gitweb: https://git.kernel.org/tip/9d246053a69196c7c27068870e9b4b66ac536f68 Author:Phil Auld AuthorDate:Mon, 29 Jun 2020 15:23:03 -04:00 Committer

<    3   4   5   6   7   8