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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B9F6C433EF for ; Wed, 29 Sep 2021 17:50:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 014046135E for ; Wed, 29 Sep 2021 17:50:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 014046135E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:References:In-Reply-To: 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: List-Owner; bh=VwbIRs+9YUZgfXdolKXuBKHstTBn9eJfzyHJE7J1iaw=; b=d5r4qCEpd2f3fW U36nBlWVGg0MRIIxnKyYjPOwaT6d0+x24zazx0l7oNW018j3/ujQ+CZ1zS6Zs1gKKwYfwjHKElNrX QCcuLG0qeNpu/N43YaY5RV88suMatHDLMBINOuNOBZcT7CeCGEPFdPmSbun89iADNPFE80Z5BTWsU OhtpvD4Qa8fLoiTuSaDB4A225hUzJMsQZzuOAbNM3lOTokueFdOsa9DG4X568tCWFG/Wyf4WNKKI2 /YeZDftOAajbzceYSaTXdA+lh3XeC8hgs38fUFflGaC96uW8onToppjkou4IIZMXDfmU1qcS+FloE kUk3prM/fWPd+Y8opxtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVdh9-00Bxa7-5C; Wed, 29 Sep 2021 17:48:39 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVdh4-00BxYy-T9 for linux-arm-kernel@lists.infradead.org; Wed, 29 Sep 2021 17:48:36 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id F37A86135E; Wed, 29 Sep 2021 17:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632937714; bh=482/occB/yS+/Jqx2F4SR9dzkauGgE6lzjrIHfobhGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ePLitTl8YgG+Urin9jhiok61bqG+AT1DOcH3WjXAWWOipp8vL8uRFWK9BcmwjIrBx p2GcbVIHb2tNyMyLORy9bxIN46uoV8CVK4F15I4b15V+YJhUn3xWmtPGK88BWur24/ VFeV1wEawtNX8ED+K0haxqwIe3HvegAIkUge0MsvKqnZakdpQ7HKXGYvoEEowmTbLX ncOApACSk3iF5znYKHMq9EpJJneYDd0KT4WzbAnRD/zAuFnd4Daj2x7xtyKc9l05I4 LwNKk7TfH2ccD8mPwMuWfByITu1w/+vnZ/FlCGDSAJA1BYBuC1yj3OXHgbXwcBWN7k YtPZvKVReuEHg== From: Will Deacon To: Amit Daniel Kachhap , linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Mark Rutland , Vincenzo Frascino , Kevin Brodsky , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64/traps: Avoid unnecessary kernel/user pointer conversion Date: Wed, 29 Sep 2021 18:48:22 +0100 Message-Id: <163293026050.926465.15015359578646677100.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210917055811.22341-1-amit.kachhap@arm.com> References: <20210917055811.22341-1-amit.kachhap@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210929_104834_978214_27709C32 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 17 Sep 2021 11:28:11 +0530, Amit Daniel Kachhap wrote: > Annotating a pointer from kernel to __user and then back again requires > an extra __force annotation to silent sparse warning. In call_undef_hook() > this unnecessary complexity can be avoided by modifying the intermediate > user pointer to unsigned long. > > This way there is no inter-changeable use of user and kernel pointers > and the code is consistent. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64/traps: Avoid unnecessary kernel/user pointer conversion https://git.kernel.org/arm64/c/f5b650f887f3 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel