From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 EB00F15A865 for ; Mon, 19 Aug 2024 23:41:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724110904; cv=none; b=M+0pgYRo+GS4NWmIVt2PuVZ83U8gmJlOw5WaqgQDLwrPZXbHXKx0XZ0Zucy4GgRlKb2iBhi0b7o6IPzZ3Xqz+KiZro0EUsJJzOl6OMwbcAd8uLEuXXxmVRhQQXvzyqlFGpSD9w9BT9L82RZjAMhNM42btcxyR4S4382fLa2RsUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724110904; c=relaxed/simple; bh=VyJ7DwTEeQRwF2J9itqF7qF9lyR7ouza0PHAuQm+FtY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZOwzRhND8TCrPbse06K1qu/2n5U0mYUhptqiFlS3jz2DvSDybtdzDfejE9xZ4svhCHPv29Fu92Z6MOnK+lrxIqTxdLmF5LdV7TqS8jwXUaRGgDdNAhwxdU0LzmMaqpsnzj2eGBkfBWH+6h2yFy3h4Yw4C8MjQaSbNNBt8gMhDrI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Ac2Ojsv+; arc=none smtp.client-ip=209.85.208.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Ac2Ojsv+" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5bec507f4ddso3428a12.0 for ; Mon, 19 Aug 2024 16:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1724110901; x=1724715701; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VyJ7DwTEeQRwF2J9itqF7qF9lyR7ouza0PHAuQm+FtY=; b=Ac2Ojsv+hT/DVDertFOoZEdRExcr/WaXAMQbTdz93ijpmy43bOKyv3uOZtKHPIZzr5 uB0cl7HeJG1v2KgAvPxqdqg+cOkf6Za8ohHy1BbTMGfVL4F4qKYrqalzlymfs31szu/H G+jTa0ZhrTGYk/pJ2i3OQeoOMzAlAMU9AJ7RwTuWGzPGKRt6EwndtRrArxrWBdX9hCsk CkTv9DNovdTNrSvD4uE4RoTt2CTZOMemhGH3vk4tjLgh0n8AqT8a032uJn0BBuym71Mz YG/fd2jTeHD+leGzaIQRXVJi9/+T7azt5CaPxn2Yg01BDTT8ddE82iwbLOBsq1C4Hwq+ 9LMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724110901; x=1724715701; h=content-transfer-encoding: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=VyJ7DwTEeQRwF2J9itqF7qF9lyR7ouza0PHAuQm+FtY=; b=LU1Re/5tsd8VAY81nUcVBF6mn4VyWp8fWDq+es7R5OILFDANKXl78yMwHyEZRqy43T VMPtGy7AhfvwXc6qc1o2Zy2PoF9mf5/EI+qdCHaQsVcw3frjSVTwcU06cnCUR88U9cx7 Nuae360KtKaRRKFy5wOpXZiXR7POXrTa1jTa5WTXjKkzgC3DXJuf0TgqsbRmeEoeJdvP yahmBPQ/CSia6U6l5BOSg0yDmDPKKqE+xQ6y1BsBOswqgF3mPdcVyWoADvN5qUlbALXt yU3xSxvx1y9UVu38j9GhA7ESUHh7T3L0Qu3Te+TWwb1/N/8WA4gYi+JIfLzL9ljJde6V bRfg== X-Forwarded-Encrypted: i=1; AJvYcCUay2GqWpD7oWOEIihN2+wyhHQ2oaMb7RWXloiyMBeBeVr9q928G3e+a/YmC5ry1WGzDq0Hl1vs5hvKVjcVjzqibdDPVcoTPXjCS1gTQDU= X-Gm-Message-State: AOJu0YwtXqZuhpElO1Q3656FqTPr+Xm5/Dl25wqGpbmYCamLvalenqQ8 2NT6i2MTww8ToW1WOpXNEPDFU9MTnmz4GmGYZAGs7tIDb4qVzGbNUxvHX02Y73eEznBlTC/JS7K K7gZ6TZqeDuYNf/KmROqf7rZthrU0bZuhLPMZ X-Google-Smtp-Source: AGHT+IEFf0La4uREmgZmbe880Nnbs8CZTxbPC4ox9daCMh8bMB0DPDlb/vwxR0dv4G47Vf1sgvElegvu9c36SV8SoxM= X-Received: by 2002:a05:6402:3546:b0:59f:9f59:9b07 with SMTP id 4fb4d7f45d1cf-5bf0c262b15mr42504a12.4.1724110900976; Mon, 19 Aug 2024 16:41:40 -0700 (PDT) Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240806212106.617164-1-mmaurer@google.com> <20240806212106.617164-15-mmaurer@google.com> <87le0w2hop.fsf@mail.lhotse> In-Reply-To: <87le0w2hop.fsf@mail.lhotse> From: Matthew Maurer Date: Mon, 19 Aug 2024 16:41:29 -0700 Message-ID: Subject: Re: [PATCH v3 14/16] modules: Support extended MODVERSIONS info To: Michael Ellerman Cc: masahiroy@kernel.org, ndesaulniers@google.com, ojeda@kernel.org, gary@garyguo.net, mcgrof@kernel.org, Alex Gaynor , Wedson Almeida Filho , Christophe Leroy , Naveen N Rao , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, neal@gompa.dev, marcan@marcan.st, j@jannau.net, asahi@lists.linux.dev, Nicholas Piggin , Boqun Feng , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , linuxppc-dev@lists.ozlabs.org, linux-modules@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Aug 16, 2024 at 4:04=E2=80=AFPM Michael Ellerman wrote: > > Matthew Maurer writes: > > Adds a new format for MODVERSIONS which stores each field in a separate > > ELF section. This initially adds support for variable length names, but > > could later be used to add additional fields to MODVERSIONS in a > > backwards compatible way if needed. Any new fields will be ignored by > > old user tooling, unlike the current format where user tooling cannot > > tolerate adjustments to the format (for example making the name field > > longer). > > > > Since PPC munges its version records to strip leading dots, we reproduc= e > > the munging for the new format. > > AFAICS the existing code only strips a single leading dot, not all > leading dots? You appear to be correct, I'll update that in the next version, but want to wait for more feedback on the rest of the patchset before sending up another full series. > > cheers