From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7B07C433E6 for ; Sun, 27 Dec 2020 13:56:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9132922512 for ; Sun, 27 Dec 2020 13:56:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbgL0N4C (ORCPT ); Sun, 27 Dec 2020 08:56:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726156AbgL0N4B (ORCPT ); Sun, 27 Dec 2020 08:56:01 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9F24C061795 for ; Sun, 27 Dec 2020 05:55:20 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id o13so18607136lfr.3 for ; Sun, 27 Dec 2020 05:55:20 -0800 (PST) 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=918i2pdopdCMVC5pk4OUZ9bz8vh2xgM0cN+m7GAjLwg=; b=wZt2o677HvoB/MDk7+FXEx0vqke1woDsutZLBcumYDnfATL/VCr/6v0ZPWOFp81Wxh ZeWCyHxq/Ix5Y3AdGRM853KUwZ5hloUhYbT6kGjgtZWO/gLnsna0ekOKjycnpAId+uYW n9Gbv10hWakGqS7LWSSLfiYXEHj34cnW9tLXvkk//JiQ0caZFYexIxItK8f6+dHmFvRv rDk/uUC2SsiT8JswX1v5c/pEYTjMafod+AocxS7S0IbpqMm4XPIsWSNxZ14dGvznOyAI zOUjl5mEjCX2MHITqNSlvfWSat//HZ/HVPHp8pUwouWPi+Um50IJQ5zQn2jwsp+56kDA C2yA== 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=918i2pdopdCMVC5pk4OUZ9bz8vh2xgM0cN+m7GAjLwg=; b=bqdEcjv9Bji5qfq/HWiESVZCnDPDG7/aXcS3E/3hkfWBePj8kK+9SSSopxH0+dGDQx A/pxJSE1gYwJ1QU6bOaEbM07DuAHqZ0Ykf/PGa+5dfHBYFJdXU2znRwLYNTBNZCwhHDX se/4b/57RKtPnD/CQeymY5nZpW7Hs7MkLvn9GbfRUhaJmBGzcmkg+q9Za9zDfg8i97x1 tYvZJjg7XyNWNrIbQe34sECdKHxYO+xWUL7744W/v862JJyMvdReMvk8IbUJnz+DqNQZ dzSbS15fZiijAbZ2ch9gRUEf3rXmMshAATBVI9T8QmwFpLJeiQDDcvpUuqIMRlMZu9HW b8Lw== X-Gm-Message-State: AOAM5305iZULzemeLtGsouIfg9BbyGF5wKD7bwSae7YdzRrzSh33z04e pyIZeqUooIT64ML17mrIvB0EbLcbPhuhfXbcXw58dw== X-Google-Smtp-Source: ABdhPJyqQAPFHc8D9e03hMHG0s9I7xO6Yli9KUFwvAuXu/YdB9i/BdJFi/k4FWMAbPnwt8Up9mU7A6a0FCJ4DiJHdRA= X-Received: by 2002:a19:8bc6:: with SMTP id n189mr16745414lfd.291.1609077319112; Sun, 27 Dec 2020 05:55:19 -0800 (PST) MIME-Version: 1.0 References: <20201224112203.7174-1-nikita.shubin@maquefel.me> In-Reply-To: <20201224112203.7174-1-nikita.shubin@maquefel.me> From: Linus Walleij Date: Sun, 27 Dec 2020 14:55:08 +0100 Message-ID: Subject: Re: [RFC PATCH 0/3] gpio: ep93xx: convert to multi irqchips To: Nikita Shubin , Hartley Sweeten Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Paging Hartley who I think uses this chip. On Thu, Dec 24, 2020 at 12:22 PM Nikita Shubin wrote: > I was lucky enough to became an owner of some splendid piece's of > antiques called ts7250 based on the top of Cirrus Logic EP9302. > > I don't know what fate expects this hardware (it's not EOL it's just Not > recommended for new designs) but i wanted to share fixes in ep93xx gpio area. > > It seems ep93xx is deadly broken at current state usage of AB gpiochips > interrupts leads to deadlocks coused by irq_unmask/irq_mask recursions. > > Port F is not working at all: Yeah when I converted this gpio driver I did not have access to a hardware which made use of port F :( I used the SIM.One board but they all died on me, then I acquired another EP93xx board that I just didn't have time to test. The long term plan is to convert these boards to use device tree and multiplatform. Interested in the job? ;) Thanks for fixing up the GPIO chip, let's get the patches in shape and merge as fixes. Bartosz is handling the fixes right now, I'll try to review too! Yours, Linus Walleij