From patchwork Thu May 25 16:08:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Min-Hua Chen X-Patchwork-Id: 1786211 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Sjx8NySP; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=JDnDL2rZ; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QRtJc5Jgfz20Pb for ; Fri, 26 May 2023 02:08:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ULEKknrJAkvbTq2f6/4WEtd/7i5VyBWtbHmKr1MS0kI=; b=Sjx8NySP6r/Aiu X3M8xjhnQZkqxrBrBn4F51gAcCKLMs5MVlTweZa7fkdei6NdqIKEeRkb5LmAypyUtZuc5bbHUwf+Q PHqwsXwqe5jv4WESVWlp8RizvqfwzBrwDjqvvm8t7OmW3s0vxOVqOtZt+PB2FqJRFcgLhnwTMHeYy RFWmevsqxwuEwllA5pcp8+dp/2kNaQHoV0yCRgL+J76p136vMxmeQTVnfFq0rlo57Yor6DbUJexh7 9UYaezkfM7v1egdMSYKfb3Ddook8EVW+pKKz5W38MF99aIxmdcy7aiaz8VeyqGpgxaWH1l8MXN/tH Fw1vt2g9b5Fd7b//d2+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q2DVt-00H3RF-1t; Thu, 25 May 2023 16:08:29 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q2DVr-00H3O9-1g for linux-snps-arc@lists.infradead.org; Thu, 25 May 2023 16:08:28 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1ae408f4d1aso12772455ad.0 for ; Thu, 25 May 2023 09:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685030898; x=1687622898; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xEv45uJta0uzHG0bC+JhZzCb4VSE8MHC7EtFPn9iTPw=; b=JDnDL2rZqzVJE3Vwd5HUCn5bmJ8Z24AepAKBASGbdeEPmPgG6N6Z4GbpoGieWvAFEx Ldv/jYPJlzSBM4Q5ep/PAu3+ecTcs2puJhTAf8y8Fkr+RmZ5WSEoeYIr+EbSmnvT7q93 BGP/4kh1w5C0E/03ferCO1lZ7s4n3/bWcauRbtEeQJZbwl9NZcjQDckDPx1YYSOfXxNl rQhHjFOzRVs1TdMPK1Wnl5ZQyM870UbePXlRMOpPJOTos6huq/DEdfvYv8uB9qgZWnwi OUTLMindhK60AXQfc6uFTKYx0UPn9mEBAaLEFNjQvR1FNPJ2dO+GM8Xhfs4aQED492/k XydA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685030898; x=1687622898; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xEv45uJta0uzHG0bC+JhZzCb4VSE8MHC7EtFPn9iTPw=; b=GQj+cCD20tfG9SvAogbmQEFAdVr11/EW/4u0SweSpFyjP2QAZHtBOVSdAtjm3w/GXX cRc5CNRT/HgLayeIfczDLvWWhj0Q6P36yCcwHibUP/LSJ1mhuuKecDAzbpIl5sQX4BMi Xxn89XMw8TLu2SsUeHmMA8RZjojH+ga+QEgKUcme4azRIsOtQzF0E/JWhRsyJnzs8Y0d oUXAP7wlfpVqNEIEjNZq2ds1mYpPgVM9uRL9l87eQVeW0oV8mT4X88tPMwdCghk4hgiL qsXaBVk2RA6nLjf42Bcxhz2qwBfv9OvLHmsFXFMujhL7ZrX1jRI4oLxUY29n+MVaiCz8 0kHg== X-Gm-Message-State: AC+VfDzZZI4PAJTO/sCwlxXB8eHY5br4TvhyYS7tvc5Kh2udo8WNXkJC artbEZGbRkGvdlrANISYf+Q= X-Google-Smtp-Source: ACHHUZ6uW6fsUfZe/Jt0KEvH/QJobmdMYQHctdVJvfxIo/e7nZPdKSFfHXUir4tn20X6SvBwZ36eBQ== X-Received: by 2002:a17:902:b10d:b0:1ac:a28e:4b1d with SMTP id q13-20020a170902b10d00b001aca28e4b1dmr2237384plr.34.1685030897726; Thu, 25 May 2023 09:08:17 -0700 (PDT) Received: from ubuntu777.domain.name (36-228-81-153.dynamic-ip.hinet.net. [36.228.81.153]) by smtp.gmail.com with ESMTPSA id s3-20020a170902a50300b001ab12ccc2a7sm1611450plq.98.2023.05.25.09.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 09:08:17 -0700 (PDT) From: Min-Hua Chen To: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, Min-Hua Chen Subject: [RESEND PATCH 0/2] ARC: fix THREAD_SHIFT and rename 16KSTACKS Date: Fri, 26 May 2023 00:08:10 +0800 Message-Id: <20230525160813.39408-1-minhuadotchen@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230525_090827_562488_D3F9C362 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, When I read the arch/arc code, I first noticed that the definition of THREAD_SHIFT looks incorrect and the description of 16KSTACKS looks confusing because there are multiple definitions of PAGE_SHIFT [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:636 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [minhuadotchen[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi, When I read the arch/arc code, I first noticed that the definition of THREAD_SHIFT looks incorrect and the description of 16KSTACKS looks confusing because there are multiple definitions of PAGE_SHIFT. So I submit these patches to address the issues I found. Min-Hua Chen (2): ARC: fix incorrect THREAD_SHIFT definition ARC: rename 16KSTACKS to DEBUG_STACKS arch/arc/Kconfig.debug | 7 ++++--- arch/arc/include/asm/thread_info.h | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)