On Fri, Dec 22, 2017 at 08:41:10AM +0100, Stephan Mueller wrote:
>
> Shouldn't we then rather use a white list instead of a black list?
> >
> > Most other problems however would be bugs in the template code.
> > The first thing a template does when it creates an instance is
> > to check whether th
Dave Jones writes:
> On Thu, Dec 21, 2017 at 07:31:26PM -0600, Eric W. Biederman wrote:
> > Dave Jones writes:
> >
> > > On Thu, Dec 21, 2017 at 12:38:12PM +0200, Alexey Dobriyan wrote:
> > >
> > > > > with proc_mnt still set to NULL is a mystery to me.
> > > > >
> > > > > Is there
Hi Stephen,
On Fri, Dec 22, 2017 at 11:45:19AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
[...]
> I have added the following merge fix patch for today (I am guessing
> a bit here):
>
> From
On Thu, Dec 21, 2017 at 05:23:27PM +0100, Vincent Guittot wrote:
> Hi Peter,
>
> I think that part of the proposal is missing.
>
> One goal of the patchset was to kick an update of the stats of idle
> cpu when a task wake up on a cpu but the statistic has not been
> updated for a while.
>
> That
Hi,
Lipengcheng writes:
> Iso transmission, the current process is that all trb(HWO=1) is handled.
> Then core generate DWC3_DEPEVT_XFERNOTREADY event, Software begin refill
> trb, this will produce 0 length package, the patch is to achieve the core
> consumes a trb, and then the software fill
On Friday 22 December 2017 12:43 PM, Greg KH wrote:
> On Fri, Dec 22, 2017 at 11:19:24AM +0530, shrikant.mau...@techveda.org wrote:
>> From: Shrikant Maurya
>>
>> As reported by Jia-Ju Bai (https://lkml.org/lkml/2017/12/11/872):
>> API's are using GFP_KERNEL to allocate memory, which may sleep.
On Fri, Dec 22, 2017 at 03:43:15PM +0800, lpc.li wrote:
> Hi,
> Ethernet Gadget (with CDC Ethernet support) and RNDIS support, device
> is Hisilicon asic and host is PC Windows. Howerver, it has one
> warning. In the rndis_add_header of the file f_rndis.c,
> dev_kfree_skb_irq replaces dev_kfree_skb
On Thursday, December 21, 2017 9:21 PM, Jaehoon Chung wrote:
> On 12/22/2017 01:12 AM, Jingoo Han wrote:
> > On Thursday, December 21, 2017 7:14 AM, Jaehoon Chung wrote:
> >>
> >> Exynos5433 has the PCIe for WiFi.
> >> Added the codes relevant to PCIe for supporting the exynos5433.
> >> Also change
On Fri, Dec 22, 2017 at 2:17 AM, Andrew Cooks wrote:
> On 21/12/17 23:02, Christian Lamparter wrote:
>> Just a FYI: due to these difficulties with getting a gpio driver
>> upstream, Alan Mizrahi upstreamed an in-kernel led-apu.c driver [0]
>> that sort of bypasses the whole pinctrl vs gpio issue.
On Thu, Dec 21, 2017 at 01:39:41PM -0800, Guenter Roeck wrote:
> On Thu, Dec 21, 2017 at 09:50:57PM +0100, gre...@linuxfoundation.org wrote:
> > On Thu, Dec 21, 2017 at 09:46:18PM +0100, gre...@linuxfoundation.org wrote:
> > > On Thu, Dec 21, 2017 at 12:04:57PM -0800, Guenter Roeck wrote:
> > > > O
Am Freitag, 22. Dezember 2017, 08:36:07 CET schrieb Herbert Xu:
Hi Herbert,
> On Tue, Dec 19, 2017 at 07:25:04AM +0100, Stephan Müller wrote:
> > The user space interface allows specifying the type and the mask field
> > used to allocate the cipher. As user space can precisely select the
> > desi
On 12/22/2017 03:38 PM, Cao Zou wrote:
On 12/22/2017 11:04 AM, Cao Zou wrote:
On 12/20/2017 12:20 AM, Lorenzo Pieralisi wrote:
On Mon, Dec 18, 2017 at 10:02:20AM +0800, Cao Zou wrote:
On 12/16/2017 01:20 AM, Marc Zyngier wrote:
On 15/12/17 16:17, Lorenzo Pieralisi wrote:
[+Marc]
On T
it's private to gpiolib.
There's no public declaration in include/, but there's a public
gpiod_put, which is nothing but a wrapper for gpiod_free. gpiod_put is
declared in linux/gpio/consumer.h, which is already #included, so
s/gpiod_free/gpiod_put/ should fix it.
Want a foll
On 12/22/2017 11:04 AM, Cao Zou wrote:
On 12/20/2017 12:20 AM, Lorenzo Pieralisi wrote:
On Mon, Dec 18, 2017 at 10:02:20AM +0800, Cao Zou wrote:
On 12/16/2017 01:20 AM, Marc Zyngier wrote:
On 15/12/17 16:17, Lorenzo Pieralisi wrote:
[+Marc]
On Thu, Dec 14, 2017 at 10:21:23AM +0800, cao.
On Tue, Dec 19, 2017 at 07:25:04AM +0100, Stephan Müller wrote:
> The user space interface allows specifying the type and the mask field
> used to allocate the cipher. As user space can precisely select the
> desired cipher by using either the name or the driver name, additional
> selection options
A device's DT node or its OPP nodes can contain a phandle to other
device's OPP node, in the "required-opp" property.
This patch implements a routine to find that required OPP from the node
that contains the "required-opp" property.
Signed-off-by: Viresh Kumar
---
drivers/opp/core.c | 4 +-
The "operating-points-v2" property can contain a list of phandles now,
specifically for the power domain providers that provide multiple
domains.
Add support to parse that.
Signed-off-by: Viresh Kumar
---
drivers/opp/of.c | 50 +-
include/li
Parse the OPP table for power domains if they have their
set_performance_state() callback set.
Signed-off-by: Viresh Kumar
---
drivers/base/power/domain.c | 78 +++--
1 file changed, 62 insertions(+), 16 deletions(-)
diff --git a/drivers/base/power/domain
The genpd core provides an API now to retrieve the performance state
from DT, use that instead of the ->get_pstate() callback.
Signed-off-by: Viresh Kumar
---
drivers/opp/core.c | 3 ---
drivers/opp/of.c | 20 +++-
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git
The power-domain core would be using the OPP core going forward and the
OPP core has the basic requirement of a device structure for its working.
Add a struct device to the genpd structure and also add a genpd bus type
for the devices.
Signed-off-by: Viresh Kumar
---
drivers/base/power/domain.c
This implements of_dev_pm_genpd_get_performance_state() which can be
used from the device drivers or the OPP core to find the performance
state encoded in the "required-opp" property of a node. Different
platforms may encode the performance state differently using the OPP
table (they may simply ret
These helpers aren't used anymore, remove them.
Signed-off-by: Viresh Kumar
---
drivers/opp/core.c | 75 --
drivers/opp/opp.h | 2 --
include/linux/pm_opp.h | 10 ---
3 files changed, 87 deletions(-)
diff --git a/drivers/opp/core.c b
Hi,
Now that the DT bindings [1] are already Reviewed/Acked by respective
maintainers, here is the code to start using them.
The first two patches provide helpers in the OPP core, [3-5]/7 update
the PM domain core to start supporting domain OPP tables, etc, 6/7
updates the OPP core to use the new
Hello Dear,
All data(s) concerning this will be disclosed to you on your
acknowledgment of this mail for security reasons(to avoid copyright
violations). Your beneficiary sum are ready to be transferred to your
bank account, this is very urgent. The sum which was formerly own to
late Mr. Thomas, P
Hi Serge,
On 19.12.2017 21:14, Serge Semin wrote:
Hello folks,
Almost a year ago I sent a patchset to the Linux MIPS community. The main
target of the patchset
was to get rid from the old bootmem allocator usage at the MIPS architecture.
Additionally I had
a problem with CMA usage on my MIPS
Looks good,
Reviewed-by: Johannes Thumshirn
--
Johannes Thumshirn Storage
jthumsh...@suse.de+49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG N
On Fri, Dec 22, 2017 at 09:01:49AM +0530, Vinod Koul wrote:
> On Thu, Dec 21, 2017 at 11:32:10PM +, Colin King wrote:
> > From: Colin Ian King
> >
> > Currently the return status ret is being checked but it has not been
> > updated since the previous check on ret. It appears that assignment o
On Fri, Dec 22, 2017 at 11:19:24AM +0530, shrikant.mau...@techveda.org wrote:
> From: Shrikant Maurya
>
> As reported by Jia-Ju Bai (https://lkml.org/lkml/2017/12/11/872):
> API's are using GFP_KERNEL to allocate memory, which may sleep.
> To ensure atomicity such allocations must be avoided in c
On Thu, Dec 21, 2017 at 11:08 PM, Linus Walleij
wrote:
> On Thu, Dec 21, 2017 at 10:31 PM, Arnd Bergmann wrote:
>
>> We get a dtc warning about the CLCD interrupt being invalid:
>>
>> arch/arm/boot/dts/arm-realview-eb-11mp-ctrevb.dtb: Warning
>> (interrupts_property): interrupts size is (8), exp
On 12/21/17 8:17 PM, Avinash Repaka wrote:
RDS currently doesn't check if the length of the control message is
large enough to hold the required data, before dereferencing the control
message data. This results in following crash:
BUG: KASAN: stack-out-of-bounds in rds_rdma_bytes net/rds/send.c:
On Wed, Nov 29, 2017 at 09:41:18AM +0100, Corentin Labbe wrote:
> The crypto engine could actually only enqueue hash and ablkcipher request.
> This patch permit it to enqueue any type of crypto_async_request.
>
> Signed-off-by: Corentin Labbe
This is going the wrong way. We do not want to expos
Linus,
Please git pull the following tag:
git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git
for-linus-4.15-rc5-tag
xen: fixes for 4.15-rc5
It contains two fixes for running under Xen:
- a fix avoiding resource conflicts between adding mmio areas and memory
hotplug
- a fix setting N
Hello, shall I stop sending this? Let me know if so.
On Tue, Dec 19, 2017 at 10:20:13AM +0900, Byungchul Park wrote:
> Change from v10
>-. modify a comment a bit as Steven suggested
>
> Change from v9
>-. modify a comment a bit so to be more clear as Juri suggested
>
> Change from v8
>
On Tue, Dec 19, 2017 at 10:19:23AM +0900, Byungchul Park wrote:
> Changes from v2
> - Run spellchecker over the text and fix typos
> - Add acked-by Daniel
>
> Changes from v1
> - Enhance commit msg
> - Prevent WARN in cpumask_test_cpu() in cpudl_find() when best_cpu == -1
Hello, shall I stop
Hi Linus:
This push fixes the following issues:
- Fix chacha20 crash on zero-length input due to unset IV.
- Fix potential race conditions in mcryptd with spinlock.
- Only wait once at top of algif recvmsg to avoid inconsistencies.
- Fix potential use-after-free in algif_aead/algif_skcipher.
P
On Thu, 2017-12-21 at 15:39 -0800, Stephen Boyd wrote:
> On 11/28, Joel Stanley wrote:
> > diff --git a/drivers/clk/clk-aspeed.c b/drivers/clk/clk-aspeed.c
> > index 839243691b26..b5dc3e298693 100644
> > --- a/drivers/clk/clk-aspeed.c
> > +++ b/drivers/clk/clk-aspeed.c
> > @@ -202,6 +202,107 @@ sta
On Wed, Dec 20, 2017 at 08:09:26PM +, Corentin Labbe wrote:
> This patch implement a generic way to get statistics about all crypto
> usages.
>
> Signed-off-by: Corentin Labbe
Please don't use sysfs. We already have crypto_user and this
should be exposed through that.
Thanks,
--
Email: He
On Fri, 2017-12-22 at 14:06 +0800, sean.w...@mediatek.com wrote:
> From: Sean Wang
>
> On bpi-r2 board, totally there're four uarts which we usually called
> uart[0-3] helpful to extend slow I/O devices. Among those ones, uart2 has
> dedicated pin slot which is used to conolse log. uart[0-1] appe
On Friday 22 December 2017 04:42 AM, Tony Lindgren wrote:
> * Stephen Rothwell [171221 21:48]:
>> Hi Tony,
>>
>> Today's linux-next merge of the omap tree got a conflict in:
>>
>> arch/arm/configs/multi_v7_defconfig
>>
>> between commit:
>>
>> d3b15c54ed7e ("ARM: config: sync multi-v7 config
On Wed, Dec 20, 2017 at 02:44:25PM +0800, Wanpeng Li wrote:
> Hi Yury,
> 2017-12-19 16:50 GMT+08:00 Yury Norov :
> > This benchmark sends many IPIs in different modes and measures
> > time for IPI delivery (first column), and total time, ie including
> > time to acknowledge the receive by sender (s
From: Sean Wang
On bpi-r2 board, totally there're four uarts which we usually called
uart[0-3] helpful to extend slow I/O devices. Among those ones, uart2 has
dedicated pin slot which is used to conolse log. uart[0-1] appear at the
40-pins connector and uart3 has no pinout, but just has test poin
Hi Rob,
On 22 December 2017 at 07:26, Rob Herring wrote:
> On Thu, Dec 21, 2017 at 02:25:02PM +0800, Chunyan Zhang wrote:
>> Documented a few new added properties which are used for supporting
>> regulator suspend states.
>
> Your commit message should answer why you need this. What problem do yo
On Fri, Dec 22, 2017 at 10:37:32AM +1000, Andrew Cooks wrote:
>
>
> On 21/12/17 22:12, Mika Westerberg wrote:
> > On Thu, Dec 21, 2017 at 11:11:18AM +0100, Linus Walleij wrote:
> >>> In contrast, the pinctrl-amd driver only mentions the newer KERNCZ
> >>> platform
> >>> name and uses ACPI for pr
Hi Rob,
On Thursday 21 December 2017 12:27 AM, Rob Herring wrote:
> On Tue, Dec 19, 2017 at 02:28:22PM +0530, Kishon Vijay Abraham I wrote:
>> Add syscon properties required for configuring PCIe in x2 lane mode.
>>
>> Signed-off-by: Kishon Vijay Abraham I
>> Signed-off-by: Sekhar Nori
>> ---
>>
From: Shrikant Maurya
As reported by Jia-Ju Bai (https://lkml.org/lkml/2017/12/11/872):
API's are using GFP_KERNEL to allocate memory, which may sleep.
To ensure atomicity such allocations must be avoided in critical
sections under spinlock.
Fixed by moving part of the code which is using GFP_KER
From: Honghui Zhang
There maybe a same IRQ reentry scenario after IRQ received in current
IRQ handle flow:
EP device PCIe host driverEP driver
1. issue an IRQ
2. received IRQ
3. clear IRQ status
From: Honghui Zhang
Two fixups for mediatek's host bridge:
The first patch fixup the IRQ handle routine to avoid IRQ reentry which
may exist for both MT2712 and MT7622.
The second patch fixup class type for MT7622.
Change since v3:
- Setup the class type and vendor ID at the beginning of startu
From: Honghui Zhang
The hardware default value of IDs and class type is not correct,
fix that by setup the correct values before start up.
Signed-off-by: Honghui Zhang
---
drivers/pci/host/pcie-mediatek.c | 12
include/linux/pci_ids.h | 3 +++
2 files changed, 15 inserti
Hi all,
News: The next release will be on January 2nd.
Changes since 20171221:
New tree: mips (the old mips tree has been renamed to mips-james)
The aspeed tree gained conflicts against the arm-soc tree.
The omap tree gained a conflict against the keystone tree.
The xfs tree gained a
+ a...@kernel.org
On 7 December 2017 at 20:57, Chunyan Zhang wrote:
> Some clocks on SC9860 are in the same address area with syscon devices,
> those are what have a property of 'sprd,syscon' which would refer to
> syscon devices, others would have a reg property indicated their address
> ranges.
On Thu, Dec 21, 2017 at 9:13 PM, Marcelo Ricardo Leitner
wrote:
> On Wed, Dec 20, 2017 at 12:51:01PM -0800, syzbot wrote:
>
> from the log:
> [ 89.451366] FAULT_INJECTION: forcing a failure.^M
> [ 89.451366] name failslab, interval 1, probability 0, space 0,
> times 0^M
> [ 89.451374] CPU: 0
On 22 December 2017 at 07:03, Stephen Boyd wrote:
> On 12/07, Chunyan Zhang wrote:
>> Some clocks on SC9860 are in the same address area with syscon
>> devices, the proper syscon node will be quoted under the
>> definitions of those clocks in DT.
>>
>> Signed-off-by: Chunyan Zhang
>> ---
>
> Thes
On 18-12-17, 15:51, Viresh Kumar wrote:
> Devices have inter-dependencies some times. For example a device that
> needs to run at 800 MHz, needs another device (e.g. Its power domain) to
> be configured at a particular operating performance point.
>
> This patch introduces a new property "required
From: Len Brown
When Linux detects the CPU and TSC rate are the same
tsc: Detected 2900.000 MHz processor
tells us both. But if Linux detects a TSC rate that differs
from the CPU rate, print that also:
tsc: Detected 2904.000 MHz TSC
Signed-off-by: Len Brown
---
arch/x86/kernel/tsc.c | 5 ++
From: Len Brown
Linux-4.9 added INTEL_FAM6_SKYLAKE_X to native_calibrate_tsc():
commit 6baf3d61821f
("x86/tsc: Add additional Intel CPU models to the crystal quirk list")
There are several problems with doing this.
The first is that while SKX servers use a 25 MHz crystal,
SKX workstations (wit
From: Len Brown
If native_calibrate_tsc() can not discover the TSC frequency,
via CPUID or via built-in table, it must return without
setting X86_FEATURE_TSC_KNOWN_FREQ. Otherwise, X86_FEATURE_TSC_KNOWN_FREQ
will prevent TSC refined calibration.
This patch allows Linux to correctly support futu
On Thu, Dec 21, 2017 at 17:16:03 -0600,
Bruno Wolff III wrote:
Enforcing mode alone isn't enough as I tested that one one machine at
home and it didn't trigger the problem. I'll try another machine late
tonight.
I got the problem to occur on my i686 machine when booting in enforcing
mode.
On 21-12-17, 16:32, Arnd Bergmann wrote:
> On Mon, Dec 18, 2017 at 5:29 AM, Viresh Kumar wrote:
> > On 15-12-17, 15:50, Catalin Marinas wrote:
> >> On Thu, Nov 16, 2017 at 11:51:36AM +0530, Viresh Kumar wrote:
> >> > Currently performance governor is getting selected by default, which is
> >> > su
On Tue, 2017-12-12 at 12:29:15 UTC, Ravi Bangoria wrote:
> It may very well happen that branch instructions recorded by
> bhrb entries already get unmapped before they get processed by
> the kernel. Hence, trying to dereference such memory location
> will endup in a crash. Ex,
>
> Unable to ha
On Tue, 2017-12-05 at 05:30:38 UTC, Anju T Sudhakar wrote:
> Call trace observed during boot:
>
>
>
> Faulting instruction address: 0xc0248340
Hi leo,
2017-12-12 14:28 GMT+08:00 Leo Wen :
> Rk1608 is used as a PreISP to link on Soc, which mainly has two functions.
> One is to download the firmware of RK1608, and the other is to match the
> extra sensor such as camera and enable sensor by calling sensor's s_power.
>
> use below v4l2-ctl
Hi Linus,
I've got most of two weeks worth of fixes here due to being on
holidays last week.
The main things are:
Core:
Syncobj fd reference count fix
Leasing ioctl misuse fix
nouveau regression fixes
further amdgpu DC fixes
sun4i regression fixes
I'm not sure I'll see many fixes over next coup
On Thu, Dec 21, 2017 at 05:10:00PM -0800, Matthew Wilcox wrote:
> On Thu, Dec 21, 2017 at 02:48:10PM -0700, Ross Zwisler wrote:
> > > +++ b/include/linux/compiler_types.h
> > > @@ -16,6 +16,7 @@
> > > # define __acquire(x)__context__(x,1)
> > > # define __release(x)__context__(x,-1)
> > >
On Thu, 21 Dec 2017 16:09:32 -0800
Tejun Heo wrote:
>
> I tried your v4 patch and ran the test module and could easily
> reproduce RCU stall and other issues stemming from a CPU getting
> pegged down by printk flushing. I'm attaching the test module code at
> the end.
Thanks, I'll take a look.
RDS currently doesn't check if the length of the control message is
large enough to hold the required data, before dereferencing the control
message data. This results in following crash:
BUG: KASAN: stack-out-of-bounds in rds_rdma_bytes net/rds/send.c:1013
[inline]
BUG: KASAN: stack-out-of-bounds
Hi,
On Thu, Dec 21, 2017 at 08:15:02AM -0800, Paul E. McKenney wrote:
> On Thu, Dec 21, 2017 at 09:00:55AM +0530, afzal mohammed wrote:
> > Since it is now mentioned that r1 can have final value of 0, though it
> > is understood, it might make things crystal clear and for the sake of
> > complete
On Fri, 2017-12-22 at 13:36 +1100, Benjamin Herrenschmidt wrote:
>
> > No you can't sleep here. It needs to delay because this is inside
> > spinlock_irqsave.
>
> Additionally you really don't want to delay for 10ms with interrupts
> off :-(
>
> Sadly, it looks like the clk framework already cal
Sorry for my non-detailed description.
On 12/21/2017 09:50 PM, Tejun Heo wrote:
> Hello,
>
> On Thu, Dec 21, 2017 at 11:56:49AM +0800, jianchao.wang wrote:
>> It's worrying that even though the blk_mark_rq_complete() here is intended
>> to synchronize with
>> timeout path, but it indeed give th
From: Fuyun Liang
When phy exists, we use the value of phydev.autoneg to represent the
auto-negotiation state of hardware. Otherwise, we use the value of
mac.autoneg to represent it.
This patch fixes for getting a error value of auto-negotiation state in
hclge_get_autoneg().
Fixes: 46a3df9f9718
Burstiness of a flow is determined by the depth of a bucket, When the
upper rate of shaper is large, the current depth of a bucket is not
enough.
The default upper rate of shaper is 100G, so increase the depth of
a bucket according to UM.
Signed-off-by: Peng Li
Signed-off-by: Yunsheng Lin
---
This patch adds offload command related to "ethtool -K".
Signed-off-by: Peng Li
Signed-off-by: Jian Shen
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +++
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 16
drivers/net/ethernet/hisilicon/hns3/hns3p
This patch sets vlan masked, in order to avoid the received
packets being filtered.
Signed-off-by: Peng Li
Signed-off-by: Jian Shen
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 10 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 39 +-
2 files changed
This patch deals with the vlan tag information between
sk_buff and rx/tx bd.
Signed-off-by: Peng Li
Signed-off-by: Jian Shen
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 83 +++--
1 file changed, 78 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/hi
This patch adds the support to query tqps number for PF driver
by using ehtool -l command.
Signed-off-by: Peng Li
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 ++
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 10 ++
.../net/ethernet/hi
This patch adds vlan offload config commands, initializes
the rules of tx/rx vlan tag handle for hw.
Signed-off-by: Peng Li
Signed-off-by: Jian Shen
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 45 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 158
This patch fixes a memory leak problems in change tqps process,
the function hns3_uninit_all_ring and hns3_init_all_ring
may be called many times.
Signed-off-by: Peng Li
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4
1 file changed, 4 insertions(+)
di
TC-based sched mode supports SRIOV enabled and SRIOV disabled. This
patch change the TM sched mode to TC-based mode in initialization
process.
Fixes: cc9bb43ab394 ("net: hns3: Add tc-based TM support for sriov enabled
port")
Signed-off-by: Peng Li
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/
From: Fuyun Liang
commit c4fb2cdf575d ("net: hns3: fix a bug for phy supported feature
initialization") adds default supported features for phy, but our hardware
also supports Asym Pause. This patch adds Asym Pause support to phy
default features to prevent Asym Pause can not be advertised when t
This patch adds support for querying advertised pause frame by using
ethtool command(ethtool ethx).
Fixes: 496d03e960ae ("net: hns3: Add Ethtool support to HNS3 driver")
Signed-off-by: Peng Li
Signed-off-by: Fuyun Liang
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 ++
driver
This patch modifies the return data of get_rxnfc, it will return
the current handle's rss_size but not the total tqp number.
because the tc_size has been change to the log2 of roundup
power of two of rss_size.
Signed-off-by: Peng Li
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon
This patch adds set_pauseparam support for ethtool cmd.
Signed-off-by: Peng Li
Signed-off-by: Fuyun Liang
---
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 13
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 83 ++
.../net/ethernet/hisilicon/hns3/hns3pf/hclg
This patch adds the support to change tqps number for PF driver
by using ehtool -L command.
Signed-off-by: Peng Li
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h| 3 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 122 +
drivers/
Add configuration for rss_size_max in hdev but not hardcode it.
Signed-off-by: Peng Li
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 ++
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 6 +-
drivers/net/ethernet/hisilicon/hns3/hns3pf/h
From: Fuyun Liang
When checking whether auto-negotiation is on, driver only needs to
check the value of mac.autoneg(SW) directly, and does not need to
query it from hardware. Because this value is always synchronized
with the auto-negotiation state of hardware.
This patch removes the mac auto-ne
This patchset adds some new feature support and fixes some bugs:
[Patch 1/17 - 5/17] add the support to modify/query the tqp number
through ethtool -L/l command, and also fix some related bugs for
change tqp number.
[Patch 6/17 - 9-17] add support vlan tag offload on tx&&rx direction
for pf, and fi
When auto-negotiation is enabled, the MAC flow control settings is
based on the flow control negotiation result. And it should be configured
after a valid link has been established. This patch adds support to update
flow control settings after auto-negotiation has completed.
Signed-off-by: Peng Li
On Thu, Dec 21, 2017 at 05:24:01PM -0800, Stephen Boyd wrote:
> On 12/20, Dong Aisheng wrote:
> > On Thu, Nov 02, 2017 at 12:50:39AM -0700, Stephen Boyd wrote:
> > > On 07/13, Dong Aisheng wrote:
> > > > diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c
> > > > index 9bb472c..55f8c
On Fri, Dec 22, 2017 at 02:14:45AM +0100, Jann Horn wrote:
> Hi!
>
> I saw the recently-added support for multiple functions in a single
> program in BPF. I've stumbled over something that looks like it might
> be a bug; I haven't verified it yet, but I thought I should give you a
> heads-up befor
On Thu, Dec 21, 2017 at 07:31:26PM -0600, Eric W. Biederman wrote:
> Dave Jones writes:
>
> > On Thu, Dec 21, 2017 at 12:38:12PM +0200, Alexey Dobriyan wrote:
> >
> > > > with proc_mnt still set to NULL is a mystery to me.
> > > >
> > > > Is there any chance the idr code doesn't alway
On Thu, Dec 21, 2017 at 01:52:40PM +0100, Dmitry Vyukov wrote:
> However, the cost is that it needs to understand statuses of bugs:
> most importantly, what commit fixes what bug. It also has support for
> marking a bug as "invalid", e.g. happened once but most likely was
> caused by a previous sil
On 12/21/2017 07:39 PM, Stephen Boyd wrote:
On 12/20, Stephen Boyd wrote:
On 12/20, David Lechner wrote:
On 12/20/2017 02:33 PM, David Lechner wrote:
So, the question I have is: what is the actual "correct" behavior of
spin_trylock_irqsave()? Is it really supposed to always return true
when C
On Thu, Dec 21, 2017 at 11:32:10PM +, Colin King wrote:
> From: Colin Ian King
>
> Currently the return status ret is being checked but it has not been
> updated since the previous check on ret. It appears that assignment of
> ret from return status of the call to sdw_cdns_enable_interrupt wa
On Fri, 2017-12-22 at 09:35 +1100, NeilBrown wrote:
> On Thu, Dec 21 2017, Trond Myklebust wrote:
>
> > On Fri, 2017-12-22 at 07:59 +1100, NeilBrown wrote:
> > > On Thu, Dec 21 2017, Trond Myklebust wrote:
> > >
> > > > On Thu, 2017-12-21 at 10:39 -0500, Chuck Lever wrote:
> > > > > Hi Neil-
> >
On Fri, Dec 22, 2017 at 08:56:34AM +0800, Honghui Zhang wrote:
> There's an internal control register that control the Vendor ID and
> device ID values, our designer leave the default value un-touched. I
> will set these values in that way for the next version of fix.
Then there's no problem. The
wait_event_*_exclusive() adds new waiters to the end of the
quest, while non-exclusive wait_event adds to the head.
This ensures that a wake_up will wake all non-exclusive
waiters and at most one exclusive wait, but it means that
exclusive waiters are woken in a FIFO order, so the task
woken is th
Lustre has its own l_wait_event() macro to support waiting.
Some uses can be converted to current wait_event macros, but others
cannot.
Particularly it needs to be able to wait in TASK_IDLE state, and needs
exclusive waiters to be placed at the head of the queue.
These two patches add required fun
The new TASK_IDLE state (TASK_UNINTERRUPTIBLE | __TASK_NOLOAD)
is not much used. One way to make it easier to use is to
add wait_event*() family functions that make use of it.
This patch adds:
wait_event_idle()
wait_event_idle_timeout()
wait_event_idle_exclusive()
This set were chosen becau
On 12/20/2017 12:20 AM, Lorenzo Pieralisi wrote:
On Mon, Dec 18, 2017 at 10:02:20AM +0800, Cao Zou wrote:
On 12/16/2017 01:20 AM, Marc Zyngier wrote:
On 15/12/17 16:17, Lorenzo Pieralisi wrote:
[+Marc]
On Thu, Dec 14, 2017 at 10:21:23AM +0800, cao@windriver.com wrote:
From: Zou Cao
On 12/14/2017 07:40 AM, Ross Zwisler wrote:
> Quick Summary
>
> Platforms exist today which have multiple types of memory attached to a
> single CPU. These disparate memory ranges have some characteristics in
> common, such as CPU cache coherence, but they can have wide ranges of
> perf
It's a follow up patch for one previous patch "perf tool: Improve
bash command line auto-complete for multiple events with comma."
It fixes an issue that no events are displayed when is
directly typed after comma.
With this patch, now the result is:
root@skl:/tmp# perf stat -e cpu-cycles,
Displ
1 - 100 of 975 matches
Mail list logo