Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1702375pxv; Fri, 25 Jun 2021 21:13:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYjpe+m7dnKTaKK0hJVBqUL6maAMxF29zhZsvxl9Ww3ikZgL6g9JrXmDrH5SKbRv3XNFyD X-Received: by 2002:a17:906:9e05:: with SMTP id fp5mr6984270ejc.376.1624680783240; Fri, 25 Jun 2021 21:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624680783; cv=none; d=google.com; s=arc-20160816; b=qS/i13pH1KRldug8cyQM5unbZn0mi/QRAPtOqvenfj7YUKzadGfcjGJZvzxNkmr3oQ ZkDrun0FBEaszzJKoi99A7YXtsL8wF053WNwZWHv5SGZtHz95w56rV9anwZrEwBCAQeV H7JgqGKa98EO/mPgX2mjm2GpfiZFMG9YxeT5nhEYV6UdZJ8Va0RPQXcNr4yKqoMNlzze jNKCCozsjEYuPLIh3xw05DgH8oCNKoFFp5i9vA0Dc9dDsqUx9hjlUkMc5OYPiuIa/yTn 13b0FPhH+sJWVmAx/6sAnfIQA0FSf7Wywo7OedTOBkIoNTbpCVzIgSA70fbrDov+i2Vj UB/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:cc:to :from:date; bh=QaFyvBOnVQF2RLDgc85/mE70nhmPS2r+wBgscc8AHTg=; b=ybE6uoqVJ/VC8tzTYNggMfUp6qvF3tZXNsWsIVN/CxEo8dIF6ka4sXgOqoV002HhPL YAhJGqisNJCes4dO/dmn+kh8qPXCtWmlNh/lJLDPRcJcU1LtHViyzPbhxtK/t2gk7Cjm goxA9yq38Z6aiSwtO1ZxjU3sCLWOqvoGzCfPekWPYGv6yEKRckcoCHDwU+8sK3yaGCDr h+A/KzZZf9qFJ0aTO1IiXQ0aYsuWT1hG0XVsbfX56r+gxJWxthG7z0sxDasiBZtSny3r nt5Lgob/yczCyv9cMwdmIHJCjmMt2DenIZWQ4rno3KCn+ruS58Q/j/AF42FEZiwbxZzn s1Yg== ARC-Authentication-Results: i=1; mx.google.com; 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 l2si7743812edr.301.2021.06.25.21.12.25; Fri, 25 Jun 2021 21:13:03 -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; 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 S229922AbhFZENW (ORCPT + 99 others); Sat, 26 Jun 2021 00:13:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbhFZENV (ORCPT ); Sat, 26 Jun 2021 00:13:21 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A1E0FC061574 for ; Fri, 25 Jun 2021 21:10:59 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 01B3392009C; Sat, 26 Jun 2021 06:10:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id F08EE92009B; Sat, 26 Jun 2021 06:10:57 +0200 (CEST) Date: Sat, 26 Jun 2021 06:10:57 +0200 (CEST) From: "Maciej W. Rozycki" To: Greg Kroah-Hartman , Jiri Slaby , Thomas Bogendoerfer cc: linux-serial@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v2 0/2] serial, Malta: Fixes to make the CBUS UART work big-endian Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Earlier this year I noticed the CBUS UART, a discrete TI16C550C part wired directly to the system controller's device bus and supposed to come up as ttyS2 in addition to ttyS0 and ttyS1 ports from a Super I/O device behind the PCI southbridge, is not recognised with my MIPS Malta board booting big-endian. I got to the bottom of the problem now and as it turns out we have two long-standing bugs causing it, one in generic 8250 code and another in Malta platform code, and this has never worked in the big-endian mode. Here's v2 of the series, addressing minor issues with 1/2 pointed out in the review. Please apply. Maciej