From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4816142A5E; Thu, 4 May 2023 17:08:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3877641144; Thu, 4 May 2023 17:08:16 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 8D036410DC for ; Thu, 4 May 2023 17:08:14 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1ab0c697c84so4266535ad.3 for ; Thu, 04 May 2023 08:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20221208.gappssmtp.com; s=20221208; t=1683212894; x=1685804894; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tJABDJBrnaQHuTFSN+VH+EYyrzCdrJFDpp0x1s3MxAs=; b=nyJJ6YqIK0Bz/YSnMPUhLHu4JejMIZgGrIOqx7oM2YnI7LQy3yqIMS+opYA54mWo6K BSfpTKiCLrNs8XQaRFRhyVAap6Mfp1yRjePTwLx/KwjAF9b0DDCazKBXy6Phcz6sX4Ja 22nvMwMIZNgBPS8HXGlQY9+XGDYGDuvJ9XAUc+6j7+mx5kYnV+TDDhI1uNkn4oHwezUY 6py6xzmxnq9Dg8r4Usflpu89zrsRRzG3WKxDIF7C2op9e3ZAsdVzZigNCrLhYwLUI/vv NrUf5EHV7QXXRfmmM5dctyIDh2jpXTHtSDtpFa3jQ+y/CSeLefuX6PNy4R/EVEeV8ByY uKvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683212894; x=1685804894; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tJABDJBrnaQHuTFSN+VH+EYyrzCdrJFDpp0x1s3MxAs=; b=ToH82HuDt3Z4/iJTxMbuGrduZS1GQ4bW/47hxFZPv14TJ05a+mpgFV3EnobvXdbmKX BtUUdyVwzB0H6tlwt64kb3iEmOaq9k8GBg6zl/nzRIFFatx2ydFVK79JnhImhAC3E+u6 weNSdUvkjdbmhQ5QzWUdTlxFdEsMWEfkeJw2fjzxkqO6xILD2gOLPjkCjIT5p+7KJx+d mYL9viy6uTrGDw1DWvbnzSgTM2tJKVLTQwkJ+t0rAeogBuXESKRvMXslWV5xUDbu4D1X tY2ZSypYWJww9roPS13pRFdIwMS/R9SBId0SdzklTwPpqJXRNlKNYBvjcaegmKjMve/C k5GA== X-Gm-Message-State: AC+VfDwYzZWSekIBuMnebvBUGh227UYLe+6lZXpuwE8+6BSdk3T7hFQJ Plch58/teIYLa6h7m+UpKRaTwQ== X-Google-Smtp-Source: ACHHUZ7RWALBsUFG6OpqwtoSxAJQPfzNQTogDjiCnA6FrqqitnCjJ15jN4rN8pVkWJTrAECh8V8SBg== X-Received: by 2002:a17:903:494:b0:1a6:bd5c:649d with SMTP id jj20-20020a170903049400b001a6bd5c649dmr4379364plb.56.1683212893747; Thu, 04 May 2023 08:08:13 -0700 (PDT) Received: from ?IPV6:2400:4050:a840:1e00:4457:c267:5e09:481b? ([2400:4050:a840:1e00:4457:c267:5e09:481b]) by smtp.gmail.com with ESMTPSA id n23-20020a170902969700b001aaec7a2a62sm8426290plp.188.2023.05.04.08.08.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 08:08:13 -0700 (PDT) Message-ID: <0a075993-b671-89aa-871f-2317cc65faee@daynix.com> Date: Fri, 5 May 2023 00:08:11 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH 1/2] config/arm: Do not require processor information Content-Language: en-US To: Ruifeng Wang , Bruce Richardson , =?UTF-8?Q?Juraj_Linke=c5=a1?= Cc: "dev@dpdk.org" , nd , Honnappa Nagarahalli References: <20230414124139.66443-1-akihiko.odaki@daynix.com> <20230414124139.66443-2-akihiko.odaki@daynix.com> <5fc6d4d7-0e2f-781d-b0ab-8babf02d7b10@daynix.com> From: Akihiko Odaki In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 2023/05/04 18:43, Ruifeng Wang wrote: >> -----Original Message----- >> From: Akihiko Odaki >> Sent: Thursday, May 4, 2023 3:47 PM >> To: Ruifeng Wang ; Bruce Richardson ; >> Juraj Linkeš >> Cc: dev@dpdk.org; nd >> Subject: Re: [PATCH 1/2] config/arm: Do not require processor information >> >> On 2023/04/20 16:12, Akihiko Odaki wrote: >>> On 2023/04/20 16:10, Ruifeng Wang wrote: >>>>> -----Original Message----- >>>>> From: Akihiko Odaki >>>>> Sent: Thursday, April 20, 2023 9:40 AM >>>>> To: Ruifeng Wang ; Bruce Richardson >>>>> ; Juraj Linkeš >>>>> >>>>> Cc: dev@dpdk.org; nd >>>>> Subject: Re: [PATCH 1/2] config/arm: Do not require processor >>>>> information >>>>> >>>>> On 2023/04/17 16:41, Ruifeng Wang wrote: >>>>>>> -----Original Message----- >>>>>>> From: Akihiko Odaki >>>>>>> Sent: Friday, April 14, 2023 8:42 PM >>>>>>> To: Ruifeng Wang ; Bruce Richardson >>>>>>> >>>>>>> Cc: dev@dpdk.org; Akihiko Odaki >>>>>>> Subject: [PATCH 1/2] config/arm: Do not require processor >>>>>>> information >>>>>>> >>>>>>> DPDK can be built even without exact processor information for x86 >>>>>>> and ppc so allow to build for Arm even if we don't know the >>>>>>> targeted processor is >>>>> unknown. >>>>>> >>>>>> Hi Akihiko, >>>>>> >>>>>> The design idea was to require an explicit generic build. >>>>>> Default/native build doesn't fall back to generic build when SoC >>>>>> info is not on the list. >>>>>> So the user has less chance to generate a suboptimal binary by >>>>>> accident. >>>>> >>>>> Hi, >>>>> >>>>> It is true that the suboptimal binary can result, but the rationale >>>>> here is that we tolerate that for x86 and ppc so it should not >>>>> really matter for Arm too. On x86 and ppc you don't need to modify >>>>> meson.build just to run dts on a development machine. >>>> >>>> What modification do you need for a development machine? >>>> I suppose "meson setup build -Dplatform=generic" will generate a >>>> binary that can run on your development machine. >>> >>> I didn't describe the situation well. I use DPDK Test Suite for >>> testing and it determines what flags to be passed to Meson. You need >>> to modify DPDK's meson.build or DTS to get it built. >>> >>>> >>>>> >>>>> Regards, >>>>> Akihiko Odaki >> >> Hi, >> >> Can you have a look at this again? > > Thanks for the clarification of your use case. > Changes to DTS are in planning. It will allow the user to choose > the type of the build. > Your use case will be fulfilled then. Such a feature indeed satisfies my requirement. Thanks in advance, Akihiko Odaki