lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 5 Jan 2020 18:07:25 +0800
From:   Chen-Yu Tsai <>
To:     Samuel Holland <>
Cc:     Sebastian Reichel <>,
        Lee Jones <>,
        Hans de Goede <>,
        Oskari Lemmela <>,
        Quentin Schulz <>,
        "open list:THERMAL" <>,
        linux-kernel <>,
        linux-sunxi <>,
        stable <>
Subject: Re: [PATCH v2 1/9] mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile

On Sun, Jan 5, 2020 at 9:24 AM Samuel Holland <> wrote:
> On AXP288 and newer PMICs, bit 7 of AXP20X_VBUS_IPSOUT_MGMT can be set
> to prevent using the VBUS input. However, when the VBUS unplugged and
> plugged back in, the bit automatically resets to zero.
> We need to set the register as volatile to prevent regmap from caching
> that bit. Otherwise, regcache will think the bit is already set and not
> write the register.
> Fixes: cd53216625a0 ("mfd: axp20x: Fix axp288 volatile ranges")
> Cc:
> Signed-off-by: Samuel Holland <>

Reviewed-by: Chen-Yu Tsai <>

Powered by blists - more mailing lists