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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 5A3D5C433E0 for ; Mon, 1 Feb 2021 19:35:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 019CD64DDD for ; Mon, 1 Feb 2021 19:35:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 019CD64DDD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9U8qkGrBV7NeX8vZuxUpnaINtDeWx+q076EZYXn9Vzg=; b=CUUpNVCCFptHVpDdQ4mxELeaX KN/N99tlqLN8EFUSL65syGckxLzQIDG3a1cCgUag2AI1ukZ1spH8T8RGNBUGjUl24q9JsoAe1rozJ zeBWOTFpTsLSq9qk0SJRs+gTpf6kq9CaaqK1xYkv9ZRgpLN8hruiGNDJ5jro+fcAFEbVQ31ydzHMM oGQNS9R2Q19Zpa+SoIdwBSkMjI2gAjgdl9J5HwtYca53NDLS9gr5liCmz/kONgCusskwE7O6bYHIm Jk6CGMshvx3Q+SmatOSSN1OwocU9LutPqt+Avy4kWzg1f30kL9rMMxv2wnMazxQiq3ou6DL3PH5Yd m3NOZX5SA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6exM-0008Pt-Dv; Mon, 01 Feb 2021 19:33:52 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6exK-0008Pa-6l for linux-arm-kernel@lists.infradead.org; Mon, 01 Feb 2021 19:33:51 +0000 Received: by mail-lj1-x22d.google.com with SMTP id s18so21101694ljg.7 for ; Mon, 01 Feb 2021 11:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/jVSEZbZVvjc3JswGwoSHzb+x8Tz2NBDO4pXvfL+nnY=; b=Ic9IUMNhFDkd+mbB7RUb0cN5r1hNH9oH9XUXYqFq1UR5uVrUb3DPddhbqiNkarE7Ua X9jRjBUhzs+ggKGUVeqIxx1s2n0LSeVEsSEMK7uRob4ShHl7oOyr1HUGvkXAsN6VTTam Dqh8SMo35ZCdkLAYm5KYnutPX68xPLtuRzUS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/jVSEZbZVvjc3JswGwoSHzb+x8Tz2NBDO4pXvfL+nnY=; b=PoTOANgDRab7vsw3b63B/X5v/Y0N5OFuWhVQ8k2lOuIFk5OSH7eXUkIR3NvUWPt63H R8ZzlvVwDBONghcsZsP9oIvxXDabSVhsWPJlIq7vt8z3Hg1ppkKsyHA5w3W3oupSwYzw yboTPwGbNPZMGdzlrCTMWbMiJMUuLsSyairvsqJM1ZRJxXKZUiHYhJZkW8/oor9X+g7L o/uKZwtSL/QkVg/cNcM1eKAKAmNiO7s4LGcqcgIlcA0SDxST3hq2t1uGOQwq6Mmygmjx +cFYFnXX4+S+HaV4aNMcAyAdvZD80oVmAit0W6TGv/a7q0mPzCHx82zY+/V6DD7JYFre U5GA== X-Gm-Message-State: AOAM532yIDqtkcOAzYGLcc9X+RldqGDW9Qw/+KdeplomsVprnnxvJ0B4 Iz/HthxC4TS5BAPtSkVG0c5vjYWwHjsjMA== X-Google-Smtp-Source: ABdhPJx/cKlTQoFw59xiCvuvX9hWVYZrqNdPM1yXXYDRFadp3xeRq/3pnWj0/jkld4BjNtHkDh/Cow== X-Received: by 2002:a2e:9dc2:: with SMTP id x2mr11195455ljj.96.1612208027780; Mon, 01 Feb 2021 11:33:47 -0800 (PST) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com. [209.85.208.171]) by smtp.gmail.com with ESMTPSA id m4sm4016447ljp.84.2021.02.01.11.33.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Feb 2021 11:33:46 -0800 (PST) Received: by mail-lj1-f171.google.com with SMTP id c18so21102590ljd.9 for ; Mon, 01 Feb 2021 11:33:46 -0800 (PST) X-Received: by 2002:a2e:860f:: with SMTP id a15mr11203843lji.411.1612208025918; Mon, 01 Feb 2021 11:33:45 -0800 (PST) MIME-Version: 1.0 References: <20210201190634.22942-1-catalin.marinas@arm.com> In-Reply-To: <20210201190634.22942-1-catalin.marinas@arm.com> From: Linus Torvalds Date: Mon, 1 Feb 2021 11:33:29 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] arm64: Further fixes to the linear address checking To: Catalin Marinas X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210201_143350_273479_20F2E2E5 X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Vincenzo Frascino , Will Deacon , Ard Biesheuvel , Linux ARM 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 Mon, Feb 1, 2021 at 11:06 AM Catalin Marinas wrote: > > The first patch attempts to fix virt_addr_valid() macro for tagged > addresses. The second patch replaces the bitwise operations with a > subtract. The resulting image is slightly smaller. Thanks, this looks very sane to me. Linus _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel