Received: by 10.223.164.202 with SMTP id h10csp679219wrb; Tue, 14 Nov 2017 07:58:03 -0800 (PST) X-Google-Smtp-Source: AGs4zMY2xoVaifVDrKay9G9bdwS825DHp+gOR3OsgUq5xwj278M7O/L964SW55EH6mgfRrew7d+M X-Received: by 10.84.215.220 with SMTP id g28mr12914185plj.11.1510675083685; Tue, 14 Nov 2017 07:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510675083; cv=none; d=google.com; s=arc-20160816; b=uHIQLA6xzeDTR3sj68ZElHXKOISCk9jYfwvcSP2CCsNTiJ1WSsVgOYe+a0IrjsGRIV LzDE47zVoMiJP0fSBjPH4Kn3bHgVW9hV0c7CcDjle5GrC1TQg9K0zLVLCO/mJGsk4c30 Hxjq8q3UuHI175fv+cCtFmX7QTc9GrexW0IItr/HRYwbU4FGoA464OAs4C1mQcfLW+Tf hVCqIAyTCjeYCSj1nbWvZXOQLpgrseiCfH61F+N7uHjL0stW/GSUE/O6tmKZylkfFci1 Isi/088y0lhLR8ZiT9xrqpdmKKSNGdoOtZpZWjAoMVdytepdnhF0TBJ/JYXITA8C5YpL /ScQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=ONTP/wawm1+kg2sE3zGVBEnlm4DGmGjGXUhZPgIhRgE=; b=eJmg3QdPuKEyHScuPKNMSS9/Wono1GyYz8dtpElEL0uGtycnJyVWdIo3/WI3UqMDKC 33t4tlULqfbl00sWgOfifbnkAvCbsCzIF8PgfOiYdNg0My1ffUBtD2KZDcBAbVA3oH3b RH27yzd3Ye6FvYlmw1fWtb3OkweT0LrhxMzrsf2JUztjNgOoRu0YXWAyy1jJGIO5Miyh QF4HyGq4/h8OafsXftDfeMqIn6LqOQgS1qE6ExWrPCQ8RtX+UzPkMNqwFKQZqPOPQRx0 Hxnjmd6AtYieA4brl0YiI8QvqFOBL1jpa5jb0/xe5JQ2KXYAwi3obI5BbSDvmX/QmnmV GMrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si16405272plz.343.2017.11.14.07.57.51; Tue, 14 Nov 2017 07:58:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755450AbdKNPoi (ORCPT + 88 others); Tue, 14 Nov 2017 10:44:38 -0500 Received: from 19pmail.ess.barracuda.com ([64.235.154.231]:55234 "EHLO 19pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887AbdKNPob (ORCPT ); Tue, 14 Nov 2017 10:44:31 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1411.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 15:44:08 +0000 Received: from [10.150.130.83] (10.150.130.83) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 14 Nov 2017 07:43:59 -0800 Subject: Re: [PATCH] MIPS: ath25: Avoid undefined early_serial_setup() without SERIAL_8250_CONSOLE To: Ralf Baechle CC: James Hogan , , , Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Greg Kroah-Hartman References: <1510666157-27252-1-git-send-email-matt.redfearn@mips.com> <20171114140534.GA14698@linux-mips.org> From: Matt Redfearn Message-ID: Date: Tue, 14 Nov 2017 15:43:43 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171114140534.GA14698@linux-mips.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.150.130.83] X-BESS-ID: 1510674247-452059-8516-521135-2 X-BESS-VER: 2017.14.1-r1710272128 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.186917 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/11/17 14:05, Ralf Baechle wrote: > On Tue, Nov 14, 2017 at 01:29:17PM +0000, Matt Redfearn wrote: > >> Currently MIPS allnoconfig with CONFIG_ATH25=y fails to link due to >> missing support for early_serial_setup(): >> >> LD vmlinux >> arch/mips/ath25/devices.o: In function ath25_serial_setup': >> devices.c:(.init.text+0x68): undefined reference to 'early_serial_setup' >> >> Rather than adding dependencies to the platform to force inclusion of >> SERIAL_8250_CONSOLE together with it's dependencies like TTY, HAS_IOMEM, >> etc, just make ath25_serial_setup() a no-op when the dependency is not >> selected in the kernel config. > > Looks like arch/mips/rb532/serial.c might be suffering from the same > issue? Hi Ralf! Indeed it does, and another unmet dependency. Patches incoming. Thanks, Matt > > Ralf > From 1584056534540202757@xxx Tue Nov 14 15:40:32 +0000 2017 X-GM-THRID: 1584048570510523799 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread