Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1696817rdd; Thu, 11 Jan 2024 06:52:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IECDSEn8gjJcWnVAQK8iXdOj6gPaWSUYnSl+A4DZMIc60TAFPiDTJPhWMAvO+2fSXuwJ0UP X-Received: by 2002:a17:902:784f:b0:1d0:6b95:9c06 with SMTP id e15-20020a170902784f00b001d06b959c06mr1030358pln.16.1704984775193; Thu, 11 Jan 2024 06:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704984775; cv=none; d=google.com; s=arc-20160816; b=YN4oU5HOPW5RJrbj1eE9ZgMsFgj5S49eSh8+PH4fK6v1L2a2FXa/Ab3q6tDUbuq2gt FU4SnixMpA0kLp8ZjN5O0BpunOQe8TRJnWwpa9hxWzvM8qITwtwdZjP5YwH8jIYpsNnH 9vwTP8sbjk2NYMrTD7g+v4mj/++WSwhGfsXEHPV5/ibCCj1kDxtlai3J0gtsxncxcrvm q/UV5BJ/xYK8zL4jK7mIr1nbZpifPIKkIA7wvYPoPSBSs/+k6eTmtxWFtdYph4si22tq crQFBj64G1SqAwQJ4AjUdy6UutPOG41vBBL81biV5KG1Or+CdJXmURmzEw8qvARQQNGd gGEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=yEeq+LYjrcfBkFaWLWzO+gjXAYNwdws96Z/2q0oEU8g=; fh=pI/CbdBbHeVeQAi19zFsT2FqyVaDa8L1eIXwbDQZgaY=; b=yda+F+uxUbxhyL6xBibUEOl6thAaRoGOXEH4lme+qbDHA2R6vdcHSgve3eDHCJm7f2 9BQSCWrN46Guv/3ICe817bSSmR5yuayzGmkxCrEL8EGVywaU5xFnjn6QyVv4yLYwHsym BmvhHjZF6L7J0pyKHVrRT5IvyRG76ilpz8FQdXxZCbUVA6XFSW5kujBq8qxcKE7/7RnJ lTv3g5h+mfBrbJuUUvTYbugPHzY7uMvECSYxefKBoW3ARcflPNgWj6Goz8Ifva6WuDED JWErXzivmT2WomFDt/mA0r28W2H/cCLlje6jKkDOmwPkMKXwfEH44YPEgW2m5kqor56P D8lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRPkfA0l; spf=pass (google.com: domain of linux-kernel+bounces-23738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k12-20020a170902f28c00b001d388b96b88si1185413plc.270.2024.01.11.06.52.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:52:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRPkfA0l; spf=pass (google.com: domain of linux-kernel+bounces-23738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DAD7F287241 for ; Thu, 11 Jan 2024 14:52:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EEBE51C2A; Thu, 11 Jan 2024 14:50:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kRPkfA0l" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D9494B5C9 for ; Thu, 11 Jan 2024 14:50:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 16038C32778; Thu, 11 Jan 2024 14:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704984638; bh=sxh40JJQMoRZqXunjJmrdXyyxH+F75rmhC8LiUGqhE0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kRPkfA0lip75TvmCFQUcSzqgumSiQtZ+YPmRhQRBD/E10A8e4L30WM/Mm70ctz+uM nJ5Aq2dEBNBVVPwuxppzz6EXd1lLlPGhwV4s32x/P+SeOfpwOY/SSK23ArBxSOh5Mr TL5sWbLVYLboYp1J1fnVCLjyDKOl2noLagjJuAX3Xvhkmn7yWvuZUWtLoaTpVVXYHm 74iIsYZIVhlJ/w6rO6xe1IKghnmsbgk+fmmZZpGFZXHGe9O+REHc8/M/5s5/mih030 MEP1KsEo8LHPYIZvaoMJzLSPewDrsnBlfmkqCp2bY4G+E6kl0mXNjGQIg33UqoP5/a sMI0u3IaBOkNQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 0222AD8C96C; Thu, 11 Jan 2024 14:50:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: fix __user annotation in traps_misaligned.c From: patchwork-bot+linux-riscv@kernel.org Message-Id: <170498463800.20080.16588164711212512128.git-patchwork-notify@kernel.org> Date: Thu, 11 Jan 2024 14:50:38 +0000 References: <20231123141617.259591-1-ben.dooks@codethink.co.uk> In-Reply-To: <20231123141617.259591-1-ben.dooks@codethink.co.uk> To: Ben Dooks Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 23 Nov 2023 14:16:17 +0000 you wrote: > The instruction reading code can read from either user or kernel addresses > and thus the use of __user on pointers to instructions depends on which > context. Fix a few sparse warnings by using __user for user-accesses and > remove it when not. > > Fixes: > > [...] Here is the summary with links: - riscv: fix __user annotation in traps_misaligned.c https://git.kernel.org/riscv/c/ca0e433b41a6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html