Re: [PATCH v7 1/7] fpga: dfl: parse interrupt info for feature devices on enumeration

2020-06-28 Thread Moritz Fischer
On Tue, Jun 16, 2020 at 12:08:42PM +0800, Xu Yilun wrote: > DFL based FPGA devices could support interrupts for different purposes, > but current DFL framework only supports feature device enumeration with > given MMIO resources information via common DFL headers. This patch > introduces one new AP

Re: [PATCH v7 2/7] fpga: dfl: pci: add irq info for feature devices enumeration

2020-06-28 Thread Moritz Fischer
On Tue, Jun 16, 2020 at 12:08:43PM +0800, Xu Yilun wrote: > Some DFL FPGA PCIe cards (e.g. Intel FPGA Programmable Acceleration > Card) support MSI-X based interrupts. This patch allows PCIe driver > to prepare and pass interrupt resources to DFL via enumeration API. > These interrupt resources cou

Re: [PATCH v7 3/7] fpga: dfl: introduce interrupt trigger setting API

2020-06-28 Thread Moritz Fischer
On Tue, Jun 16, 2020 at 12:08:44PM +0800, Xu Yilun wrote: > FPGA user applications may be interested in interrupts generated by > DFL features. For example, users can implement their own FPGA > logics with interrupts enabled in AFU (Accelerated Function Unit, > dynamic region of DFL based FPGA). So

Re: [dm-devel] [PATCH 1/3 v2] crypto: introduce the flag CRYPTO_ALG_ALLOCATES_MEMORY

2020-06-28 Thread Eric Biggers
On Sun, Jun 28, 2020 at 03:07:49PM -0400, Mikulas Patocka wrote: > > > Also, "seqiv" instances can be created without CRYPTO_ALG_ALLOCATES_MEMORY > > set, > > despite seqiv_aead_encrypt() allocating memory. > > This comment wasn't addressed. - Eric

[PATCH 05/15] net: aquantia: fix aq_ndev_start_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/aquantia/atlantic

[PATCH 00/15] always use netdev_tx_t for xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The ndo_start_xmit() methods should return a 'netdev_tx_t', not an int, and so should return NETDEV_TX_OK, not 0. The patches in the series fix most of the remaning drivers and subsystems (those included in allyesconfig on x86). Luc Van Oostenryck (15): cail,hsi: fix cfhsi_xmit()'s return type

[PATCH 11/15] net: plip: fix plip_tx_packet()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/plip/plip.c | 4 ++-- 1 fi

[PATCH 13/15] net/hsr: fix hsr_dev_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- net/hsr/hsr_device.c | 2 +- 1 file ch

[PATCH 15/15] cxgb4vf: fix t4vf_eth_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/chelsio/cxgb4vf/a

[PATCH 10/15] net: dwc-xlgmac: fix xlgmac_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/synopsys/dwc-xlgm

[PATCH 12/15] usbnet: ipheth: fix ipheth_tx()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/usb/ipheth.c | 2 +- 1 fil

[PATCH 08/15] net: nfp: fix nfp_net_tx()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/netronome/nfp/nfp

[PATCH 14/15] l2tp: fix l2tp_eth_dev_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- net/l2tp/l2tp_eth.c | 2 +- 1 file cha

[PATCH 01/15] cail,hsi: fix cfhsi_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too and returning NETDEV_TX_OK instead of 0 accordingly. Signed-off-by: Luc Van Oos

[PATCH 03/15] caif: fix cfspi_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too and returning NETDEV_TX_OK instead of 0 accordingly. Signed-off-by: Luc Van Oos

[PATCH 09/15] net: pch_gbe: fix pch_gbe_xmit_frame()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/oki-semi/pch_gbe/

[PATCH 04/15] caif: fix cfv_netdev_tx()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/caif/caif_virtio.c | 2 +-

[PATCH 07/15] net: nb8800: fix nb8800_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/aurora/nb8800.c |

[PATCH 06/15] net: arc_emac: fix arc_emac_tx()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/arc/emac_main.c |

[PATCH 02/15] caif: fix caif_xmit()'s return type

2020-06-28 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/caif/caif_serial.c | 2 +-

Re: [dm-devel] [PATCH 1/3 v2] crypto: introduce the flag CRYPTO_ALG_ALLOCATES_MEMORY

2020-06-28 Thread Eric Biggers
On Sun, Jun 28, 2020 at 03:07:49PM -0400, Mikulas Patocka wrote: > > > > cryptd_create_skcipher(), cryptd_create_hash(), cryptd_create_aead(), and > > crypto_rfc4309_create() are also missing setting the mask. > > > > pcrypt_create_aead() is missing both setting the mask and inheriting the > > f

