Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4122874imw; Tue, 12 Jul 2022 02:12:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sILG+zpKyduWrCuoU0/hjQAkKurz7i8ZlYlPhv9i3xQZWtXee9XMcgghaofEOPtAE5Pcr+ X-Received: by 2002:a65:560d:0:b0:415:f189:2392 with SMTP id l13-20020a65560d000000b00415f1892392mr9958352pgs.557.1657617120436; Tue, 12 Jul 2022 02:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657617120; cv=none; d=google.com; s=arc-20160816; b=MXxquPrcmxJMhQ/suFfJByyZvtq6qVLMPrDAuO/PG844WClaSoBduAzG2jxihOlWlu 2OQEhxtC5l7ZN5zO8K9qxomyaqEmi7FeKtNBopaR0AYwJwybAQG4wzQYmdaimBbFOpr+ QWOmiDbfxJWwBSu5IjZKZL2ZsObWq4bdBR0mC1GNqIQf9Xph3g7erXgUXwfOAxgGXrzN PypaKPaBx/v0eTpghUXjUcWX7mdNrDoivRzlBJtXdM9F+2APLrwi+w5qx9xQXx8o/Bec Fao8LtrxOnkqoJv0u1MPlY3m0eKuyyzb40DvLaHnQPmNZnY6mEduSF/TDx+V22n0V0iw M+vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=t9ec7iguCfy6L3waGgPnWXclPbbw0CysomvMpi7xE8A=; b=GHuNHUINMeMCD9p2rzQS/Pax0foeLKYnODHOb7DjBn+fWZfdQRnzWp6zx0l0Smvj9P PYrnoh5GM02uXgtrkc96ZNmumPQ1CmqeX0DRpPPipBYEcY1ydxIIf3Lhu1Uii2K3wRib FkTfsSTK9H9ZvZ35F4wxGqxUFZeys7g8oVn0XTwNFspmm0aMyhp0TCQULIOhyUotcuq1 TE1/YiMjxdPfWUgtQiW+9jYSdyvWzTQQoh35Bse4b3JUpmBeThodxqFAJRm3aKING0ax 6ucIbjcK0b2t/wWGLBlXlP5RjuVasTGqnaoZLQzar0FIK0zYlFsveJXLQmIgmrJo6ErO Dbdg== 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 x9-20020a63db49000000b0040cf2e6f0e7si11780146pgi.497.2022.07.12.02.11.45; Tue, 12 Jul 2022 02:12:00 -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 S232550AbiGLJBT (ORCPT + 99 others); Tue, 12 Jul 2022 05:01:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230332AbiGLJBS (ORCPT ); Tue, 12 Jul 2022 05:01:18 -0400 Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FCFA528A2; Tue, 12 Jul 2022 02:01:17 -0700 (PDT) Received: by mail-qk1-f179.google.com with SMTP id v6so5762537qkh.2; Tue, 12 Jul 2022 02:01:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t9ec7iguCfy6L3waGgPnWXclPbbw0CysomvMpi7xE8A=; b=MpQRHXriqJl8CEJ5uxrUXpFUKUJzDR66yGyxLdjPlDFQ4XZz0bKQC2IzNiCX1UIKTB c9sCW/8/w/IChUZ1BDK6T6uaURGOltcmNzoqy6owg16pSuyfl28s682Kb0GUkPV0d7Ov 1D/3X5QrAcf+vXxemv0Q5IyxMnvxOeybyde6k6CL/mFxVhDPmf5Q0EI9S9oY8/Z7dCzU zMLJ+Y58tBErn/6Sb7ztsY2MVTF4o6glhuZtnjZiJX8w9krw49FdbUw7A40Ckw8hufP7 XYqBe0KhbOPkDvGQnmjdKX6qLhJGKtr4sZUIMYNISdZjah0EEE5ISxOqUsahAD+Me9gL nTUg== X-Gm-Message-State: AJIora8JFJBQUAzfWvNiHCgqf2bgv/Nx+VAlurcbrTNmdMiIPKVy/B+r 7ZA/2FAh0hELKlrYTOeX0AynKT0B6WvIvQ== X-Received: by 2002:a05:620a:2805:b0:67d:5c7e:c43a with SMTP id f5-20020a05620a280500b0067d5c7ec43amr14215040qkp.84.1657616476642; Tue, 12 Jul 2022 02:01:16 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id r22-20020ac85e96000000b00317c3ce1f4esm6959917qtx.45.2022.07.12.02.01.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jul 2022 02:01:16 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id n74so12859581yba.3; Tue, 12 Jul 2022 02:01:15 -0700 (PDT) X-Received: by 2002:a05:6902:701:b0:66e:a06d:53d7 with SMTP id k1-20020a056902070100b0066ea06d53d7mr20596635ybt.604.1657616474618; Tue, 12 Jul 2022 02:01:14 -0700 (PDT) MIME-Version: 1.0 References: <20220712075255.1345991-1-chenhuacai@loongson.cn> <20220712075255.1345991-3-chenhuacai@loongson.cn> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 12 Jul 2022 11:01:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/6] M68K: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK To: Huacai Chen Cc: Huacai Chen , Arnd Bergmann , Thomas Bogendoerfer , Michal Simek , Yoshinori Sato , Rich Felker , Jeff Dike , Richard Weinberger , Anton Ivanov , loongarch@lists.linux.dev, Linux-Arch , Linux Kernel Mailing List , Guo Ren , Xuerui Wang , Jiaxun Yang , "open list:BROADCOM NVRAM DRIVER" , linux-m68k , Linux-sh list , linux-um , stable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Huacai, On Tue, Jul 12, 2022 at 10:53 AM Huacai Chen wrote: > On Tue, Jul 12, 2022 at 4:33 PM Geert Uytterhoeven wrote: > > On Tue, Jul 12, 2022 at 9:53 AM Huacai Chen wrote: > > > When CONFIG_CPUMASK_OFFSTACK and CONFIG_DEBUG_PER_CPU_MAPS is selected, > > > > DEBUG_PER_CPU_MAPS depends on SMP, which is not supported on m68k, > > and thus cannot be enabled. > This patch is derived from MIPS and LoongArch, I search all > architectures and change those that look the same as MIPS and > LoongArch. > And the warning message below is also a copy-paste from LoongArch, sorry. > > Since M68K doesn't support SMP, then this patch seems to make no > difference, but does it make sense to keep consistency across all > architectures? Yes, having consistency is good. But that should be mentioned in the patch description, instead of a scary warning CCed to stable ;-) BTW, you probably want to update the other copy of c_start() in arch/m68k/kernel/setup_mm.c, too. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds