From patchwork Wed Jun 21 22:09:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Landley X-Patchwork-Id: 9803105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CAAFB6038C for ; Wed, 21 Jun 2017 22:09:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFC18283DA for ; Wed, 21 Jun 2017 22:09:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B430B2846D; Wed, 21 Jun 2017 22:09:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_TVD_MIME_EPI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C130328409 for ; Wed, 21 Jun 2017 22:09:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752359AbdFUWJU (ORCPT ); Wed, 21 Jun 2017 18:09:20 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:35497 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752310AbdFUWJR (ORCPT ); Wed, 21 Jun 2017 18:09:17 -0400 Received: by mail-io0-f194.google.com with SMTP id f79so2110234ioi.2 for ; Wed, 21 Jun 2017 15:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=ZG4cp2AKYm9VOUnh6xV1O5FbIkKqmd/h7IFIKJbtjJU=; b=IZwp8gJFbPNzzReTIFmu44x0+G38GrQ0KK90MbtG9F8weF5rQCAuVJGOnCBYQZzU1B NQYZcjhneL2Vf+DnVstfumTmzlMCeHAuuhMJEMguDC09klVa5DeD9m0BDlcqpeK0zY1r PLaOhKmCW4CqcLfHAEI36qQ9gUVt00LEH98589Ve8cxnWD3r6nMWMn1Z1Q5GtUzYdkB1 kLJhWzjJH5K8mlMpXi/vOw2IX/7/jTPrhI0LYpMpagziGZIs5z/Vg4zFc3aN7dVHi6Ey d26ex1KQiy0MxdUiG3T6J3VA3uUoBc9XEx6jWgpudQJGZXSO3A6ZSYPTJ+EOch+IkIlW scYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=ZG4cp2AKYm9VOUnh6xV1O5FbIkKqmd/h7IFIKJbtjJU=; b=tgx+2JEc6V4F84o7Db9bIhnKqilQOvG/IAXxu+ub+9qIjDgstnbVCeKSM3iZLR6l9L Wfa4MRavq01VZZhO7NZh97e+39qJMc9ejJR0/BZJHtc/23fTK/jm4/iN/MGR5S9B5oW/ BWvWVNw96MsVtU6Dhq1O7+JX859zXzg0MYpYcp8LQ5qemz4+9aukK3XS+tgesmhRKSt9 utglpxA95tzGx2at3ks/raEQUzxaDdd4g2+lQO3YqBguwDhlZgo4SCNAat5oTwejUT0w D9WLi1Gt7lm3770RZ6bDnCQBMwJzDYSGe09EBI017zVqUpjhyFtsXy3tEdZBoxwMeUXg 0Gew== X-Gm-Message-State: AKS2vOz5j1+R67f2V+5IGxbp8WUan4sLxJPiacx5CYd1Mi25qKKX/ong O/idWJPjJZaZP4VM X-Received: by 10.107.140.87 with SMTP id o84mr38726930iod.3.1498082956704; Wed, 21 Jun 2017 15:09:16 -0700 (PDT) Received: from [192.168.43.158] ([172.58.97.91]) by smtp.googlemail.com with ESMTPSA id e12sm12599127itd.0.2017.06.21.15.09.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 15:09:15 -0700 (PDT) Subject: Re: [PATCH 3/5] sh: thin archives fix linking To: Masahiro Yamada , Yoshinori Sato , linux-sh@vger.kernel.org, Rich Felker References: <20170609052417.561-1-npiggin@gmail.com> <20170609052417.561-4-npiggin@gmail.com> Cc: Linux Kbuild mailing list , Michal Marek , Linus Torvalds , Stephen Rothwell , Nicholas Piggin , linux-arch From: Rob Landley Message-ID: <7a1286aa-b656-7b71-2628-9093156143ff@landley.net> Date: Wed, 21 Jun 2017 17:09:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 06/19/2017 01:19 AM, Masahiro Yamada wrote: > 2017-06-09 14:24 GMT+09:00 Nicholas Piggin : >> The VDSO symbols can't be linked into built-in.o when building with >> thin archives, so change this to linking them into the final link. >> >> Cc: Yoshinori Sato >> Cc: Rich Felker >> Cc: linux-sh@vger.kernel.org >> Signed-off-by: Nicholas Piggin >> --- > > SH maintainers, any comments for this patch? > > > I confirmed this patch solved the build error, > but I do not have access to any SH hardware. You can build and boot the kernel under qemu for several architectures (including sh4) by following the instructions on: https://github.com/landley/mkroot I believe I last built -rc6? You may need the attached patch to fix the serial port issue from: https://www.spinics.net/lists/linux-serial/msg26085.html Which is still there because the kernel guys don't care that they broke qemu, and the qemu guys are still using old kernel versions that work fine. My patch just reverts the kernel change (which enabled hardware buffer logic qemu doesn't implement). Rob diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 71707e8..a798def 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -2193,7 +2193,7 @@ static void sci_reset(struct uart_port *port) setup_timer(&s->rx_fifo_timer, rx_fifo_timer_fn, (unsigned long)s); } else { - if (port->type == PORT_SCIFA || + if (1 || port->type == PORT_SCIFA || port->type == PORT_SCIFB) scif_set_rtrg(port, 1); else