From nobody Sun Dec 22 08:57:19 2024 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 29B092AE8C for ; Sat, 21 Dec 2024 01:26:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734744371; cv=none; b=dpGjfVQRJvfXF3QUASHBZ8/ZLCLEMlVGPBtGLciPhhXb+sny1HzlsfxcxRcGXmq2mHmBSC/MXx/C1fUVuEzprydhA6C2UJgsyKxj0ZNDBpv8iKnITx61LwoTxU3IJ65w2RnfsMIIUagrTzyGM8fUHojPgRJmDEcfjUDvzK3f3xw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734744371; c=relaxed/simple; bh=DLpv7tN8tWj9GmuppCeHTKMXzEqGVF0ivwjlaG3AhNs=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=UY6Wvbpc1BqBADbbb9OjVr1/XO+d9Gb/jxrojhP4Vr3LVNDVn7RGubW2EYI+Rtzt5vSbtQ7FmA/B7GXB9vMq491WLII5RRUNNqyRemOpdCkAPyMiPKv2SN0kmKIBbt7mk/uxEZoPdVrMvDisxcW/rMsXcf86jJcM0inlv6jVwKs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--yepeilin.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ROpvj3qY; arc=none smtp.client-ip=209.85.214.202 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=flex--yepeilin.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ROpvj3qY" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-2166e907b5eso24693515ad.3 for ; Fri, 20 Dec 2024 17:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1734744369; x=1735349169; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=bytesDbDVUYNBSRD3xSwDN7qmEeS7owIZnIend2YERw=; b=ROpvj3qYEFoDH31hwu/YBOXN8EsnTWdJdcPJ2SBG7nJxXbjaEx18f+ZEWkUVj1KKSW o+6Zb0+gmkhGhPViD9K5E+gwdzg+CENMbqIIGBU2QF3BuHCP8J3f3xgSHepeSDtt4KNy 3FPXPN4I73f2pZdM+iZPYZk5+YdmpPEhI3njFyfQA2pjG0EfLMFeDFSecHuKWV0j/QzM 29q4kyKqQ2ey4rtKL+XWDdNw0K93UnZB7NOX/hCrqGo3yo2dMEd8n8UL514U6R7thrGR AAoyJdlxTwckocz4lgDYgtJs0fkCYnq/oe+rYh1ydzruP5QvvoglUj4SeG+xkxhsk0MV +ZJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734744369; x=1735349169; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bytesDbDVUYNBSRD3xSwDN7qmEeS7owIZnIend2YERw=; b=LBy0QFJqsAAnwBLzm+EWTfyNQCgwclRgyDmbxjhZa02kvNZGn92Fp6hSlrHlNJkoYz kyfHiCefGymV0D3Jw6Jhct5+NcbpIU+6HbpYDH7LAJHZ+cA0qwE20caIwjG/ZPIICxuM YjuH64FvR6jcb7y9xUa2UNzivcRjzXUE0so97BeNiyBqx8os+BAdWPYyXAro6DinoHWF KeOFwo7e2lcL6RkugOrk2UQUwxECZPxD104XXBXYvzO8mOtxwGYs45Xw4JiATvrmXCKR 89X7WMJJZDpLm75yA/B8t3oLME3CSnWUt6lDThs9VyvKK9Oj6B3uWYsv0zgKZSySFgc2 wauw== X-Forwarded-Encrypted: i=1; AJvYcCX35bFqN9FejM9HmDHw842JsNXvHTCSbpvSXawdH5vzQLdwtB0ymRDwqPNRywgngNUDpW8g+eXIJe66eA4=@vger.kernel.org X-Gm-Message-State: AOJu0YxmV7/hes9ob5TupFezHwNL1YA2VzwupYlkjk1CKKcWr9dCJWvl Mh+V4DkZRRIhZ9A1/xIAONx3GOBhMpGj4VmAXSOjD26kJr0/wp+kI5qgtvrbzvW414IKh/zR0yA cY853OJ1IBQ== X-Google-Smtp-Source: AGHT+IHYk9A9yRfGSCHIhMa9AwDi+tWyoGUU43W6BZLFLwohK9iNEKLbcMkTYl+xrGSNlL3eTaKbUcNGwhS/ZQ== X-Received: from ploz22.prod.google.com ([2002:a17:902:8f96:b0:216:4295:2584]) (user=yepeilin job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:d546:b0:216:4e9f:4ec3 with SMTP id d9443c01a7336-219e6f2eb8fmr79334885ad.39.1734744369464; Fri, 20 Dec 2024 17:26:09 -0800 (PST) Date: Sat, 21 Dec 2024 01:25:57 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog Message-ID: Subject: [PATCH RFC bpf-next v1 3/4] selftests/bpf: Delete duplicate verifier/atomic_invalid tests From: Peilin Ye To: bpf@vger.kernel.org Cc: Peilin Ye , Alexei Starovoitov , Eduard Zingerman , Song Liu , Yonghong Song , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , "Paul E. McKenney" , Puranjay Mohan , Xu Kuohai , Catalin Marinas , Will Deacon , Quentin Monnet , Mykola Lysenko , Shuah Khan , Josh Don , Barret Rhoden , Neel Natu , Benjamin Segall , David Vernet , Dave Marchevsky , linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Right now, the BPF_ADD and BPF_ADD | BPF_FETCH cases are tested twice: #55/u atomic BPF_ADD access through non-pointer OK #55/p atomic BPF_ADD access through non-pointer OK #56/u atomic BPF_ADD | BPF_FETCH access through non-pointer OK #56/p atomic BPF_ADD | BPF_FETCH access through non-pointer OK #57/u atomic BPF_ADD access through non-pointer OK #57/p atomic BPF_ADD access through non-pointer OK #58/u atomic BPF_ADD | BPF_FETCH access through non-pointer OK #58/p atomic BPF_ADD | BPF_FETCH access through non-pointer OK Reviewed-by: Josh Don Signed-off-by: Peilin Ye --- tools/testing/selftests/bpf/verifier/atomic_invalid.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/bpf/verifier/atomic_invalid.c b/tools/= testing/selftests/bpf/verifier/atomic_invalid.c index 25f4ac1c69ab..8c52ad682067 100644 --- a/tools/testing/selftests/bpf/verifier/atomic_invalid.c +++ b/tools/testing/selftests/bpf/verifier/atomic_invalid.c @@ -13,8 +13,6 @@ } __INVALID_ATOMIC_ACCESS_TEST(BPF_ADD), __INVALID_ATOMIC_ACCESS_TEST(BPF_ADD | BPF_FETCH), -__INVALID_ATOMIC_ACCESS_TEST(BPF_ADD), -__INVALID_ATOMIC_ACCESS_TEST(BPF_ADD | BPF_FETCH), __INVALID_ATOMIC_ACCESS_TEST(BPF_AND), __INVALID_ATOMIC_ACCESS_TEST(BPF_AND | BPF_FETCH), __INVALID_ATOMIC_ACCESS_TEST(BPF_OR), --=20 2.47.1.613.gc27f4b7a9f-goog