[GIT PULL 1/2] ARM: SoC fixes for v5.8

2020-06-28 Thread Arnd Bergmann
The following changes since commit 48778464bb7d346b47157d21ffde2af6b2d39110: Linux 5.8-rc2 (2020-06-21 15:45:29 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/arm-fixes-5.8-1 for you to fetch changes up to 42d3f7e8da1bc55e3109f6

[GIT PULL 2/2] ARM: OMAP fixes for v5.8

2020-06-28 Thread Arnd Bergmann
The following changes since commit 48778464bb7d346b47157d21ffde2af6b2d39110: Linux 5.8-rc2 (2020-06-21 15:45:29 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/arm-omap-fixes-5.8-1 for you to fetch changes up to d528945d7762be94b

Re: [iproute2-next] action police: make 'mtu' could be set independently in police action

2020-06-28 Thread Stephen Hemminger
On Sun, 28 Jun 2020 09:46:02 +0800 Po Liu wrote: > Current police action must set 'rate' and 'burst'. 'mtu' parameter > set the max frame size and could be set alone without 'rate' and 'burst' > in some situation. Offloading to hardware for example, 'mtu' could limit > the flow max frame size. >

Re: [PATCH 1/2] block: add initial kdoc over the request_queue

2020-06-28 Thread Bart Van Assche
On 2020-06-23 15:03, Luis Chamberlain wrote: > +/** > + * struct request_queue - block device driver request queue Since request queues are used as a communication channel between the block layer core and block drivers and since the block layer core creates request queues, I propose to leave out t

Re: [PATCH 2/2] block: move request_queue member docs to kdoc

2020-06-28 Thread Bart Van Assche
On 2020-06-23 15:03, Luis Chamberlain wrote: > /** > * struct request_queue - block device driver request queue > + * @queue_ctx: software queue context To me the description "software queues" is much more clear than "software queue context". I wouldn't mind if the queue_ctx member variable wou

Re: [PATCH 02/10] perf tools: Add struct expr_parse_data to keep expr value

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 01:04:41PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:47 PM Jiri Olsa wrote: > > > > Adding struct expr_parse_data to keep expr value > > instead of just simple double pointer, so we can > > store more data for ID in following changes. > > Nit, expr_parse_data s

Re: [PATCH 03/10] perf tools: Add expr__add_id function

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 01:07:24PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:47 PM Jiri Olsa wrote: > > > > Adding expr__add_id function to data for ID > > with zero value, which is used when scanning > > the expression for IDs. > > > > Signed-off-by: Jiri Olsa > > --- > > tools/perf

Re: [PATCH 01/10] perf tools: Rename expr__add_id to expr__add_val

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 01:01:51PM -0700, Ian Rogers wrote: > Firstly, thanks for this work! > > On Fri, Jun 26, 2020 at 12:47 PM Jiri Olsa wrote: > > > > Renaming expr__add_id to expr__add_val so we can use > > expr__add_id to actually add just id in following changes. > > Perhaps clear up in t

Re: [PATCH 05/10] perf tools: Add expr__del_id function

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 01:55:37PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:47 PM Jiri Olsa wrote: > > > > Adding expr__del_id function to remove ID from hashmap. > > It will save us few lines in following changes. > > > > Signed-off-by: Jiri Olsa > > --- > > tools/perf/util/expr.c

Re: [PATCH 07/10] perf tools: Collect other metrics in struct metric_expr

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 02:10:57PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:48 PM Jiri Olsa wrote: > > > > Add 'other' metrics into struct metric_expr object, > > so they are accessible when computing the metric. > > > > Storing just name and expression itself, so the metric > > can b

Re: [RFC PATCH] nvme-pci: Move the sg table allocation/free into init/exit_request

2020-06-28 Thread Chaitanya Kulkarni
On 6/28/20 3:44 AM, Baolin Wang wrote: > Move the sg table allocation and free into the init_request() and > exit_request(), instead of allocating sg table when queuing requests, > which can benefit the IO performance. > > Signed-off-by: Baolin Wang The call to sg_init_table() uses blk_rq_nr_phys

Re: [PATCH 08/10] perf tools: Add other metrics to hash data

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 02:16:30PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:48 PM Jiri Olsa wrote: > > > > Adding other metrics to the parsing context so they > > can be resolved during the metric processing. > > > > Adding expr__add_other function to store 'other' metrics > > into pa

Re: [PATCH 09/10] perf tools: Compute other metrics

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 02:24:38PM -0700, Ian Rogers wrote: SNIP > > + > > + if (expr__get_id(ctx, lookup, > > &data) || !data) { > > pr_debug("%s not found\n", > > $1); > >

Re: [PATCH 10/10] perf tests: Add cache_miss_cycles to metric parse test

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 02:40:34PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:48 PM Jiri Olsa wrote: > > > > Adding test that compute metric with other metrics in it. > > > > cache_miss_cycles = metric:dcache_miss_cpi + metric:icache_miss_cycles > > > > This is really nice! Do we nee

Re: [PATCH] kernel/trace: Add TRACING_ALLOW_PRINTK config option

2020-06-28 Thread Alexei Starovoitov
On Sun, Jun 28, 2020 at 03:43:31PM -0400, Steven Rostedt wrote: > On Sun, 28 Jun 2020 12:21:07 -0700 > Alexei Starovoitov wrote: > > > > Re-teach them, or are you finally admitting that the tracing system is > > > a permanent API? This is the reason people are refusing to add trace > > > points

[PATCH] clocksource: nomadik-mtu: Handle 32kHz clock

2020-06-28 Thread Linus Walleij
It happens on the U8420-sysclk Ux500 PRCMU firmware variant that the MTU clock is just 32768 Hz, and in this mode the minimum ticks is 5 rather than two. I think this is simply so that there is enough time for the register write to propagate through the interconnect to the registers. Signed-off-b

Re: [PATCH 06/10] perf tools: Collect other metrics in struct egroup

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 02:06:47PM -0700, Ian Rogers wrote: SNIP > > diff --git a/tools/perf/util/metricgroup.c b/tools/perf/util/metricgroup.c > > index 85e7fa2e2707..f88fd667cc78 100644 > > --- a/tools/perf/util/metricgroup.c > > +++ b/tools/perf/util/metricgroup.c > > @@ -102,12 +102,20 @@ voi

Re: [GIT PULL] timer fix

2020-06-28 Thread pr-tracker-bot
The pull request you sent on Sun, 28 Jun 2020 20:39:25 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-urgent-2020-06-28 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/668f532da4808688f5162cec6a38875390e1a91d Thank you! -- Deet-doot-dot,

Re: [GIT PULL 2/2] ARM: OMAP fixes for v5.8

2020-06-28 Thread pr-tracker-bot
The pull request you sent on Sun, 28 Jun 2020 22:01:58 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git > tags/arm-omap-fixes-5.8-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f7db192b2d71ea42627a32349d59a5f99f2aafcc Thank you! -- Deet-doot-dot

Re: [GIT PULL] perf fix

2020-06-28 Thread pr-tracker-bot
The pull request you sent on Sun, 28 Jun 2020 20:33:23 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-2020-06-28 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ae71d4bf0074a81cc04255c96e3de0a49b1d95fa Thank you! -- Deet-doot-dot, I

Re: [GIT PULL 1/2] ARM: SoC fixes for v5.8

2020-06-28 Thread pr-tracker-bot
The pull request you sent on Sun, 28 Jun 2020 22:00:53 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/arm-fixes-5.8-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e44b59cd758acdd413512d4597a1fabdadfe3abf Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] EFI fixes

2020-06-28 Thread pr-tracker-bot
The pull request you sent on Sun, 28 Jun 2020 20:26:01 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > efi-urgent-2020-06-28 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/bc53f67d247a38d43e081faa7e63690a1279f5c7 Thank you! -- Deet-doot-dot, I

linux-next: Fixes tag needs some work in the block tree

2020-06-28 Thread Stephen Rothwell
Hi all, In commit 8c9cb6cd9a46 ("io_uring: fix refs underflow in io_iopoll_queue()") Fixes tag Fixes: a1d7c393c47 ("io_uring: enable READ/WRITE to use deferred completions") has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or

Re: [PATCH 06/10] perf tools: Collect other metrics in struct egroup

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 02:48:02PM -0700, Ian Rogers wrote: > On Fri, Jun 26, 2020 at 12:47 PM Jiri Olsa wrote: > > > > Collecting other metrics in struct egroup object, > > so we can process them later on. > > > > The change will parse or 'other' metric names out of > > expression and 'resolve' t

Linux 5.8-rc3

2020-06-28 Thread Linus Torvalds
Well, we had a big merge window, and we have a fairly big rc3 here too. The calm period for rc2 is clearly over. That said, I don't think there's anything _particularly_ scary in here, and the size of this rc is probably simply a direct result of the fact that 5.8 is a big release. It's too early

Re: [RFC 00/10] perf tools: Add support to reuse metric

2020-06-28 Thread Jiri Olsa
On Sat, Jun 27, 2020 at 09:48:21AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 26, 2020 at 02:57:59PM -0700, Andi Kleen escreveu: > > > The name could be a metric or an event, the logic for each is quite > > > > I would say collisions are unlikely. Event names follow quite structured > >

Re: [PATCH] kernel/trace: Add TRACING_ALLOW_PRINTK config option

2020-06-28 Thread Steven Rostedt
On Sun, 28 Jun 2020 15:02:09 -0700 Alexei Starovoitov wrote: > > > > Then do a bpf trace event and enable it when a bpf_trace_printk() is > > loaded. It will work the same for your users. > > I'm not sure I follow. How that would preserve the expectation > to see the output in /sys/kernel/deb

Re: [Nouveau] [PATCH v2] nouveau: fix page fault on device private memory

2020-06-28 Thread Ben Skeggs
On Sat, 27 Jun 2020 at 07:04, Ralph Campbell wrote: > > If system memory is migrated to device private memory and no GPU MMU > page table entry exists, the GPU will fault and call hmm_range_fault() > to get the PFN for the page. Since the .dev_private_owner pointer in > struct hmm_range is not set

[char-misc-next] mei: bus: don't clean driver pointer

2020-06-28 Thread Tomas Winkler
From: Alexander Usyskin It's not needed to set driver to NULL in mei_cl_device_remove() which is bus_type remove() handler as this is done anyway in __device_release_driver(). Actually this is causing an endless loop in driver_detach() on ubuntu patched kernel, while removing (rmmod) the mei_hdc

[PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-28 Thread Matias Bjørling
The NVMe Zoned Namespace Command Set adds support for associating data to a zone through the Zone Descriptor Extension feature. To allow user-space to associate data to a zone, add support through the BLKSETDESCZONE ioctl. The ioctl requires that it is issued to a zoned block device, and that it s

[PATCH 1/2] block: add zone_desc_ext_bytes to sysfs

2020-06-28 Thread Matias Bjørling
The NVMe Zoned Namespace Command Set adds support for associating data to a zone through the Zone Descriptor Extension feature. The Zone Descriptor Extension size is fixed to a multiple of 64 bytes. A value of zero communicates the feature is not available. A value larger than zero communites the

[PATCH 0/2] Zone Descriptor Extension for Zoned Block Devices

2020-06-28 Thread Matias Bjørling
Hi, This patchset adds support for the Zone Descriptor Extension feature that is defined in the NVMe Zoned Namespace Command Set. The feature adds support for associating data to a zone that is in the Empty state. Upon successful completion, the specified zone transitions to the Closed state and

[PATCH 0/2] perf tools: minor fixes regarding macro usage

2020-06-28 Thread Emmanouil Maroudas
Hello, Here are some minor fixes for perf tools regarding *SEC_PER*SEC macro usage, found while reading the code. Patch 1 replaces a macro with a more suitable one (same value, different name). Patch 2 converts some hardcoded values (which seem appropriate IMHO) with their

[PATCH 1/2] perf stat: use proper macro for time conversions

2020-06-28 Thread Emmanouil Maroudas
The values of interval and timeout are in msecs as documented in the -I and --timeout options. Use MSEC_PER_SEC instead USEC_PER_MSEC to convert to struct timespec. Both macros have the same value 1000L (see tools/include/linux/time64.h). No functional change intended. Signed

[PATCH 2/2] perf tools: use *SEC_PER_*SEC macros

2020-06-28 Thread Emmanouil Maroudas
builtin-stat.c: typecast macro to u64 see commit ea9eb1f456a0 ("perf stat: Fix duration_time value for higher intervals") No functional change intended. Signed-off-by: Emmanouil Maroudas --- tools/perf/builtin-record.c | 2 +- tools/perf/builtin-stat.c | 4 ++-- tools/perf/builti

Re: [RFC PATCH 0/4] DirectX on Linux

2020-06-28 Thread James Hilliard
On Tue, May 19, 2020 at 2:36 PM Sasha Levin wrote: > > Hi Daniel, > > On Tue, May 19, 2020 at 09:21:15PM +0200, Daniel Vetter wrote: > >Hi Sasha > > > >So obviously great that Microsoft is trying to upstream all this, and > >very much welcome and all that. > > > >But I guess there's a bunch of rat

Re: [PATCH] kernel/trace: Add TRACING_ALLOW_PRINTK config option

2020-06-28 Thread Steven Rostedt
On Sun, 28 Jun 2020 18:28:42 -0400 Steven Rostedt wrote: > You create a bpf event just like you create any other event. When a bpf > program that uses a bpf_trace_printk() is loaded, you can enable that > event from within the kernel. Yes, there's internal interfaces to > enabled and disable even

Re: [PATCH 1/2] workqueue: don't always set __WQ_ORDERED implicitly

2020-06-28 Thread Bob Liu
On 6/28/20 11:54 PM, Lai Jiangshan wrote: > On Thu, Jun 11, 2020 at 6:29 PM Bob Liu wrote: >> >> Current code always set 'Unbound && max_active == 1' workqueues to ordered >> implicitly, while this may be not an expected behaviour for some use cases. >> >> E.g some scsi and iscsi workqueues(unboun

RE: [PATCH v14 3/3] Input: new da7280 haptic driver

2020-06-28 Thread Roy Im
On Sat, June 27, 2020 12:56 AM, Uwe Kleine-König wrote: > On Fri, Jun 26, 2020 at 01:17:29PM +, Roy Im wrote: > > > On Fri, June 26, 2020 3:19 PM, Uwe Kleine-König wrote: > > > Hello, > > > from the PWM POV I'm happy now. Just a few minor comments that I noticed > > > while checking the PWM de

Re: [PATCH] fbtft-bus.c: Removing that prohibited space before ')'

2020-06-28 Thread kernel test robot
Hi K, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] [also build test WARNING on v5.8-rc2 next-20200626] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented

Re: [PATCH 0/6] Overhaul memalloc_no*

2020-06-28 Thread Dave Chinner
On Sat, Jun 27, 2020 at 09:09:09AM -0400, Mikulas Patocka wrote: > > > On Sat, 27 Jun 2020, Dave Chinner wrote: > > > On Fri, Jun 26, 2020 at 11:02:19AM -0400, Mikulas Patocka wrote: > > > Hi > > > > > > I suggest to join memalloc_noio and memalloc_nofs into just one flag that > > > prevents b

Re: [PATCH 1/2] workqueue: don't always set __WQ_ORDERED implicitly

2020-06-28 Thread Lai Jiangshan
On Mon, Jun 29, 2020 at 8:13 AM Bob Liu wrote: > > On 6/28/20 11:54 PM, Lai Jiangshan wrote: > > On Thu, Jun 11, 2020 at 6:29 PM Bob Liu wrote: > >> > >> Current code always set 'Unbound && max_active == 1' workqueues to ordered > >> implicitly, while this may be not an expected behaviour for som

Re: [PATCH v4 08/23] ASoC: soc-core: Fix component name_prefix parsing

2020-06-28 Thread Kuninori Morimoto
Hi Sameer Thank you for your patch # I guess there was ML registering magic until v3 ? # This is 1st time for me to get this patch series... > The "prefix" can be defined in DAI link node or it can be specified as > part of the component node itself. Currently "sound-name-prefix" defined > in

RE: Re: [iproute2-next] action police: make 'mtu' could be set independently in police action

2020-06-28 Thread Po Liu
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: 2020年6月29日 4:16 > To: Po Liu > Cc: dsah...@gmail.com; linux-kernel@vger.kernel.org; > net...@vger.kernel.org; da...@davemloft.net; j...@mojatatu.com; > v...@buslov.dev; Claudiu Manoil ; Vladimir > Oltean ; Alexandru Marg

Re: [PATCH 1/2] block: add zone_desc_ext_bytes to sysfs

2020-06-28 Thread Damien Le Moal
On 2020/06/29 8:01, Matias Bjorling wrote: > The NVMe Zoned Namespace Command Set adds support for associating > data to a zone through the Zone Descriptor Extension feature. > > The Zone Descriptor Extension size is fixed to a multiple of 64 > bytes. A value of zero communicates the feature is no

Re: [PATCH 1/2] workqueue: don't always set __WQ_ORDERED implicitly

2020-06-28 Thread Bob Liu
On 6/29/20 8:37 AM, Lai Jiangshan wrote: > On Mon, Jun 29, 2020 at 8:13 AM Bob Liu wrote: >> >> On 6/28/20 11:54 PM, Lai Jiangshan wrote: >>> On Thu, Jun 11, 2020 at 6:29 PM Bob Liu wrote: Current code always set 'Unbound && max_active == 1' workqueues to ordered implicitly, while

Re: [PATCH 1/2] kconfig: remove '---help---' support

2020-06-28 Thread Masahiro Yamada
On Wed, Jun 17, 2020 at 12:02 PM Masahiro Yamada wrote: > > The conversion is done. No more user of '---help---'. > > Cc: Ulf Magnusson > Signed-off-by: Masahiro Yamada Applied to linux-kbuild. > --- > > scripts/checkkconfigsymbols.py | 2 +- > scripts/kconfig/lexer.l| 2 +- > 2 files

Re: [PATCH v4 10/23] ASoC: simple-card: Wrong daifmt for CPU end of DPCM DAI link

2020-06-28 Thread Kuninori Morimoto
Hi Sameer > simple-audio-card,dai-link@xxx { > format = "i2s"; > bitclock-master=<&cpu1>; > frame-master=<&cpu1>; > > cpu1: cpu@0 { > ... > }; > > codec@0 { > ... > }; > > ... > }; > > In above case CPU is expected to be configured

Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-28 Thread Damien Le Moal
On 2020/06/29 8:01, Matias Bjorling wrote: > The NVMe Zoned Namespace Command Set adds support for associating > data to a zone through the Zone Descriptor Extension feature. > > To allow user-space to associate data to a zone, add support through > the BLKSETDESCZONE ioctl. The ioctl requires tha

Re: [PATCH v4 11/23] ASoC: simple-card: Loop over all children for 'mclk-fs'

2020-06-28 Thread Kuninori Morimoto
Hi Sameer > CPU/Codec in DPCM DAI links are connected as CPU<->Dummy and Dummy<->Codec. > Though mostly CPU won't use/require 'mclk-fs' property, looping over > 'np' (current child node in a DAI link) can help in cases where multiple > Codecs are defined. This further helps to get rid of 'codec'

Re: [PATCH 1/2] m68k: nommu: register start of the memory with memblock

2020-06-28 Thread Greg Ungerer
Hi Mike, On 17/6/20 10:33 pm, Greg Ungerer wrote: Hi Mike, On 17/6/20 4:53 pm, Mike Rapoport wrote: From: Mike Rapoport The m68k nommu setup code didn't register the beginning of the physical memory with memblock because it was anyway occupied by the kernel. However, commit fa3354e4ea39 ("mm

linux-next: manual merge of the drm-misc tree with Linus' tree

2020-06-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/dispnv04/overlay.c drivers/gpu/drm/nouveau/dispnv50/base507c.c drivers/gpu/drm/nouveau/dispnv50/wndw.c drivers/gpu/drm/nouveau/nouveau_dmem.c drivers

[PATCH v4] nbd: Fix memory leak in nbd_add_socket

2020-06-28 Thread Zheng Bin
When adding first socket to nbd, if nsock's allocation failed, the data structure member "config->socks" was reallocated, but the data structure member "config->num_connections" was not updated. A memory leak will occur then because the function "nbd_config_put" will free "config->socks" only when

[PATCH] [scripts] read_file: fix memory leak

2020-06-28 Thread Gaurav Singh
Free buf before returning to avoid memory leak. Signed-off-by: Gaurav Singh --- scripts/insert-sys-cert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/insert-sys-cert.c b/scripts/insert-sys-cert.c index 8902836c2342..22d99a8faca9 100644 --- a/scripts/insert-sys-cert.c +++ b/script

Re: [PATCH v4 12/23] ASoC: simple-card: Support DPCM DAI link with multiple Codecs

2020-06-28 Thread Kuninori Morimoto
Hi Sameer > The simple-card driver supports multiple CPU and single Codec entries > for DPCM DAI links. In some cases it is required to have multiple > CPU/Codecs. Currently parsing logic for DPCM link loops over all > children of DAI link but assumes that there is a single Codec entry. > When D

Re: [RFC PATCH] nvme-pci: Move the sg table allocation/free into init/exit_request

2020-06-28 Thread Keith Busch
On Sun, Jun 28, 2020 at 06:34:46PM +0800, Baolin Wang wrote: > Move the sg table allocation and free into the init_request() and > exit_request(), instead of allocating sg table when queuing requests, > which can benefit the IO performance. If you want to pre-allocate something per-request, you ca

Re: brocken devfreq simple_ondemand for Odroid XU3/4?

2020-06-28 Thread Chanwoo Choi
Hi, Sorry for late reply because of my perfornal issue. I count not check the email. On 6/26/20 8:22 PM, Bartlomiej Zolnierkiewicz wrote: > > On 6/25/20 2:12 PM, Kamil Konieczny wrote: >> On 25.06.2020 14:02, Lukasz Luba wrote: >>> >>> >>> On 6/25/20 12:30 PM, Kamil Konieczny wrote: Hi Luka

Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-28 Thread Bart Van Assche
On 2020-06-28 16:01, Matias Bjørling wrote: > + /* This may take a while, so be nice to others */ > + cond_resched(); > + > + return submit_bio_wait(&bio); A cond_resched() call before a submit_bio_wait() call? I think it's the first time that I see this. Is that call really necessary?

Re: [PATCH v4 15/23] ASoC: soc-core: Identify 'no_pcm' DAI links for DPCM

2020-06-28 Thread Kuninori Morimoto
Hi Sameer > PCM devices are created for dai links with 'no-pcm' flag as '0'. > Such DAI links have CPU component which implement pcm_construct() > and pcm_destruct() callbacks. Based on this, current patch exposes > a helper function to identify such components and populate 'no_pcm' > flag for D

Re: [PATCH v2 01/13] dmaengine: pl330: Remove the burst limit for quirk 'NO-FLUSHP'

2020-06-28 Thread sugar zhang
On 2020/6/24 15:54, Vinod Koul wrote: On 09-06-20, 09:14, Sugar Zhang wrote: There is no reason to limit the performance on the 'NO-FLUSHP' SoCs, cuz these platforms are just that the 'FLUSHP' instruction is broken. Lets not use terms like cuz... 'because' is perfect term :) It can rephrased

Re: brocken devfreq simple_ondemand for Odroid XU3/4?

2020-06-28 Thread Chanwoo Choi
Hi Sylwester, On 6/25/20 12:11 AM, Sylwester Nawrocki wrote: > Hi All, > > On 24.06.2020 12:32, Lukasz Luba wrote: >> I had issues with devfreq governor which wasn't called by devfreq >> workqueue. The old DELAYED vs DEFERRED work discussions and my patches >> for it [1]. If the CPU which schedul

Re: [PATCH v4 16/23] ASoC: soc-pcm: Get all BEs along DAPM path

2020-06-28 Thread Kuninori Morimoto
Hi Sameer > dpcm_end_walk_at_be() stops the graph walk when first BE is found for > the given FE component. In a component model we may want to connect > multiple DAIs from different components. A new flag is introduced in > 'snd_soc_card', which when set allows DAI/component chaining. Later > P

Re: usb: mtu3: Checking initialisation of the variable “mep” in two functions

2020-06-28 Thread Chunfeng Yun
Hi, On Sat, 2020-06-27 at 14:28 +0200, Markus Elfring wrote: > Hello, > > A source code analysis approach by the means of the semantic patch language > (Coccinelle software) pointed an implementation detail out for further > development considerations. > > The functions “mtu3_gadget_ep_set_halt”

Re: [PATCH 01/26] mm: Do page fault accounting in handle_mm_fault

2020-06-28 Thread John Hubbard
On 2020-06-26 15:31, Peter Xu wrote: This is a preparation patch to move page fault accountings into the general code in handle_mm_fault(). This includes both the per task flt_maj/flt_min counters, and the major/minor page fault perf events. To do this, the pt_regs pointer is passed into handle

Re: [PATCH 4/4] ARM: dts: uniphier: change support card to simple-mfd from simple-bus

2020-06-28 Thread Masahiro Yamada
On Thu, Jun 25, 2020 at 11:57 PM Lee Jones wrote: > > On Thu, 25 Jun 2020, Masahiro Yamada wrote: > > > On Thu, Jun 25, 2020 at 3:16 AM Lee Jones wrote: > > > > > > On Thu, 25 Jun 2020, Masahiro Yamada wrote: > > > > > > > On Tue, Jun 23, 2020 at 9:24 PM Lee Jones wrote: > > > > > > > > > > On T

Re: [PATCH] i2c: mediatek: Add to support continuous mode

2020-06-28 Thread Qii Wang
Hi Qiangming: Do you have the specific timing cost data about the "continuous mode"? Is it better than the default multi-write mode(one message by one message) ?I need to know if this patch is very necessary. On Fri, 2020-06-19 at 16:06 +0800, Qiangming Xia wrote: > From: "qiangming.xia"

[v2,iproute2-next 1/2] action police: change the print message quotes style

2020-06-28 Thread Po Liu
Change the double quotes to single quotes in fprintf message to make it more readable. Signed-off-by: Po Liu --- v1->v2 changes: - Patch new added tc/m_police.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tc/m_police.c b/tc/m_police.c index a5bc20c0..7eb47f8e 100

Re: [PATCH] ARM: dts: spear: Align L2 cache-controller nodename with dtschema

2020-06-28 Thread Viresh Kumar
On 26-06-20, 10:05, Krzysztof Kozlowski wrote: > Fix dtschema validator warnings like: > l2-cache: $nodename:0: 'l2-cache' does not match > '^(cache-controller|cpu)(@[0-9a-f,]+)*$' > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/boot/dts/spear13xx.dtsi | 2 +- > 1 file changed, 1 in

[v2,iproute2-next 2/2] action police: make 'mtu' could be set independently in police action

2020-06-28 Thread Po Liu
Current police action must set 'rate' and 'burst'. 'mtu' parameter set the max frame size and could be set alone without 'rate' and 'burst' in some situation. Offloading to hardware for example, 'mtu' could limit the flow max frame size. Signed-off-by: Po Liu --- v1->v2 changes: - fix the print m

Re: [PATCH V3 3/3] cpufreq: Specify default governor on command line

2020-06-28 Thread Viresh Kumar
On 26-06-20, 16:57, Quentin Perret wrote: > On Friday 26 Jun 2020 at 09:21:44 (+0530), Viresh Kumar wrote: > > index e798a1193bdf..93c6399c1a42 100644 > > --- a/drivers/cpufreq/cpufreq.c > > +++ b/drivers/cpufreq/cpufreq.c > > @@ -50,6 +50,9 @@ static LIST_HEAD(cpufreq_governor_list); > > #define

Re: [PATCH] rtlwifi/*/dm.c: Use const in swing_table declarations

2020-06-28 Thread Pkshih
On Sun, 2020-06-28 at 03:17 -0700, Joe Perches wrote: Use 'rtlwifi:' as subject title prefix is enough, likes   rtlwifi: Use const in swing_table declarations > Reduce data usage about 1KB by using const. > > Signed-off-by: Joe Perches > --- >  .../net/wireless/realtek/rtlwifi/rtl8188ee/dm.c   

RE: [PATCH/RFC v4 1/4] regulator: core: add prepare and resume_early

2020-06-28 Thread Yoshihiro Shimoda
Hi Mark, > From: Mark Brown, Sent: Friday, June 26, 2020 11:30 PM > > On Fri, Jun 26, 2020 at 06:32:19PM +0900, Yoshihiro Shimoda wrote: > > > The regulator-fixed driver is possible to be off by firmware > > like PSCI while the system is suspended. If a consumer could get > > such a condition fr

Re: [PATCH V3 1/3] cpufreq: Fix locking issues with governors

2020-06-28 Thread Viresh Kumar
On 26-06-20, 09:24, Quentin Perret wrote: > On Friday 26 Jun 2020 at 09:21:42 (+0530), Viresh Kumar wrote: > > The locking around governors handling isn't adequate currently. The list > > of governors should never be traversed without locking in place. Also we > > must make sure the governor isn't

Re: [PATCH v3 0/3] Build ORC fast lookup table in scripts/sorttable tool

2020-06-28 Thread changhuaixin
Hi Josh, will you please have a look at this patchset? There might be another way to set SHT_PROGBITS of section .orc_lookup by writing section headers when orc_unwind and orc_unwind_ip tables are writen. It might be as follows: diff --git a/tools/objtool/orc_gen.c b/tools/objtool/orc_gen.c ind

[GIT PULL] Crypto Fixes for 5.8

2020-06-28 Thread Herbert Xu
Hi Linus: This push fixes two race conditions, one in padata and one in af_alg. The following changes since commit 819966c06b759022e9932f328284314d9272b9f3: crypto: drbg - always try to free Jitter RNG instance (2020-06-15 17:38:54 +1000) are available in the Git repository at: git://git.

Re: [PATCH] fpga: dfl: improve configuration of dfl pci devices

2020-06-28 Thread Xu Yilun
I think maybe we don't have to select them all. It is now possible for FPGA DFL boards to work without FME or AFU, providing limited functionality. It is possible designers trim the bitstream for their purpose, and also need a smaller driver set. I think we may add "default FPGA_DFL" for FPGA_DFL_

[v1,net-next] net:qos: police action offloading parameter 'burst' change to the original value

2020-06-28 Thread Po Liu
Since 'tcfp_burst' with TICK factor, driver side always need to recover it to the original value, this patch moves the generic calculation and recover to the 'burst' original value before offloading to device driver. Signed-off-by: Po Liu Signed-off-by: Vladimir Oltean --- drivers/net/dsa/ocelo

[PATCH v7 3/3] iommu/arm-smmu: Add global/context fault implementation hooks

2020-06-28 Thread Krishna Reddy
Add global/context fault hooks to allow NVIDIA SMMU implementation handle faults across multiple SMMUs. Signed-off-by: Krishna Reddy --- drivers/iommu/arm-smmu-nvidia.c | 101 +++- drivers/iommu/arm-smmu.c| 17 +- drivers/iommu/arm-smmu.h| 3 +

[PATCH v7 0/3] Nvidia Arm SMMUv2 Implementation

2020-06-28 Thread Krishna Reddy
Changes in v7: Incorporated the review feedback from Nicolin Chen, Robin Murphy and Thierry Reding. Rebased and validated patches on top of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next v6- https://lkml.org/lkml/2020/6/4/1018 v5 - https://lkml.org/lkml/2020/5/21/1114 v4 - htt

<    1   2   3   4   >