Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp168290pxb; Tue, 2 Feb 2021 02:02:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvDVn7suGQFZIZJ5DjrXcHIM2aGJaHDJZWMfMV7glHjiDzIWPcJnIWfUrRBBC5tPzT0Ej+ X-Received: by 2002:aa7:c94c:: with SMTP id h12mr23286777edt.40.1612260131801; Tue, 02 Feb 2021 02:02:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612260131; cv=pass; d=google.com; s=arc-20160816; b=uPUweoSyivhO7Bpb5g9wu3OdU+f8pvQo9Uhy1X8p8zdAITcc5p48PTZ94bMOSh60En 1EPySgSPiJoqE1ZNOY1eUXtm+9FafTf6NGSmJH1b/MGxiSZmmIuHa7TlhljYZKsNVQl+ BWITCIZQKGDSMLL984dmkKCE3bfCbT3sYjrHezSR/PFgKcduBvAxFOzRSX+37LHU5ckh om51xZGlRRx10w/k4buNuRs0RDL+NrX6LEqqIAw8a9Bq9xDOqBb7fD6uQZgxpn1vEuRD ididohCfEQ42H/9PfL2uyap4Jsi8HZwj/gObtxluXzy3NayZMridy7OQyzV9ihcOv5VA +K5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hK8uf99asdr/NvFpyOabOBY7USx3GtWHkI2i3eHv5Y4=; b=uO5OHGOYfKGU8db7kuwwxCKgNVyEFK6/VFlrHmOkSnTJhw7W6X9Du9FF5k3MegUKUo RNEqWAFuPH6dpL+uDlugAFlaOvQs+/s7b728V/Suz9FACAj4j+cpXeuDTTTxqyRwl+Z1 ksmLMez3fBV92lpYWIbTmglumqYJaCxYFidAfMKZ110TNAr+Ixzdjsbj/sGhmOsbX2D+ jUizHKr2zMEkWiZoLGRQRS/gGgvhB1H5LRQxYH73B7BiMxtkh+YLVdb4BX0Bbmm+56KY zYXIFfNB+ARPk4QnsNUfI5Btyq/SBFRqkPvPw6MXwROid+pbCzvRp7r6xikrER1y5b14 IUSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=mimecast20200619 header.b=Ss6kOwz+; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k25si4437461eja.702.2021.02.02.02.01.43; Tue, 02 Feb 2021 02:02:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=mimecast20200619 header.b=Ss6kOwz+; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbhBBKAD (ORCPT + 99 others); Tue, 2 Feb 2021 05:00:03 -0500 Received: from de-smtp-delivery-102.mimecast.com ([62.140.7.102]:43091 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230129AbhBBJ7f (ORCPT ); Tue, 2 Feb 2021 04:59:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1612259906; 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: in-reply-to:in-reply-to:references:references; bh=hK8uf99asdr/NvFpyOabOBY7USx3GtWHkI2i3eHv5Y4=; b=Ss6kOwz+hSJkYDdZs8JXRy7g2A3w/izfvm/GWJCsmgdMwcht5OZ1p6DqOi6pJGK8iDA4bG jVu9jPlId6PNnH6XEVv3U5NJ9Y81de3rxcZx1q50xmsOOv8ul4Rqv4EHxzWTASXs9ADzW7 NyV3kvSNlLUn/BLXDux55LQ2na1OcsQ= Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2059.outbound.protection.outlook.com [104.47.14.59]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-22-fa78D1ETPkemocAAankmZQ-1; Tue, 02 Feb 2021 10:57:52 +0100 X-MC-Unique: fa78D1ETPkemocAAankmZQ-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=flsOVfa6AeIaX9Czs1FaVfM3fnXv7Sy8l2qTN/WuG7qp/ZVMyCQRe7B8rY+pbPjGG+XCv3NnCx/07IF1WVEU+1YbodNkvSi1Rf88P43MQy26/ajvj8hA2DMLt/Oh+IAY5SUO5PoLHr3zhxw0MfPLcAhX4Tw/EQPaqt+G+GYEYjTNZcX+pmzOozo7OvVJzVVS4wwPuWG34+K/PPfueWnUKJYI6137BLnkHVopnhDyN+FdduNWgPQLHrG/KYl5iQINTdJtqOou0p4k3099LTvEBWFd3lHwSDPggv7HH3OT/IJ66ditcfyl4JALSqBC3IjJiNTaI5poRpSzCtYf24Q3RA== 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-SenderADCheck; bh=hK8uf99asdr/NvFpyOabOBY7USx3GtWHkI2i3eHv5Y4=; b=oIhLPulx21/kU4gfXRNJ+kdZ4qOt4hGrPeOXgIyLpgzAoiSIMUNN/HrU7EyW05x0ah3NOpyGOBnNx1ICam95xgqFrF9X3XpgXB0joCtTR/5KJexaQ66oOBnjUpa1UBLz3caaHuv5D4cLjPQLSNk1OkQSm05ZZHzKHTrzjgNFcqv/xVVJnsD9W0j91cLdPn42QChp9j6DnNwqg5bFNRpg60W2+f/LS5YwehGTsIGhmm5KGuRc+/o4U8ki0h94qh4eWdlrx3KyTaiG0ZJJra2TDApdwgKzqWWtajPgsp196qA3cxYOWzPFVJVOYy+UZBsoFFpzNRWJAGp1ZgyiEIiRIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: vmware.com; dkim=none (message not signed) header.d=none;vmware.com; dmarc=none action=none header.from=suse.com; Received: from AM9PR04MB7571.eurprd04.prod.outlook.com (2603:10a6:20b:2dd::18) by AM0PR0402MB3571.eurprd04.prod.outlook.com (2603:10a6:208:18::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Tue, 2 Feb 2021 09:57:50 +0000 Received: from AM9PR04MB7571.eurprd04.prod.outlook.com ([fe80::42f:77ab:ab6a:e1dd]) by AM9PR04MB7571.eurprd04.prod.outlook.com ([fe80::42f:77ab:ab6a:e1dd%7]) with mapi id 15.20.3805.025; Tue, 2 Feb 2021 09:57:50 +0000 Date: Tue, 2 Feb 2021 17:57:37 +0800 From: Firo Yang To: Jorgen Hansen Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, pv-drivers@vmware.com, gregkh@linuxfoundation.org Subject: Re: [PATCH v2 1/3] VMCI: Stop log spew when qp allocation isn't possible Message-ID: <20210202095737.shlt4sjsdriq2qc3@suse.com> References: <1611160340-30158-1-git-send-email-jhansen@vmware.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1611160340-30158-1-git-send-email-jhansen@vmware.com> X-Originating-IP: [175.170.255.99] X-ClientProxiedBy: HK2PR02CA0150.apcprd02.prod.outlook.com (2603:1096:202:16::34) To AM9PR04MB7571.eurprd04.prod.outlook.com (2603:10a6:20b:2dd::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from suse.com (175.170.255.99) by HK2PR02CA0150.apcprd02.prod.outlook.com (2603:1096:202:16::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.16 via Frontend Transport; Tue, 2 Feb 2021 09:57:48 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 773e79f7-1375-4599-53f4-08d8c761004d X-MS-TrafficTypeDiagnostic: AM0PR0402MB3571: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?bXhrT2FvT3h6ZTk0dDhuVW9lNUxqU1Vka0hPZVZRa0hKYzBxMnc4NTROcHpW?= =?utf-8?B?Mmk5N0JPemhxYXY3NlMwZFN6Ni85QVBLTDFiREhCVHhtYVNkSm1Ja3ovdWF3?= =?utf-8?B?MGU2SGNvUTVadk5tWEFMTitneC9JSk1kZzk2SzByWWxNTkN1VC9tbUJDVDNu?= =?utf-8?B?Unoxa01KUjR3OXlsWFlQZVdnbENvRWVXNmowbkhIR3plcGM4RFd3eDQvTm1z?= =?utf-8?B?dUxOZWkvLzBPMFZ6UktibDdxNWdMNy8wZzZmNWFQMjI1MUxPTlh1K3BGQVVw?= =?utf-8?B?SXppTjZNTHpJZUhqKzk4RzBlbk1seDU4bG8zRUhTWHpPaXJJREVCVlFubXRp?= =?utf-8?B?UGJXdHFGOWlvZDB0Z2U2b1ZTdHRCeHlLNnhLWlBMTFpsRVZrdk1DV3ZHNmtP?= =?utf-8?B?ODE0Qko0eXQ0N3Q2RVlnMEc5enJCYTc2UDNPWXNmdUVJODZtT0pLN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LI;SFV:SPM;H:AM9PR04MB7571.eurprd04.prod.outlook.com;PTR:;CAT:OSPM;SFS:(376002)(136003)(346002)(396003)(39860400002)(366004)(2616005)(55016002)(66476007)(8886007)(316002)(66946007)(86362001)(66556008)(4326008)(6666004)(83380400001)(8676002)(8936002)(36756003)(6916009)(5660300002)(186003)(7696005)(478600001)(966005)(44832011)(16526019)(52116002)(956004)(1076003)(26005)(2906002)(1490200006);DIR:OUT;SFP:1501; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?V3hwWjdQc0pTTzFRZnFaM0lrYWM1MXNPSkZoaHlmNi9FTm1tc1FSemVhNnBk?= =?utf-8?B?cmVRUy9jQk16ZjF5amdzK3R2U3VVaDBJelh5TktqTmRYOUFLdWlMTkpSYnUy?= =?utf-8?B?eEdxMlNySmowTmVHV3RCNXo1NmhHTWZHQWRTeUdJQk5WRUI3WS9ENkl3eUdL?= =?utf-8?B?WWlXUTBmTFVnaEZnVXBJd1BmdExiTlE0Y09TM1YrbWxteWp3Rm8xV0g0SUh0?= =?utf-8?B?a2R5ZXFRaW9LWWFpVmdLOXZxUmVFeGpIVUVBclRwdzZROWkxdVhTNzFmbWVl?= =?utf-8?B?WFpmOWNsT25CcnJPN3ZYak1uUDdmcjY2ZzVOYkdKRWxnVDh4d2ZCaDhFYk81?= =?utf-8?B?R2w5MTBjVmxnRjdaOUFYMnNYUlNGbnZxN1VOMkdnTk5NbTlqVU4xankzNzdQ?= =?utf-8?B?RnlFc3E1UGRRNndIUXRtbGJPNlMwSzgvcnlUdmRjWkRpU1VjbGlMUkRTdGZu?= =?utf-8?B?WXVVT1QwRXp4MUpHNThycjQwblZPYThxaVB4aU1vSUNVVkFTMDVuOFhMMkRh?= =?utf-8?B?dm8vSWU2L09CeEV1MkpkU3dDR2JCZDhZTG93ZmlYbG5NWTFCakJVWElyWnVD?= =?utf-8?B?eldmMW5Fc0NxRFdaY2V4ejJyY1lhcjhKUm9rT011aVA1eWRRZlZ3cEJhZXVI?= =?ut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7571.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2021 09:57:50.5699 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mz7NqG+GODiChCcf9QVlQcY1KireEaZE+e4dSD5nh5EKGwqjAKnukz4DhxL05ndkpBTU5G5EaF1FL7nvSec6Wg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0402MB3571 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 01/20/2021 08:32, Jorgen Hansen wrote: > VMCI queue pair allocation is disabled, if a VM is in FT mode. In > these cases, VMware Tools may still once in a while attempt to > create a vSocket stream connection, resulting in multiple > warnings in the kernel logs. Therefore downgrade the error log to > a debug log. > > Reviewed-by: Vishnu Dasa > Signed-off-by: Jorgen Hansen > --- > drivers/misc/vmw_vmci/vmci_queue_pair.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/misc/vmw_vmci/vmci_queue_pair.c b/drivers/misc/vmw_vmci/vmci_queue_pair.c > index c490658..a3691c1 100644 > --- a/drivers/misc/vmw_vmci/vmci_queue_pair.c > +++ b/drivers/misc/vmw_vmci/vmci_queue_pair.c > @@ -1207,7 +1207,7 @@ static int qp_alloc_guest_work(struct vmci_handle *handle, > } else { > result = qp_alloc_hypercall(queue_pair_entry); > if (result < VMCI_SUCCESS) { > - pr_warn("qp_alloc_hypercall result = %d\n", result); > + pr_devel("qp_alloc_hypercall result = %d\n", result); Hi Jorgen, recently, our customer reported that their dmesg was also swamped by the following message along with the message above. "Could not attach to queue pair with -20" This message was printed by vmci_transport_queue_pair_alloc(). Could we also eliminate it? Thanks, Firo > goto error; > } > } > -- > 2.6.2 > > _______________________________________________ > Virtualization mailing list > Virtualization@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/virtualization