Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp615273imm; Wed, 25 Jul 2018 03:11:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdnFmSUhQecZ2HeMasfI9NFkhf3t6it17eMKP5R78b3BJYORQJU27vx2C0C+7RpX/yaGJhH X-Received: by 2002:a62:9645:: with SMTP id c66-v6mr21593263pfe.56.1532513462528; Wed, 25 Jul 2018 03:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532513462; cv=none; d=google.com; s=arc-20160816; b=NGF562hzxvmyKtFDbx50CqlTS3xPEvwLYuswekFY9mizWJZ4vI3pqveRHO2kaeUeP4 SrJiIBYMBQyZsuMw1koEUk7Z7zMoAUtwX/zAX/+TV6WLVQHLtBY3xg1elXy4j4jkvI1a 6aKuGLhxo6V3iOQUypkJQ8HC5uga2HXbxaBNMLxp/2gMBwefWaIltD14DaRmOX3S/2vo L/HsQXWGThNt4ODXgVS3pl4xUcuk1uFXUeBZw3kNWf2GFt1hyhX0iYK7c/Zb+2Ow1SEJ HIlcadvMjD2BqidTldXXYJndBtvUD66U2Fdti4cBHbgWSPUzypguC1Gscm/c0aMEi9FL 2u/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=8fJy2UUZNWsTBrVloKGgVpp74fGwGR5ql/tcxDE0tVw=; b=aqDzvJ2ydiqCYZa2vJW2GmanHEUxpsRumcQnfY4yb6RwYFINpRHT25tvDk5bNJro20 STMzQb5KhXczlKGYuXVVflCh3yimqVTHjq9bFYYUF5VFCKO8W+JMxxhP/2/zd3VHD1GG U2hBN/vcHI8pQvbr+LzRXwkRlO84Kk0ZilCiQtjXo06Ag9UJAAAGJRYVD7E9BEkLwLYN inY6BTim5ApzGbH/DGOIklrdiwESdjCwqk8vuXaVUZcWu8C89tuly3kF9AOTqntp3aNR bfObxlminamUEfeyvVZqYAEgNo1JsPZX63VngJn4UvSj5cr/fIFB31Qzd1vj4864FCAt n+0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=c+eaOBnm; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h35-v6si13352216pgl.176.2018.07.25.03.10.46; Wed, 25 Jul 2018 03:11:02 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=c+eaOBnm; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728751AbeGYLU5 (ORCPT + 99 others); Wed, 25 Jul 2018 07:20:57 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54378 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728222AbeGYLU5 (ORCPT ); Wed, 25 Jul 2018 07:20:57 -0400 Received: by mail-wm0-f68.google.com with SMTP id c14-v6so5449829wmb.4 for ; Wed, 25 Jul 2018 03:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=8fJy2UUZNWsTBrVloKGgVpp74fGwGR5ql/tcxDE0tVw=; b=c+eaOBnmn0OA+DhSLp26WQ8eS5ZSYLvp3pPrdHTkmDidhjoZCKtB/j1GDjlGZD+R8M 2XCZ6ceX8Bub4N5+PDC7M+gn2MMEK77V+KSgd7OgMybY7UGy4UrkZwCrCyajLVypK+6q ucMNQ3hrGiLYH1B2iNscR9a7JG9HAf8lAEviVLhb59B3bIe46rdgTpyJvqKgZjxr443S gD/Au3ks1Ic4hlqUYxxRugs7V8eJKuSyiW94BeIl1t/Uy9sfLdE33D8ptgzHMgSHLgQz O2al3t5NQbCHtYTgyxFJIN5xdtQt4YbwcOgYJa1tyFDcuc1yHtUVJwRdj2MVKGcF+3f8 NPqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=8fJy2UUZNWsTBrVloKGgVpp74fGwGR5ql/tcxDE0tVw=; b=COzKs2R8T/X44zrZ6SbducoTrKTehwGhbD5wXda/LwJ5wtev3cG9RBDjEB1NNLYmEj TlcBQ60FIdoOo7e7k2QkLGfFtuWepvDw3yDAEMWpRf7W6F/0UTOe5ydV6R7LXI96XPRz mCFt0s8BxwRdNAQl3hFolM7eSkpKChtFlx00AtCpbpndp7+CQam8H9QXCy/05evhjWf/ YYtH6C29z+Vy3BddLK5MiYYmK7RYDyKas5ZTnoxT7E4HAMkDznm87GI0FgPE3bzvmYeT Q9zfHLAR+1hS768vyBXX7HvaGTz/gPAdJWfxr83079ALmb4wmBRdlaHxnTkFipszJCPD vApA== X-Gm-Message-State: AOUpUlE5R+ypeJw04OZSoEPxViW0DruoEMU0/BllS1s3nAQE8NgdMIwD X1XQZx0hTSLq4Wtd+c7bc4s= X-Received: by 2002:a1c:ad42:: with SMTP id w63-v6mr4538024wme.100.1532513395797; Wed, 25 Jul 2018 03:09:55 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id 64-v6sm13693456wrj.50.2018.07.25.03.09.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jul 2018 03:09:55 -0700 (PDT) Date: Wed, 25 Jul 2018 12:09:53 +0200 From: Ingo Molnar To: Anders Roxell Cc: riel@surriel.com, peterz@infradead.org, songliubraving@fb.com, linux@armlinux.org.uk, dave.hansen@intel.com, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: asm/tlb.h: Fix build error implicit func declaration Message-ID: <20180725100953.GA26481@gmail.com> References: <20180725095557.19668-1-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180725095557.19668-1-anders.roxell@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Anders Roxell wrote: > Building on arm 32 with LPAE enabled we don't include asm-generic/tlb.h, > where we have tlb_flush_remove_tables_local and tlb_flush_remove_tables > defined. > mm/memory.c: In function ‘tlb_remove_table_smp_sync’: > mm/memory.c:339:2: error: implicit declaration of function ‘tlb_flush_remove_tables_local’; did you mean ‘tlb_remove_table’? [-Werror=implicit-function-declaration] > tlb_flush_remove_tables_local(mm); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > tlb_remove_table > mm/memory.c: In function ‘tlb_table_flush’: > mm/memory.c:372:2: error: implicit declaration of function ‘tlb_flush_remove_tables’; did you mean ‘tlb_remove_table’? [-Werror=implicit-function-declaration] > tlb_flush_remove_tables(tlb->mm); > ^~~~~~~~~~~~~~~~~~~~~~~ > tlb_remove_table > > To fix this issue we define them in arm 32's specific asm/tlb.h file. > > Fixes: 2ff6ddf19c0e ("x86/mm/tlb: Leave lazy TLB mode at page table free time") > Signed-off-by: Anders Roxell > --- > > Ingo, would it make sense for you to pick it up into the x86 tree since > that contains the bug ? Done and sorry about that! Will push your fix out to -next as well ASAP. Thanks, Ingo