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: 9803107 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 CF1206038C for ; Wed, 21 Jun 2017 22:09:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3F46283DA for ; Wed, 21 Jun 2017 22:09:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B812D2846D; Wed, 21 Jun 2017 22:09:26 +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=unavailable 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 5F8AD283DA for ; Wed, 21 Jun 2017 22:09:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752391AbdFUWJY (ORCPT ); Wed, 21 Jun 2017 18:09:24 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:35497 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752362AbdFUWJW (ORCPT ); Wed, 21 Jun 2017 18:09:22 -0400 Received: by mail-io0-f195.google.com with SMTP id f79so2110236ioi.2 for ; Wed, 21 Jun 2017 15:09:22 -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=TYDfnn+/f4k95WhywoIjGqJIQehB45I1K3MeTn6Gpg2yRAJh2Bb6Fh8gx+Y1NBgCUX P8UbVOfa7S5ZB37TcDTOTsTCIRcWjqfOydXAodVgPHHsTo5gGA/buZJDKdZj6DIQNlWX zPUWNejFdjRU0BQXPL9JH4gZRcxrOe5LMMFtpz7tW4s+8hCjKxkusEXeKLw8vM9DVnXx xRFDbP97CymZXILrAb6D4vGoqfb+kw9itObWJIrtQwQ/PwRprW+NFpPXKkwjgHW7Rc87 uv76FqpPkJTk2kvAafKpipaiL7GxAV+/UjcWAW3ZGES7OmoFjRVmKva4BJ1xob2TMgp1 XERQ== X-Gm-Message-State: AKS2vOzoRjbIv52BZeK9ar/0vR4KnRQydoTC+rXaI1Xx8+PPYblu2aI1 hf+djojcLoiULakm 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@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