Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4581804pxu; Wed, 9 Dec 2020 23:28:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/Eq03QdTPlCxZlelzU34KGVvZcQBnzVaWc/IBIviJ60jtW3km8RQZ76jXf98WEbQnOLkD X-Received: by 2002:a17:906:a195:: with SMTP id s21mr5335418ejy.146.1607585331786; Wed, 09 Dec 2020 23:28:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607585331; cv=none; d=google.com; s=arc-20160816; b=waR6CJjKQRcRcPzDne8uuGM5q/jtlNPcLSzzYjxfm3riJ1u5yzV3p7VjVNF7phvUam qpRxAONElpiCJAl1gnhJOX6dlLUKjYumPR9kMgGayDuYMTnFhkfns5HSSXPpf75SIQXF DBYEoLY+Fbuy4Yu3xX7ZGTgKmnJp6fh4jX38ZmhWii36KMsN8fpo3eQK6ZCUbV1t1OxW B0/Z0+sCLLdalnl50O0d5TleSjNUXWynCQkcvniY4HINpbALUYt1A06dpPjFuBwdoUyp DPc1NkVNk2QYBzGwWzD5sOW6dWIUKNz2QNMUvXyVF3f2SkId/OUV4/eMQq5pozUsNYZA +6XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ye2aSnJjX217xHUTyrjdBL8gLFd5rK3vrFBT0OM+VfU=; b=KQvvHpPoWq1PAxJCP+MA6Xpy3lb3fYb9G/ihVvYQ+vfXZmIL2/6ZstBnwZfFQvEyGz 5r7NasEXri7MQgn/RzM5RjyqpY8+TRavMuiN88ibI47lm7J4/RF1W4U6Ihg9oxeApjSJ tk6Dlpjg3s6M8XvhEn2pt++fuYYbpj4CTH60wdxqu9zUB6EMn1ziue2UCYCcqE2+kvcN gnWTHXlgkmsRAFt3BTwW16rprcBZh7Yc2ldHIMTriJWbzICQzTAggWD7c3/Ro/E90B3/ qan1Ft4rPQz6cMKtcUaGBMowv0FAyplnr95Bx+zHlqyyThoYb2K3djcZaFJhniERZkJr Qf2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Pkrw2geF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn30si1874521ejc.481.2020.12.09.23.28.29; Wed, 09 Dec 2020 23:28:51 -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=@infradead.org header.s=casper.20170209 header.b=Pkrw2geF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732492AbgLJGT2 (ORCPT + 99 others); Thu, 10 Dec 2020 01:19:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbgLJGT2 (ORCPT ); Thu, 10 Dec 2020 01:19:28 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0B63C0613CF; Wed, 9 Dec 2020 22:18:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Ye2aSnJjX217xHUTyrjdBL8gLFd5rK3vrFBT0OM+VfU=; b=Pkrw2geFluvRyAKwXKahvAtr44 USMnGC6mFVM/j5Z0D2x4P9aRs5sfujT7iOCGnY6njN5Dz6uJSvMuT5nqCUcQYBLUAXL1rZdhKaR7Z BQPSoEQ253ZSYLgeo/34twEw1o9tScrghi8oOia5tyQMDIlsiA88E9Tkr0NKZrfOab/f5rygAXgzp 10fFE+gHOdR8Us1Aw9yPC7nJxMdNbCdseofuLWchl1hghCiUgy77h1z/FLbLHD3OeSmYDgG8QUPQ9 4oHj/20/Ro7Lr08NupUenNcp9HOkZmdGeAKBy9WxqcHxAqwdTjCpU8z8MSkpUUX7d5Y0Or/n8KHU/ nyfFtcog==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1knFHo-0005XA-Az; Thu, 10 Dec 2020 06:18:44 +0000 Date: Thu, 10 Dec 2020 06:18:44 +0000 From: Christoph Hellwig To: Randy Dunlap Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, Tejun Heo , Jens Axboe , linux-block@vger.kernel.org, Ley Foon Tan , Mark Salter , Aurelien Jacquiot , linux-c6x-dev@linux-c6x.org, Peter Zijlstra Subject: Re: [PATCH] block: blk-iocost: fix build for ARCH with missing local64.h files Message-ID: <20201210061844.GA21126@infradead.org> References: <20201209204657.6676-1-rdunlap@infradead.org> <20201210060742.GA19263@infradead.org> <04828b4e-8791-6f3e-8984-9de06f40c85a@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <04828b4e-8791-6f3e-8984-9de06f40c85a@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 10:16:20PM -0800, Randy Dunlap wrote: > include/asm-generic/local64.h has comments about some $arch could do > its things better/faster instead of using asm-generic, but no $arch has > done that since 2010 when it was added. > > Is that conclusive? > If it is, why even use mandatory-y? > Why not just change all occurrences of > to ? asm-generic must not be included by non-arch code directly. So the sensible options are either: a) mark it as mandatory-y in include/asm-generic/Kbuild b) rename it to linux/local64.h and fixup all references a) seems much less invasive, but b) might be the better option long term.