Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp299227imn; Fri, 29 Jul 2022 07:15:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v+WnNZERHszoSUShNoOiPfqldVlzVgehRj8yCdtbjPuRB5QSdt8waImK/gUw/9ksZ4DqSO X-Received: by 2002:a63:d750:0:b0:41b:3eec:f9d0 with SMTP id w16-20020a63d750000000b0041b3eecf9d0mr3065618pgi.289.1659104125271; Fri, 29 Jul 2022 07:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659104125; cv=none; d=google.com; s=arc-20160816; b=KE8cmdmgFEAEg4S8iNTJAR//DqHvWNAiakGVutzXUPyega+sV/LMpOTSXyfqHTpkum 8jHYU4MLweuIdry0xy6vW7z8oM8Hxw7ZBobyM41SK6Nke60PjfDi8h+a75LEcTvPm9JL joaUemS8coxvrY1iSwoBV93ZfxC2SOMnhFivcs+zpUrUEOFf8e7XegW/4okmlPqxB5OY y2MeUxat+iW8PrOnFb3CvxjC8iVOxuy+qqLFy4t4H5c3w3hqyFIWakB3OAmCauD7p1Mk FOK+v4Jh4JiGt6HDeNGPz9ENGSeSK1yHup+6QreiodUfnsudnOtWma2bQF40elGQWtL6 oWvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=zOjLDo64Vh6/6ajwzPK66KRxQJpOP7hodoX8UrlXXFY=; b=bTSm4sxXk5D0GaPuKJT3q5J0tq6uLUFCXVgdeYwPn6YTNVnzZHhXbwjLTHsaRL3NNu QgsSaDgSXJV9LHItXCgvaZ5gSz2AN3L5XR2BzklmJewKK9ZuD/rkkZRrgM/Y+sI/5NTV whAQ1jMfU3J9ZhRcl5hdKJYUw6DN3nFuU3rjxVSca/e91cN1FYaHttBCI6UpUEd0G/kf 52oI1dtw8GU+YNyTiPPyfw30bAH2BPpmCBFKNDzi8obp6MTK45cxAGDJyf1Ugn5zU8Jj 0sXI5b84MuTwLyPb7Lw2EZRJ7I6fhL6Jg0IgfG1L743XBulTQkVL3cgdfj+siZs8IRKQ 2WVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v135-20020a63618d000000b0041b96dc9aa1si1221810pgb.563.2022.07.29.07.15.09; Fri, 29 Jul 2022 07:15:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236482AbiG2NML (ORCPT + 99 others); Fri, 29 Jul 2022 09:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236647AbiG2NK7 (ORCPT ); Fri, 29 Jul 2022 09:10:59 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 639573B961 for ; Fri, 29 Jul 2022 06:10:58 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LvSZ73gb6z4x1f; Fri, 29 Jul 2022 23:10:55 +1000 (AEST) From: Michael Ellerman To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Masahiro Yamada Cc: Thomas Bogendoerfer , "Russell King (Oracle)" , Segher Boessenkool , Helge Deller , linux-kernel@vger.kernel.org In-Reply-To: <20220725015619.618070-1-masahiroy@kernel.org> References: <20220725015619.618070-1-masahiroy@kernel.org> Subject: Re: [PATCH v2] powerpc/purgatory: Omit use of bin2c Message-Id: <165909973721.253830.12640822046249290787.b4-ty@ellerman.id.au> Date: Fri, 29 Jul 2022 23:02:17 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Jul 2022 10:56:19 +0900, Masahiro Yamada wrote: > The .incbin assembler directive is much faster than bin2c + $(CC). > > Do similar refactoring as in commit 4c0f032d4963 ("s390/purgatory: > Omit use of bin2c"). > > Please note the .quad directive matches to size_t in C (both 8 byte) > because the purgatory is compiled only for the 64-bit kernel. > (KEXEC_FILE depends on PPC64). > > [...] Applied to powerpc/next. [1/1] powerpc/purgatory: Omit use of bin2c https://git.kernel.org/powerpc/c/9257971377e2fe6e82f41f688651a82a2f160a88 cheers