Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5903179ybl; Tue, 27 Aug 2019 11:18:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzb0N85VpzV1x/NiP4X/HYOzsR68y/g/I5WhDghdqWreYrilaGDy1fWZokuEOMrcbUubKp5 X-Received: by 2002:a63:a35c:: with SMTP id v28mr22692261pgn.144.1566929888175; Tue, 27 Aug 2019 11:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566929888; cv=none; d=google.com; s=arc-20160816; b=Gr78Nfi4jSvOoGXRTXbL4NIyCQQ2imUiL3Mw/S8z12/xjnyr1BX717BmraSa/g/hO7 ySxO+kW3nM5ZN4clDGwtX9HtvJDV7xbPutsrPakdPKypQ2uGBB5HOwaKXRTyWnRRbJ2v nN396G9m+FC1mWGaiBw2YF3AWSTWvH2ZJmRo2QXNbrIcs7owqwG9OGL7+lrzP/KD5IKy XFOSkkvT4tMPIAeKx+utqz59v2/qc26y5A1ZDJ8x/pnGo3pJsZUMH2qkSVNnIS5PpaEQ QsVRHyx7ibOc/Mm1VwCPKCO+ua3Sj9lEfoQDiqGeWzD0bDQsgmE/xxR03io/jnOjomY+ o0QA== 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=stDqyzInPfGYOHpVF5bI10tFZLqSV5SEn9H8bg2QREk=; b=X4I/MpqrR18K4GT7s7Ee9sicelBYdqp5kAPVyWS3mBVO7j0GpkGVLnqsiW+wmQcsFy 3IZVEQPULFcuFeaGCzfttBE8RE4b9EhIaLdbvBdlvevxqYYDTOfsyrhLZWdBE9qwUmpx GFaN+Umo2JAdLjZs7vahzq1l5Yj8KWBQcjAlwxfyPya6V3Zv26KdQUNnwMpGkGcTF0U5 5ANzKuYrmYqsWsL65zGJg2LlNsB7ufNFu3XPWJhHXp2WVvwe/qiOKEm01sw0weq9JytU vaDj//j0KcDZ+ZvOaXS4qzRNHzQLJtZGFoVVoFxs+Jrw0qd9B/IXDVN5G0bNAjNN8wll gcJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z7Qf+zp8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si14435069pfe.271.2019.08.27.11.17.52; Tue, 27 Aug 2019 11:18:08 -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=@gmail.com header.s=20161025 header.b=Z7Qf+zp8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730513AbfH0SQx (ORCPT + 99 others); Tue, 27 Aug 2019 14:16:53 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:37455 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730376AbfH0SQw (ORCPT ); Tue, 27 Aug 2019 14:16:52 -0400 Received: by mail-ed1-f68.google.com with SMTP id f22so32505577edt.4; Tue, 27 Aug 2019 11:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=stDqyzInPfGYOHpVF5bI10tFZLqSV5SEn9H8bg2QREk=; b=Z7Qf+zp8XMv2+skujmXOWkcRCbkJmDslanNr8JCOlIdszHS+juQRf0PqfLYOPgnzPt 8m0jH4RBvXqIZfov3d3arewtyiUgBUtORStfHZ+PjxwbOSm09p5YO+kRo8uhYorcCnQO fwKYYPcWeGQP0i4WWuev/X79VIMOx4JtnmFGR9R0MOslAoh3MxjBMsCTqOI47+5qzDI7 2IBkWrCyYXbigQK7+YiZoHySLxmi29v1/x486GXWVTvgO2Scxtce/VD/9tgsUa9TzYUD 3deAIarczt9y1PtXmF1SOKqIR95ZuxxDWnL1OGHzOGFx+J+6p8sDUDYJo9xV7BifudhH PXGA== 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=stDqyzInPfGYOHpVF5bI10tFZLqSV5SEn9H8bg2QREk=; b=bq9nM7oW5FByVTYmdcJZwc+Pb69sr1q7G0/abLZsnmOhfDgCv+Di2ge2EGtqFOkMKJ mMhd2eLRAscs8gLJhkUnZO8ipGDfGsG+7w+fPuSCR43BOCRAYtvT9xzAs7MY2Fz23Y3b gOHyBZWq1oaaQel4JF9kp89RbljfDY+34UdwGBnYZNIFs3Jgu+qeeT9c+mlFRvlTMMab Bta9i7OK3VFM0bcmHGJgBiirI21gH8cWA/S2g42KjUHiOKzuuAAVMeTp9zTx+wE+lwvv IA01cQy0GgLGuTQamVs9C7evRVJqtlrWr8vf5VmM0ltUa/Rs/ZDbsMoibDXQ05nY3Uxn Rwfg== X-Gm-Message-State: APjAAAXYNltjYDK5SkYTqo2XfkLnBoygW/Kf6oGUvJWjUD3ct3XYSYjJ RB8j/KS+BQAkIQDi19722uIOaouTy70DiL1VgdW2Nyj8 X-Received: by 2002:a17:906:4683:: with SMTP id a3mr22189723ejr.47.1566929810659; Tue, 27 Aug 2019 11:16:50 -0700 (PDT) MIME-Version: 1.0 References: <20190822211514.19288-1-olteanv@gmail.com> <20190822211514.19288-6-olteanv@gmail.com> <20190827180502.GF23391@sirena.co.uk> <20190827181318.GG23391@sirena.co.uk> In-Reply-To: <20190827181318.GG23391@sirena.co.uk> From: Vladimir Oltean Date: Tue, 27 Aug 2019 21:16:39 +0300 Message-ID: Subject: Re: [PATCH v2 5/5] ARM: dts: ls1021a-tsn: Use the DSPI controller in poll mode To: Mark Brown Cc: linux-spi@vger.kernel.org, lkml , devicetree@vger.kernel.org, netdev , Rob Herring , Shawn Guo 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 Tue, 27 Aug 2019 at 21:13, Mark Brown wrote: > > On Tue, Aug 27, 2019 at 09:06:14PM +0300, Vladimir Oltean wrote: > > On Tue, 27 Aug 2019 at 21:05, Mark Brown wrote: > > > On Mon, Aug 26, 2019 at 04:10:51PM +0300, Vladimir Oltean wrote: > > > > > I noticed you skipped applying this patch, and I'm not sure that Shawn > > > > will review it/take it. > > > > Do you have a better suggestion how I can achieve putting the DSPI > > > > driver in poll mode for this board? A Kconfig option maybe? > > > > DT changes go through the relevant platform trees, not the > > > subsystem trees, so it's not something I'd expect to apply. > > > But at least is it something that you expect to see done through a > > device tree change? > > Well, it's not ideal - if it performs better all the time the > driver should probably just do it unconditionally. If there's > some threashold where it tends to perform better then the driver > should check for that but IIRC it sounds like the interrupt just > isn't at all helpful here. I can't seem to find any situation where it performs worse. Hence my question on whether it's a better idea to condition this behavior on a Kconfig option rather than a DT blob which may or may not be in sync.