From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta1.migadu.com (out-184.mta1.migadu.com [95.215.58.184]) (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 E2FB483A06 for ; Wed, 4 Sep 2024 05:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725429193; cv=none; b=orE0Dk/gM0esV4nCP2ZiFW51pZXsk+jl1ISQtpGbjuzwEvg7HE6BZc1ZZJdezzaWKglT4w90rc6LtP/k3BaSWkNrkjtZ88AezThVllhkkF8cDBH3fgaGJlhL142W6yGTeyjpwoXGqmLDsZX1mWOz8L8gSWLVWBMExZYtywd6dWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725429193; c=relaxed/simple; bh=fhTk26mDkyDUGVzuskSKnbdiVruN+y+HMzLsb2ser20=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hNAd+AhIII7qS1lz6VUgh56a4jvD/1tJJ+0dvo129gMa5n4DKPwRHsz/rqq1RsWfWOQzBfUZB416aPJOjwTK6kChPjLo2Kr9CFzE1oWEmP4Iw9tL8oOkSf43qq3fhpbvFe7f+t2jcGs4JIx1HxKOKkcogN+IxCFb6IOpu2VVzs4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=w1xRgjfp; arc=none smtp.client-ip=95.215.58.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="w1xRgjfp" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1725429188; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fhTk26mDkyDUGVzuskSKnbdiVruN+y+HMzLsb2ser20=; b=w1xRgjfpN8Z3Uu7j4hjrWTOpdPt5zAGyDVd5Kq9SfoQbzx3raP27I1X4a2q1ZN2L/Gd9F1 Dt/aSCMDfhftM6qed7ayC51eHw8kq5aMynE0W3R0jzL32L8lgTaCXIamfno5vkLWL4MHW4 zCVQ7rFS7bOiIeh3mFwcjDB2IJwsiXs= Date: Tue, 3 Sep 2024 22:52:57 -0700 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v5 8/8] selftests/bpf: Support cross-endian building To: Tony Ambardar , bpf@vger.kernel.org Cc: linux-kselftest@vger.kernel.org, Andrii Nakryiko , Eduard Zingerman , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan , Ilya Leoshkevich , Quentin Monnet References: <419d9f3b772a09f1db62b9bc484cb1e69336a444.1725347944.git.tony.ambardar@gmail.com> Content-Language: en-GB X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: <419d9f3b772a09f1db62b9bc484cb1e69336a444.1725347944.git.tony.ambardar@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 9/3/24 12:33 AM, Tony Ambardar wrote: > Update Makefile build rules to compile BPF programs with target endianness > rather than host byte-order. With recent changes, this allows building the > full selftests/bpf suite hosted on x86_64 and targeting s390x or mips64eb > for example. > > Signed-off-by: Tony Ambardar LGTM. Acked-by: Yonghong Song