Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp305678pxj; Thu, 10 Jun 2021 00:52:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXb+qT+Z+E/m8BiC6QUJYBYb/UEhmgB7iO38SzRhNTJq8H2ceCqGhw9O90ws9YU/joPONx X-Received: by 2002:a17:906:488f:: with SMTP id v15mr3225548ejq.428.1623311558627; Thu, 10 Jun 2021 00:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623311558; cv=none; d=google.com; s=arc-20160816; b=DtCw/JFZwwTA9es+GCacsbpTCMTtMm1l4IZ2/WLsqOVC4nCHyaY7CB7SWO+Pc0Uwk2 V/hY00gWDSlPNsRLLSdpo/tPvYGKky/G+ytMnCDBGe8tVBk2rd4fn2xNfB7t4ruKDybV Gg5S0DvSXMXjP8w1Snj7YYw1Oi6eEpASI1+1FHXrHF0UI+YU/ETCb4sVp8HAncP155uJ Ddf4u1ncrOHisIhXD95+zsvnOPXpUMu3KYTvutJFeacbG/InJUeU5esZzOxrHczJQz2h xz8sznczLVRXXv8PB3fEmLXHYvQA0zir0WwlmsFYhdEy/67VPU4cUTqi+JUdR+QHBp0O ZkEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BV0mX6VHU5X8dHAexL1PQHyIj2OEzudYmOcUzeY2MX4=; b=08Srm76aGGZeJ/PFyNYcp26yrmOyU+AOwKVD8E/5FsmFJZvJJtUUtQzTXvOvn6i6pn rrrnSqDZTs4Mb1SBqDU3usZS5FO+iMdanO1sxaaUkd8jXVsj7+xYYXf9LklYG2g+fAMq xWnzvlNvmAbgJKg9hJFPFMvQDYgRHL8jGTBgANm6ksppXMFGlDAYq1pQNddG23egyds/ 7qO3d29VTJK2Nn+W53R/lp6kJRlYKWVtqqrdeLtWJw6U9Rjp8ud4KN34guz9eU/vKJiJ S4Pi8aEC98t5a9jPcpuaZbTKGwthZJXKmj4fNj+cK5x47IJPWArJ/bSN44W7W1G8ElEP XrMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AdvT/igY"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si1701063edw.373.2021.06.10.00.52.15; Thu, 10 Jun 2021 00:52:38 -0700 (PDT) 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=@linaro.org header.s=google header.b="AdvT/igY"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229980AbhFJHxR (ORCPT + 99 others); Thu, 10 Jun 2021 03:53:17 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:33574 "EHLO mail-lf1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbhFJHxR (ORCPT ); Thu, 10 Jun 2021 03:53:17 -0400 Received: by mail-lf1-f48.google.com with SMTP id bp38so1771171lfb.0 for ; Thu, 10 Jun 2021 00:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BV0mX6VHU5X8dHAexL1PQHyIj2OEzudYmOcUzeY2MX4=; b=AdvT/igYobAKGf9/uDLDpNApWa3Pq6oV7rSkMR3xAYpt3CF1g7hBOIQXtIQnQnfLcg V9MCCOKKAbHgP6RiOfevPWvrGybrM0Uisq1KLDzOUrRYmAiMGJf4xjX8wG0zGPaKrC2H YtjNivLvnvqdYnnpF5TPK9UmUlmTSguPrDj30cheFYhIeKrdcGvDUn0VHt1DjPqlyISP wivifzrYIDWZN+HQJegNQQgvR6Yf9NxaB2YBqkfqwbHZjfXWNuu+wZQ120m3N83COajN pMoqB3XHUVSNPnWkV8KMdiR6S4l1UuE99hUPw9UX7pd7CLJj6lSgNilo0vQ6pn76sXTS eiGg== 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=BV0mX6VHU5X8dHAexL1PQHyIj2OEzudYmOcUzeY2MX4=; b=jePQK9mdk2hjh0bREGhpP+M+GVR89i8K8KT5SzXac5qWTKwJw8ICmwUWIW+XVJnhIh 6ol8UpoKF7H5FeRjxlgeQMKqoJFARBHkDSyx+kS2j0JGLP14LAmF4o+cHXULhp+ny5++ Gju5nfS8aQdSxQUNol+/UrslI26EfibR2xVOoei5ay0eoBx00WcAKztlly1Em04ybHgS bKyuQZP38Z6vNzasZ0JH+WQypW3VNcUe6dHenvFdKwnv54ysYKMj1rpa0WQ5GjqoEQjR G4t8wqgSywxupHvuofEoRH1cZrfblPaGFXZV2kgUXSPYThse8gb/Gavpa7FCDCVtmF3s 762w== X-Gm-Message-State: AOAM533I1qiW5gnObkCMFHcH4vCkTFa0zhmt+FacLV18zT/SksV6bnr0 ZDwgLuz4g3X6iuhE8oYqsg/vOh4nFfrVWzOkH657iA== X-Received: by 2002:a05:6512:20c9:: with SMTP id u9mr1074510lfr.291.1623311420585; Thu, 10 Jun 2021 00:50:20 -0700 (PDT) MIME-Version: 1.0 References: <20210608102547.4880-1-steven_lee@aspeedtech.com> <20210610022416.GA27188@aspeedtech.com> In-Reply-To: <20210610022416.GA27188@aspeedtech.com> From: Linus Walleij Date: Thu, 10 Jun 2021 09:50:09 +0200 Message-ID: Subject: Re: [PATCH v5 00/10] ASPEED sgpio driver enhancement. To: Steven Lee Cc: Bartosz Golaszewski , Rob Herring , Joel Stanley , Andrew Jeffery , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list , Hongwei Zhang , Ryan Chen , Billy Tsai Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 4:24 AM Steven Lee wrote: > Per the comment in the following mail > https://lkml.org/lkml/2021/6/9/317 > > I was wondering if I should prepare v6 for the currnet solution or > I should drop this patch series then prepare another patch for the > new solution(piar GPIO input/output) which breaks userspace but is > better than the current solution. I would say just go ahead with the new solution. AFAIK Aspeed has pretty tight control over what kind of userspace run on these systems. BTW please influence Aspeed to use the GPIO character device and ligpiod https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ if you are doing any kind of userspace GPIO control (which I suspect that you do). Yours, Linus Walleij