From commits-return-9135-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Thu May 7 05:08:30 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1828B18064F for ; Thu, 7 May 2020 07:08:30 +0200 (CEST) Received: (qmail 40222 invoked by uid 500); 7 May 2020 05:08:29 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 40212 invoked by uid 99); 7 May 2020 05:08:29 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2020 05:08:29 +0000 From: =?utf-8?q?GitBox?= To: commits@nuttx.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-nuttx=5D_masayuki2009_opened_a_new_pull_?= =?utf-8?q?request_=23988=3A_arch=3A_k210=3A_Fix_cpu1_hangup_during_boot_wit?= =?utf-8?q?h_qemu?= Message-ID: Date: Thu, 07 May 2020 05:08:29 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit masayuki2009 opened a new pull request #988: URL: https://github.com/apache/incubator-nuttx/pull/988 ## Summary - I noticed that sometimes cpu1 hangs during boot with qemu. - In boot up process, cpu1 needs to wait for g_serial_ok is set to true which means that cpu0 finished serial driver initialization. - However previous logic initializes g_serial_ok to false by each cpu which caused cpu1 hang up. - This PR simply removes such an incorrect logic. ## Impact - This PR affects k210 only. ## Testing - I tested this PR for both k210 and qemu. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org