Re: [PATCH] HPE BMC GXP SUPPORT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH] HPE BMC GXP SUPPORT
- From: Joe Perches <joe@xxxxxxxxxxx>
- Date: Fri, 04 Feb 2022 06:01:44 -0800
- Cc: nick.hawkins@xxxxxxx, verdun@xxxxxxx, David Airlie <airlied@xxxxxxxx>, Daniel Vetter <daniel@xxxxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Linus Walleij <linus.walleij@xxxxxxxxxx>, Bartosz Golaszewski <brgl@xxxxxxxx>, Corey Minyard <minyard@xxxxxxx>, Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>, Miquel Raynal <miquel.raynal@xxxxxxxxxxx>, Richard Weinberger <richard@xxxxxx>, Vignesh Raghavendra <vigneshr@xxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Jakub Kicinski <kuba@xxxxxxxxxx>, Thierry Reding <thierry.reding@xxxxxxxxx>, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>, Lee Jones <lee.jones@xxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Mark Brown <broonie@xxxxxxxxxx>, "Rafael J. Wysocki" <rafael@xxxxxxxxxx>, Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>, Amit Kucheria <amitk@xxxxxxxxxx>, Zhang Rui <rui.zhang@xxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Wim Van Sebroeck <wim@xxxxxxxxxxxxxxxxxx>, Guenter Roeck <linux@xxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Olof Johansson <olof@xxxxxxxxx>, soc@xxxxxxxxxx, Shawn Guo <shawnguo@xxxxxxxxxx>, Stanislav Jakubek <stano.jakubek@xxxxxxxxx>, Sam Ravnborg <sam@xxxxxxxxxxxx>, Hao Fang <fanghao11@xxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Marc Zyngier <maz@xxxxxxxxxx>, Ard Biesheuvel <ardb@xxxxxxxxxx>, Anshuman Khandual <anshuman.khandual@xxxxxxx>, Wang Kefeng <wangkefeng.wang@xxxxxxxxxx>, Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>, Masahiro Yamada <masahiroy@xxxxxxxxxx>, dri-devel@xxxxxxxxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-gpio@xxxxxxxxxxxxxxx, linux-i2c@xxxxxxxxxxxxxxx, openipmi-developer@xxxxxxxxxxxxxxxxxxxxx, linux-mtd@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, linux-pwm@xxxxxxxxxxxxxxx, linux-serial@xxxxxxxxxxxxxxx, linux-spi@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, linux-usb@xxxxxxxxxxxxxxx, linux-watchdog@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
- In-reply-to: <Yf0cihUQ1byjnh3d@shell.armlinux.org.uk>
- References: <nick.hawkins@hpe.com> <20220202165315.18282-1-nick.hawkins@hpe.com> <Yf0Wm1kOV1Pss9HJ@shell.armlinux.org.uk> <ad56e88206a8d66b715035362abe16ece0bde7d3.camel@perches.com> <Yf0cihUQ1byjnh3d@shell.armlinux.org.uk>
- User-agent: Evolution 3.40.4-1ubuntu2
On Fri, 2022-02-04 at 12:31 +0000, Russell King (Oracle) wrote:
> On Fri, Feb 04, 2022 at 04:18:24AM -0800, Joe Perches wrote:
> > On Fri, 2022-02-04 at 12:05 +0000, Russell King (Oracle) wrote:
> > > On Wed, Feb 02, 2022 at 10:52:50AM -0600, nick.hawkins@xxxxxxx wrote:
> > > > + if (readb_relaxed(timer->control) & MASK_TCS_TC) {
> > > > + writeb_relaxed(MASK_TCS_TC, timer->control);
> > > > +
> > > > + event_handler = READ_ONCE(timer->evt.event_handler);
> > > > + if (event_handler)
> > > > + event_handler(&timer->evt);
> > > > + return IRQ_HANDLED;
> > > > + } else {
> > > > + return IRQ_NONE;
> > > > + }
> > > > +}
> >
> > It's also less indented code and perhaps clearer to reverse the test
> >
> > if (!readb_relaxed(timer->control) & MASK_TCS_TC)
>
> This will need to be:
>
> if (!(readb_relaxed(timer->control) & MASK_TCS_TC))
right, thanks.
[Index of Archives]
[Linux Kernel]
[Linux ARM (vger)]
[Linux ARM MSM]
[Linux Omap]
[Linux Arm]
[Linux Tegra]
[Fedora ARM]
[Linux for Samsung SOC]
[eCos]
[Linux Fastboot]
[Gcc Help]
[Git]
[DCCP]
[IETF Announce]
[Security]
[Linux MIPS]
[Yosemite Campsites]
|