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 DA2D542B6F; Mon, 22 May 2023 11:27:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE007410DD; Mon, 22 May 2023 11:27:56 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 78A14410D1 for ; Mon, 22 May 2023 11:27:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684747675; x=1716283675; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=mILkASD168nKwXB+QILrxHww3ag5/AoFDe+4u4aWTYo=; b=Olw3luY8JjXhFF8joWV8U89pRjeP05SeUVIWu6D+Y7D54wylNjv1xFQg rtSWraNM6I9K7YOttCP0g5UwGKYYX/2bx43Lnw51ffn0Dbk/SwXvnXSwK 6n+HQIWvvcjFW66DqJ3t5hRymhss7pDlWjQWqh8gHNa8IVpRMdsE/FHJJ LdVmdbkdNcc6mW6vYASAsbs1t/gwuTLoprdMmHwiNARl90SsOSNbTB629 PxNZajwYaObM/weKVcGFy9EQKmsHSJaX03fhGFBUMr2JMAndz3pRqwD/y GNKlN9oK7XmWHbPjIm8D1cRi15t9JXdSAUtHLPY838v9JZDf5k9AzOnue w==; X-IronPort-AV: E=McAfee;i="6600,9927,10717"; a="332482846" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="332482846" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 02:27:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10717"; a="1033550930" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="1033550930" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga005.fm.intel.com with ESMTP; 22 May 2023 02:27:23 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 22 May 2023 02:27:23 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 22 May 2023 02:27:23 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Mon, 22 May 2023 02:27:23 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Mon, 22 May 2023 02:27:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IjmgAIpfdQIEAE5TA7dEd3GjzQcpIGrr1YYgfFw+xFNQHhV1IPb4npc8QH4M+qnoefWtVpZuQp8m2tgZBNsywl2j9a9cjCUWY34VbUO3RLoHvqjPeL2CCrQjyDhnGf2XB9SsWMVOE3x3rzL45HD4hEq6iRoWTHiPF3lb4BT74MuHb+aquHLQOudXtj4ga9Z0tS00aZeImYuVum05LqRRebNDv42/e//V0ysO7K6c2q+4MlFX2K6oLESqX8Lfo6HkJXzoJnJsVBrXPFFgE3z7z4CesXRUb+n4xIlTgaihBAWktlNcxmkd16LBY8BJ/PJBESH6sm5mKiNJwgf9BZjWXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UnvUMiL9By3oJksgvMTAyqDsOyloQnemc1qs8zFlzY8=; b=iOwi57cZeUXfzWpbayApR02tg5jM4YGg8/4h1qEDp8M3qVeBUVN9w4sJde/tXKXIsRV5tWAQx7bkzLL2buVh9BPcank6NVmcKQ70xCfhAP0WroP2gHn8FzRKvwGl7+RAMI8u/tNyS/FiNJ0GFwsMpHpvpKP2CdV/Hqmyb2PaflIaa1+3AtwJjfXhdZ6/BEFnpP337kgKlnWHeJOWkLGPGS+BW4+UmieN0onG9i3ewTz6TNsuPPp1BQZVyKzNShkA9x8pXTDKJH6M4gqSu0iZYWc39J4c9fGd9Iw+B02MmaaFuzS+LM5nS5rxEJ4r4hN+T56kVDSPU4K3WnrXT+nG8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by LV8PR11MB8559.namprd11.prod.outlook.com (2603:10b6:408:1e6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Mon, 22 May 2023 09:27:21 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718%5]) with mapi id 15.20.6411.028; Mon, 22 May 2023 09:27:20 +0000 Message-ID: <9ebbc874-a6b0-b2f0-8e3b-e1f7d5bd0e8f@intel.com> Date: Mon, 22 May 2023 10:27:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.0 Subject: Re: [PATCH 1/1] vfio: Make buildable with MUSL runtime Content-Language: en-US To: References: <20230520180730.5789-1-philipp@redfish-solutions.com> From: "Burakov, Anatoly" In-Reply-To: <20230520180730.5789-1-philipp@redfish-solutions.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB3PR08CA0010.eurprd08.prod.outlook.com (2603:10a6:8::23) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|LV8PR11MB8559:EE_ X-MS-Office365-Filtering-Correlation-Id: fd2531bd-3a21-418e-65ee-08db5aa6be2b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cJ+hY7N4StOc5D0smv3u102KI9uObuyS9s/KIj33lqozGT7OQZSlo97U2OOZOvglCuUszTLmqD/Hd3p00h3stCvtYwVqAIVx59Utf3RfPyBQvhrC1zvdJ+KcKiu12Uqyw7oqa0meiUfc+M3vD1K1okE0sGMCRHDNNqx2q9r/Pn2k76UXOH5kThZH7isei24O6xwuluoLhwfwv7bG+cwBRi3vTpQ5URDIjJaE3MNO98/rDqSl/1O5TuaDpRsxJiubylhxhG8Sr9mLXFtwb/2zdVyJDlWZXxdhPfns4EX86Vzn4q/Su1WtgrMl/ejctbCmF0QFghjSk8imHlkwOgE6dYjLCAVyCi3rXPQvnd1jgJun4EK/wVQYe8bKw9x1IXGxMwlgCFdYWOVkgbbpVruWNPMNJCSmt0rlr+f/nE5jL8d2GnG2VtDKtYYQKPORddImjc0Z9YbDgERw8XNymJrNiSeKPCCKkpYEd+70sBjAx9VvQkco99cOKgy2io5SdxSzGJeb3wDbEak+9pZWzfRGtzYqizUOq4qGKppVkISXXdDbZFDnnk8Mr7jfZM6PhiWZ1mvzuY/vvYZ2iSiBjPzC6luGvvUsCO14XF6dIBZ5ERmFDRbX9atmmNiAaSBLCFVzfxH2k7gd8338VxQFeUCRCw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(376002)(39860400002)(346002)(396003)(366004)(451199021)(31686004)(4744005)(2906002)(5660300002)(8676002)(8936002)(41300700001)(316002)(66476007)(66556008)(66946007)(478600001)(6916009)(36756003)(6666004)(6486002)(26005)(53546011)(6512007)(6506007)(38100700002)(2616005)(31696002)(86362001)(186003)(82960400001)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L3Z4aGZtVzhoSWN1N0pnUitGeFg0OHZFR3lubW5zSDF3T1JRRzlJWityTFFE?= =?utf-8?B?SXMxSGl3aWhTS2MxVDVta3VtT3hIaldYc3ExY1JEcWxkSnE0WlJ3VUFLeWdW?= =?utf-8?B?blQ0L3kwUDJVYk45bURjbnF1TmpKRDEyUGkzUWZpakw5QVIyQTNic3ZzKzA4?= =?utf-8?B?Y1Y2QmpSUHEvMk52cTc0U3A2QzlQMW1PQ3BRNDc1Vll4WWFURlhpL3ZuVWlO?= =?utf-8?B?ZEdUOXQrTDlMQmZrb1A2MnFiSFY1b1NLeE5ZVkJUTXN2Qmw4S08xZk5pZjBp?= =?utf-8?B?THUzV29uelcvVHlKUG96clFVRWVMOVZVOE1qSmw1TEJZeE5UclB5TDRCZEZL?= =?utf-8?B?NTZENDNYZ0FvVnM4UFJ5O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Zs?= =?utf-8?B?ZWc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: fd2531bd-3a21-418e-65ee-08db5aa6be2b X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2023 09:27:20.6879 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3LTKLHycSLpp4tOc47v6mLs8vcGR7yVsA7l3d2c0bZBvwIwXKntSwrcKBiNyw3g4dFzZyhE2DmA4ykKJyu+ZO+Ijg4+4q5mqlwDtqftjYyw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR11MB8559 X-OriginatorOrg: intel.com 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 5/20/2023 7:07 PM, Philip Prindeville wrote: > From: Philip Prindeville > > pread64() and pwrite64() are declared in in MUSL and > other (i.e. not glibc) C runtimes. > > Signed-off-by: Philip Prindeville > --- > drivers/bus/pci/linux/pci_vfio.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/bus/pci/linux/pci_vfio.c b/drivers/bus/pci/linux/pci_vfio.c > index fab3483d9f8108fafaff6d022cd41165d1ec5a61..fe83e1a04ec2e7a891425144be3e0aacecb24f09 100644 > --- a/drivers/bus/pci/linux/pci_vfio.c > +++ b/drivers/bus/pci/linux/pci_vfio.c > @@ -2,6 +2,7 @@ > * Copyright(c) 2010-2014 Intel Corporation > */ > > +#include > #include > #include > #include Acked-by: Anatoly Burakov -- Thanks, Anatoly