From: Saeed Mahameed <saeedm@mellanox.com>
To: "schnelle@linux.ibm.com" <schnelle@linux.ibm.com>
Cc: Eran Ben Elisha <eranbe@mellanox.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"leon@kernel.org" <leon@kernel.org>,
Moshe Shemesh <moshe@mellanox.com>
Subject: Re: [PATCH] net/mlx5: Fix failing fw tracer allocation on s390
Date: Thu, 9 Apr 2020 22:10:25 +0000 [thread overview]
Message-ID: <2b92b2d716397a26dc54da96ced2e74b0ecc2bf8.camel@mellanox.com> (raw)
In-Reply-To: <20200409074620.43054-1-schnelle@linux.ibm.com>
On Thu, 2020-04-09 at 09:46 +0200, Niklas Schnelle wrote:
> On s390 FORCE_MAX_ZONEORDER is 9 instead of 11, thus a larger
> kzalloc()
> allocation as done for the firmware tracer will always fail.
>
> Looking at mlx5_fw_tracer_save_trace(), it is actually the driver
> itself
> that copies the debug data into the trace array and there is no need
> for
> the allocation to be contiguous in physical memory. We can therefor
> use
> kvzalloc() instead of kzalloc() and get rid of the large contiguous
> allcoation.
>
> Fixes: f53aaa31cce7 ("net/mlx5: FW tracer, implement tracer logic")
> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Applied to net-mlx5, will be submitted to net in my next pull request.
Thanks,
Saeed.
prev parent reply other threads:[~2020-04-09 22:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 7:46 Niklas Schnelle
2020-04-09 22:10 ` Saeed Mahameed [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=2b92b2d716397a26dc54da96ced2e74b0ecc2bf8.camel@mellanox.com \
--to=saeedm@mellanox.com \
--cc=eranbe@mellanox.com \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=moshe@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=schnelle@linux.ibm.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
all inboxes | Powered by JetHome®