lists.openwall.net   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  linux-hardening  linux-cve-announce  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]
Message-ID: <2rnw2kge5iigcf3p356rsw3wtg2a7ztufygjkdxr7vguafymnc@gz6pky5rd5qg>
Date: Sun, 6 Oct 2024 21:05:32 -0500
From: Bjorn Andersson <andersson@...nel.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Bjorn Andersson <quic_bjorande@...cinc.com>, 
	Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>, 
	Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, 
	linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, 
	Bartosz Golaszewski <bartosz.golaszewski@...aro.org>, Om Prakash Singh <quic_omprsing@...cinc.com>, 
	Neil Armstrong <neil.armstrong@...aro.org>, Gaurav Kashyap <quic_gaurkash@...cinc.com>
Subject: Re: [PATCH v7 0/2] arm64: dts: qcom: extend the register range for
 ICE on sm8[56]50

On Fri, Oct 04, 2024 at 04:13:15PM GMT, Bartosz Golaszewski wrote:
> On Fri, Oct 4, 2024 at 3:56 PM Bjorn Andersson
> <quic_bjorande@...cinc.com> wrote:
> >
> > On Tue, Oct 01, 2024 at 10:35:29AM +0200, Bartosz Golaszewski wrote:
> > > The following changes extend the register range for ICE IPs on sm8550
> > > and sm8650 in order to cover the registers used for wrapped key support
> > > on these platforms.
> > >
> > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> > >
> > > Changes in v7:
> > > - bring the ICE register range up to its full size of 0x18000
> > > - Link to v6: https://lore.kernel.org/r/20240906-wrapped-keys-dts-v6-0-3f0287cf167e@linaro.org
> > >
> > > Changes in v6:
> > > - split out the DT changes into a separate series
> >
> > Bartosz, this strategy of "let's split things such that the maintainers
> > can't see the full picture" is just BS. It needs to stop.
> >
> 
> You're exaggerating, I'm not doing anything like this. You're still
> Cc'ed on the single big series containing the code changes for wrapped
> keys. The full picture is over there.
> 
> > Now you will argue that these patches stands on their own, and that
> 
> Yes, that's precisely what I'm going to say, because it's true.

Good, I fully agree with you here.

> 0x18000 is the true register size (as per QCom docs) for ICE on
> sm8[56]50 and sa8775p too and that alone warrants this change. If we
> can get the DTS changes out of the way of wrapped keys, then that's
> just a bonus.
> 
> > might be a valid case, but the argumentation you're making in the commit
> > message clearly ties them to the code changes you're making somewhere
> > else.
> >
> 
> Are you referring to "(...) registers used for wrapped key support on
> these platforms"? I could argue that it just says what the additional
> registers are used for but I can drop the mention of this from the
> message and just say "0x18000 is the true register range for ICE on
> sm8650" if that works for you.
> 

Please update the commit messages of the two patches to not say that
they are enabling HWKM on the platforms, but that you're expanding the
mmio region to cover the whole IP-block. I think it makes sense to
mention that this will allow us to enable HWKM.

Thanks,
Bjorn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