From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 17CA513A41D for ; Fri, 26 Apr 2024 06:59:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714114776; cv=none; b=jmZJzs0TVjJdr00Fk8b0We9pX/HRP5az8Dy9UytTl7Uc7Dj1bhdf+cUFcWUb07+OveFBDO7eY12VXex8qfRnyjAdT7du7Feq8xtZdh/enWiefJKZpoeJMHY9kXK+MJzDF3ho3QiCfwAu7L8jJHcdXPM1zKJdzgJ+/3Xhj9quNpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714114776; c=relaxed/simple; bh=G7vXm9ah7dP5SqmGJRXf6C33wHqAfZxN47t8q4zER0w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QSxpZKg4cso3JndABSkCg2AWabphHKrOUcRvKXY2k5aCKyyi8VGAd9qY/0Xt/Jq87hqEN1TYbz0kME18qdzq1IqdkhwDIzhKlINQJICn+jJ5jDa9uECh140yku7E/n0FzyK0tDJb2Ktx26Tf8dcr0u/89netQXTyE1Bt1DK6xhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=UK7FKijJ; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="UK7FKijJ" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-56e48d0a632so2600715a12.2 for ; Thu, 25 Apr 2024 23:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1714114773; x=1714719573; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nJi2B9HW02fkMYGbO8TVAET6hHBVhmmZVgISXMQ1fkk=; b=UK7FKijJ5KsbEi7f2h8gqZ+I0eBa776J6F/MNIEqNFIto/s8ZvcMOAhaTu8rZFdoYM odFdPY0Wl6fGVynCWA415VcF7ukR5/PdKruw6FjrPxCaqQ88vWnsMXAE8cjQw+yc8m8l 8uVphq1VUUhckZ36DeuLqZ5IPrS0w1B0KEExIb395vC8B1X/N/2FFsRQ26WhnIPI3Fqd V3LrADD3KMWVbFh3aHx+CkL0QcUShS3SHqQDEznDAv7DOdB2xsKJ8REdySGngkD3+2X+ ozzcZ8mnd3RaiwQW8JxQmfjXx5rVnHzYpp+AngsgSdOEkHOPL2aiQd/HV3YLLpUJREmJ zouA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714114773; x=1714719573; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nJi2B9HW02fkMYGbO8TVAET6hHBVhmmZVgISXMQ1fkk=; b=L9PEFlGktpm2xqCSxYFhBOHRzBo7Yl3HO7v3oY5TB9OEbhGsRjo8isO39oMJ3ZSK8n pDzGdSsS/nEVyxy3x6G4alLkqFERKZON/2GDyMq+v2FI9V+BnVyRY3aa+++rAMHIJfXb /m/P/E5wiItMBjLrLzlxTEFCumbMSj0xVn/sAzAa9CGrQB/tyeB2AAuZjKgq0FhNdBKM mZ5Qs+37nM7LJX/wvoyOxecwimijySeTCy42/k7KRAk9RpH9wG4bFHCpaR/Oxc9GPinz A+wHZ7QvPn1BjSSf/nL3ZTQ6nmBfdVisb9jL2PT5DIcYlylsSeBwRx2TfLLxMitCu1L3 8S1g== X-Forwarded-Encrypted: i=1; AJvYcCXEdQxvmBU99K87Uq04UkM7o9AsEoS8H5A1NO9OmHL1k0REgkQDqm8g0H7SEAhB/NVFvliXMcYYRtILStkKQpUaHc2Uyacd1uhZZ7c+fAJE X-Gm-Message-State: AOJu0YyNCZGJ5wMopQupYjZdDHfGeVrwtU30FzoGHOlqttPlvBY4FNBH 6X4hh8mt0uT+ukiUTKMOcOmbBHb0uBuvbv/7QvfZRHecbIKw1DA3G8EJw3G6TO8iWAe6YbwojEQ 8DG0= X-Google-Smtp-Source: AGHT+IHUnMU8CxhFO5e0ybUeTeletpTSN8CoDzy9n/qhvKWDBbmouw24d1LdHfZWIXo2JhywDqhFJw== X-Received: by 2002:a17:906:3614:b0:a51:de95:f592 with SMTP id q20-20020a170906361400b00a51de95f592mr1758675ejb.63.1714114773338; Thu, 25 Apr 2024 23:59:33 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id m12-20020a1709062b8c00b00a58d438ed2esm183306ejg.139.2024.04.25.23.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 23:59:32 -0700 (PDT) Date: Fri, 26 Apr 2024 08:59:31 +0200 From: Andrew Jones To: Charlie Jenkins Cc: Shuah Khan , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: selftests: Add hwprobe binaries to .gitignore Message-ID: <20240426-ffd635ae77cff1868ae99206@orel> References: <20240425-gitignore_hwprobe_artifacts-v1-1-dfc5a20da469@rivosinc.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240425-gitignore_hwprobe_artifacts-v1-1-dfc5a20da469@rivosinc.com> On Thu, Apr 25, 2024 at 12:58:03PM GMT, Charlie Jenkins wrote: > The cbo and which-cpu hwprobe selftests leave their artifacts in the > kernel tree and end up being tracked by git. Add the binaries to the > hwprobe selftest .gitignore so this no longer happens. > > Signed-off-by: Charlie Jenkins > Fixes: a29e2a48afe3 ("RISC-V: selftests: Add CBO tests") > Fixes: ef7d6abb2cf5 ("RISC-V: selftests: Add which-cpus hwprobe test") > --- > tools/testing/selftests/riscv/hwprobe/.gitignore | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/testing/selftests/riscv/hwprobe/.gitignore b/tools/testing/selftests/riscv/hwprobe/.gitignore > index 8113dc3bdd03..6e384e80ea1a 100644 > --- a/tools/testing/selftests/riscv/hwprobe/.gitignore > +++ b/tools/testing/selftests/riscv/hwprobe/.gitignore > @@ -1 +1,3 @@ > hwprobe > +cbo > +which-cpus > > --- > base-commit: ed30a4a51bb196781c8058073ea720133a65596f > change-id: 20240425-gitignore_hwprobe_artifacts-fb0f2cd3509c > -- > - Charlie > We can also consider doing what kvm selftests does, which is to just have the top-level .gitignore which ignores everything except the code. See tools/testing/selftests/kvm/.gitignore But, until (if at all) we go that way, we can do what this patch does, Reviewed-by: Andrew Jones Thanks, drew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F791C4345F for ; Fri, 26 Apr 2024 06:59:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kcRjEEKs8RbqMYkLGYDtZ5t/ZbWp1YVsS6ZfRHGs7y4=; b=uvVze59TrGfWjH FUDUQOz80uubgSfegDTgtAMA4fBpw8XUav/5X0M9cqm/x4vjtmFs4aBgfqxGbi6vu3meE5+oc3Ymi B7y5BSVvuZxwH5W3LaSDmWzydhOUfFIlJ+veext68IDeYAQpLvrYXSSoBmArVAA2MYJIi8afi+mJt ltdfBz8GAn2Ta7oKTVqIPvb2f7/vkhevx7VGAkJi5GP4WMjMF/AxPa9QnPr5pHPXe1D4+gc22CyeO ivpjQksf/ubv/3C7aaRlkTqO90ILN8Ye4bOeleeYvqK9R4hleG0H0z31k+o63WQbQfVVwLVLLdU8d +khQfIh0OSjh0pvEAUQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0FYe-0000000BOHS-3lML; Fri, 26 Apr 2024 06:59:44 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0FYb-0000000BOFX-3wRr for linux-riscv@lists.infradead.org; Fri, 26 Apr 2024 06:59:43 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a5200afe39eso198843866b.1 for ; Thu, 25 Apr 2024 23:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1714114773; x=1714719573; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nJi2B9HW02fkMYGbO8TVAET6hHBVhmmZVgISXMQ1fkk=; b=O6UORRDitQVW9t/7dH1daVKB6pPuYpBLrDCZwj+hKldVi9VJ2MppEUZ6XtsI0I3GiF J8yKK7eonWOxTNNl7gPVW4dRlXhGMFp4NeFmrQxIdEl3r48a6ClqXn2dA6tSDt7rDvBt 2+xtZRMJbGQ9hDI3ZkiRdjalq8WC1mCImO834LPFxg86fRY7VsK5HYcdbpKaK8wGBVst OzpPxlx3Yf6W2Qsy2YuGTEYYfk1vlckXRTHoAl0rqV84qNAxucWDP2wtf0TPAqa6HB0Q UnUcVTweXfKPFUjnE4iBx7mi2UjfN62MBOO60ZotnJpN0yD1gnAOenmF/D2HDXa/3Yos 4dRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714114773; x=1714719573; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nJi2B9HW02fkMYGbO8TVAET6hHBVhmmZVgISXMQ1fkk=; b=DJM2o7cm0hwPVFRFTNFYMVZXLvd3UvVzZWA6G6NDY43N1gLff7+OafTeSyzNmxuTQr 9zBVhR1PryvMF6/WCIrcd3QE6Pq3KTlFV0MfMJyVtBHjbLG6nwgoeTiov2afssZuyPge fTxu1G4l2hdvf6pNKoZNHepZ0elnPpJCrJmPBvSt2c0gA2cnzdC3z4d/fHElt6lqb8u3 gNG4HHJhqGAvIQqwLrWG0SGEomhZsIVcwA1Fv73+RWwlJc4MuQBPiuu4YOj3OU1g16Lk LXOd6QQlzPRXQ3m6wkWlAUx9AvI5/ErNc5Bb6P8BWgDPmJtHt6NtrtOeb2YIL3BeK3Y2 3LJA== X-Forwarded-Encrypted: i=1; AJvYcCVvtRApRBcmpg7GOdVapBhMMMBHcLOnyouggez2B0+8aHa2Y6AtsBlkuRvsw6GeWNIiqcPxWtnLVC//TMb9vscAGJku+v0iRT7mWzYzhTQw X-Gm-Message-State: AOJu0YyHNI96H2B/pfXVlRhe5bYy+Y3guYyliw2SS0Ck4jFAA+EjEvUt 16zLbs6lI4S6D191QhJowhlH+udrQDjhPB2XDuXi/2MKrV1nPjBzPuf6KwhHsJA= X-Google-Smtp-Source: AGHT+IHUnMU8CxhFO5e0ybUeTeletpTSN8CoDzy9n/qhvKWDBbmouw24d1LdHfZWIXo2JhywDqhFJw== X-Received: by 2002:a17:906:3614:b0:a51:de95:f592 with SMTP id q20-20020a170906361400b00a51de95f592mr1758675ejb.63.1714114773338; Thu, 25 Apr 2024 23:59:33 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id m12-20020a1709062b8c00b00a58d438ed2esm183306ejg.139.2024.04.25.23.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 23:59:32 -0700 (PDT) Date: Fri, 26 Apr 2024 08:59:31 +0200 From: Andrew Jones To: Charlie Jenkins Cc: Shuah Khan , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: selftests: Add hwprobe binaries to .gitignore Message-ID: <20240426-ffd635ae77cff1868ae99206@orel> References: <20240425-gitignore_hwprobe_artifacts-v1-1-dfc5a20da469@rivosinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240425-gitignore_hwprobe_artifacts-v1-1-dfc5a20da469@rivosinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_235942_001281_CA9DB22B X-CRM114-Status: GOOD ( 15.71 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Apr 25, 2024 at 12:58:03PM GMT, Charlie Jenkins wrote: > The cbo and which-cpu hwprobe selftests leave their artifacts in the > kernel tree and end up being tracked by git. Add the binaries to the > hwprobe selftest .gitignore so this no longer happens. > > Signed-off-by: Charlie Jenkins > Fixes: a29e2a48afe3 ("RISC-V: selftests: Add CBO tests") > Fixes: ef7d6abb2cf5 ("RISC-V: selftests: Add which-cpus hwprobe test") > --- > tools/testing/selftests/riscv/hwprobe/.gitignore | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/testing/selftests/riscv/hwprobe/.gitignore b/tools/testing/selftests/riscv/hwprobe/.gitignore > index 8113dc3bdd03..6e384e80ea1a 100644 > --- a/tools/testing/selftests/riscv/hwprobe/.gitignore > +++ b/tools/testing/selftests/riscv/hwprobe/.gitignore > @@ -1 +1,3 @@ > hwprobe > +cbo > +which-cpus > > --- > base-commit: ed30a4a51bb196781c8058073ea720133a65596f > change-id: 20240425-gitignore_hwprobe_artifacts-fb0f2cd3509c > -- > - Charlie > We can also consider doing what kvm selftests does, which is to just have the top-level .gitignore which ignores everything except the code. See tools/testing/selftests/kvm/.gitignore But, until (if at all) we go that way, we can do what this patch does, Reviewed-by: Andrew Jones Thanks, drew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv