From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 2BAEA41E6A6 for ; Thu, 23 Jul 2026 09:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784798960; cv=none; b=cnEIW9fyfXZ2fKmFNNAtA7DW6s8unT0bi3HZzqqhaoSONiCALFWttmfT4LVrDPfCWCl8xlbJKjDMuAQuvOnVzbWP/kKC6WUyXakxfOjSeOrNQf/ldoSklTI63Lf6Yhyz3aXM5TsN1Ezx3eEFV6JVXUDkuVY4Byj97vU+ELKrZsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784798960; c=relaxed/simple; bh=tA6m9s5zReGUdsGIW22NnvqTyJx9+4d2lqkc4NI1fns=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nHSJsOUH+me7/NedKs2PjL5pg6TykUo+fZ+wxXWjQMq2bUDVZS6Kwreo5rLRMO7uM6dGt/M8HF9AsvvwHVtnKAnmiATvt28LDHLgx++y0JlVNmQGHFoHOmUR8vyo7IuGlDbITKBbNnB6Pupp/0wyBwOwQH+qKTXmka4hGaDoGSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EAOoOeUi; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EAOoOeUi" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2ceb096e675so5037905ad.0 for ; Thu, 23 Jul 2026 02:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784798954; x=1785403754; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=PZrPBqYijdzfKMBuONSSs1WTwIYrhiqirWSevn+t5ro=; b=EAOoOeUiNxjvHVzJ89m/YMBT32UODpK6b7zKFFv8EDErb+j/sGkvkP8+kUkMk0sBYB Oc1pfYJqWDWz9v6l6kGppVfvWKPwoR+rn63C8KAcaNI7pkm4JlgDmb4TTpDHw40Y4sc7 C2hkD4Srvij21TRW2JB50LHYXFFgLWW6OMx9M9mIDZbyLoaf3gVrSxo4XVx0zTEwES8w w7tuqllqY/qqj2rR6BkdPvItLy/nmXDs44RyUkWikWsg/aYUc3Qw9NPBVxF5P/lpC9Zf /gFyxomHPnSiIiAjiyEizpJY+zJ8zMkSzEGpmYfFuoWZT/cZIvaNee05WowdvTWR6680 zdEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784798954; x=1785403754; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=PZrPBqYijdzfKMBuONSSs1WTwIYrhiqirWSevn+t5ro=; b=tBU/P38QctbcI5OymjONEiHlCAhuBZcMuASxqBeOe26hY2qicT+5J8kEwOGTZWilth el1QF9H7IlzKSgC4ro1Q5vlBwqo6uHm4VBwb6pz472iKIf+tTWMRdUBBmVVyCs3nC8FC DK/7+KneA5A3jKMLcNnnVmByZxd06U4KPt/SCC+gFy5yZXQoq7GMGWN7fIjzpNTI0QSp D3dr+51JUDAMSLEFybOroUV/YEvVKgC+goUE47b3CPpHcRQpxneDpbGnG5F22WIh3QSG P0NOmXgVH28A3vb8G40E/xLtZ7BeYdbfR7iRXYHnNRwGDzozn7AljQphLhWyuOYYj4pB 2Oaw== X-Forwarded-Encrypted: i=1; AHgh+Rr32MU9qskeyUp0wGwmLaclsbW4V35mLWEXTIo5YwBFxuv3gfw/Gd9xc1ICWRhCsL5tRKjdKVZdvnbqTh0=@vger.kernel.org X-Gm-Message-State: AOJu0YzcLCGKIPdwfH8fxR/+BXYiX3U08jY2JmaKU+06lIUJLuiWqj+Y VsynFi+09YiEFTJMEIi/qFUPxir8AJ4jX/aXHLzaTpHZV6i2i1FAYhu3 X-Gm-Gg: AR+sD13BjEWLUs+Bk00ehgviV0IWjkjDwU/qTx6llzQ15VtgJgAkuHczy0626ch1W86 PpudxjynNzgiK2iQM2rtkrISjhlp7xmc4R7xGKUdIvqJjgf/Z9BiAuGaCWpg4IauY++lLBstu4J k/3Fh+COXzgAPFjWU4yin+xkz/75KjXTNHv2jE+9yGY0WOUbTCTXdWO5WjqGfdvV0Mw/GRUzzu+ TUNC5JbEE8WVbk4huTgf0WA4HoLmi6qHbzB5WmMlHdLfPAI411R+gsLqG2DIiVIfjAbixKIgMER F0jQvmEgPmW2yjjx7Gqxm0g8hPDs69D0Xf7fCh1Khl5/zG7PGMALj/KdLavbL/2AJABmgbsw/iN nT7Y+pflY4O5jgB5MNpbX9uTZer7CPccJjVNTBM4cYKlBoRtGWnJbyRrr18zLZPmXI3HctfWUQQ 0aFqk1md+pbP6Q77d9HQ== X-Received: by 2002:a17:902:ebc7:b0:2ca:ce91:f027 with SMTP id d9443c01a7336-2cfa6c875ccmr27647445ad.36.1784798954032; Thu, 23 Jul 2026 02:29:14 -0700 (PDT) Received: from PC-2B0BA31200898.company.local ([210.184.73.204]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2cf8efa388fsm30298125ad.12.2026.07.23.02.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2026 02:29:13 -0700 (PDT) From: Meijing Zhao To: Steven Rostedt , Masami Hiramatsu Cc: Mathieu Desnoyers , Andrew Morton , linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Meijing Zhao Subject: [PATCH RESEND 0/3] mm: trace: decode architecture-specific VMA flags Date: Thu, 23 Jul 2026 17:29:02 +0800 Message-Id: <20260723092905.761037-1-zhaomeijing100@gmail.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Meijing Zhao show_vma_flags(), which is used by VMA tracepoints and %pGv, names generic VM_* bits but does not fully decode architecture-specific flag positions. As a result, trace output and VMA dumps can show a generic "arch_1" name or a raw hexadecimal value instead of the meaning assigned by the target architecture. This series adds symbolic names for the arm64 and sparc64 meanings of VM_ARCH_1, arm64 MTE flags, user shadow stack flags, and protection-key encoding bits under their corresponding configuration guards. The original submission was rewritten by the mail gateway as a multipart HTML message and had a disclaimer appended, causing the vger mailing lists to reject it. This resend uses a mail transport that preserves plain-text messages. There are no code changes. Meijing Zhao (3): mm: trace: decode arm64 and sparc64 VM_ARCH_1 flags mm: trace: decode MTE and shadow stack VMA flags mm: trace: name protection key encoding bits include/trace/events/mmflags.h | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) -- 2.25.1