From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A967FC2D0E2 for ; Tue, 22 Sep 2020 10:00:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5E17A239A1 for ; Tue, 22 Sep 2020 10:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600768829; bh=XwNjZd1KT0Bq1tYNPxSB5WlmPxjC67ZecncYcuP04Fo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=TO4vzrHeYHlKRuu0Ehb7lhk15fZqr9kgMhJWDzrkfA8G+LC7toxaprjhfG7Dd9HRB G5BrFqgdN7kQDlE5l2ir1WUfsz1jnwwjpwsKQRMGA7aXAbMyUH8q3Gn4COsWcMK6E/ vyYYufhXBsoxCm5umDi6KDIwzYOg2rE3pKq2rHkY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726419AbgIVKA3 (ORCPT ); Tue, 22 Sep 2020 06:00:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:47446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbgIVKA2 (ORCPT ); Tue, 22 Sep 2020 06:00:28 -0400 Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 20C41238A1 for ; Tue, 22 Sep 2020 10:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600768828; bh=XwNjZd1KT0Bq1tYNPxSB5WlmPxjC67ZecncYcuP04Fo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Dmg0Sz61YTCcwBY7SLbK1E10/CoicQwE95QMiNPTfUf3W/JNHsIQ2ZaOHvEAmFYUe l0pPpPfg8W77HSYIFadxoRCR74uaNlGoafio6hYOHkPcKkwQ0g/s61ZpbdmXYR6/u/ 2wSs/oZT6lQ3oJyxMbz6zPjpV5ntxgmas1swjZkQ= Received: by mail-oi1-f178.google.com with SMTP id u126so20376216oif.13 for ; Tue, 22 Sep 2020 03:00:28 -0700 (PDT) X-Gm-Message-State: AOAM532mlfVtW2+4ASXEfX5ZL4RcEqT8bwpfMFlJ9BkLkm8pze2mjLUm Ox2KqVIqgzmPeJneAuvTFTD2LSHJHu47eOMvvgA= X-Google-Smtp-Source: ABdhPJwjLsT6FYhaw3eWOA1H2yEpTz9h0rbfTM3ahe6+GIJoH1glgtoSM+ReI6OJ+swkJJTxygefqOITRNi0TSyB5+8= X-Received: by 2002:aca:d845:: with SMTP id p66mr1993448oig.47.1600768827405; Tue, 22 Sep 2020 03:00:27 -0700 (PDT) MIME-Version: 1.0 References: <20200921154117.757-1-ardb@kernel.org> <20200921154117.757-6-ardb@kernel.org> In-Reply-To: From: Ard Biesheuvel Date: Tue, 22 Sep 2020 12:00:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 05/10] ARM: p2v: factor out BE8 handling To: Linus Walleij Cc: Linux ARM , linux-efi , Zhen Lei , Russell King , Nicolas Pitre Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org On Tue, 22 Sep 2020 at 10:51, Linus Walleij wrote: > > On Mon, Sep 21, 2020 at 5:41 PM Ard Biesheuvel wrote: > > > The big and little endian versions of the ARM p2v patching routine only > > differ in the values of the constants, so factor those out into macros > > so that we only have one version of the logic sequence to maintain. > > > > Signed-off-by: Ard Biesheuvel > > Since you had patch 1 fixing up BE on LPAE I suppose > it is implicit in the commit that this was tested with BE > on classic MMU and LPAE. Very nice patch! > > Reviewed-by: Linus Walleij > I tested this to the extent possible on the hardware I have available, but this does not include Keystone2, which does the funky remapping of the physical mapping of DRAM. I don't think we have such hardware in kernelci though ...