On Sat, Oct 07, 2023 at 11:48:27AM +0800, Baoquan He wrote:
On 09/28/23 at 03:15pm, Philipp Rudo wrote: ......
+is_sme_or_sev_active() +{
- journalctl -q --dmesg --grep "^Memory Encryption Features active: AMD (SME|SEV)$" >/dev/null 2>&1
j You can use '&>' as short hand to redirect both stdout and stderr, i.e.
s;>/dev/null 2>&1;&>/dev/null;
Anyway, that's just a very minor code cleanup and you don't need to include it.
Reviewed-by: Philipp Rudo prudo@redhat.com
Thanks for careful reviewing, Philipp.
I've rebased the patch onto the latest rawhide branch and then merged it together with [PATCH v2] Allow _crashkernel_add to address larger memory ranges. Thanks to Baoquan and Philipp!