Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp40383rdh; Mon, 18 Dec 2023 03:56:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnM4f6bi8ILC5lro1aIyVvX1JGAOzCXiZ+npfNWajDdEnjve+Of1OllemyoDCfMFGHe5CA X-Received: by 2002:a17:90a:742:b0:28a:fd9f:8ff0 with SMTP id s2-20020a17090a074200b0028afd9f8ff0mr3002386pje.8.1702900561361; Mon, 18 Dec 2023 03:56:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702900561; cv=none; d=google.com; s=arc-20160816; b=ZtafbTfU+IZ06VTfAAOF3O3elxZczfsRnr7ToktwJeA5k3DnKeG7LmOE0h2Twl7icK TEuCvN9oRYg6C+SggCQYy7ACqjie4ywTYqoy/kg8fQRa/xQ5pzj4H746/0gfrlh75p/5 5O6/+SfyFLFxqYkoxst678FAOfW2gphc9ByXcC/SM+RElGF8xupluDYp+MQuROzi+1tl yBb1sQpyJ4OlXHCrpXvQYharBNqzmBPY5DBMJ2sCIpBSdlG1qK8isKykhkeX0DBkzAPV obo94r/vR+e93IAiQtJNw0ut0XulEWp4NVodIwbTJfxy0sdTtUdsDb3KB23mnMRMgk0u OhUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=1EqwaEmslBhhHxlW1wAORTsFGl+NuF3xpSKZADJOQ2E=; fh=sz2F2aUMeQf51e4p6g+w4GkWjwhBtu4MiYgsaQc2U34=; b=V+Fs0BQLRP/+oRiIg3gmf9o8LeAwN1nhSnWYRzQWF/kvAMpY2W9Nm2QCeKX5qTkggD BD7f1zO49UIvIu3x1Y3o3sN2KHgqbIXoEOUwR/EvZwCkQT+lbb/p1sxaQckUj2F9Kiqk EE1kCuqP3WdlbyOU41IhBGosvk903W7Q2KzogdbI7cfj4N0o4W4PcwJEmZLqafLQs3pu iUxD5wTj4VvmxrwdOxkI+YmBTrYd2TnOG0mu1yseaEqu9CfDTxk75TeQKmAwSWAUprWs fb7m7RXCdRn+T+r+6F0nnHLJE75+C2D1icgNTNquQQJWNlvDpucYx4h2FowqKghRAeJh W8Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nPdAjqP1; spf=pass (google.com: domain of linux-kernel+bounces-3495-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g11-20020a17090a9b8b00b0028af00bee6dsi8653345pjp.9.2023.12.18.03.56.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 03:56:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3495-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=@google.com header.s=20230601 header.b=nPdAjqP1; spf=pass (google.com: domain of linux-kernel+bounces-3495-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 061D9281560 for ; Mon, 18 Dec 2023 11:56:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C669222325; Mon, 18 Dec 2023 11:43:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nPdAjqP1" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE7D61CAA5 for ; Mon, 18 Dec 2023 11:43:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-77f42ee9370so254856385a.2 for ; Mon, 18 Dec 2023 03:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702899793; x=1703504593; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1EqwaEmslBhhHxlW1wAORTsFGl+NuF3xpSKZADJOQ2E=; b=nPdAjqP16w01hPjY0e0P7fyz3P9w/3+CsbKFQtZDyh3gt0UwbTp2J4lrummRTTkZei 0CzpuBy2qqRD8nVcOiwdj0o7liPwUyDefNHYFkMag91ZgEE4bATr755Ybd1IfPwKn+zC Okm6Qh5WZ2gdYCTJOLa00lT8t140mM8D3MYtNj0dKh1ZDeIyWxlgXSLyqqdyduzmIpGU uXvcxN2XDwXdCUrdZGDbJ/7BHEYyrLcRlB3XuN7HQgtfES0WbQJJ6SXgHv3dodgoMz2X s3U3cbxvgiuGt49et89QyBr/T+H7K1UWCj4C3x6ElzjKWofXRMDNX/0/umsLyUxjoOdX Tsmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702899793; x=1703504593; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1EqwaEmslBhhHxlW1wAORTsFGl+NuF3xpSKZADJOQ2E=; b=facttGYMWrupIbcjCvJwrTyrnHbflLhacM+LY5kLd3o6lk2jDEjzzp+k03lIrOnsq8 omEwszuIcSGVUtsCHsss8ZIXSWBFbVnLPBkPMqCox45LizV9zSR9tAan0KYxeEZn6BRy vXyr9AqWVuF7NQrIW1/0/rGehurDQmV9Q0JaR149idGf14bKLlYVoU0a1qnv1w5t5ZGu vuC6RnU5YgqOliLqLyDEg42kcBms+zis4cM14W+84pz/kq6N3x3BGwIWzyENZDNWc8DI fnUTr6g/k/atosTZT9U7Is+uR5I7foS4TayUmqyXe3slPk9LiMEDWSoJf/y1qLmIbdRl W7/w== X-Gm-Message-State: AOJu0Yzlb6ZYWEpKhLvS80UTEbpA+IFKmCK6yC3+GUGmoqNBTLbfec7Y 9Bd1tqNYLUk2xYSA+fQG9E+qbpTpB6lUfNjQZmx0oQ== X-Received: by 2002:a05:6214:40c:b0:67a:a721:f32d with SMTP id z12-20020a056214040c00b0067aa721f32dmr22608696qvx.109.1702899793569; Mon, 18 Dec 2023 03:43:13 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231214110639.2294687-1-glider@google.com> <20231214110639.2294687-5-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Mon, 18 Dec 2023 12:42:32 +0100 Message-ID: Subject: Re: [PATCH v10-mte 4/7] arm64: mte: implement CONFIG_ARM64_MTE_COMP To: Yury Norov Cc: catalin.marinas@arm.com, will@kernel.org, pcc@google.com, andreyknvl@gmail.com, andriy.shevchenko@linux.intel.com, aleksander.lobakin@intel.com, linux@rasmusvillemoes.dk, alexandru.elisei@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eugenis@google.com, syednwaris@gmail.com, william.gray@linaro.org Content-Type: text/plain; charset="UTF-8" > > Data and *data have their meaning across scope boundary: a pointer and > > a content. The &data is pretty much a random number - a pointer to > > somewhere on a function's stack. Isn't? > > OK, I read now. Your 'void *data' is not a pointer, but an actual data. > Very confusing indeed... Maybe add a comment for that cast? > Sure, will do.