Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2611391rwo; Thu, 3 Aug 2023 12:01:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHIORSrAgZYfrbg4O7wWSkm2o2nmx3yy3Z/kI4Rp/Kl0IxUZA8eonquYYGfY4pO6GhUMn+r X-Received: by 2002:a17:902:ce90:b0:1bb:25bd:d091 with SMTP id f16-20020a170902ce9000b001bb25bdd091mr20538515plg.30.1691089283433; Thu, 03 Aug 2023 12:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691089283; cv=none; d=google.com; s=arc-20160816; b=AOUgE/RTChlGADlj3uskZX++EpEfUn40Z1WWP7ypaucm9vqbd+zvUrKtxYNYM9FzG/ WeY8rW9B5dqAtaHU70vCXBEsC2kCWYLqvcd2Yck4IxNxptTOefnrDhqhqroFhHTu9Pnj +PO5ppCo0uBJNWRfguOSmLPwSD2RzlRjXr7pqBksSnCmnNmc2pa+G3PZANCDIIxwkad9 T+UsLKZARMrzKNBbwCPBjfzloNvITQAFC5evMRU3FrX5KGlkYtmf5bCoeajjaByxkdHf JWWJGFH1LNRpZABV0lIM+iEFdZ7xtO9LmfplWiHb8YvmR2XFV4g2/iV2gjE0XHNqvzGa v9+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LQ6EWC8B7oQ3T6NTg6WOQ+ngTyl3erkhNwPSztKemT8=; fh=wTk5/jmHLtI1LE+FzqE/22MXbqTpRjG7Qx/AfmrTeB8=; b=D4iuPryvP2rdQA2Urq+hanb+MuwzX0EfvmuHSVezdPGRZXhYZ4Vttz8o2Tdbz4hez4 JgbGMIhmTTavHeXoXXQVuOVG04hUqGl3HqvaSgRwXqA5Ph36rvN7lt5vOdci7x2uYPTh aK6IwroH/4wp7cam7Ni2blWsjIU3pfC5BPMDI367rWeWJry6X4QnQPObhv0LsarWGeLd po8hT+Xuf5dJhzfowzHr2uhmdcNHHVCrzeNHRhkS6jMjlorE/NX4P2buuQegj6TdHz3j BONASM2lxufj70TQ2/jzMbTJV73y0YsrQkSTCR6wgxRuSZiQpxWF0IM0kPfgXswTQqu2 l+og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=I8UEEEpM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a170903230400b001bba564e2d9si400871plh.0.2023.08.03.12.00.44; Thu, 03 Aug 2023 12:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=I8UEEEpM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233212AbjHCQtD (ORCPT + 99 others); Thu, 3 Aug 2023 12:49:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234536AbjHCQtA (ORCPT ); Thu, 3 Aug 2023 12:49:00 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC033C0A for ; Thu, 3 Aug 2023 09:48:52 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id e9e14a558f8ab-34770dd0b4eso1376435ab.0 for ; Thu, 03 Aug 2023 09:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1691081331; x=1691686131; 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=LQ6EWC8B7oQ3T6NTg6WOQ+ngTyl3erkhNwPSztKemT8=; b=I8UEEEpMgMmmgjFBfIabgFSwv0M1EvDjPygZRV8ViVDrF5vl/M7JBUeclYDCubHzRu jMz5w73fjDNnSuAwricXbSss1mRYA63soRHyxGrN51QEhvC09UFfDwCVLXfZCT++uDTI VXHTIBZwIUAvhnJe6iRFjr7/tp0ez/D8LVChw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691081331; x=1691686131; 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=LQ6EWC8B7oQ3T6NTg6WOQ+ngTyl3erkhNwPSztKemT8=; b=LD+IbUCzX3wPQx/pliqAz9di24P0wp6kjl37MDpHJFLoKsDTHc0CjFLXlj/GpyyWzX YJbCexEP265I92FBfPa1GluYSInKwpngYYrzVVtbHgKmJI4wu8A9jkPxLQFDbSh+5QhS NqBvWbI9QOhUFPx0PQxwS7xu74IAmBFnGlMt12Gi0yLMbcTpHtiBXuh4iB0E4Nk3XEFX ksr7n8Uu6S9s9tUpRgxEk+hS+yagugHwv2pv8I7LYCZZ8csCq+RSYM27anMBgLn53Frf dZW3rKaQ9bM4abE+SGUDgQtzM+1jdoti6yXkFbarSAle7tinoC+/o+YhMi4ytWbRgQae 301A== X-Gm-Message-State: ABy/qLZJPllm/C1aPetrbagQHe/vFGGWEgxvFzUnpeiHptPw3pK7N44L 96uRwMXODBcTn7noledQTpP57g== X-Received: by 2002:a05:6602:3d5:b0:780:d65c:d78f with SMTP id g21-20020a05660203d500b00780d65cd78fmr24072157iov.2.1691081331660; Thu, 03 Aug 2023 09:48:51 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id x10-20020a5eda0a000000b00783634b9eafsm66851ioj.50.2023.08.03.09.48.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Aug 2023 09:48:51 -0700 (PDT) Message-ID: <1c16fbc3-9bcb-3ad5-e875-26d8bdc75422@linuxfoundation.org> Date: Thu, 3 Aug 2023 10:48:50 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] selftests/riscv: fix potential build failure during the "emit_tests" step To: Palmer Dabbelt , Andrew Morton , John Hubbard Cc: Albert Ou , Alexandre Ghiti , Anders Roxell , Andrew Jones , Andy Chiu , Evan Green , Hugh Dickins , Muhammad Usama Anjum , Palmer Dabbelt , Paul Walmsley , Qinglin Pan , Shuah Khan , linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org, LKML , Shuah Khan References: <20230712193514.740033-1-jhubbard@nvidia.com> <169107392499.27633.6579477595845776477.b4-ty@rivosinc.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <169107392499.27633.6579477595845776477.b4-ty@rivosinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/3/23 08:45, Palmer Dabbelt wrote: > > On Wed, 12 Jul 2023 12:35:14 -0700, John Hubbard wrote: >> The riscv selftests (which were modeled after the arm64 selftests) are >> improperly declaring the "emit_tests" target to depend upon the "all" >> target. This approach, when combined with commit 9fc96c7c19df >> ("selftests: error out if kernel header files are not yet built"), has >> caused build failures [1] on arm64, and is likely to cause similar >> failures for riscv. >> >> [...] > > Applied, thanks! > > [1/1] selftests/riscv: fix potential build failure during the "emit_tests" step > https://git.kernel.org/palmer/c/8c82d2bf5944 > > Best regards, This is already in Linus's tree. I sent this in for Linux 6.5-rc3 c77896b143d3c9c3e84c4ed0662b807ccbd8730b selftests/riscv: fix potential build failure during the "emit_tests" step thanks, -- Shuah