Received: by 10.223.164.202 with SMTP id h10csp210637wrb; Mon, 13 Nov 2017 05:20:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMaysO/nY0pGwJA7sNuqkH5bStw4WkKQZBWAR9dP64gKZhd2SZXRBYLHiryLL3BmMWmQxrjJ X-Received: by 10.99.185.71 with SMTP id v7mr8792851pgo.24.1510579200945; Mon, 13 Nov 2017 05:20:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510579200; cv=none; d=google.com; s=arc-20160816; b=B5S6JgTv6Zhhz12Zpc6KLUflE2sTyvMbmupcbznwrB3wQEGOtY4/HiTCPDxXDBcrw3 MtnUplNFR+evzauqjcvt8ZgBW2m8ymIvrL1lH1uAE//WhmO2R18aWaGCEan9uL+A74jm NFUflCrIfHM22PUO1+VzFfWvWi0XyOI8EoZ7kcDw0P/M6CfNX7n6sLhFxIWm5kla7qE6 iAhGmMDO8quOOeRqFUCwLerh4A6jlda26C/xkJNgM2QOGdxU48eBqPgvKPZOZq/6dejc IYdkqcjlnEXINEF9FnC1nXsDu+JSw0f/ri8zAANDYRA+mQGrA45iIJareQ6zWT/zUQ8C yhuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=vsIEfy7UY3L9KxAxQupofGOPz+3uXFrqjAkPbtnfSOM=; b=oTFABHAgbLmmYOIAWv7D9lZ9gt0yD9MUMNiTgd9H6m+AwH/Tw5+vBzv1G6u5/F8czr x5/3SFGy69R3/Q9Ozs08Ntr81xQ+0juXzAxqGcWEbHFcq/PuoRe3YKYHNDYQRePMP49/ BS8Eovm1ulb40ecgUu9X8rYBuJAsGZQ6+XBtG6UkDcbEB6hW5llvdXSv3R+XFLyBSpkv hHlB3HQjeGWyDj3r/I/AXIP95wgRqCTXgRrKo7/JFHi0f6E4caXPFtS24phdbjU+jIKy hjRULQeayVAtwIa2PfGPobx53yhYA/V27mJyMqQu85zwfSQcNCoCpZX7NkaQhlhW79x2 luKA== 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 88si2831176pla.257.2017.11.13.05.19.47; Mon, 13 Nov 2017 05:20:00 -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 S1754878AbdKMNCa (ORCPT + 95 others); Mon, 13 Nov 2017 08:02:30 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:51108 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754003AbdKMNC1 (ORCPT ); Mon, 13 Nov 2017 08:02:27 -0500 Received: from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr [90.92.67.150]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 64977AB7; Mon, 13 Nov 2017 13:02:23 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oswald Buddenhagen , Jonas Gorski , Florian Fainelli , Ralf Baechle , Yoshihiro YUNOMAE , Nicolas Schichan , linux-mips@linux-mips.org, linux-serial@vger.kernel.org, James Hogan Subject: [PATCH 4.9 75/87] MIPS: AR7: Ensure that serial ports are properly set up Date: Mon, 13 Nov 2017 13:56:32 +0100 Message-Id: <20171113125621.983642234@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171113125615.304035578@linuxfoundation.org> References: <20171113125615.304035578@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Oswald Buddenhagen commit b084116f8587b222a2c5ef6dcd846f40f24b9420 upstream. Without UPF_FIXED_TYPE, the data from the PORT_AR7 uart_config entry is never copied, resulting in a dead port. Fixes: 154615d55459 ("MIPS: AR7: Use correct UART port type") Signed-off-by: Oswald Buddenhagen [jonas.gorski: add Fixes tag] Signed-off-by: Jonas Gorski Reviewed-by: Florian Fainelli Cc: Ralf Baechle Cc: Greg Kroah-Hartman Cc: Yoshihiro YUNOMAE Cc: Nicolas Schichan Cc: Oswald Buddenhagen Cc: linux-mips@linux-mips.org Cc: linux-serial@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/17543/ Signed-off-by: James Hogan Signed-off-by: Greg Kroah-Hartman --- arch/mips/ar7/platform.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/mips/ar7/platform.c +++ b/arch/mips/ar7/platform.c @@ -576,6 +576,7 @@ static int __init ar7_register_uarts(voi uart_port.type = PORT_AR7; uart_port.uartclk = clk_get_rate(bus_clk) / 2; uart_port.iotype = UPIO_MEM32; + uart_port.flags = UPF_FIXED_TYPE; uart_port.regshift = 2; uart_port.line = 0; From 1583956545397439182@xxx Mon Nov 13 13:11:15 +0000 2017 X-GM-THRID: 1583955747301632759 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread