From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (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 C7C361A0BD7 for ; Wed, 9 Oct 2024 21:13:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728508382; cv=none; b=isGpBvZ8U8RQaG8z/ZwjsNU/nyMISoLaphbVLm48rvIiWJj5n9WPcLvgbWz0HwfgOxo64TvPf8c1cKrGVSkVxmIU1tjWpW/qyNNv/0sGa/tPiTNGfbMZtIRdwx+D5NmeE5FGIPiZPZQnOnCMvdG7cbSeStGN3Y7UjM+4WVdX54M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728508382; c=relaxed/simple; bh=6a4rFQhw/VZcPnHLsZT6nLi4tQP9vAYKfT2SVzIGbyI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bqkcFBy5FAur1U6KcKE5pmd04hYM9tyTDUVcwyuPuwCO+3nmCgMtP7H32pPai0bRNb7mdgu/HiXnZLlKnPkr3KaxKU878cnl8yBbq59CqPH2bb+9mp75D8rgfHVWgmncZoae+KsbjhHQeTbsEdG9+04UmXBITijw8DcfIubbjZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e1D++d8e; arc=none smtp.client-ip=209.85.166.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="e1D++d8e" Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-3a34ccc6a9aso1373285ab.1 for ; Wed, 09 Oct 2024 14:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1728508380; x=1729113180; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TYJ7JU/5K0pgGRgUC6cCFixqutRrf8flVTqhOdXWq/Y=; b=e1D++d8e1/rMBg3mxpX1UzEI/eNZKwgwivT5ZX50zGkZzpSPA6HCPS/olx1q/O9atl JkvOroADHG1PyhUZWsQrwLcjRjGZeDgJ5vgGMX2RLblbP2RWFCChT0dDil2x3CLviM/R k/AahPNDAgcwrnCHTcJiqbvb+sCg661Rli7sQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728508380; x=1729113180; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TYJ7JU/5K0pgGRgUC6cCFixqutRrf8flVTqhOdXWq/Y=; b=jWHZcRA0PZEwN8APOid3rTHs/tFdNe7q8asJkPTP687pb6fb8V8a6S2o8DCAPWY1EG LPV5aeZrbNu8FzyvZbBWKqyi0x4x0xzKk3aHUKMw4kpkSqKy2co7hZ9VeeL3FT3TVxt0 6aq7fSpf1hT/HlQGPthKgD55uVjNuBkybC9KeTrKC2moygkx11atLCnsFIb76UIlE5e1 G5amUAaiuRvMc3qld03ZIVv3Ftt4AhQ9cvcf9c5myNMGj//wm9JFNQokwtvhDWTWIgZV 8Ox2TfdMmVnXEopNmbOgVw0d8Lkos+AZ0LdIeXzhzmDkS3YV144b6FH8b8xUTa00nqwt F0XA== X-Gm-Message-State: AOJu0Ywyy4VUJqYbhAWnElr/1L2kOkvOB1k0T7XVF+yTGDGdZdHT8hQK OQxL3rzrh/bW7SzL/umk3jbSCSgU+U3l0H9T5m4hGISv755k7+WYIa+wQgKi+3w= X-Google-Smtp-Source: AGHT+IHv1vuMSCa1zYs4UVV/zvu9uihnHQASurLyDa8xluFOQ8BbfOHymK8Jxbawrhw68bVJSGQhBg== X-Received: by 2002:a05:6e02:1a01:b0:3a3:968b:4e3f with SMTP id e9e14a558f8ab-3a397d25948mr39294515ab.18.1728508379895; Wed, 09 Oct 2024 14:12:59 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4db979a26aasm834317173.76.2024.10.09.14.12.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Oct 2024 14:12:59 -0700 (PDT) Message-ID: <16c3dfe5-3e99-4376-a88b-96c4247cde32@linuxfoundation.org> Date: Wed, 9 Oct 2024 15:12:58 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] selftests/rseq: Fix mm_cid test failure To: Mathieu Desnoyers Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Boqun Feng , "Paul E. McKenney" , Carlos O'Donell , Florian Weimer , linux-kselftest@vger.kernel.org, stable@vger.kernel.org, Shuah Khan References: <20241009012801.2062026-1-mathieu.desnoyers@efficios.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20241009012801.2062026-1-mathieu.desnoyers@efficios.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/8/24 19:28, Mathieu Desnoyers wrote: > Adapt the rseq.c/rseq.h code to follow GNU C library changes introduced by: > > glibc commit 2e456ccf0c34 ("Linux: Make __rseq_size useful for feature detection (bug 31965)") > > Without this fix, rseq selftests for mm_cid fail: > > ./run_param_test.sh > Default parameters > Running test spinlock > Running compare-twice test spinlock > Running mm_cid test spinlock > Error: cpu id getter unavailable > > [ This is based on the following branch: > https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git > branch: fixes ] Did you forget version prefix? It get confusing without it. Pleas eremeber to add prefix and version information. > > Fixes: 18c2355838e7 ("selftests/rseq: Implement rseq mm_cid field support") > Signed-off-by: Mathieu Desnoyers > Cc: Peter Zijlstra > CC: Boqun Feng > CC: "Paul E. McKenney" > Cc: Shuah Khan > CC: Carlos O'Donell > CC: Florian Weimer > CC: linux-kselftest@vger.kernel.org > CC: stable@vger.kernel.org > --- Applied to linux-kselftest fixes for next rc. Did you forget version prefix? It was a bit confuing > tools/testing/selftests/rseq/rseq.c | 110 +++++++++++++++++++--------- > tools/testing/selftests/rseq/rseq.h | 10 +-- > 2 files changed, 77 insertions(+), 43 deletions(-) > thanks, -- Shuah