Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3623434ybl; Mon, 19 Aug 2019 23:04:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcXMU0aPXCbVVmMq/KIRkqI6GLrIn3FMEKSY7T2sWK8yOwPbarN/xatszJR3WEfrj4I4Fx X-Received: by 2002:a63:3c5:: with SMTP id 188mr22670367pgd.394.1566281099560; Mon, 19 Aug 2019 23:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566281099; cv=none; d=google.com; s=arc-20160816; b=yVYbdR7QsSxPHoXnMTgoVZDT0cyspmqA+Q8t9e4r1l6nwoYzit3nwpdNqA2QQRlhiK zEKEl/q8Qu14Z/vfUsmmi1WA6FyYPO+cODK7u/B9kkmkp2LOliZv5W2B11xiIqxrnNd+ rQk3bnY+aS2UPBQr6WFiTVZALfFYMt9n+RZzt/pSjdJANXYQDf+Mc+uPOP4snoIfuanV vFDrVM3BDVJ1/8XA8DiYh2ruxKAdAynWdidY4gV9EPAxXI8D+Y/6ldhdWsNImURrznsB ZaOhL+frICagfcVlXOAfqwiTnrU5MLLAc1RR7k3T8hjqjZP9Avx4KNo+3k/x3nhFk8W2 D9fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AEususRD/p1RLs1UC0IHIQOxqNXf3vrCgl3jM8yPylM=; b=nRVt/ttoL7kzFzQ49BACAlJ67DKB3y/9E8hn0Mb2zHNG/rCzkGZEHrHM1mchTNKOWj H4Y3Jtm0dczvis/kv+22HbeUTzrAslDxb1obtShZ9bduFCMkOXR7sNQntbM43SwsODsc lumpAQiA2ueux+TrKl36SpqKpQ47xODBDUJ4omt9xQOrdxVE2rYYHVxz8uMOkQdyUg/t Owl/WNZ5zxtyslfa3Gf6mlQhnT9iraHOFEF9gTqvCC/rtJVI37LZWm/rKcFForLLAjhg KHxiHAqx0O6nir0yYbLmuqDmknNrqUfceZTHwZAGFsVeOSWqqVH6FWheDw12anLM2dKF PuUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=ZxUq3Kp8; 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 o93si10367497pje.38.2019.08.19.23.04.43; Mon, 19 Aug 2019 23:04:59 -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=@sifive.com header.s=google header.b=ZxUq3Kp8; 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 S1729168AbfHTGDq (ORCPT + 99 others); Tue, 20 Aug 2019 02:03:46 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46507 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729024AbfHTGDq (ORCPT ); Tue, 20 Aug 2019 02:03:46 -0400 Received: by mail-lj1-f193.google.com with SMTP id f9so3935747ljc.13 for ; Mon, 19 Aug 2019 23:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AEususRD/p1RLs1UC0IHIQOxqNXf3vrCgl3jM8yPylM=; b=ZxUq3Kp89/RuJJxAjlEVsnBbqb9KmnuT0R5zHGHBdbrxaNlezCCVDq411Tluue2X3v CDV6Ry8uDcWi13dhGFs7qsDEhlLxNNzLxjmtdJWBzT3P4CHbdCRazpwfAOBgotYmutMp xwT4O23Hh5DQAh5thGp7AW11u2iB2gD50z1FKawJ1U2Eqr31jQzvlnC4rXrJtvSybPGT ovUThUB48Tx5llHOHCvvg4c8ZwTUWrYJqLrzY5lKFawC+QJYoHEt2h5okvRt4Vuz3Llx gr9bpAj06ZBXeU96INjnwPzds33RNXp1tjUkx9TRFcASyo67IySLzVipyeXyA8XA+n8o vW+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AEususRD/p1RLs1UC0IHIQOxqNXf3vrCgl3jM8yPylM=; b=rEJxzkWPm527jRVr/taUKKShnsyn46asyi2DP/7jqalPPheI5mZ8tUmY32dUKE7ve5 a/hKoQFIAqFItboGra0ULdfkE3iM39FRorKWdCP2gZoYyuBMZaewYJqBrg2chO6jyds0 jY8HAocl5yqxW4qGFBw6N0PU0HSTXEPlrs4L/o9hdKjQtiHz93082ql73pWoOgR/lVMv XFNHOUD0oNgm7K3e62nXIFoVCvMql3ipGZDbSc85UmR4LpRW3xvyIxrmBNwqTiqQeKOK tucpTo39/t1i6buH5SoSpScPA1x0ntZKiHcFG37ZVuQ++1rSPsHQ+aeWwZxLkYGssnMi J+Pw== X-Gm-Message-State: APjAAAU4B66bpL6D1brwNJ8QpDJaMFOBA5Lzr+vvoc7talvxmVcF/Izi 9N50S9KE5IWDC/2ZzLBhH8EUHo2M9M9WXly6HOjscQ== X-Received: by 2002:a2e:9f0f:: with SMTP id u15mr14579422ljk.54.1566281024086; Mon, 19 Aug 2019 23:03:44 -0700 (PDT) MIME-Version: 1.0 References: <20190818082935.14869-1-hch@lst.de> <20190819060904.GA4841@zn.tnic> <20190819062619.GA20211@lst.de> In-Reply-To: <20190819062619.GA20211@lst.de> From: Yash Shah Date: Tue, 20 Aug 2019 11:33:07 +0530 Message-ID: Subject: Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc To: Christoph Hellwig Cc: Borislav Petkov , Paul Walmsley , Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-edac@vger.kernel.org, "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 19, 2019 at 11:56 AM Christoph Hellwig wrote: > > On Mon, Aug 19, 2019 at 08:09:04AM +0200, Borislav Petkov wrote: > > On Sun, Aug 18, 2019 at 10:29:35AM +0200, 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 changed recently so I guess we can do the per-IP block driver after > > all, if people would still prefer it. > > That would seem like the best idea. But I don't really know this code > well enough myself, and I really need to get this code out of the > forced on RISC-V codebase as some SOCs I'm working with simply don't > have the memory for it.. > > So unless someone signs up to do a per-IP block edac drivers instead > very quickly I'd still like to see something like this go into 5.4 > for now. As of now, we can pull this patch into 5.4. Later, I will review if per-IP block edac driver is needed and if so, will take care of implementing it. - Yash