Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp41402rdb; Mon, 22 Jan 2024 11:13:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoalK78Ue2xkgAGuovS7cyzmVwwIrzfvq32L07OuQfVuHo7Oz4FC3DtMx+TbSHKcfKv4Ii X-Received: by 2002:ae9:c013:0:b0:783:1ac8:4fd6 with SMTP id u19-20020ae9c013000000b007831ac84fd6mr5970020qkk.62.1705950839654; Mon, 22 Jan 2024 11:13:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705950839; cv=pass; d=google.com; s=arc-20160816; b=lR6vAs12z/cbjQiWUyVpLuknTU/XKMzLeMmBzMZyyzTaEroSxQ/rxwgFZ/xTzugHTT 4cYQdJWupZFoBYraOXwIAxol6iNiiZEi4BLzjgXKHrrh7s7/3MyFLO0/oJ8GQoYjOmfI N1mzfamLc+krlEcEynScJGdg16amMc7dYEr78TcgrhPOJNXRLgS6Pq1HfqHACBl+bVXi L2IUfCDWNX2q5BmW6HSLukUIFKlaBPfWkCD5juQNse5lrFeav/Yr40a3RuHw9N0DPvmf bn4uyapVkXNGU7qUk46/sUBrkwyOuD/WodUOiLUNxmwW8Uv3P4UC969wpsa+AXr82CXv dDqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=mfN5eyTrPpcEGGxNhVwjG5a9DWcF/Fk03uIIJuCmeHA=; fh=1G+wib1dS/9E+0tOx4VqEi5CUKw5SFIobiqcG+NxSAE=; b=jyD08vlnQhSquQLaoOSaZhB3KoFF1jf3ShUVDqAkSeERwJh1cCziAvvwvT22ZcYohP CowOGnv5un6iW/yZwYI4IV2wmHA0Gdd6sQKuIQdP0x6+yMjlEOxw7nBhS2bpYhiPTzWE wZbCCRdkGztnNTM8YaBXXPp1iKVKyttL7qAGhoA63YCFi1mffhKhfvWlm+nTJF/Wmv7U 15w4GFNNDyPhOVMvhhW8/mCXFAvoETqmQmq1L2zWhsHPoQMGskPH0/3GhPONnvw/9HqJ +eTKL33WOCRUXbjG1kimQMclYAyaE4F29pSBGfg5Iu0WGO1TPdewJA3cQLkpKb4Exeo2 bs1w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=kGQDacHz; arc=pass (i=1 spf=pass spfdomain=efficios.com dkim=pass dkdomain=efficios.com dmarc=pass fromdomain=efficios.com); spf=pass (google.com: domain of linux-kernel+bounces-34029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y17-20020a37e311000000b007836d3975b3si6012065qki.273.2024.01.22.11.13.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:13:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=kGQDacHz; arc=pass (i=1 spf=pass spfdomain=efficios.com dkim=pass dkdomain=efficios.com dmarc=pass fromdomain=efficios.com); spf=pass (google.com: domain of linux-kernel+bounces-34029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B7BB91C2AA83 for ; Mon, 22 Jan 2024 19:13:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A72E47F5B; Mon, 22 Jan 2024 18:55:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b="kGQDacHz" Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A679247A6F for ; Mon, 22 Jan 2024 18:55:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=167.114.26.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949750; cv=none; b=par/1DjwAhDylaxP4Sak7G0m88jlrLLFClChzJXHvlVC5O2lGQ+H+kbmxA3hNU+W+q48Mz3DImKKXWffLrnFnbbpAc3XLxos74IrIafAx7VxTgnuBNQVXHkZVt2jM6hA+/3HkpQ80a086qyiwrIhN44xlGygcubEo6ssEmaI5pU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949750; c=relaxed/simple; bh=mk255U7PBxhQdFXsjowvY80I7qza3X9f+j/WQQEG63g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aHx0ItVJHgLocbifgX4Mk8cX0/pRXWHD5ud5gLJs0jKFVHGpT6KUnblmDe68zlyMp0P0iJZjJJdtQsZ+sKKA8rzcPMcbULc6Q1gRTitBVH1bBVItSD2JXL8YmMG4q9N9FX2X58W4e7tIbUg4+pf2aR7R9+3i4dW7EW7hIQ2Q9Cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b=kGQDacHz; arc=none smtp.client-ip=167.114.26.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1705949747; bh=mk255U7PBxhQdFXsjowvY80I7qza3X9f+j/WQQEG63g=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kGQDacHzXhlzdsG3StG65zMwj47vckUS6IeAFeZlE9rEyIIptCpsqXxeAF2e02E8W S4OkGFg8eou81sc93mhC3k+jtqdv0b8fuFOaydmZUEkVMwIIOFEnH8ok9tgG1/AWQZ f6UgSeJeRjMn7Eg163HmpS0mpCA3hNbTxx57t0HF1W/EZslyJHMlAuyJG/Vsg85Xn/ PMdnU+oYPjgrC80ZowfrCzFKJSJQ6mi1wb1ZJtCw2KTX5THMK9d3ckprrDfGEgUmID GOJgsQMQOBL1qLI/NH/1cF1ELkUsxdUNKpaYzIeYIUqZ4DwpoFat7X429ZpaQJklPU 5C5AqSwsjWF9w== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4TJfYv3WTVzTbc; Mon, 22 Jan 2024 13:55:47 -0500 (EST) Message-ID: Date: Mon, 22 Jan 2024 13:55:48 -0500 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] selftests/rseq: Do not skip !allowed_cpus for mm_cid Content-Language: en-US To: Shuah Khan , Shuah Khan Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , "Paul E. McKenney" , Boqun Feng References: <20240111154922.600919-1-mathieu.desnoyers@efficios.com> <40935ea7-9da6-455d-8df3-94e7e0fc6fa4@linuxfoundation.org> From: Mathieu Desnoyers In-Reply-To: <40935ea7-9da6-455d-8df3-94e7e0fc6fa4@linuxfoundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-01-22 13:43, Shuah Khan wrote: > On 1/11/24 08:49, Mathieu Desnoyers wrote: >> Indexing with mm_cid is incompatible with skipping disallowed cpumask, >> because concurrency IDs are based on a virtual ID allocation which is >> unrelated to the physical CPU mask. >> >> These issues can be reproduced by running the rseq selftests under a >> taskset which excludes CPU 0, e.g. >> >>    taskset -c 10-20 ./run_param_test.sh >> >> Signed-off-by: Mathieu Desnoyers >> Cc: Shuah Khan >> Cc: Peter Zijlstra >> Cc: "Paul E. McKenney" >> Cc: Boqun Feng >> --- > > Hi Mathieu, > > I applied this to linux-kselftest fixes for the next rc. > > Please cc linux-kselftest mailing list on your future patches. This makes > my workflow easier as it relies on patches going to linux-kselftest > patchworks > project. Will do, thanks! Mathieu > > thanks, > -- Shuah > -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com