Le 01/08/2023 à 07:30, Randy Dunlap a écrit :
> Hi Christophe,
>
> On 7/31/23 22:21, Christophe Leroy wrote:
>>
>>
>> Le 24/07/2023 à 08:33, Randy Dunlap a écrit :
>>> Reconcile devices.txt with serial/ucc_uart.c regarding device number
>>> assignments. ucc_uart.c supports 4 ports and uses minor
On Tue 01-08-23 10:11:16, Aneesh Kumar K.V wrote:
> Allow updating memmap_on_memory mode after the kernel boot. Memory
> hotplug done after the mode update will use the new mmemap_on_memory
> value.
Well, this is a user space kABI extension and as such you should spend
more words about the usecase
On Tue 01-08-23 10:11:13, Aneesh Kumar K.V wrote:
[...]
> + if (mode == MEMMAP_ON_MEMORY_FORCE) {
> + unsigned long memmap_pages =
> memory_block_memmap_on_memory_pages();
unsigned long wastage = memmap_pages -
PFN_UP(memory_block_memmap_size());
i
I cannot really judge the ppc specific part but other patches seem
reasonable. Patch 4 could print a more useful information about the
wastage but this is nothing really earth shattering. I am not sure about
the last patch which makes the on-memory property dynamic. This needs
much more justificati
syzbot suspects this issue was fixed by commit:
commit 487c20b016dc48230367a7be017f40313e53e3bd
Author: Linus Torvalds
Date: Thu Mar 30 21:53:51 2023 +
iov: improve copy_iovec_from_user() code generation
bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17cfdf19a8
start
On 8/1/23 2:28 PM, Michal Hocko wrote:
> On Tue 01-08-23 10:11:16, Aneesh Kumar K.V wrote:
>> Allow updating memmap_on_memory mode after the kernel boot. Memory
>> hotplug done after the mode update will use the new mmemap_on_memory
>> value.
>
> Well, this is a user space kABI extension and as su
> +static inline struct qmc_hdlc *netdev_to_qmc_hdlc(struct net_device *netdev)
> +{
> + return (struct qmc_hdlc *)dev_to_hdlc(netdev)->priv;
priv is a void *, so you don't need the cast.
Andrew
On Wed, Jul 26, 2023 at 05:02:04PM +0200, Herve Codina wrote:
> Available timeslots masks define timeslots available for the related
> channel. These timeslots are defined by the QMC binding.
>
> Timeslots used are initialized to available timeslots but can be a
> subset of available timeslots.
>
> +static inline void qmc_clrsetbits16(void __iomem *addr, u16 clr, u16 set)
> +{
> + qmc_write16(addr, (qmc_read16(addr) & ~clr) | set);
> +}
> +
Please don't use inline in .c files. Let the compiler decide.
Andrew
On Fri, Jul 28, 2023 at 3:59 PM Tomasz Figa wrote:
>
> Hi Shengjiu,
>
> On Tue, Jul 25, 2023 at 02:12:17PM +0800, Shengjiu Wang wrote:
> > Audio signal processing has the requirement for memory to
> > memory similar as Video.
> >
> > This patch is to add this support in v4l2 framework, defined
> >
Le 01/08/2023 à 03:17, Benjamin Gray a écrit :
> Syzkaller triggered a null pointer dereference in the
> arch_unregister_hw_breakpoint() hook. This is due to accessing
> the bp->ctx->task field changing to -1 while we iterate the breakpoints.
>
> This series refactors the breakpoint tracking log
> +int framer_pm_runtime_get(struct framer *framer)
> +{
> + int ret;
> +
> + if (!framer)
> + return 0;
Can framer be a NULL pointer? This sort of test often covers up
bugs. So either let it dereference the NULL pointer and opps, or
return -EINVAL.
Andrew
> + clocks:
> +items:
> + - description: Master clock
> + - description: Receive System Clock
> + - description: Transmit System Clock
> +
> + clock-names:
> +items:
> + - const: mclk
> + - const: sclkr
> + - const: sclkx
Nit pick, but "Receive System Clock"
On Tue, 1 Aug 2023 11:33:39 +0200
Andrew Lunn wrote:
> On Wed, Jul 26, 2023 at 05:02:04PM +0200, Herve Codina wrote:
> > Available timeslots masks define timeslots available for the related
> > channel. These timeslots are defined by the QMC binding.
> >
> > Timeslots used are initialized to ava
On Tue, 1 Aug 2023 11:31:32 +0200
Andrew Lunn wrote:
> > +static inline struct qmc_hdlc *netdev_to_qmc_hdlc(struct net_device
> > *netdev)
> > +{
> > + return (struct qmc_hdlc *)dev_to_hdlc(netdev)->priv;
>
> priv is a void *, so you don't need the cast.
>
Right, I will change in the next
> +static inline u8 pef2256_read8(struct pef2256 *pef2256, int offset)
> +{
> + int val;
> +
> + regmap_read(pef2256->regmap, offset, &val);
> + return val;
> +}
> +
> +static inline void pef2256_write8(struct pef2256 *pef2256, int offset, u8
> val)
> +{
> + regmap_write(pef2256->r
On Tue, 1 Aug 2023 11:36:43 +0200
Andrew Lunn wrote:
> > +static inline void qmc_clrsetbits16(void __iomem *addr, u16 clr, u16 set)
> > +{
> > + qmc_write16(addr, (qmc_read16(addr) & ~clr) | set);
> > +}
> > +
>
> Please don't use inline in .c files. Let the compiler decide.
>
>Andr
When booting on e6500 with an ELF v2 ABI kernel, the secondary threads do
not start correctly:
[0.051118] smp: Bringing up secondary CPUs ...
[5.072700] Processor 1 is stuck.
This occurs because the startup code is written to use function
descriptors when loading the entry point f
On Wed, Jul 26, 2023 at 05:02:22PM +0200, Herve Codina wrote:
> The framer codec interracts with a framer.
> It allows to use some of the framer timeslots as audio channels to
> transport audio data over the framer E1/T1/J1 lines.
> It also reports line carrier detection events through the ALSA jac
On Tue, 1 Aug 2023 11:56:12 +0200
Andrew Lunn wrote:
> > +int framer_pm_runtime_get(struct framer *framer)
> > +{
> > + int ret;
> > +
> > + if (!framer)
> > + return 0;
>
> Can framer be a NULL pointer? This sort of test often covers up
> bugs. So either let it dereference the N
> The generic framer has:
> - 2 consumers (QMC HDLC drv and codec)
> - 1 provider (PEF2256)
>
> So, the design is the following:
> +--+ +-+
> | QMC | <- TDM -> | PEF2256 | <-> E1
> +-+
On Tue, 1 Aug 2023 12:05:07 +0200
Andrew Lunn wrote:
> > + clocks:
> > +items:
> > + - description: Master clock
> > + - description: Receive System Clock
> > + - description: Transmit System Clock
> > +
> > + clock-names:
> > +items:
> > + - const: mclk
> > + -
On Tue, 1 Aug 2023 12:22:39 +0200
Andrew Lunn wrote:
> > +static inline u8 pef2256_read8(struct pef2256 *pef2256, int offset)
> > +{
> > + int val;
> > +
> > + regmap_read(pef2256->regmap, offset, &val);
> > + return val;
> > +}
> > +
> > +static inline void pef2256_write8(struct pef2256 *p
On Tue, 1 Aug 2023 12:30:26 +0200
Andrew Lunn wrote:
> On Wed, Jul 26, 2023 at 05:02:22PM +0200, Herve Codina wrote:
> > The framer codec interracts with a framer.
> > It allows to use some of the framer timeslots as audio channels to
> > transport audio data over the framer E1/T1/J1 lines.
> > I
On Tue 01-08-23 14:58:29, Aneesh Kumar K V wrote:
> On 8/1/23 2:28 PM, Michal Hocko wrote:
> > On Tue 01-08-23 10:11:16, Aneesh Kumar K.V wrote:
> >> Allow updating memmap_on_memory mode after the kernel boot. Memory
> >> hotplug done after the mode update will use the new mmemap_on_memory
> >> val
> > > +static void pef2256_isr_default_handler(struct pef2256 *pef2256, u8 nbr,
> > > u8 isr)
> > > +{
> > > + dev_warn(pef2256->dev, "ISR%u: 0x%02x not handled\n", nbr, isr);
> > > +}
> >
> > Should this be rate limited? It is going to be very noise if it gets
> > called once per frame time.
>
On Tue, 1 Aug 2023 12:52:29 +0200
Andrew Lunn wrote:
> > > > +static void pef2256_isr_default_handler(struct pef2256 *pef2256, u8
> > > > nbr, u8 isr)
> > > > +{
> > > > + dev_warn(pef2256->dev, "ISR%u: 0x%02x not handled\n", nbr, isr);
> > > > +}
> > >
> > > Should this be rate limit
On Fri, Jul 28, 2023 at 5:12 PM Paul Moore wrote:
>
> On Fri, Jul 28, 2023 at 9:24 AM Christian Göttsche
> wrote:
> >
> > On Fri, 28 Jul 2023 at 15:14, Ondrej Mosnacek wrote:
> > >
> > > On Fri, Jul 28, 2023 at 1:52 PM Stephen Smalley
> > > wrote:
> > > >
> > > > On Fri, Jul 28, 2023 at 7:36 AM
> +static int fsl_asrc_m2m_check_format(u8 dir, u32 rate, u32 channels, u32
> format)
> +{
> + u64 support_format = FSL_ASRC_FORMATS;
> +
> + if (channels < 1 || channels > 10)
> + return -EINVAL;
> +
> + if (rate < 5512 || rate > 192000)
> + return -E
On Tue, Jul 25, 2023 at 10:31 AM Shengjiu Wang wrote:
>
> Implement the ASRC memory to memory function using
> the v4l2 framework, user can use this function with
> v4l2 ioctl interface.
>
> User send the output and capture buffer to driver and
> driver store the converted data to the capture buff
On Tue, 18 Jul 2023 08:31:35 -0600, Rob Herring wrote:
> The DT of_device.h and of_platform.h date back to the separate
> of_platform_bus_type before it as merged into the regular platform bus.
> As part of that merge prepping Arm DT support 13 years ago, they
> "temporarily" include each other.
On Tue, Aug 1, 2023 at 9:24 AM Ondrej Mosnacek wrote:
> On Fri, Jul 28, 2023 at 5:12 PM Paul Moore wrote:
> >
> > On Fri, Jul 28, 2023 at 9:24 AM Christian Göttsche
> > wrote:
> > >
> > > On Fri, 28 Jul 2023 at 15:14, Ondrej Mosnacek wrote:
> > > >
> > > > On Fri, Jul 28, 2023 at 1:52 PM Stephe
From: Nathan Lynch
With hardened usercopy enabled (CONFIG_HARDENED_USERCOPY=y), using the
/proc/powerpc/rtas/firmware_update interface to prepare a system
firmware update yields a BUG():
kernel BUG at mm/usercopy.c:102!
Oops: Exception in kernel mode, sig: 5 [#1]
LE PAGE_SIZE=64K MMU=Hash SMP NR
On Mon, Jul 24, 2023 at 02:25:19PM +0530, Mahesh Salgaonkar wrote:
> When certain PHB HW failure causes pHyp to recover PHB, it marks the PE
> state as temporarily unavailable until recovery is complete. This also
> triggers an EEH handler in Linux which needs to notify drivers, and perform
> recov
On Tue, 2023-08-01 at 10:11 +0530, Aneesh Kumar K.V wrote:
> With memmap on memory, some architecture needs more details w.r.t altmap
> such as base_pfn, end_pfn, etc to unmap vmemmap memory. Instead of
> computing them again when we remove a memory block, embed vmem_altmap
> details in struct memo
On 8/1/23 4:20 PM, Michal Hocko wrote:
> On Tue 01-08-23 14:58:29, Aneesh Kumar K V wrote:
>> On 8/1/23 2:28 PM, Michal Hocko wrote:
>>> On Tue 01-08-23 10:11:16, Aneesh Kumar K.V wrote:
Allow updating memmap_on_memory mode after the kernel boot. Memory
hotplug done after the mode update
On 8/2/23 4:40 AM, Verma, Vishal L wrote:
> On Tue, 2023-08-01 at 10:11 +0530, Aneesh Kumar K.V wrote:
>> With memmap on memory, some architecture needs more details w.r.t altmap
>> such as base_pfn, end_pfn, etc to unmap vmemmap memory. Instead of
>> computing them again when we remove a memory bl
MICFIL IP is upgraded on i.MX93 platform. Add new registers and new bit
definition.
changes in v2:
- rename check_version to use_verid to make it more explicit
- rename fsl_micfil_check_version to fsl_micfil_use_verid
Chancel Liu (3):
ASoC: fsl_micfil: Add new registers and new bit definition
MICFIL IP is upgraded on i.MX93 platform. These new registers and new
bit definition are added to complete the register list.
Signed-off-by: Chancel Liu
---
sound/soc/fsl/fsl_micfil.c | 6 ++
sound/soc/fsl/fsl_micfil.h | 28
2 files changed, 34 insertions(+)
di
fsl_micfil_use_verid() can help to parse the version info in VERID and
PARAM registers. Since the two registers are added only on i.MX93
platform, a member flag called use_verid is introduced to soc data
structure which indicates acquiring MICFIL version.
Signed-off-by: Chancel Liu
---
sound/soc
Use SET_SYSTEM_SLEEP_PM_OPS to simplify suspend and resume function.
fsl_micfil_suspend() and fsl_micfil_resume() can be deleted.
Signed-off-by: Chancel Liu
---
sound/soc/fsl/fsl_micfil.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/sound/soc/fsl/fsl_mi
41 matches
Mail list logo