Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1591507ybv; Thu, 6 Feb 2020 06:36:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxA0POrygY4jhWn1zoK3r43JMxY1bhSyQlxHGfz9Vq4VPwZDNKRdTSnD1oTJFnYA2uh6Jtq X-Received: by 2002:aca:3542:: with SMTP id c63mr7142121oia.135.1580999817232; Thu, 06 Feb 2020 06:36:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1580999817; cv=pass; d=google.com; s=arc-20160816; b=pF5VCyvMgRW2Jmj8NsBY1ijHHuXhWXvHv/B6rG7LXNxq2OuklgzeaB2Df242dirSrb BId0PJ//QrYwEgUq55EgbXxyCDCmc6xxcaH6VjG0+28Mm3fmBhwh7PppN6iHEhjWBfDX DmquhpDqYUoTOxhuh5QqTiqw6kMdSQE0WSPbxgtOxaO+Hg8n9yqUyz9ZfD+eqaprc2y4 mdIUiH4dNz95NNgLj1GEWcNva2rNvNcgTkGI0PB4+GxQ0S4kvOpvq/f5Bcn7Sh4NZQ/G lPp9//Trj/WQHW8XBZfk7bB0oyd9LQPEG+9zNAqovWacv4AVjOlaFO5ZRNZeFO7skEv8 1F7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature; bh=s4kAMfxPzTvQfHwjGMiM95IjpPHEZyE9ARG2oKE2seA=; b=Jgn5838Sd67WCPUJ1UbJoeBsph2VjgyPu5E0oVCtXcsAL9gAA4q+TKSGV1Y4wrb+Fc /Mkpbp2Eg9UNnGGT+7aejaRLWGjN6C5gC1LWJ/OMFXXmRdtFTTuKYoksnRv+z6GPsu94 1O53SN2b2OlJRIkLtVaERgPCrAC4wP4ZMn2F+6JrrPhRWc5xuORNs/KVTKhhP9UMbZQ0 7C/PK3rlVg5dpXsz0b6KrPGrKPdyF6vvHuQd2ntlpC1foGSaAg6q2l0CmGafwCEQRK+a 6SuQn1UQPq9SSMph8iG9wJ9w3sosiBAVPrcCsgwj5EUMGMulJJ1kkN6JeWnwN9O7hE9R YIMQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=UB4wxoDF; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si1989687otx.50.2020.02.06.06.36.42; Thu, 06 Feb 2020 06:36:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=UB4wxoDF; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbgBFOf1 (ORCPT + 99 others); Thu, 6 Feb 2020 09:35:27 -0500 Received: from mail-eopbgr40060.outbound.protection.outlook.com ([40.107.4.60]:37028 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727918AbgBFOf1 (ORCPT ); Thu, 6 Feb 2020 09:35:27 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RwgcDWwZRD32mMDps33Te0LlcQ7wiajK3pF1I4Q64bi3QaybDJDYvtqutLw1IcJ3h5qSz+hTNIN8V7BQeceRrndyMOZXuKa/Z6s2sxcrSx/OHgMWuGmFmRicYlnjrURA+BsRYCzM5B/lMy7pzbcMVMG5Gd0OrsXQIZavJDtelRCtWCUW/sDpKtBDGgIIFWyVfaJqhwqoQFBilY3B64blRjo5aHXPgrHObbturByT/qkQ1k6MAf3gFVhwp7TcYjXh+OnjezB0jZODs8oPIpGYOzC0K0XKoBSkfOub56eHBEEwi2Zvh+HW8KZXET5vOWu6qsv2xaZ7HfUkYIp+rBflEA== 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=s4kAMfxPzTvQfHwjGMiM95IjpPHEZyE9ARG2oKE2seA=; b=WGCZEfLcV/kQFiVs+UzPO4yceCufZQ7UJjlaf2G11cPy4k+dKhEd2TFd/MIUWDIg5qZeJn/KV4ISURmIkfXS+Xm9iQ/Z0gfXSrPoIG9/VWOJD93qrPN+vWskMqUE5sWwCvCwgsi8XX68hh4wbH8MLBjYEU6wFDx0dHtFL+2pCBJ+/1JRVuDYKZkhuczpd5AHMGDONb5aNIFbSb4ujRjFE9geiQfJPcop/S6HoLmdKiWyWGsjO/Cm67/4l3IhFUnZwUhmX9Lm8Id/djyLjqxxE0Q5pUtD/kpxgOz3ZzS1/Aii81feGftQDa+as3M6tVU+TMLZhV+7tAHSbTKnbrOdzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s4kAMfxPzTvQfHwjGMiM95IjpPHEZyE9ARG2oKE2seA=; b=UB4wxoDFYlIMtM7tc6sXspFoPSnYZJIKqDipQ2pfI8PeRuihvE/PHKCMM5YbdxTJwNUDi/gONUb+KoiHl9jGGFznWCkxAVbThVI/WUTp4H/89OGGi0B9bMRTUGXa7HfgulTQ9yTMOUp2+RRaESCAMX6SzhqapPee/ZhLvu31KR8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonro@mellanox.com; Received: from AM6PR05MB6408.eurprd05.prod.outlook.com (20.179.5.215) by AM6PR05MB4904.eurprd05.prod.outlook.com (20.177.33.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.23; Thu, 6 Feb 2020 14:35:21 +0000 Received: from AM6PR05MB6408.eurprd05.prod.outlook.com ([fe80::c99f:9130:561f:dea0]) by AM6PR05MB6408.eurprd05.prod.outlook.com ([fe80::c99f:9130:561f:dea0%3]) with mapi id 15.20.2707.024; Thu, 6 Feb 2020 14:35:21 +0000 Date: Thu, 6 Feb 2020 16:35:19 +0200 From: Leon Romanovsky To: Jason Gunthorpe Cc: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , "linux-rdma@vger.kernel.org" Subject: Re: linux-next: Tree for Jan 30 + 20200206 (drivers/infiniband/hw/mlx5/) Message-ID: <20200206143519.GH414821@unreal> References: <20200130152852.6056b5d8@canb.auug.org.au> <20200206073019.GC414821@unreal> <20200206114033.GF414821@unreal> <20200206143201.GF25297@ziepe.ca> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200206143201.GF25297@ziepe.ca> X-ClientProxiedBy: AM0PR07CA0007.eurprd07.prod.outlook.com (2603:10a6:208:ac::20) To AM6PR05MB6408.eurprd05.prod.outlook.com (2603:10a6:20b:b8::23) MIME-Version: 1.0 Received: from localhost (193.47.165.251) by AM0PR07CA0007.eurprd07.prod.outlook.com (2603:10a6:208:ac::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.9 via Frontend Transport; Thu, 6 Feb 2020 14:35:20 +0000 X-Originating-IP: [193.47.165.251] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 03bb7ec1-9b13-4037-8111-08d7ab11cb5c X-MS-TrafficTypeDiagnostic: AM6PR05MB4904: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 0305463112 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7916004)(4636009)(366004)(396003)(136003)(376002)(346002)(39860400002)(189003)(199004)(81156014)(5660300002)(54906003)(478600001)(33656002)(1076003)(316002)(6486002)(6916009)(966005)(8936002)(956004)(53546011)(66476007)(66946007)(66556008)(6496006)(81166006)(86362001)(9686003)(8676002)(4326008)(2906002)(26005)(33716001)(186003)(16526019)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR05MB4904;H:AM6PR05MB6408.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: weE7GGCBXWN92RrX6Q8JNOkObPRRz4J9zXNEBR/IG6MZcvzRWzWbwrlu0crnVQvzGdX9IyQ1f+rV5iEZBzH+XFOrtH0r1UouAnVhA1jHVaotEO86cUskz/d2q8wPRIVP7PWOh5Snp+g/pz6fuuVqn2UxIK2wiqrnsSOPc15trIZhGfGmbzBVjY114Kum0HebSUKMocJMVx3OyjrvBwPwcGxnHQCD2XqduUNHqns2CoPGr3HEmTQWsNI4tb40ytfgmDw7UMZ8PLV0oinjJCJ4hhJ7GSI48SZRA1wgdtzm0BV7jHjfv54+vV/9E1b168nct447v90j4qHc17kMPmaayhWi496BbLIx2ikatpHQZRZ22UeIoxQEVw5O3HmM7gdItjgtfcSn3JaVBR6ho/Ui3fCW4NNvtNp2y5e3q0VnSi9QViv+hHqcfFzxT3z0yiwjvPFvl5rq9XKP45Wqu2l6ESY7KMxlgdL5CSNyCok/DyCEC7dcbcuf9vpTaOi+iWf5pgEvgu551LS2G78a6A+pzw== X-MS-Exchange-AntiSpam-MessageData: j98p+KKh8L+WDpue832bxERTmDURES0tuqxcYItHQg0trnT7A3ed4QbMcKTwHMqFmS5URb2FpiVLDnNTt0rUqfjwShJ2otsvNHQKjnU8SVIUtvWGrsursDdyvWMnzyzSldLc60FStOWimwUGW/qFPg== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 03bb7ec1-9b13-4037-8111-08d7ab11cb5c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2020 14:35:21.2524 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: u/LUdzBWhI5LHiu/Ru3ilPa14lfgFqJ9ztZFSj8foi20zjtnR2fPX0+B3hUOQQDQXQQsxCkCF4MzENUGt/V73A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4904 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 06, 2020 at 10:32:01AM -0400, Jason Gunthorpe wrote: > On Thu, Feb 06, 2020 at 01:40:33PM +0200, Leon Romanovsky wrote: > > On Thu, Feb 06, 2020 at 09:30:19AM +0200, Leon Romanovsky wrote: > > > On Wed, Feb 05, 2020 at 09:31:15PM -0800, Randy Dunlap wrote: > > > > On 1/30/20 5:47 AM, Randy Dunlap wrote: > > > > > On 1/29/20 8:28 PM, Stephen Rothwell wrote: > > > > >> Hi all, > > > > >> > > > > >> Please do not add any v5.7 material to your linux-next included > > > > >> branches until after v5.6-rc1 has been released. > > > > >> > > > > >> Changes since 20200129: > > > > >> > > > > > > > > > > on i386: > > > > > > > > > > ERROR: "__udivdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined! > > > > > ERROR: "__divdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined! > > > > > > > > > > > > > > > Full randconfig file is attached. > > > > > > > > > > > > > > > > > > I am still seeing this on linux-next of 20200206. > > > > > > Sorry, I was under wrong impression that this failure is connected to > > > other issue reported by you. > > > > > > I'm looking on it right now. > > > > Randy, > > > > I'm having hard time to reproduce the failure. > > ➜ kernel git:(a0c61bf1c773) ✗ git fixes > > Fixes: a0c61bf1c773 ("Add linux-next specific files for 20200206") > > ➜ kernel git:(a0c61bf1c773) ✗ wget https://lore.kernel.org/lkml/df42492f-a57e-bf71-e7e2-ce4dd7864462@infradead.org/2-config-r9621 > > from https://lore.kernel.org/lkml/df42492f-a57e-bf71-e7e2-ce4dd7864462@infradead.org/ > > ➜ kernel git:(a0c61bf1c773) ✗ mv 2-config-r9621 .config > > ➜ kernel git:(a0c61bf1c773) ✗ make ARCH=i386 -j64 -s M=drivers/infiniband/hw/mlx5 > > ➜ kernel git:(a0c61bf1c773) ✗ file drivers/infiniband/hw/mlx5/mlx5_ib.ko > > drivers/infiniband/hw/mlx5/mlx5_ib.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), BuildID[sha1]=49f81f5d56f7caf95d4a6cc9097391622c34f4ba, not stripped > > > > on my 64bit system: > > ➜ kernel git:(rdma-next) file drivers/infiniband/hw/mlx5/mlx5_ib.ko > > drivers/infiniband/hw/mlx5/mlx5_ib.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=2dcb1e30d0bba9885d5a824f6f57488a98f0c95d, with debug_info, not stripped > > You need to link to see it.. I tried to run full compilation but didn't see too :(. Thanks for the patch. > > From bee7b242c2c6a3bfb696cd5fa37d83a731f3ab15 Mon Sep 17 00:00:00 2001 > From: Jason Gunthorpe > Date: Thu, 6 Feb 2020 10:27:54 -0400 > Subject: [PATCH] IB/mlx5: Use div64_u64 for num_var_hw_entries calculation > > On i386: > > ERROR: "__udivdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined! > ERROR: "__divdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined! > > Fixes: f164be8c0366 ("IB/mlx5: Extend caps stage to handle VAR capabilities") > Reported-by: Randy Dunlap > Signed-off-by: Jason Gunthorpe > --- > drivers/infiniband/hw/mlx5/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c > index 0ca9581432808c..9b88935f805ba2 100644 > --- a/drivers/infiniband/hw/mlx5/main.c > +++ b/drivers/infiniband/hw/mlx5/main.c > @@ -6543,7 +6543,7 @@ static int mlx5_ib_init_var_table(struct mlx5_ib_dev *dev) > doorbell_bar_offset); > bar_size = (1ULL << log_doorbell_bar_size) * 4096; > var_table->stride_size = 1ULL << log_doorbell_stride; > - var_table->num_var_hw_entries = bar_size / var_table->stride_size; > + var_table->num_var_hw_entries = div64_u64(bar_size, var_table->stride_size); > mutex_init(&var_table->bitmap_lock); > var_table->bitmap = bitmap_zalloc(var_table->num_var_hw_entries, > GFP_KERNEL); > -- > 2.25.0 >