Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5593451ybh; Wed, 7 Aug 2019 08:25:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOkOGkier5pEybs1HOlEiPwApDxVlgwfFeRZJZE49ZXv/Zei7kMxXDnIzZzm1Qx2ZI5qFN X-Received: by 2002:a17:902:b591:: with SMTP id a17mr8334240pls.96.1565191507128; Wed, 07 Aug 2019 08:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565191507; cv=none; d=google.com; s=arc-20160816; b=v5f/djwgO9FD8ZoIW2wNXbw9TZih1tqxsXKipOztxbi9hhUEw2ZyrvS+UQHVYwGZfe uigcivSFGDKn60FoRkMuPbzeQyTkvFTOMMfYY/FMGg96OYzWGFa/gPNCVm19yVe+hX6k hdvWgisWzjG38TJTdhRJNRBHVIPuc2mQc7mkBIUz9maNoA5tMeXUZQ0PAO+X9jm6XRXW IRB9TPr6EmMdZTq56EDb8+9ZpI56linFbTGiIllN/bTnhJd8LJWkJ9ckHRWD1pGlByWO emW3gJ3RefVc4LPtt/bw/lDWSva9OJiH0ofMfqjGvOFGN4sUJMDX5Nl6hWmf6i26rCrU 1BaQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z8gvWTYoIMlTKn2lr/iVOZLAKdmikl4s7iYuaNlfEPM=; b=Y1/TBzciVmowgJ6KVsZDtb4P3CHpLw1Em6v/rapIRgC41FHqXs6Uf2DHmoTTxGCAW3 06Os1PR0tpWL3xzRPNniC4v7Ep9wFTRzHNWRLtHlUsfyIwhLHe7ct38NcUxYIbtix9Z0 NZfRkOuItfdyzdQOE29HhlN3SiacZT5sIZev1k85BcVX7croDfvLKOQZ0bbuRORNFK1+ hAg8yHc11xigHcz16e1kfUJmRN8zhaquwb6+QZZlfaKHxMX1hsrPovmKbUyyTSQ7ygvH yvjAfYYT9HNlWg4ZGADqRAPe7hmdXuVvZ4UkrPppjfxT8lgol0i+b4co/0KOR2qSMp+8 E04Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VotQQBsc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x126si77333448pgx.356.2019.08.07.08.24.50; Wed, 07 Aug 2019 08:25:07 -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=pass header.i=@kernel.org header.s=default header.b=VotQQBsc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388483AbfHGPWT (ORCPT + 99 others); Wed, 7 Aug 2019 11:22:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:53244 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388257AbfHGPWT (ORCPT ); Wed, 7 Aug 2019 11:22:19 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C833D2199C; Wed, 7 Aug 2019 15:22:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565191338; bh=fT682hdrISgNXZBslLUtKlTZkoUPbA02ONx4Yr2ztgI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VotQQBsc3UrvBQjlUi2YgwRp+DsSfCbJclFfcF8tHQ2WamyGB7DQGoHr2EFjZJuIJ Am+K9sRBsnXPEpkBFc1AuyV9eOOKjUFY+ENhRNvHCUumqBo2VtoGdOeXMSRjMILiSU sRfB8VINE57EjSFue1lZmDmMvytu5nWzOMyFXtys= Date: Wed, 7 Aug 2019 17:22:15 +0200 From: Greg KH To: Christoph Hellwig Cc: palmer@sifive.com, arnd@arndb.de, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/misc Message-ID: <20190807152215.GA26690@kroah.com> References: <20190807151009.31971-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190807151009.31971-1-hch@lst.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 07, 2019 at 06:10:09PM +0300, Christoph Hellwig wrote: > The sifive_l2_cache.c is in no way related to RISC-V architecture > memory management. It is a little stub driver working around the fact > that the EDAC maintainers prefer their drivers to be structured in a > certain way that doesn't fit the SiFive SOCs. > > Move the file to drivers/misc and only build it when the EDAC_SIFIVE > config option is selected. > > Fixes: a967a289f169 ("RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs") > Signed-off-by: Christoph Hellwig > --- > arch/riscv/mm/Makefile | 1 - > drivers/misc/Makefile | 1 + > {arch/riscv/mm => drivers/misc}/sifive_l2_cache.c | 0 > 3 files changed, 1 insertion(+), 1 deletion(-) > rename {arch/riscv/mm => drivers/misc}/sifive_l2_cache.c (100%) Why isn't this in drivers/edac/ ? why is this a misc driver? Seems like it should sit next to the edac stuff. thanks, greg k-h