linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Sricharan Ramabadhran <quic_srichara@quicinc.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
	Dan Carpenter <dan.carpenter@linaro.org>,
	<oe-kbuild@lists.linux.dev>,
	Md Sadre Alam <quic_mdalam@quicinc.com>, <lkp@intel.com>,
	<oe-kbuild-all@lists.linux.dev>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 1937/6910] drivers/mtd/nand/raw/qcom_nandc.c:2941 qcom_op_cmd_mapping() error: uninitialized symbol 'ret'.
Date: Fri, 18 Aug 2023 20:54:43 +0530	[thread overview]
Message-ID: <c764901b-396e-b527-5b71-063408654c74@quicinc.com> (raw)
In-Reply-To: <a9334ad2-d4e4-067c-89a1-e8e7adde0de9@quicinc.com>

Hi Miquel,

<..>

>>>>>>
>>>>>> Look at your qcom_op_cmd_mapping, you don't even have a path for 
>>>>>> reads.
>>>>>> I bet something along:
>>>>>>     CMD_READ0:
>>>>>>         ret = XXX_OPCODE_READ;
>>>>>>         break;
>>>>>> will make it work.
>>>>>>
>>>>>> Please fix the driver and test with nandbiterrs -i. If this test 
>>>>>> works,
>>>>>> it is encouraging. Otherwise it is still broken.
>>>>>
>>>>>     ok understand. Will fix this up.
>>>>
>>>> This is urgent now. The driver in -next is broken, shall I revert
>>>> everything or will you test the above fix quickly?
>>>
>>>     While we are able to reproduce the issue, add path for
>>>     CMD_READ0/READ_START for IPQ platforms. All mtd tests including
>>>     nandbiterrs works fine.  But we are not able to get hold of a SDX
>>>     device where we could reproduce the issue to debug. We are working
>>>     offline with Manivannan for the SDX remote debug. Will keep you
>>>     updated here and if we are not able to solve this on SDX in next
>>>     couple of days, only way looks like revert and re-apply it for 6.7.
>>
>> If the READ path works on IPQ platforms it's already a huge step
>> forward, please send the fix on top of Mannivan series.
>>
>    ok, will send. Please confirm if its all fine.
>    There are more abstraction/common mode in the driver to be pulled
>    out, but that will do later.
> 
      Just now Alam posted this series for this.
       "[PATCH 0/3]mtd: rawnand: qcom: Fixes for exec_op".

Regards,
  Sricharan


>> Now, what is the issue with SDX?
> 
>     Looks like SDX device that Mani is having is a 4K nand device.
>     For some reason, after exec ops nand boot is broken on that board.
>     We applied the fixes we did on top of Manivannan series.
>     With that enumeration works, but still mount fails. But 4K nand
>     device boot on IPQ works fine. Problem is we do not have a SDX board
>     where we could debug that. We are trying to get a remote setup
>     enabled for this.
> 
> Regards,
>   Sricharan


      reply	other threads:[~2023-08-18 15:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-03 12:20 Dan Carpenter
2023-08-04 16:45 ` Miquel Raynal
2023-08-04 16:52   ` Dan Carpenter
2023-08-04 17:07     ` Miquel Raynal
2023-08-05  6:55       ` Manivannan Sadhasivam
2023-08-06  7:58         ` Sricharan Ramabadhran
2023-08-07 18:54           ` Sricharan Ramabadhran
2023-08-07 19:14             ` Miquel Raynal
2023-08-08  5:16               ` Sricharan Ramabadhran
2023-08-18 13:33                 ` Miquel Raynal
2023-08-18 13:51                   ` Sricharan Ramabadhran
2023-08-18 14:03                     ` Miquel Raynal
2023-08-18 14:17                       ` Sricharan Ramabadhran
2023-08-18 15:24                         ` Sricharan Ramabadhran [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c764901b-396e-b527-5b71-063408654c74@quicinc.com \
    --to=quic_srichara@quicinc.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=mani@kernel.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oe-kbuild@lists.linux.dev \
    --cc=quic_mdalam@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox