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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 50FBEC433B4 for ; Mon, 10 May 2021 13:39:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18AB261421 for ; Mon, 10 May 2021 13:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231776AbhEJNk6 (ORCPT ); Mon, 10 May 2021 09:40:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:43526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352184AbhEJNOI (ORCPT ); Mon, 10 May 2021 09:14:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 012C56128D; Mon, 10 May 2021 13:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620652384; bh=PSzgBT970qRtHokrpRLHj29TDKDvchKrZWRzijLqSCs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MUrtxCT/+rGukywuzRkfaC1xwjapGbNy2+3e8bzZ3aQ0cOAmyYUq3azbb6IhtO0Nw p5XyHu4VOgBYEa957EVxU3BgA230WNLISuTb4U+Pxccg2CidCpYSBYUsyP2pl1C4D6 Ssp9VBJpOqOM9as1+ff4+s82GbQYrLj4/Ccvp6Fe5+4Wjf0bmQsntVsK1aQkAHLaNN OiwPqMreqj7coc2PgsKzQusD9bUl92VBwDav2aumK3/lvRA4sE3dFXc1aRT3/acR7J 3ZcBejsOp9FNMrKrm2GMmyruGRR0lg3Ay1HMkJhYM5TQBY6g2bR+aDaeYkug9UNRRC ZfVFhhHeOiFKw== Received: by mail-wr1-f46.google.com with SMTP id s8so16591678wrw.10; Mon, 10 May 2021 06:13:03 -0700 (PDT) X-Gm-Message-State: AOAM530yLHNKu70tP3ZjE5Rfa0f7Af+BTvdHN58iYf7/Bd/8PSIEi1ZQ n4iy879wTfBE8H+d7X/3M6VzC4naLMBWVuYiF1Q= X-Google-Smtp-Source: ABdhPJx5k3kdp4Lxo7eGFl+4v6Wmh8JO5Yw79c4lK0swD2DYw4OcpNkLlTJxYpDd9aQetiy3UvM5cENTcxibXnZaD3k= X-Received: by 2002:a5d:6a52:: with SMTP id t18mr31871475wrw.361.1620652382506; Mon, 10 May 2021 06:13:02 -0700 (PDT) MIME-Version: 1.0 References: <20210507220813.365382-1-arnd@kernel.org> <20210507220813.365382-2-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Mon, 10 May 2021 15:12:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 01/12] asm-generic: use asm-generic/unaligned.h for most architectures To: Geert Uytterhoeven Cc: Linux-Arch , Linus Torvalds , Vineet Gupta , Richard Henderson , Ivan Kokshaysky , Matt Turner , Michal Simek , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "the arch/x86 maintainers" , "H. Peter Anvin" , Chris Zankel , Max Filippov , alpha , Linux Kernel Mailing List , "linux-ia64@vger.kernel.org" , linux-m68k , Parisc List , sparclinux , "open list:TENSILICA XTENSA PORT (xtensa)" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org On Mon, May 10, 2021 at 12:16 PM Geert Uytterhoeven wrote: > On Sat, May 8, 2021 at 12:09 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > There are several architectures that just duplicate the contents > > of asm-generic/unaligned.h, so change those over to use the > > file directly, to make future modifications easier. > > > > The exceptions are: > > > > - arm32 sets HAVE_EFFICIENT_UNALIGNED_ACCESS, but wants the > > unaligned-struct version > > > > - ppc64le disables HAVE_EFFICIENT_UNALIGNED_ACCESS but includes > > the access-ok version > > > > - m68k (non-dragonball) also uses the access-ok version without > > setting HAVE_EFFICIENT_UNALIGNED_ACCESS. > > This not only applies to dragonball, which has the CPU32 core, but also > to plain 68000, and any SoCs including the 68EC000 core. I meant out of the machines that are currently supported in the kernel. As far as I can tell, the only 68000 variants that are supported are all Dragonball CONFIG_M68328, CONFIG_M68EZ328 and CONFIG_M68VZ328. CONFIG_MCPU32 has been dead since a3595962d824 ("m68knommu: remove obsolete 68360 support") > Reviewed-by: Geert Uytterhoeven > Acked-by: Geert Uytterhoeven Thanks! Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Mon, 10 May 2021 13:12:09 +0000 Subject: Re: [RFC 01/12] asm-generic: use asm-generic/unaligned.h for most architectures Message-Id: List-Id: References: <20210507220813.365382-1-arnd@kernel.org> <20210507220813.365382-2-arnd@kernel.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Geert Uytterhoeven Cc: Linux-Arch , Linus Torvalds , Vineet Gupta , Richard Henderson , Ivan Kokshaysky , Matt Turner , Michal Simek , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , the arch/x86 maintainers , "H. Peter Anvin" , Chris Zankel , Max Filippov , alpha , Linux Kernel Mailing List , "linux-ia64@vger.kernel.org" , linux-m68k , Parisc List , sparclinux , "open list:TENSILICA XTENSA PORT (xtensa)" On Mon, May 10, 2021 at 12:16 PM Geert Uytterhoeven wrote: > On Sat, May 8, 2021 at 12:09 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > There are several architectures that just duplicate the contents > > of asm-generic/unaligned.h, so change those over to use the > > file directly, to make future modifications easier. > > > > The exceptions are: > > > > - arm32 sets HAVE_EFFICIENT_UNALIGNED_ACCESS, but wants the > > unaligned-struct version > > > > - ppc64le disables HAVE_EFFICIENT_UNALIGNED_ACCESS but includes > > the access-ok version > > > > - m68k (non-dragonball) also uses the access-ok version without > > setting HAVE_EFFICIENT_UNALIGNED_ACCESS. > > This not only applies to dragonball, which has the CPU32 core, but also > to plain 68000, and any SoCs including the 68EC000 core. I meant out of the machines that are currently supported in the kernel. As far as I can tell, the only 68000 variants that are supported are all Dragonball CONFIG_M68328, CONFIG_M68EZ328 and CONFIG_M68VZ328. CONFIG_MCPU32 has been dead since a3595962d824 ("m68knommu: remove obsolete 68360 support") > Reviewed-by: Geert Uytterhoeven > Acked-by: Geert Uytterhoeven Thanks! Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [RFC 01/12] asm-generic: use asm-generic/unaligned.h for most architectures Date: Mon, 10 May 2021 15:12:09 +0200 Message-ID: References: <20210507220813.365382-1-arnd@kernel.org> <20210507220813.365382-2-arnd@kernel.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620652384; bh=PSzgBT970qRtHokrpRLHj29TDKDvchKrZWRzijLqSCs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MUrtxCT/+rGukywuzRkfaC1xwjapGbNy2+3e8bzZ3aQ0cOAmyYUq3azbb6IhtO0Nw p5XyHu4VOgBYEa957EVxU3BgA230WNLISuTb4U+Pxccg2CidCpYSBYUsyP2pl1C4D6 Ssp9VBJpOqOM9as1+ff4+s82GbQYrLj4/Ccvp6Fe5+4Wjf0bmQsntVsK1aQkAHLaNN OiwPqMreqj7coc2PgsKzQusD9bUl92VBwDav2aumK3/lvRA4sE3dFXc1aRT3/acR7J 3ZcBejsOp9FNMrKrm2GMmyruGRR0lg3Ay1HMkJhYM5TQBY6g2bR+aDaeYkug9UNRRC ZfVFhhHeOiFKw== In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Geert Uytterhoeven Cc: Linux-Arch , Linus Torvalds , Vineet Gupta , Richard Henderson , Ivan Kokshaysky , Matt Turner , Michal Simek , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , the arch/x86 maintainers , "H. Peter Anvin" , Chris Zankel , Max Filippov , alpha , Linux Kernel Mailing List , linux-i On Mon, May 10, 2021 at 12:16 PM Geert Uytterhoeven wrote: > On Sat, May 8, 2021 at 12:09 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > There are several architectures that just duplicate the contents > > of asm-generic/unaligned.h, so change those over to use the > > file directly, to make future modifications easier. > > > > The exceptions are: > > > > - arm32 sets HAVE_EFFICIENT_UNALIGNED_ACCESS, but wants the > > unaligned-struct version > > > > - ppc64le disables HAVE_EFFICIENT_UNALIGNED_ACCESS but includes > > the access-ok version > > > > - m68k (non-dragonball) also uses the access-ok version without > > setting HAVE_EFFICIENT_UNALIGNED_ACCESS. > > This not only applies to dragonball, which has the CPU32 core, but also > to plain 68000, and any SoCs including the 68EC000 core. I meant out of the machines that are currently supported in the kernel. As far as I can tell, the only 68000 variants that are supported are all Dragonball CONFIG_M68328, CONFIG_M68EZ328 and CONFIG_M68VZ328. CONFIG_MCPU32 has been dead since a3595962d824 ("m68knommu: remove obsolete 68360 support") > Reviewed-by: Geert Uytterhoeven > Acked-by: Geert Uytterhoeven Thanks! Arnd