Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1420602pxb; Wed, 4 Nov 2020 08:28:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyF3OM+HgpBXzOi8LkOUoXontuz4pHFPEdhD86kp+TbszjdwwvCjZPG18HzOOQ38DsE05YD X-Received: by 2002:a17:906:1804:: with SMTP id v4mr26380961eje.201.1604507307637; Wed, 04 Nov 2020 08:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604507307; cv=none; d=google.com; s=arc-20160816; b=A4Gw9ctRubrqwLuWqsULRiBeHRGkQC4YHiQ/QLOtELOwZX9qKeFPaj7H2llUA1FriY HgM8jjhTAIPXCeE1SYa7+9iOnwlF8hQjanIlWeM5NCU0xQu5XLd9Iukzr3Y7fdUq3uka l322ef5MO21QkMpMlQyTnivjW3gJNTVBOsqBUZcFlAJjXTMNIpV2A8e/VRW+awtoMxqR cxC9iNkADnX5jBEfzNavt8J9odnHvQjUAUIFVIJ8jnYyUqRyfp/7nZ6K/HYv08eBYoMh M75uFxradyKe4nluyLwbH2ci/b1Ew6tNERysunANaorpvW5SNWmlkCkbR5V5bkY9YoI2 ukog== 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=hGHEBXl4t4FlUOwwa4BejHx4CUe078KEVor3Spe3A/A=; b=YTcF1MCBtWJY8WNWZokkyFUrMl4L1ik0yOFt/05O4pgYi4VUqgpPUavJo1WFDziL3F tidKmusQSG422X89q50yZWTB2KKVTMwIAlGPbF2RpNsZF3v4pmimRqeKXVmgI7uFJooU MQIhVVCtBtVzsu4xAf5f+AMttsxaRlFIE+s994GT74wx+EzWarUoYJ3k1pnttdPZ1xhx Uyo6v4ZgVuj7DHiY12qS0a2NhCx8imP+IVhwSo2Rvc4Gnb2wr7ph2etUkhxAlM9yImUJ v9ig6fdrakbDw8HWeZ2dIMYzkFoqPdnpg/nHrOrK/E5xe8FhRydz9w/PaZOOQtioOwQt hDoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=w8JUSM0f; 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 b15si1598142edk.374.2020.11.04.08.28.04; Wed, 04 Nov 2020 08:28:27 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=w8JUSM0f; 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 S1730774AbgKDQXl (ORCPT + 99 others); Wed, 4 Nov 2020 11:23:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727851AbgKDQXl (ORCPT ); Wed, 4 Nov 2020 11:23:41 -0500 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 058FBC0613D3 for ; Wed, 4 Nov 2020 08:23:41 -0800 (PST) Received: by mail-io1-xd41.google.com with SMTP id s10so8501211ioe.1 for ; Wed, 04 Nov 2020 08:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hGHEBXl4t4FlUOwwa4BejHx4CUe078KEVor3Spe3A/A=; b=w8JUSM0f32IBh7Zao/5wCL3OiHPwIngBoZ2GJxQSPYZq0asU7S3tNFWo0mRKTKeyfY HKoJgFhY7a2evn4vy0/FRsMtjom2TvDCglEMErwZON/rHIrwQHPf+gei8TxuLl1G6SDG Xl6ezpaIzTlrBI5bR2ykRN9gO0mCNKKkScbKgMCubuKSc5OgJX0oHpdKWR5w/9mN6n7N R2CE4LdMKY6k1bYg60G5tXWDKjSEck+8XYkn6N9BQDIje2VWVvuunk0eHUPxPGJu/kwM 4F11ToCvtzjM2PL7T4mmVF45zZcxm9SW0ULiYklbRQUjJmeoO4HSJ+dLuLFDTsc7Tk+e Qa5w== 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=hGHEBXl4t4FlUOwwa4BejHx4CUe078KEVor3Spe3A/A=; b=NOEryjbfQ2GvI1chISSxReac1tHqER9ObNdtjdXLB8RtQUSQN7ybkJKfuhSBcGB6NX ZezF9ubuZcOA16ErMcbQSjJx5tUCHAYK/cKsmUzoCl7Toc2Ohj9fuSBbwRpSbtfYnFly TKLPrAV7Yo/zDsnJpTcFiEbtUIHMun7nbqyQ7og5LKfMesZTCkmaEuAI8pWwBMewfCpP D0ytbq0XYwpzlM1hAhviiOCVKssmfPIOtJQkXA7plFdCruYgAka5E4vHf5wslwmncIvr 1YCQl6KZbi1ka/1d9RbHJbI74Lshdo7HnyealQhRgiQ2hSL44U8BFG2ufa6LKVKKjQSi A0Mw== X-Gm-Message-State: AOAM5326oKGKB0gEdVxQsshXEzPo7U1FFauobT/ekX8KOU3cdMFu6Ay+ Jof2iK3LtrHWLWTVVxWQIWEIriRg0Djw5sm+S4JUgw== X-Received: by 2002:a6b:8d49:: with SMTP id p70mr784662iod.31.1604507020444; Wed, 04 Nov 2020 08:23:40 -0800 (PST) MIME-Version: 1.0 References: <20201026141839.28536-1-brgl@bgdev.pl> <1fd4d69b-4d64-05e5-45a3-b2182fb2d207@siemens.com> <0ab04241-4756-873b-980a-572b225c16e9@siemens.com> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 4 Nov 2020 17:23:29 +0100 Message-ID: Subject: Re: [PATCH 0/7] gpio: exar: refactor the driver To: Andy Shevchenko Cc: Jan Kiszka , Sudip Mukherjee , Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 4, 2020 at 3:51 PM Andy Shevchenko wrote: > > On Wed, Nov 4, 2020 at 3:57 PM Jan Kiszka wrote: > > On 27.10.20 16:12, Jan Kiszka wrote: > > > On 26.10.20 15:46, Andy Shevchenko wrote: > > >> On Mon, Oct 26, 2020 at 4:22 PM Bartosz Golaszewski wrote: > > >>> > > >>> From: Bartosz Golaszewski > > >>> > > >>> I just wanted to convert the driver to using simpler IDA API but ended up > > >>> quickly converting it to using regmap. Unfortunately I don't have the HW > > >>> to test it so marking the patches that introduce functional change as RFT > > >>> and Cc'ing the original author. > > >> > > >> +Cc: Jan, AFAIR their devices are using Exar UART. > > >> > > > > > > Thanks for CC'ing. I cannot promise testing this soon, but I will try my > > > best. > > > > > > > Finally tested, unfortunately with bad news: > > > Code: Unable to access opcode bytes at RIP 0xffffffd6. > > I guess it is due to missed error pointer handling somewhere, as above > is equal to -ENOMSG. > Yeah I'd guess it's the regmap pointer but we do check the return value of regmap init with IS_ERR(). :/ Bartosz